Documentation ¶
Index ¶
- func Get(ctx context.Context, c *clientv3.Client, k string) ([]byte, error)
- func GetObject(ctx context.Context, c *clientv3.Client, k string, v interface{}) error
- type Client
- func (c *Client) CreateConfig(ctx context.Context, parent string, config *pb.Config) error
- func (c *Client) CreateGroup(ctx context.Context, ns, group string) error
- func (c *Client) CreateNamespace(ctx context.Context, ns string) error
- func (c *Client) DeleteConfig(ctx context.Context, parent, id string) error
- func (c *Client) GetConfig(ctx context.Context, parent, id string) (*pb.Config, error)
- func (c *Client) ListConfigs(ctx context.Context, parent string) ([]*pb.Config, error)
- func (c *Client) ListGroups(ctx context.Context, ns string) ([]string, error)
- func (c *Client) ListNamespaces(ctx context.Context) ([]string, error)
- func (c *Client) PutConfig(ctx context.Context, parent string, in *pb.Config) error
- func (c *Client) WatchConfig(ctx context.Context, parent, id string, h OnChange)
- type OnChange
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateConfig ¶
func (*Client) CreateGroup ¶
func (*Client) CreateNamespace ¶
func (*Client) DeleteConfig ¶
func (*Client) ListConfigs ¶
func (*Client) ListGroups ¶
func (*Client) ListNamespaces ¶
Click to show internal directories.
Click to hide internal directories.