Documentation
¶
Index ¶
Constants ¶
View Source
const ( MySQLShellRunnerAppName = "mysqlshell-runner" MySQLShellRunnerComponent = "mysqlshell-runner" MySQLShellRunnerPassword = "MYSQL_PASSWORD" )
View Source
const ( ClusterSetReplicaManagerAppName = "clusterset-replica-manager" ClusterSetReplicaManagerComponent = "clusterset-replica-manager" CmdAddReplica = "add-replica" CmdRemoveReplica = "remove-replica" CmdSetPrimary = "set-primary" )
View Source
const ( StatusHealthy string = "HEALTHY" StatusUnknown string = "UNKNOWN" )
View Source
const ( ClusterRolePrimary string = "PRIMARY" ClusterRoleReplica string = "REPLICA" )
Variables ¶
This section is empty.
Functions ¶
func ClusterSetManagerJob ¶
func ClusterSetManagerJob( pcs *apiv1.PerconaServerMySQLClusterSet, cluster *apiv1.ClusterSetCluster, cmd string, args []string, image, serviceAccount string, ) *batchv1.Job
func MySQLShellRunner ¶
func MySQLShellRunner(pcs *apiv1.PerconaServerMySQLClusterSet) *appsv1.Deployment
Types ¶
type Status ¶
type Status struct {
Clusters apiv1.ClusterSetStatus
DomainName string `json:"domainName"`
GlobalPrimaryInstance string `json:"globalPrimaryInstance"`
PrimaryCluster string `json:"primaryCluster"`
Status string `json:"status"`
StatusText string `json:"statusText"`
}
func (*Status) GetPrimaryCluster ¶
Click to show internal directories.
Click to hide internal directories.