Documentation ¶
Index ¶
- Constants
- 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) CreateInOrder(path string, data []byte) (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 clientlocal.Event, []string, error)
Constants ¶
View Source
const MAX_TTL = 365 * 24 * 60 * 60 * time.Second
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) CreateInOrder ¶
func (*Client) RefreshEphemeral ¶
func (*Client) WatchInOrder ¶
Click to show internal directories.
Click to hide internal directories.