Documentation ¶
Index ¶
- type Client
- func (c *Client) CordonNode(ctx context.Context, node *v1.Node) (*v1.Node, error)
- func (c *Client) DeletePod(ctx context.Context, pod v1.Pod, deleteOptions metav1.DeleteOptions) error
- func (c *Client) Deployments(ctx context.Context) (*appv1.DeploymentList, error)
- func (c *Client) DetermineNewPod(ctx context.Context, oldPod v1.Pod) (*v1.Pod, error)
- func (c *Client) Node(ctx context.Context, nodeName string) (*v1.Node, error)
- func (c *Client) Nodes(ctx context.Context, labelSelector fields.Selector) (*v1.NodeList, error)
- func (c *Client) PatchDeployment(ctx context.Context, d *appv1.Deployment, patch map[string]interface{}) error
- func (c *Client) PatchRollout(ctx context.Context, r *v1alpha1.Rollout, patch map[string]interface{}) error
- func (c *Client) PatchStatefulSet(ctx context.Context, s *appv1.StatefulSet, patch map[string]interface{}) error
- func (c *Client) PodsOnNode(ctx context.Context, nodeName string) (*v1.PodList, error)
- func (c *Client) Rollouts(ctx context.Context) (*v1alpha1.RolloutList, error)
- func (c *Client) StatefulSets(ctx context.Context) (*appv1.StatefulSetList, error)
- func (c *Client) UpdateDeployment(ctx context.Context, d *appv1.Deployment) error
- func (c *Client) UpdateStatefulSet(ctx context.Context, s *appv1.StatefulSet) error
- func (c *Client) WaitForPodToBeReady(ctx context.Context, pod *v1.Pod) 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) CordonNode ¶ added in v0.0.1
func (*Client) Deployments ¶
func (*Client) DetermineNewPod ¶ added in v0.0.1
func (*Client) PatchDeployment ¶ added in v0.0.5
func (*Client) PatchRollout ¶ added in v0.1.0
func (*Client) PatchStatefulSet ¶ added in v0.0.5
func (*Client) PodsOnNode ¶ added in v0.0.1
func (*Client) StatefulSets ¶
func (*Client) UpdateDeployment ¶
func (*Client) UpdateStatefulSet ¶
Click to show internal directories.
Click to hide internal directories.