status

package
v0.0.0-...-3568c51 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AUTStatusCheck

func AUTStatusCheck(appNs, appLabel, containerName string, timeout, delay int, clients clients.ClientSets, chaosDetails *types.ChaosDetails) error

AUTStatusCheck checks the status of application under test if annotationCheck is true, it will check the status of the annotated pod only else it will check status of all pods with matching label

func AnnotatedApplicationsStatusCheck

func AnnotatedApplicationsStatusCheck(appNs, appLabel, containerName string, timeout, delay int, clients clients.ClientSets, chaosDetails *types.ChaosDetails) error

AnnotatedApplicationsStatusCheck checks the status of all the annotated applications with matching label

func CheckApplicationStatus

func CheckApplicationStatus(appNs, appLabel string, timeout, delay int, clients clients.ClientSets) error

CheckApplicationStatus checks the status of the AUT

func CheckAuxiliaryApplicationStatus

func CheckAuxiliaryApplicationStatus(AuxiliaryAppDetails string, timeout, delay int, clients clients.ClientSets) error

CheckAuxiliaryApplicationStatus checks the status of the Auxiliary applications

func CheckContainerStatus

func CheckContainerStatus(appNs, appLabel, containerName string, timeout, delay int, clients clients.ClientSets) error

CheckContainerStatus checks the status of the application container

func CheckHelperStatus

func CheckHelperStatus(appNs, appLabel string, timeout, delay int, clients clients.ClientSets) error

CheckHelperStatus checks the status of the helper pod and wait until the helper pod comes to one of the {running,completed,failed} states

func CheckNodeNotReadyState

func CheckNodeNotReadyState(nodeName string, timeout, delay int, clients clients.ClientSets) error

CheckNodeNotReadyState check for node to be in not ready state

func CheckNodeStatus

func CheckNodeStatus(nodes string, timeout, delay int, clients clients.ClientSets) error

CheckNodeStatus checks the status of the node

func CheckPodStatus

func CheckPodStatus(appNs, appLabel string, timeout, delay int, clients clients.ClientSets) error

CheckPodStatus checks the running status of the application pod

func CheckPodStatusPhase

func CheckPodStatusPhase(appNs, appLabel string, timeout, delay int, clients clients.ClientSets, states ...string) error

CheckPodStatusPhase checks the status of the application pod

func WaitForCompletion

func WaitForCompletion(appNs, appLabel string, clients clients.ClientSets, duration int, containerName string) (string, error)

WaitForCompletion wait until the completion of pod

Types

This section is empty.

Jump to

Keyboard shortcuts

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