package
0.0.0-20191024030528-a481964b876e
Repository: https://github.com/divinerapier/learn-kubernetes.git
Documentation: pkg.go.dev

# Functions

CheckConfigurationIsHA returns true if the given InitConfiguration etcd block appears to be an HA configuration.
GetClientURL creates an HTTPS URL that uses the configured advertise address and client port for the API controller.
GetClientURLByIP creates an HTTPS URL based on an IP address and the client listening port.
GetPeerURL creates an HTTPS URL that uses the configured advertise address and peer port for the API controller.
New creates a new EtcdCluster client.
NewFromCluster creates an etcd client for the etcd endpoints defined in the ClusterStatus value stored in the kubeadm-config ConfigMap in kube-system namespace.

# Structs

Client provides connection parameters for an etcd cluster.
Member struct defines an etcd member; it is used for avoiding to spread github.com/coreos/etcd dependency across kubeadm codebase.

# Interfaces

ClusterInterrogator is an interface to get etcd cluster related information.