Documentation ¶
Index ¶
- type Client
- func (c *Client) AlterNode(ctx context.Context, path string, config coordination.NodeConfig) (err error)
- func (c *Client) Close(ctx context.Context) error
- func (c *Client) CreateNode(ctx context.Context, path string, config coordination.NodeConfig) (err error)
- func (c *Client) DescribeNode(ctx context.Context, path string) (entry *scheme.Entry, config *coordination.NodeConfig, err error)
- func (c *Client) DropNode(ctx context.Context, path string) (err error)
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
}
func (*Client) AlterNode ¶
func (c *Client) AlterNode(ctx context.Context, path string, config coordination.NodeConfig) (err error)
func (*Client) CreateNode ¶
func (c *Client) CreateNode(ctx context.Context, path string, config coordination.NodeConfig) (err error)
func (*Client) DescribeNode ¶
func (c *Client) DescribeNode( ctx context.Context, path string, ) ( entry *scheme.Entry, config *coordination.NodeConfig, err error, )
Click to show internal directories.
Click to hide internal directories.