package
0.0.0-20210826174505-576d2b33dac7
Repository: https://github.com/interconnectedcloud/qdr-operator.git
Documentation: pkg.go.dev

# Packages

Package ginkgowrapper wraps Ginkgo Fail and Skip functions to panic with structured data instead of a constant string.
No description provided by the author
No description provided by the author

# Functions

AddCleanupAction installs a function that will be called in the event of the whole test being terminated.
AfterReadingAllFlags makes changes to the context after all flags have been read.
ContainsAll can be used to compare two sorted slices and validate both are not nil and all elements from given model are present on the target instance.
CreateResourcesFromYAML creates all resources from the provided YAML file or URL using an initialized VanClient instance.
DeleteNamespaces deletes all namespaces that match the given delete and skip filters.
ExpectError expects an error happens, otherwise an exception raises.
ExpectNoError checks if "err" is set, and if so, fails assertion while logging the error.
ExpectNoErrorWithOffset checks if "err" is set, and if so, fails assertion while logging the error at "offset" levels above its caller (for example, for call chain f -> g -> ExpectNoErrorWithOffset(1, ...) error would be logged for "f").
ExpectNoErrorWithRetries checks if an error occurs with the given retry count.
FromInts returns an interface array with sorted elements from int array.
FromStrings returns an interface array with sorted elements from string array.
GetPorts returns an int slice with all ports exposed by the provided corev1.Service object.
HandleFlags sets up all flags and parses the command line.
HasAlreadyExistsSuffix returns true if the string representation of the error ends with "already exists".
No description provided by the author
KubectlCmd runs the kubectl executable through the wrapper script.
LoadClientset returns clientset for connecting to kubernetes clusters.
LoadConfig returns a config for a rest client.
LookForRegexp looks for the given regexp in results from given "func() string".
LookForRegexpInLog looks for the given regexp in the log of a specific pod container.
LookForString looks for the given string in the output of fn, repeatedly calling fn until the timeout is reached or the string is found.
LookForStringInLog looks for the given string in the log of a specific pod container.
NewFramework creates a test framework.
NewKubectlCommand returns a KubectlBuilder for running kubectl.
NewKubectlCommandTimeout returns a KubectlBuilder with a timeout defined, for running kubectl.
NewKubectlExecCommand returns a KubectlBuilder prepared to execute a given command in a running pod.
RegisterFlags registers flags for e2e test suites.
RemoveCleanupAction removes a function that was installed by AddCleanupAction.
RestclientConfig returns a config holds the information needed to build connection to kubernetes clusters.
Retry retries f every interval until after maxRetries.
RetryWithContext retries f every interval until the specified context times out.
RunCleanupActions runs all functions installed by AddCleanupAction.
RunKubectl is a convenience wrapper over kubectlBuilder.
RunKubectlOrDie is a convenience wrapper over kubectlBuilder.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WaitForNamespacesDeleted waits for the namespaces to be deleted.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
Poll is how often to Poll pods.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TestContext should be used by all tests to access common context data.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
KubectlBuilder is used to build, customize and execute a kubectl Command.
No description provided by the author
TestContextType contains test settings and global state.

# Type aliases

No description provided by the author
InterconnectCustomizer represents a function that allows for customizing an Interconnect resource before it is created.
No description provided by the author