package
3.10.0-alpha.0+incompatible
Repository: https://github.com/nccurry/origin.git
Documentation: pkg.go.dev
# Functions
ArtifactDirPath returns the value of ARTIFACT_DIR environment variable.
ArtifactPath returns the absolute path to the fix artifact fileThe path is relative to ARTIFACT_DIR.
BuildAuthConfiguration constructs a non-standard dockerClient.AuthConfiguration that can be used to communicate with the openshift internal docker registry.
CheckForBuildEvent will poll a build for up to 1 minute looking for an event with the specified reason and message template.
CheckOpenShiftNamespaceImageStreams is a temporary workaround for the intermittent issue seen in extended tests where *something* is deleteing the pre-loaded, languange imagestreams from the OpenShift namespace.
CleanupHostPathVolumes removes all PersistentVolumes created by SetupHostPathVolumes, with a given prefix.
CreateExecPodOrFail creates a simple busybox pod in a sleep loop used as a vessel for kubectl exec commands.
CreatePersistentVolume creates a HostPath Persistent Volume.
CreateResource creates the resources from the supplied json file (not a template); ginkgo error checking included.
DumpAndReturnTagging takes and array of tags and obtains the hex image IDs, dumps them to ginkgo for printing, and then returns them.
DumpApplicationPodLogs will dump the latest application logs for a DeploymentConfig for debug purposes.
DumpBuildLogs will dump the latest build logs for a BuildConfig for debug purposes.
DumpBuilds will dump the yaml for every build in the test namespace; remember, pipeline builds don't have build pods so a generic framework dump won't cat our pipeline builds objs in openshift.
DumpDeploymentLogs will dump the latest deployment logs for a DeploymentConfig for debug purposes.
DumpDockerInfo runs `docker info` and logs it to the job output.
DumpImageStreams will dump both the openshift namespace and local namespace imagestreams as part of debugging when the language imagestreams in the openshift namespace seem to disappear.
No description provided by the author
DumpPodLogsStartingWith will dump any pod starting with the name prefix provided.
DumpPodLogsStartingWith will dump any pod starting with the name prefix provided.
No description provided by the author
ExamineDiskUsage will dump df output on the testing system; leveraging this as part of diagnosing the registry's disk filling up during external tests on jenkins.
ExaminePodDiskUsage will dump df/du output on registry pod; leveraging this as part of diagnosing the registry's disk filling up during external tests on jenkins.
No description provided by the author
FatalErr exits the test in case a fatal error has occurred.
FetchURL grabs the output from the specified url and returns it.
FixturePath returns an absolute path to a fixture file in test/extended/testdata/, test/integration/, or examples/.
No description provided by the author
No description provided by the author
GetDockerImageReference retrieves the full Docker pull spec from the given ImageStream and tag.
GetEndpointAddress will return an "ip:port" string for the endpoint.
GetImageIDForTags will obtain the hexadecimal IDs for the array of human readible image tags IDs provided.
GetMasterThreadDump will get a golang thread stack dump.
GetPodForContainer creates a new Pod that runs specified container.
GetPodNamesByFilter looks up pods that satisfy the predicate and returns their names.
init initialize the extended testing suite.
KubeConfigPath returns the value of KUBECONFIG environment variable.
ListImages initiates the equivalent of a `docker images`.
No description provided by the author
NewCLI initialize the upstream E2E framework and set the namespace to match with the project name.
NewPodExecutor returns an executor capable of running commands in a Pod.
No description provided by the author
ParseLabelsOrDie turns the given string into a label selector or panics; for tests or other cases where you know the string is valid.
SetupHostPathVolumes will create multiple PersistentVolumes with given capacity.
StartBuild executes OC start-build with the specified arguments.
StartBuildAndWait executes OC start-build with the specified arguments on an existing buildconfig.
No description provided by the author
TimedWaitForAnImageStreamTag waits until an image stream with given name has non-empty history for given tag.
VarSubOnFile reads in srcFile, finds instances of ${key} from the map and replaces them with their associated values.
WaitForABuild waits for a Build object to match either isOK or isFailed conditions.
No description provided by the author
WaitForAnImageStream waits for an ImageStream to fulfill the isOK function.
WaitForAnImageStreamTag waits until an image stream with given name has non-empty history for given tag.
WaitForBuilderAccount waits until the builder service account gets fully provisioned.
WaitForBuildResult updates result wit the state of the build.
WaitForDeploymentConfig waits for a DeploymentConfig to complete transition to a given version and report minimum availability.
WaitForOpenShiftNamespaceImageStreams waits for the standard set of imagestreams to be imported.
WaitForPods waits until given number of pods that match the label selector and satisfy the predicate are found.
WaitForQueryOutputContains will execute the query multiple times, until the specified substring is found in the results.
WaitForQueryOutputSatisfies will execute the query multiple times, until the specified predicate function is return true.
WaitForResourceQuotaSync watches given resource quota until its usage is updated to desired level or a timeout occurs.
No description provided by the author
WaitForUserBeAuthorized waits a minute until the cluster bootstrap roles are available and the provided user is authorized to perform the action on the resource.
WaitUntilAllHelpersAreUp waits until all helpers are ready to serve requests.
WaitUntilPodIsGone waits until the named Pod will disappear.
WaitUntilUp continuously waits for the server to become ready, up until timeout.
# Variables
CheckBuildCancelledFn return true if the build was canceled.
CheckBuildFailedFn return true if the build failed.
CheckBuildSuccessFn returns true if the build succeeded.
CheckImageStreamLatestTagPopulatedFn returns true if the imagestream has a ':latest' tag filed.
CheckImageStreamTagNotFoundFn return true if the imagestream update was not successful.
CheckPodIsReadyFn returns true if the pod's ready probe determined that the pod is ready.
CheckPodIsRunningFn returns true if the pod is running.
CheckPodIsSucceededFn returns true if the pod status is "Succdeded".
No description provided by the author
# Structs
No description provided by the author
CLI provides function to call the OpenShift CLI and Kubernetes and OpenShift clients.
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
Database interface allows testing database images.
ReplicaSet interface allows to interact with database on multiple nodes.
# Type aliases
No description provided by the author