Documentation
¶
Index ¶
- Constants
- func EventuallyCreateShutdownSignal(cs *kubernetes.Clientset, log *zap.SugaredLogger)
- func EventuallyGetNodes(cs *kubernetes.Clientset, log *zap.SugaredLogger) *corev1.NodeList
- func EventuallyPodsReady(log *zap.SugaredLogger, cs *kubernetes.Clientset)
- func IsControlPlaneNode(node corev1.Node) bool
- func IsPodReadyOrCompleted(pod corev1.Pod) bool
- func IsShutdownSignalSet(cs *kubernetes.Clientset) bool
- func RunningUntilShutdownIt(t *framework.TestFramework, description string, ...)
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 IsPodReadyOrCompleted ¶
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.
Click to show internal directories.
Click to hide internal directories.