Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
NewClient initializes and returns an etcd client configured to talk to a local endpoint.
func NewClientFromControlPlaneIPs ¶
func NewClientFromControlPlaneIPs(ctx context.Context, creds *x509.PEMEncodedCertificateAndKey, endpoint *url.URL) (client *clientv3.Client, err error)
NewClientFromControlPlaneIPs initializes and returns an etcd client configured to talk to all members.
func ValidateForUpgrade ¶
ValidateForUpgrade validates the etcd cluster state to ensure that performing an upgrade is safe.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.