Documentation ¶
Index ¶
- type Client
- func (c *Client) Create(ctx context.Context, o k8s.CreateOptions) (err error)
- func (c *Client) Delete(ctx context.Context, name, namespace string) (err error)
- func (c *Client) Ready(ctx context.Context, name, namespace string) (ready bool, err error)
- func (c *Client) RunningNodes(ctx context.Context, namespace string) (running []string, err error)
- func (c *Client) Start(ctx context.Context, name, namespace string) (err error)
- func (c *Client) Stop(ctx context.Context, name, namespace string) (err error)
- func (c *Client) StoppedNodes(ctx context.Context, namespace string) (stopped []string, err error)
- type ClientOptions
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
}
Client manages communication with the Kubernetes
func (*Client) RunningNodes ¶ added in v0.4.7
RunningNodes returns list of running nodes TODO: filter by labels
type ClientOptions ¶
type ClientOptions struct {
KubeconfigPath string
}
ClientOptions holds optional parameters for the Client.
Click to show internal directories.
Click to hide internal directories.