package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
DeleteCustomResourceAndWaitForGC deletes only given resource and waits for GC to delete the pods.
DeleteResourceAndWaitForGC deletes only given resource and waits for GC to delete the pods.
GetReplicasFromRuntimeObject returns the number of replicas for the given object.
GetRuntimeObjectForKind returns a runtime.Object based on its GroupKind, namespace and name.
GetSelectorFromRuntimeObject returns the labels for the given object.
ScaleResource scales resource to the given size.
WaitForControlledPods waits up to podListTimeout for getting pods of the specified controller name and return them.
WaitForControlledPodsRunning waits up to 10 minutes for pods to become Running.