clusterset

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

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

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

func (s *Status) GetPrimaryCluster() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL