Documentation ¶
Index ¶
- type Client
- func (c *Client) ConfigMap(ns string) v12.ConfigMapInterface
- func (c *Client) DeleteNode(name string) error
- func (c *Client) GetClusterVersion() (*version.Info, error)
- func (c *Client) GetEndpointsList(namespace string) (*v1.EndpointsList, error)
- func (c *Client) ListAllNamespacesPods() ([]*NamespacePod, error)
- func (c *Client) ListAllNamespacesSvcs() ([]*NamespaceSvc, error)
- func (c *Client) ListKubeSystemPodsStatus() (bool, error)
- func (c *Client) ListNodeIPByLabel(label string) ([]net.IP, error)
- func (c *Client) ListNodes() (*v1.NodeList, error)
- func (c *Client) ListNodesByLabel(label string) (*v1.NodeList, error)
- func (c *Client) ListSvcs(namespace string) (*v1.ServiceList, error)
- func (c *Client) UpdateNode(node v1.Node) (*v1.Node, error)
- type NamespacePod
- type NamespaceSvc
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 Newk8sClient ¶
func (*Client) DeleteNode ¶
func (*Client) GetEndpointsList ¶
func (c *Client) GetEndpointsList(namespace string) (*v1.EndpointsList, error)
func (*Client) ListAllNamespacesPods ¶
func (c *Client) ListAllNamespacesPods() ([]*NamespacePod, error)
func (*Client) ListAllNamespacesSvcs ¶
func (c *Client) ListAllNamespacesSvcs() ([]*NamespaceSvc, error)
func (*Client) ListKubeSystemPodsStatus ¶
func (*Client) ListNodeIPByLabel ¶
func (*Client) ListNodesByLabel ¶
type NamespaceSvc ¶
type NamespaceSvc struct { Namespace v1.Namespace ServiceList *v1.ServiceList }
Click to show internal directories.
Click to hide internal directories.