Documentation
¶
Overview ¶
Package kubectl provides a kubectl-compatible HTTP client.
Index ¶
- type Client
- func (c *Client) APIResources() ([]map[string]interface{}, error)
- func (c *Client) Apply(filename string) error
- func (c *Client) Delete(resource, name string) error
- func (c *Client) Get(resource, name string) (map[string]interface{}, error)
- func (c *Client) List(resource string) ([]map[string]interface{}, error)
- func (c *Client) Logs(pod string) (string, error)
- func (c *Client) SetNamespace(ns string)
- func (c *Client) SetToken(token string)
- func (c *Client) Version() (map[string]interface{}, error)
- func (c *Client) Watch(resource string) (<-chan map[string]interface{}, error)
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
}
func (*Client) APIResources ¶
func (*Client) SetNamespace ¶
Click to show internal directories.
Click to hide internal directories.