Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Values ¶
type Values struct { // Name is the name of the configmap that holds the ETCD config Name string // EtcdUID is the UID of the etcd resource. EtcdUID types.UID // Metrics defines the level of detail for exported metrics of etcd, specify 'extensive' to include histogram metrics. Metrics *druidv1alpha1.MetricsLevel // Quota defines the etcd DB quota. Quota *resource.Quantity // InitialCluster is the initial cluster value to bootstrap ETCD. InitialCluster string // ClientUrlTLS hold the TLS configuration details for Client Communication ClientUrlTLS *druidv1alpha1.TLSConfig // PeerUrlTLS hold the TLS configuration details for Peer Communication PeerUrlTLS *druidv1alpha1.TLSConfig //ClientServiceName is name of the etcd client service ClientServiceName string // ClientPort holds the client port ClientPort *int32 //PeerServiceName is name of the etcd peer service PeerServiceName string // ServerPort holds the peer port ServerPort *int32 // AutoCompactionMode defines the auto-compaction-mode: 'periodic' or 'revision'. AutoCompactionMode *druidv1alpha1.CompactionMode //AutoCompactionRetention defines the auto-compaction-retention length for etcd as well as for embedded-Etcd of backup-restore sidecar. AutoCompactionRetention *string // ConfigMapChecksum is the checksum of deployed configmap ConfigMapChecksum string // Labels are the labels of deployed configmap Labels map[string]string // OwnerReference is the OwnerReference for the Configmap. OwnerReference metav1.OwnerReference }
Values contains the values to create a configmap
func GenerateValues ¶
func GenerateValues(etcd *druidv1alpha1.Etcd) *Values
GenerateValues generates `configmap.Values` for the configmap component with the given parameters.
Click to show internal directories.
Click to hide internal directories.