package
0.21.0-alpha.6
Repository: https://github.com/loft-sh/vcluster.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
ExpectConsistOf expects actual contains precisely the extra elements.
ExpectEmpty expects actual is empty.
ExpectEqual expects the specified two are the same, otherwise an exception raises.
ExpectError expects an error happens, otherwise an exception raises.
ExpectHaveKey expects the actual map has the key in the keyset.
ExpectMatchRegexp expects the string to match the provided regular expression.
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").
No description provided by the author
ExpectNotEqual expects the specified two are not the same, otherwise an exception raises.
ExpectMatchRegexp expects the string to match the provided regular expression.
IsDefaultAnnotation returns a boolean if the annotation is set TODO: remove Beta when no longer needed.
NewKubectlCommand returns a KubectlBuilder for running kubectl.
NewTestKubeconfig returns a new Kubeconfig struct instance.
RunKubectl is a convenience wrapper over kubectlBuilder.
RunKubectlInput is a convenience wrapper over kubectlBuilder that takes input to stdin.
RunKubectlOrDie is a convenience wrapper over kubectlBuilder.
RunKubectlOrDieInput is a convenience wrapper over kubectlBuilder that takes input to stdin.
RunKubectlWithFullOutput is a convenience wrapper over kubectlBuilder It will also return the command's stderr.

# Constants

BetaIsDefaultStorageClassAnnotation is the beta version of IsDefaultStorageClassAnnotation.
the default in client-go is 32.
No description provided by the author
No description provided by the author
IsDefaultStorageClassAnnotation represents a StorageClass annotation that marks a class as the default StorageClass.
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
Adopted from k8s test suite - https://github.com/kubernetes/kubernetes/blob/f2576efecdf2d902b12a3fedae7995311d4febfa/test/e2e/framework/util.go#L552-L687 KubectlBuilder is used to build, customize and execute a kubectl Command.
Adopted from k8s test suite - https://github.com/kubernetes/kubernetes/blob/f2576efecdf2d902b12a3fedae7995311d4febfa/test/e2e/framework/kubectl/kubectl_utils.go#L43-L100 TestKubeconfig is a struct containing the needed attributes from TestContext and Framework(Namespace).