package
4.1.0+incompatible
Repository: https://github.com/openshift/origin.git
Documentation: pkg.go.dev

# Functions

CreateNewProject creates a new project using the clusterAdminClient, then gets a token for the adminUser and returns back a client for the admin user.
FindAvailableBindAddress returns a bind address on 127.0.0.1 with a free port in the low-high range.
The returned channel can be waited on to gracefully shutdown the API server.
StartTestMaster starts up a test master and returns back the startOptions so you can get clients and certs.
WaitForPodCreationServiceAccounts ensures that the service account needed for pod creation exists and that the cache for the admission control that checks for pod tokens has caught up to allow pod creation.
WaitForServiceAccounts ensures the service accounts needed by build pods exist in the namespace The extra controllers tend to starve the service account controller.

# Constants

PodCreationWaitTimeout is used to determine how long to wait after the service account token is available for the admission control cache to catch up and allow pod creation.
ServiceAccountWaitTimeout is used to determine how long to wait for the service account controllers to start up, and populate the service accounts in the test namespace.