Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) Close() error
- func (c *Client) Create(path string, data []byte) error
- func (c *Client) CreateEphemeral(path string, data []byte) (<-chan struct{}, error)
- func (c *Client) CreateEphemeralInOrder(path string, data []byte) (<-chan struct{}, string, error)
- func (c *Client) Delete(path string) error
- func (c *Client) List(path string, must bool) ([]string, error)
- func (c *Client) Mkdir(path string) error
- func (c *Client) Read(path string, must bool) ([]byte, error)
- func (c *Client) RefreshEphemeral(path string) error
- func (c *Client) Update(path string, data []byte) error
- func (c *Client) WatchInOrder(path string) (<-chan struct{}, []string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotDir = errors.New("etcd: not a dir") ErrNotFile = errors.New("etcd: not a file") )
View Source
var ErrClosedClient = errors.New("use of closed etcd client")
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) CreateEphemeral ¶
func (*Client) CreateEphemeralInOrder ¶
func (*Client) RefreshEphemeral ¶
Click to show internal directories.
Click to hide internal directories.