Documentation ¶ Index ¶ type Client func NewClient(kubecontext string, kubeconfig string) (*Client, error) func (c *Client) GetClient() kubernetes.Interface func (c *Client) GetConfig() *rest.Config func (c *Client) GetRestClient() rest.Interface Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { Client kubernetes.Interface RestClient rest.Interface Config *rest.Config } func NewClient ¶ func NewClient(kubecontext string, kubeconfig string) (*Client, error) func (*Client) GetClient ¶ func (c *Client) GetClient() kubernetes.Interface func (*Client) GetConfig ¶ added in v0.2.1 func (c *Client) GetConfig() *rest.Config func (*Client) GetRestClient ¶ added in v0.2.1 func (c *Client) GetRestClient() rest.Interface Source Files ¶ View all Source files kubernetes.go Click to show internal directories. Click to hide internal directories.