package
0.1.46
Repository: https://github.com/openshift/hypershift.git
Documentation: pkg.go.dev

# Functions

Artifact opens relPath under the artifact dir, ensuring that owning directories exist.
ArtifactDirectoryFor transforms t.Name() into a string that can be used for a directory name.
No description provided by the author
CleanupSentinel is a helper for returning a no-op cleanup function.
No description provided by the author
No description provided by the author
GetFreePort asks the kernel for a free open port that is ready to use.
HostedClusterFor hashes t.Name() to create a name for the HostedCluster.
InstallAssets applies static assets to the cluster for setup.
InstallHostedCluster generates and applies assets to the cluster for setup of a HostedCluster.
InstallHyperShiftCRDs generates and applies CRDs to the cluster for setup of the HyperShift Operator.
InstallHyperShiftOperator generates and applies assets to the cluster for setup of the HyperShift Operator.
No description provided by the author
LoadKubeConfig loads a kubeconfig from the file and uses the default context.
No description provided by the author
No description provided by the author
RunHostedClusterTest takes a test closure and invokes it once the HostedCluster is available.
RunHyperShiftOperatorTest takes a test closure and invokes it once the HostedCluster resource is created, but without waiting for the guest to be available, nor giving the test access to the guest cluster.
SkippedCleanupSteps parses $SKIP_CLEANUP as a comma-delimited list of cleanup steps to skip.
No description provided by the author
WaitForGuestRestConfig returns the raw content of a KubeConfig for the guest cluster's API server.
No description provided by the author
WaitForHyperShiftCRDs waits for the HyperShift CRDs to be established.
WaitForHyperShiftOperator waits for the HyperShift Operator to be running and ready.

# Constants

AllInOneMode is the default mode, where the process expects to both set up the test environment and run the test code.
No description provided by the author
No description provided by the author
No description provided by the author
SetupMode sets up the HyperShift Operator, HostedClusters, and other infrastructure but does not run any test code.
TestMode runs test code and expects the environment to already be set up.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
Options are global test options applicable to all scenarios.
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
Mode describes what the test process should be doing.