package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
CreateOrMutate tries to create the provided object.
CreateOrRetain creates a runtime object if the target resource doesn't exist.
CreateOrUpdate creates a runtime object if the target resource doesn't exist.
GetConfigMapWithShortRetry tries to retrieve a ConfigMap using the given client, retrying for a short time if it gets an unexpected error.
NewDryRun creates a new DryRun object that only has a fake client.
NewKubeWaiter returns a new Waiter object that talks to the given Kubernetes cluster.
PatchNode tries to patch a node using patchFn for the actual mutating logic.
PatchNodeOnce executes patchFn on the node object found by the node name.
PrintControlPlaneErrorHelpScreen prints help text on wait ControlPlane components errors.
PrintKubeletErrorHelpScreen prints help text on kubelet errors.
# Structs
DryRun is responsible for performing verbose dry-run operations with a set of different API clients.
KubeWaiter is an implementation of Waiter that is backed by a Kubernetes client.
# Interfaces
Waiter is an interface for waiting for criteria in Kubernetes to happen.