Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a wrapper around the etcd client
func NewEtcdClient ¶
func NewEtcdClient(machines []string, cert, key string, caCert string, noDiscover bool) (*Client, error)
NewEtcdClient returns an *etcd.Client with a connection to named machines. It returns an error if a connection to the cluster cannot be made.
Click to show internal directories.
Click to hide internal directories.