Documentation ¶
Index ¶
- type Client
- func (*Client) CreateVolume(ctx context.Context, id string) error
- func (c *Client) DeleteCapsule(ctx context.Context, capsuleName string) error
- func (c *Client) ListCapsuleMetrics(ctx context.Context) (iterator.Iterator[*capsule.InstanceMetrics], error)
- func (c *Client) ListInstances(ctx context.Context, capsuleName string) (iterator.Iterator[*capsule.Instance], uint64, error)
- func (c *Client) Logs(ctx context.Context, capsuleName string, instanceID string, follow bool) (iterator.Iterator[*capsule.Log], error)
- func (c *Client) RestartInstance(ctx context.Context, capsuleName string, instanceID string) error
- func (c *Client) UpsertCapsule(ctx context.Context, capsuleName string, cc *cluster.Capsule) 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) CreateVolume ¶
CreateVolume implements cluster.Gateway.
func (*Client) DeleteCapsule ¶
DeleteCapsule implements cluster.Gateway.
func (*Client) ListCapsuleMetrics ¶
func (*Client) ListInstances ¶
func (c *Client) ListInstances( ctx context.Context, capsuleName string, ) (iterator.Iterator[*capsule.Instance], uint64, error)
ListInstances implements cluster.Gateway.
func (*Client) Logs ¶
func (c *Client) Logs(ctx context.Context, capsuleName string, instanceID string, follow bool) (iterator.Iterator[*capsule.Log], error)
Logs implements cluster.Gateway.
func (*Client) RestartInstance ¶
RestartInstance implements cluster.Gateway.
Click to show internal directories.
Click to hide internal directories.