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: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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