package
0.0.0-20190319231021-e6272b887b81
Repository: https://github.com/marun/kubernetes.git
Documentation: pkg.go.dev

# Functions

CheckEvictionSupport uses Discovery API to find out if the server support eviction subresource If support, it will return its groupVersion; Otherwise, it will return an empty string.
NewCordonHelper returns a new CordonHelper.
NewCordonHelperFromRuntimeObject returns a new CordonHelper, or an error if given object is not a node or cannot be encoded as JSON.

# Constants

EvictionKind represents the kind of evictions object.
EvictionSubresource represents the kind of evictions object as pod's subresource.

# Structs

CordonHelper wraps functionality to cordon/uncordon nodes.
Helper contains the parameters to control the behaviour of drainer.