etcd

package
v0.12.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GroupName = "etcd.f110.dev"

	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"
)

Variables

This section is empty.

Functions

func CreatingCompleted added in v0.12.0

func CreatingCompleted(e *etcdv1alpha2.EtcdCluster)

func DisableAntiAffinity added in v0.12.0

func DisableAntiAffinity(e *etcdv1alpha2.EtcdCluster)

func Factory added in v0.12.0

func Factory(base *etcdv1alpha2.EtcdCluster, traits ...Trait) *etcdv1alpha2.EtcdCluster

func HighAvailability added in v0.12.0

func HighAvailability(e *etcdv1alpha2.EtcdCluster)

func PersistentData added in v0.12.0

func PersistentData(e *etcdv1alpha2.EtcdCluster)

func Ready added in v0.12.0

func Ready(e *etcdv1alpha2.EtcdCluster)

func V1Alpha1EtcdClusterToV1Alpha2EtcdCluster added in v0.11.0

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

func V1Alpha2EtcdClusterToV1Alpha1EtcdCluster added in v0.11.0

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

Types

type Trait added in v0.12.0

type Trait func(e *etcdv1alpha2.EtcdCluster)

func BackupByMinIO added in v0.12.0

func BackupByMinIO(bucket, path string, svc *corev1.Service) Trait

func Name added in v0.12.0

func Name(v string) Trait

func Namespace added in v0.12.0

func Namespace(v string) Trait

func Version added in v0.12.0

func Version(v string) Trait

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