etcd

package
v0.7.0-alpha.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2020 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(endpoints []string) (client *clientv3.Client, err error)

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

func ValidateForUpgrade(preserve bool) error

ValidateForUpgrade validates the etcd cluster state to ensure that performing an upgrade is safe.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL