ha

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: UPL-1.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WaitTimeout = 10 * time.Minute

	PollingInterval = 10 * time.Second
)

Variables

This section is empty.

Functions

func EventuallyCreateShutdownSignal

func EventuallyCreateShutdownSignal(cs *kubernetes.Clientset, log *zap.SugaredLogger)

func EventuallyGetNodes

func EventuallyGetNodes(cs *kubernetes.Clientset, log *zap.SugaredLogger) *corev1.NodeList

func EventuallyPodsReady

func EventuallyPodsReady(log *zap.SugaredLogger, cs *kubernetes.Clientset)

func IsControlPlaneNode

func IsControlPlaneNode(node corev1.Node) bool

func IsPodReadyOrCompleted

func IsPodReadyOrCompleted(pod corev1.Pod) bool

func IsShutdownSignalSet

func IsShutdownSignalSet(cs *kubernetes.Clientset) bool

func RunningUntilShutdownIt

func RunningUntilShutdownIt(t *framework.TestFramework, description string, clientset *kubernetes.Clientset, runContinuous bool, test func())

RunningUntilShutdownIt runs the test function repeatedly until the shutdown signal is set. If the "runContinues" flag is false, the test is only run one time.

Types

This section is empty.

Jump to

Keyboard shortcuts

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