Documentation ¶
Index ¶
- Constants
- func Backup(interval, maxBackups int) k8sfactory.Trait
- func BackupToGCS(bucket, path string, creds etcdv1alpha2.GCPCredentialSelector) k8sfactory.Trait
- func BackupToMinIO(bucket, path string, secure bool, svcName, svcNamespace string, ...) k8sfactory.Trait
- func CreatedStatus(object interface{})
- func CreatingCompleted(object interface{})
- func DefragmentSchedule(v string) k8sfactory.Trait
- func DisableAntiAffinity(object interface{})
- func EnableAntiAffinity(object interface{})
- func Factory(base *etcdv1alpha2.EtcdCluster, traits ...k8sfactory.Trait) *etcdv1alpha2.EtcdCluster
- func HighAvailability(object interface{})
- func Member(v int) k8sfactory.Trait
- func MemberStatus(statuses []etcdv1alpha2.MemberStatus) k8sfactory.Trait
- func PersistentData(object interface{})
- func Phase(p etcdv1alpha2.EtcdClusterPhase) k8sfactory.Trait
- func Ready(object interface{})
- func V1Alpha1EtcdClusterToV1Alpha2EtcdCluster(in runtime.Object) (runtime.Object, error)
- func V1Alpha2EtcdClusterToV1Alpha1EtcdCluster(in runtime.Object) (runtime.Object, error)
- func Version(v string) k8sfactory.Trait
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" 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 Factory ¶
func Factory(base *etcdv1alpha2.EtcdCluster, traits ...k8sfactory.Trait) *etcdv1alpha2.EtcdCluster
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 Phase ¶
func Phase(p etcdv1alpha2.EtcdClusterPhase) k8sfactory.Trait
func Version ¶
func Version(v string) k8sfactory.Trait
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.