kubernetes

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2020 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCordonAndDrainTask

func NewCordonAndDrainTask() phase.Task

NewCordonAndDrainTask initializes and returns an Services task.

func NewRemoveAllPodsTask added in v0.3.0

func NewRemoveAllPodsTask() phase.Task

NewRemoveAllPodsTask initializes and returns an Services task.

Types

type CordonAndDrain

type CordonAndDrain struct{}

CordonAndDrain represents the task for stop all containerd tasks in the k8s.io namespace.

func (*CordonAndDrain) TaskFunc added in v0.3.0

func (task *CordonAndDrain) TaskFunc(mode runtime.Mode) phase.TaskFunc

TaskFunc returns the runtime function.

type RemoveAllPods added in v0.3.0

type RemoveAllPods struct{}

RemoveAllPods represents the task for stopping all pods.

func (*RemoveAllPods) TaskFunc added in v0.3.0

func (task *RemoveAllPods) TaskFunc(mode runtime.Mode) phase.TaskFunc

TaskFunc returns the runtime function.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL