Documentation ¶
Index ¶
- func Contains(nodes []v1.Node, n *v1.Node) bool
- type Client
- func (c *Client) CordonNode(node *v1.Node) (*v1.Node, error)
- func (c *Client) DeletePod(pod v1.Pod, deleteOptions *metav1.DeleteOptions) error
- func (c *Client) DetermineNewPod(oldPod v1.Pod) (*v1.Pod, error)
- func (c *Client) GetNode(nodeName string) (*v1.Node, error)
- func (c *Client) GetPodsOnNode(nodeName string) (*v1.PodList, error)
- func (c *Client) GetPodsWithLabel(label, namespace string) (*v1.PodList, error)
- func (c *Client) IdentifyNewNode(nodes []v1.Node, instanceGroup string) (*v1.Node, error)
- func (c *Client) ListNodes() (*v1.NodeList, error)
- func (c *Client) WaitForNewNodeToBeReady(node *v1.Node) error
- func (c *Client) WaitForNodeToTerminate(node v1.Node) error
- func (c *Client) WaitForPodToBeReady(pod *v1.Pod) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CordonNode ¶
CordonNode makes the node unschedulable
func (*Client) GetPodsOnNode ¶
GetPodsOnNode returns all pods running on the specific node
func (*Client) GetPodsWithLabel ¶
GetPodsWithLabel return all pods with the specified label
func (*Client) IdentifyNewNode ¶ added in v0.0.3
func (*Client) WaitForNewNodeToBeReady ¶ added in v0.0.3
func (*Client) WaitForNodeToTerminate ¶ added in v0.0.3
Click to show internal directories.
Click to hide internal directories.