naming

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvMySQLStateFile    = "MYSQL_STATE_FILE"
	EnvMySQLNotifySocket = "MYSQL_NOTIFY_SOCKET"

	EnvMySQLNotifySocketInternal = "NOTIFY_SOCKET" // should only be set in the entrypoint

	EnvBootstrapReadTimeout = "BOOTSTRAP_READ_TIMEOUT"
)
View Source
const (
	LabelName      = kubernetesPrefix + "name"
	LabelInstance  = kubernetesPrefix + "instance"
	LabelManagedBy = kubernetesPrefix + "managed-by"
	LabelPartOf    = kubernetesPrefix + "part-of"
	LabelComponent = kubernetesPrefix + "component"

	LabelOperatorVersion = kubernetesPrefix + "version"
)
View Source
const (
	LabelMySQLPrimary = mysqlPerconaPrefix + "primary"
	LabelExposed      = perconaPrefix + "exposed"
)
View Source
const (
	LabelBackupType     = perconaPrefix + "backup-type"
	LabelBackupAncestor = perconaPrefix + "backup-ancestor"
)
View Source
const (
	FinalizerDeleteSSL         = perconaPrefix + "delete-ssl"
	FinalizerDeletePodsInOrder = perconaPrefix + "delete-mysql-pods-in-order"
	FinalizerDeleteBackup      = perconaPrefix + "delete-backup"
	FinalizerDeleteMySQLPvc    = perconaPrefix + "delete-mysql-pvc"
)
View Source
const (
	LabelCluster = perconaPrefix + "cluster"
)

Variables

This section is empty.

Functions

func Labels added in v0.10.0

func Labels() map[string]string

Labels returns a minimal set of labels.

Types

type AnnotationKey

type AnnotationKey string
const (
	AnnotationSecretHash       AnnotationKey = perconaPrefix + "last-applied-secret"
	AnnotationConfigHash       AnnotationKey = perconaPrefix + "configuration-hash"
	AnnotationTLSHash          AnnotationKey = perconaPrefix + "last-applied-tls"
	AnnotationPasswordsUpdated AnnotationKey = perconaPrefix + "passwords-updated"
	AnnotationLastConfigHash   AnnotationKey = perconaPrefix + "last-config-hash"
)

func (AnnotationKey) String

func (s AnnotationKey) String() string

Jump to

Keyboard shortcuts

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