Documentation ¶
Index ¶
- type Client
- func (c *Client) CreateLeases(ctx context.Context, namespace, name, identity string) (string, error)
- func (c *Client) GetLeases(ctx context.Context, namespace, name string) (string, error)
- func (c *Client) ListServices(ctx context.Context, namespace string) ([]meta.Service, error)
- func (c *Client) RenewLeases(ctx context.Context, namespace, name string) error
- func (c *Client) RmvLeases(ctx context.Context, namespace, name string) error
- type Option
- type Parm
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 BuildWithOption ¶
func (*Client) CreateLeases ¶
func (*Client) ListServices ¶
tmp
func (*Client) RenewLeases ¶
type Option ¶
type Option func(*Parm)
func WithConfigPath ¶
func WithListOpts ¶
func WithListOpts(opts v1.ListOptions) Option
type Parm ¶
type Parm struct { ListOpts v1.ListOptions GetOpts v1.GetOptions // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.