...

Package util

import "github.com/chaos-mesh/chaos-mesh/test/e2e/util"
Overview
Index

Overview ▾

func PauseChaos

func PauseChaos(ctx context.Context, cli client.Client, chaos runtime.Object) error

func UnPauseChaos

func UnPauseChaos(ctx context.Context, cli client.Client, chaos runtime.Object) error

func WaitDeploymentReady

func WaitDeploymentReady(name, namespace string, cli kubernetes.Interface) error

WaitDeploymentReady waits for all pods which controlled by deployment to be ready.

func WaitE2EHelperReady

func WaitE2EHelperReady(c http.Client, port uint16) error

func WaitForAPIServicesAvailable

func WaitForAPIServicesAvailable(client aggregatorclientset.Interface, selector labels.Selector) error

WaitForAPIServicesAvailable waits for apiservices to be available

func WaitForCRDsEstablished

func WaitForCRDsEstablished(client apiextensionsclientset.Interface, selector labels.Selector) error

WaitForCRDsEstablished waits for all CRDs to be established