package
0.6.3
Repository: https://github.com/bitpoke/mysql-operator.git
Documentation: pkg.go.dev

# Functions

DeletionPolicyRetain parse obj is need to retain.
RegisterDefaults adds defaulters functions to the given scheme.
SetDefaults_MysqlBackup sets the defaults for a mysqlbackup object nolint: golint.
SetDefaults_MysqlCluster sets the defaults for a MySQLCLuster object nolint.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

AccountResourceMaxConnectionsPerHour it restricts how many connections to the server are permitted to each account during any given one-hour period.
AccountResourceMaxQueriesPerHour it restricts how many queries to the server are permitted to each account during any given one-hour period.
AccountResourceMaxUpdatesPerHour it restricts how many updates to the server are permitted to each account during any given one-hour period.
AccountResourceMaxUserConnections it restricts the maximum number of simultaneous connections to the server by each account.
BackupComplete means the backup has finished his execution.
BackupFailed means backup has failed.
ClusterConditionFailoverAck represents if the cluster has pending ack in orchestrator or not.
ClusterConditionFailoverInProgress indicates if there is a current failover in progress done by the Orchestrator.
ClusterConditionReadOnly describe cluster state if it's in read only or writable.
ClusterConditionReady represents the readiness of the cluster.
Delete when used it will try to delete the backup from remote storage then will remove the MysqlBackup resource from Kubernetes.
MysqlDatabaseReady means the MySQL database is ready when database exists.
MysqlResourceDeletionPolicyAnnotationKey delete policy key defined.
MysqlResourceDeletionPolicyDelete delete policy delete.
MysqlResourceDeletionPolicyRetain delete policy retain.
MySQLUserReady means the MySQL user is ready when database exists.
NodeConditionLagged represents if the node is marked as lagged by orchestrator.
NodeConditionMaster represents if the node is master or not.
NodeConditionReadOnly repesents if the node is read only or not.
NodeConditionReplicating represents if the node is replicating or not.
Retain when used it will delete only the MysqlBackup resource from Kuberentes and will keep the backup on remote storage.

# Variables

SchemeBuilder is used to add go types to the GroupVersionKind scheme.
SchemeGroupVersion is group version used to register these objects.

# Structs

BackupCondition defines condition struct for backup resource.
ClusterCondition defines type for cluster conditions.
ClusterReference represents a cross namespace object reference.
MysqlBackup is the Schema for the mysqlbackups API +kubebuilder:object:root=true .
MysqlBackupList contains a list of MysqlBackup +kubebuilder:object:root=true .
MysqlBackupSpec defines the desired state of MysqlBackup.
MysqlBackupStatus defines the observed state of MysqlBackup.
MysqlCluster is the Schema for the mysqlclusters API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:subresource:scale:specpath=.spec.replicas,statuspath=.status.readyNodes +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type == 'Ready')].status",description="The cluster status" +kubebuilder:printcolumn:name="Replicas",type="integer",JSONPath=".spec.replicas",description="The number of desired nodes" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:shortName=mysql .
MysqlClusterList contains a list of MysqlCluster +kubebuilder:object:root=true .
MysqlClusterSpec defines the desired state of MysqlCluster nolint: maligned.
MysqlClusterStatus defines the observed state of MysqlCluster.
MysqlDatabase is the Schema for the MySQL database API.
MysqlDatabaseCondition defines the condition struct for a MysqlDatabase resource.
MysqlDatabaseList contains a list of MysqlDatabase.
MysqlDatabaseSpec defines the desired state of MysqlDatabaseSpec.
MysqlDatabaseStatus defines the observed state of MysqlDatabase.
MysqlPermission defines a MySQL schema permission.
MysqlUser is the Schema for the MySQL User API.
MySQLUserCondition defines the condition struct for a MysqlUser resource.
MysqlUserList contains a list of MysqlUser.
MysqlUserSpec defines the desired state of MysqlUserSpec.
MysqlUserStatus defines the observed state of MysqlUser.
NodeCondition defines type for representing node conditions.
NodeStatus defines type for status of a node into cluster.
PodSpec defines type for configure cluster pod spec.
QueryLimits represents the pt-kill parameters, more info can be found here: https://www.percona.com/doc/percona-toolkit/LATEST/pt-kill.html.
VolumeSpec is the desired spec for storing mysql data.

# Type aliases

BackupConditionType defines condition types of a backup resources.
ClusterConditionType defines type for cluster condition type.
DeletePolicy defines the types of policies for backup deletions are.
MysqlConf defines type for extra cluster configs.
MysqlDatabaseConditionType defines the condition types of a MysqlDatabase resource.
MysqlResourceDeletionPolicy delete policy defined.
MysqlUserConditionType defines the condition types of a MysqlUser resource.
NodeConditionType defines type for node condition type.