Documentation ¶
Index ¶
- type Client
- func (c *Client) ListDeployments(ctx context.Context, ns string) (*appsv1.DeploymentList, error)
- func (c *Client) ListNamespaces(ctx context.Context) ([]string, error)
- func (c *Client) ListNodes(ctx context.Context) ([]string, error)
- func (c *Client) ListPodsByLabels(ctx context.Context, ns string, labels map[string]string) (*v1.PodList, error)
- func (c *Client) NodeToZoneMap(ctx context.Context) (map[string]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Clientset kubernetes.Interface
}
func (*Client) ListDeployments ¶
gererate function that returns a list of v1.Deployment objects
func (*Client) ListNamespaces ¶
Click to show internal directories.
Click to hide internal directories.