key

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterEndpointFromDrainerConfig

func ClusterEndpointFromDrainerConfig(drainerConfig v1alpha1.DrainerConfig) string

func ClusterIDFromDrainerConfig

func ClusterIDFromDrainerConfig(drainerConfig v1alpha1.DrainerConfig) string

func IsCriticalPod

func IsCriticalPod(podName string) bool

func IsDaemonSetPod

func IsDaemonSetPod(pod v1.Pod) bool

func IsEvictedPod

func IsEvictedPod(pod v1.Pod) bool

func IsWrongTypeError

func IsWrongTypeError(err error) bool

IsWrongTypeError asserts wrongTypeError.

func NodeNameFromDrainerConfig

func NodeNameFromDrainerConfig(drainerConfig v1alpha1.DrainerConfig) string

func ToDrainerConfig

func ToDrainerConfig(v interface{}) (v1alpha1.DrainerConfig, error)

func VersionBundleVersionFromDrainerConfig

func VersionBundleVersionFromDrainerConfig(drainerConfig v1alpha1.DrainerConfig) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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