shared

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckDistribution

func CheckDistribution(t pkgTest.TLegacy, clients *test.Clients, url *url.URL, num, min int, expectedResponses []string) error

CheckDistribution sends "num" requests to "domain", then validates that we see each body in "expectedResponses" at least "min" times.

func ValidateImageDigest

func ValidateImageDigest(imageName string, imageDigest string) (bool, error)

ValidateImageDigest validates the image digest.

func WaitForScaleToZero

func WaitForScaleToZero(t pkgTest.TLegacy, deploymentName string, clients *test.Clients) error

WaitForScaleToZero will wait for the specified deployment to scale to 0 replicas. Will wait up to 6 times the scaleToZeroGracePeriod (30 seconds) before failing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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