Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AdminNamespace is the namespace used for administrative acts // by KTF for purposes such as deploying addons. AdminNamespace = "ktf-system" // AdminBinding is the name of the ClusterRoleBinding created to // bind the AdminNamespace's default service account to the // "cluster-admin" role. AdminBinding = "ktf-admin" )
Variables ¶
This section is empty.
Functions ¶
func ClusterInitHooks ¶ added in v0.7.0
ClusterInitHooks are generic hooks to provision resources on a test cluster regardless of which cluster type (e.g. kind, gke). This includes the creation of some special administrative namespaces and service accounts.
func IsNamespaceAvailable ¶ added in v0.8.0
func IsNamespaceAvailable(ctx context.Context, cluster clusters.Cluster, namespace string) (waitForObjects []runtime.Object, available bool, err error)
IsNamespaceAvailable checks for all Daemonsets, Deployment and Services in a given namespace to see if they are available (ready for minimum number of seconds).
If the namespace is not yet available a list of the components being waited on will be provided.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.