helpers

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	PlatformAWS           string = "aws"
	PlatformGCP           string = "gcp"
	PlatformHostedCluster string = "hostedcluster"
)

Enumerated type representing the platform underlying the cluster-under-test

Variables

View Source
var UserdataTemplate string

Functions

func IPPermissionsEquivalent added in v0.4.5

func IPPermissionsEquivalent(a ec2Types.IpPermission, b ec2Types.IpPermission) bool

IPPermissionsEquivalent compares two AWS IpPermissions (used in security group rules) similarly to reflect.DeepEqual, except it only compares IP(v6) ports and CIDR ranges and ignores UserIdGroupPairs, PrefixListIds, and any Description fields

func PollImmediate

func PollImmediate(interval time.Duration, timeout time.Duration, condition func() (bool, error)) error

PollImmediate calls the condition function at the specified interval up to the specified timeout until the condition function returns true or an error

func RandSeq

func RandSeq(n int) string

RandSeq generates random string with n characters.

Types

This section is empty.

Jump to

Keyboard shortcuts

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