Documentation ¶
Index ¶
- type Client
- func (c *Client) Connect(cluster *cluster.Cluster) error
- func (c *Client) Delete(cluster *cluster.Cluster) error
- func (c *Client) Get(name string) (*cluster.Cluster, error)
- func (c *Client) List() ([]*cluster.Cluster, error)
- func (c *Client) ListFilter(labels map[string]string) ([]*cluster.Cluster, error)
- func (c *Client) SetClusterLabels(cluster *cluster.Cluster, labels map[string]string) error
- func (c *Client) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client a fake implementation of the cluster client
func (*Client) ListFilter ¶
ListFilter lists the clusters with a filter
func (*Client) SetClusterLabels ¶
SetClusterLabels labels the given cluster
Click to show internal directories.
Click to hide internal directories.