Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Clientset *kubernetes.Clientset
}
Client define a Kubernetes client.
func NewKubernetesClient ¶
NewKubernetesClient create new Kubernetes client using configuration from kubectl.
func (*Client) GetNamespaces ¶
func (client *Client) GetNamespaces() (*v1.NamespaceList, error)
func (*Client) GetServices ¶
func (client *Client) GetServices() (*v1.ServiceList, error)
Click to show internal directories.
Click to hide internal directories.