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
// Labels are the service labels.
Labels map[string]string
// PeerServiceName is the name of the service responsible for peer traffic.
PeerServiceName string
// PeerPort is the port used for etcd peer communication.
PeerPort int32
// OwnerReference is the OwnerReference for the ETCD services.
OwnerReference metav1.OwnerReference
// SelectorLabels are the labels to be used in the Service.spec selector
SelectorLabels map[string]string
}
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.