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 IsNamespaceReady ¶ added in v0.7.0
func IsNamespaceReady(ctx context.Context, cluster clusters.Cluster, namespace string) (waitForObjects []runtime.Object, ready bool, err error)
IsNamespaceReady checks for all Daemonsets, Deployment and Services in a given namespace to see if they are ready. It reports on readiness but also will provide a list of runtime objects that are being waited on still if the namespace is not ready yet.
Keep in mind that this specifically checks on readiness, not availability (uptime) for speed reasons during tests.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.