Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Values ¶
type Values struct { // BackupPort is the port exposed by the etcd-backup-restore side-car. BackupPort int32 // ClientPort is the port exposed by etcd for client communication. ClientPort int32 // ClientServiceName is the name of the service responsible for client traffic. ClientServiceName string // ClientAnnotations are the annotations to be added to the client service ClientServiceAnnotations map[string]string // ClientServiceLabels are the labels to be added to the client service ClientServiceLabels map[string]string // EtcdName is the name of the etcd resource. EtcdName string // EtcdName is the UID of the etcd resource. EtcdUID types.UID // Labels are the service labels. Labels map[string]string // PeerServiceName is the name of the service responsible for peer traffic. PeerServiceName string // ServerPort is the port used for etcd peer communication. ServerPort int32 }
Values contains the values necessary for creating ETCD services.
func GenerateValues ¶
func GenerateValues(etcd *druidv1alpha1.Etcd) Values
GenerateValues generates `service.Values` for the service component with the given `etcd` object.
Click to show internal directories.
Click to hide internal directories.