etcd

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LabelNameClusterName = "etcdcluster.f110.dev/name"
	LabelNameEtcdVersion = "etcdcluster.f110.dev/version"
	LabelNameRole        = "etcdcluster.f110.dev/role"

	AnnotationKeyTemporaryMember   = "etcdcluster.f110.dev/tempmember"
	AnnotationKeyServerCertificate = "etcdcluster.f110.dev/servercert"
	AnnotationKeyRestartedAt       = "etcdcluster.f110.dev/restartedAt"

	PodAnnotationKeyRunningAt = "etcdcluster.f110.dev/runningAt"
)

Variables

This section is empty.

Functions

func Backup

func Backup(interval, maxBackups int) k8sfactory.Trait

func BackupToGCS

func BackupToGCS(bucket, path string, creds *etcdv1alpha2.GCPCredentialSelector) k8sfactory.Trait

func BackupToMinIO

func BackupToMinIO(bucket, path string, secure bool, svcName, svcNamespace string, creds *etcdv1alpha2.AWSCredentialSelector) k8sfactory.Trait

func CreatedStatus

func CreatedStatus(object interface{})

func CreatingCompleted

func CreatingCompleted(object interface{})

func DefragmentSchedule

func DefragmentSchedule(v string) k8sfactory.Trait

func DisableAntiAffinity

func DisableAntiAffinity(object interface{})

func EnableAntiAffinity

func EnableAntiAffinity(object interface{})

func HighAvailability

func HighAvailability(object interface{})

func Member

func Member(v int) k8sfactory.Trait

func MemberStatus

func MemberStatus(statuses []etcdv1alpha2.MemberStatus) k8sfactory.Trait

func PersistentData

func PersistentData(object interface{})

func Ready

func Ready(object interface{})

func V1Alpha1EtcdClusterToV1Alpha2EtcdCluster

func V1Alpha1EtcdClusterToV1Alpha2EtcdCluster(in runtime.Object) (runtime.Object, error)

func V1Alpha2EtcdClusterToV1Alpha1EtcdCluster

func V1Alpha2EtcdClusterToV1Alpha1EtcdCluster(in runtime.Object) (runtime.Object, error)

func Version

func Version(v string) k8sfactory.Trait

Types

This section is empty.

Directories

Path Synopsis
+k8s:deepcopy-gen=package +groupName=etcd.f110.dev
+k8s:deepcopy-gen=package +groupName=etcd.f110.dev
+k8s:deepcopy-gen=package +groupName=etcd.f110.dev
+k8s:deepcopy-gen=package +groupName=etcd.f110.dev

Jump to

Keyboard shortcuts

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