Documentation ¶
Overview ¶
+kubebuilder:validation:Optional
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EtcdConfig ¶
type EtcdConfig struct { // Lease time-to-live LeaseTTL config.Duration `json:"lease_ttl" validate:"gte=1s" default:"60s"` // Authentication Username string `json:"username"` Password string `json:"password"` // Client TLS configuration ClientTLSConfig tlsconfig.ClientTLSConfig `json:"tls"` // List of Etcd server endpoints Endpoints []string `json:"endpoints" validate:"required,gt=0,dive,hostname_port|url|fqdn"` }
EtcdConfig holds configuration for etcd client. swagger:model +kubebuilder:object:generate=true
func (*EtcdConfig) DeepCopy ¶
func (in *EtcdConfig) DeepCopy() *EtcdConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdConfig.
func (*EtcdConfig) DeepCopyInto ¶
func (in *EtcdConfig) DeepCopyInto(out *EtcdConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Click to show internal directories.
Click to hide internal directories.