util

package
v0.0.0-...-38e49da Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 18 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PauseChaos

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

func SetupHTTPE2EHelperTLSConfig

func SetupHTTPE2EHelperTLSConfig(c http.Client, ip string, port uint16, tls_port uint16, body []byte) error

func UnPauseChaos

func UnPauseChaos(ctx context.Context, cli client.Client, chaos client.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

func WaitHTTPE2EHelperReady

func WaitHTTPE2EHelperReady(c http.Client, ip string, port uint16) error

func WaitHTTPE2EHelperTLSReady

func WaitHTTPE2EHelperTLSReady(c http.Client, ip string, port uint16) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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