# Constants
BackupComplete means the backup has finished his execution.
BackupFailed means backup has failed.
No description provided by the author
ClusterCloseState indicates whether the cluster is closed.
ClusterInitState indicates whether the cluster is initializing.
ClusterReadyState indicates whether all containers in the pod are ready.
ClusterScaleInState indicates whether the cluster replicas is decreasing.
ClusterScaleOutState indicates whether the cluster replicas is increasing.
ClusterUpdateState indicates whether the cluster is being updated.
ConditionClose indicates whether the cluster is closed.
ConditionError indicates whether there is an error in the cluster.
ConditionInit indicates whether the cluster is initializing.
ConditionReady indicates whether all containers in the pod are ready.
ConditionScaleIn indicates whether the cluster replicas is decreasing.
ConditionScaleOut indicates whether the cluster replicas is increasing.
ConditionUpdate indicates whether the cluster is being updated.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MySQLUserReady means the MySQL user is ready when database exists.
NodeConditionLagged represents if the node is lagged.
NodeConditionLeader represents if the node is leader or not.
NodeConditionReadOnly repesents if the node is read only or not.
NodeConditionReplicating represents if the node is replicating or not.
ReadOnly Pod initing.
ReadOnly Pod Set ReadOnly.
ReadOnly Pod Ready.
ReadOnly Semi check close.
# Variables
AddToScheme adds the types in this group-version to the given scheme.
GroupVersion is group version used to register these objects.
SchemeBuilder is used to add go types to the GroupVersionKind scheme.
# Structs
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="BackupName",type="string",JSONPath=".status.backupName",description="The Backup name" +kubebuilder:printcolumn:name="BackupDate",type="string",JSONPath=".status.backupDate",description="The Backup Date time" +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".status.backupType",description="The Backup Type" +kubebuilder:printcolumn:name="Success",type="string",JSONPath=".status.conditions[?(@.type==\"Complete\")].status",description="Whether the backup Success?" Backup is the Schema for the backups API.
BackupCondition defines condition struct for backup resource.
BackupList contains a list of Backup.
This is the backup Job CRD.
BackupStatus defines the observed state of Backup.
bothS3NFS opt.
ClusterCondition defines type for cluster conditions.
MetricsOpts defines the options of metrics container.
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:storageversion +kubebuilder:subresource:scale:specpath=.spec.replicas,statuspath=.status.readyNodes +kubebuilder:printcolumn:name="State",type="string",JSONPath=".status.state",description="The cluster status" +kubebuilder:printcolumn:name="Desired",type="integer",JSONPath=".spec.replicas",description="The number of desired replicas" +kubebuilder:printcolumn:name="Current",type="integer",JSONPath=".status.readyNodes",description="The number of current replicas" +kubebuilder:printcolumn:name="Leader",type="string",JSONPath=".status.nodes[?(@.raftStatus.role == 'LEADER')].name",description="Name of the leader node" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:shortName=mysql MysqlCluster is the Schema for the mysqlclusters API.
+kubebuilder:object:root=true MysqlClusterList contains a list of MysqlCluster.
MysqlClusterSpec defines the desired state of MysqlCluster.
MysqlClusterStatus defines the observed state of MysqlCluster.
MysqlOpts defines the options of MySQL container.
+kubebuilder:object:root=true+kubebuilder:subresource:status+kubebuilder:subresource:finalizers +kubebuilder:printcolumn:name="UserName",type="string",JSONPath=".spec.user",description="The name of the MySQL user" +kubebuilder:printcolumn:name="SuperUser",type="boolean",JSONPath=".spec.withGrantOption",description="Whether the user can grant other users" +kubebuilder:printcolumn:name="Hosts",type="string",JSONPath=".spec.hosts",description="The hosts that the user is allowed to connect from" +kubebuilder:printcolumn:name="TLSType",type="string",JSONPath=".spec.tlsOptions.type",description="TLS type of user" +kubebuilder:printcolumn:name="Cluster",type="string",JSONPath=".spec.userOwner.clusterName",description="The cluster of the user" +kubebuilder:printcolumn:name="NameSpace",type="string",JSONPath=".spec.userOwner.nameSpace",description="The namespace of the user" +kubebuilder:printcolumn:name="Available",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].status",description="The availability of the user" +kubebuilder:printcolumn:name="SecretName",type="string",priority=1,JSONPath=".spec.secretSelector.secretName",description="The name of the secret object" +kubebuilder:printcolumn:name="SecretKey",type="string",priority=1,JSONPath=".spec.secretSelector.secretKey",description="The key of the secret object" MysqlUser is the Schema for the users API.
MySQLUserCondition defines the condition struct for a MysqlUser resource.
+kubebuilder:object:root=true MysqlUserList contains a list of MysqlUser.
NodeCondition defines type for representing node conditions.
NodeStatus defines type for status of a node into cluster.
Persistence is the desired spec for storing mysql data.
PodPolicy defines the general configuration and extra resources of pod.
No description provided by the author
ReadOnly define the ReadOnly pods.
(RO) node status.
No description provided by the author
No description provided by the author
No description provided by the author
UserPermission defines a UserPermission permission.
UserSpec defines the desired state of User.
UserStatus defines the observed state of MysqlUser.
XenonOpts defines the options of xenon container.
# Type aliases
BackupConditionType defines condition types of a backup resources.
ClusterConditionType defines type for cluster condition type.
ClusterState defines cluster state.
MysqlConf defines type for extra cluster configs.
MysqlUserConditionType defines the condition types of a MysqlUser resource.
The index of the NodeStatus.Conditions.
NodeConditionType defines type for node condition type.