package
1.0.0
Repository: https://github.com/alauda/topolvm-operator.git
Documentation: pkg.go.dev

# Functions

BaseKubernetesDeleteOptions returns the base set of Kubernetes delete options which most delete operations should use.
No description provided by the author
No description provided by the author
DeleteBatchJob deletes a Kubernetes job.
No description provided by the author
DeleteDeployment makes a best effort at deleting a deployment and its pods, then waits for them to be deleted.
DeleteResource implements the DeleteOptions logic around deletion of a Kubernetes resource.
GetContainerImage returns the container image matching the given name for a pod.
GetMatchingContainer takes a list of containers and a name, and returns the first container in the list matching the name.
GetRunningPod reads the name and namespace of a pod from the environment, and returns the pod (if it exists).
GetSpecContainerImage returns the container image for a podspec, given a container name.
Hash stableName computes a stable pseudorandom string suitable for inclusion in a Kubernetes object name from the given seed string.
RunReplaceableJob runs a Kubernetes job with the intention that the job can be replaced by another call to this function with the same job name.
No description provided by the author
UpdateStatus updates an object with a given status.
WaitForJobCompletion waits for a job to reach the completed state.

# Structs

DeleteOptions are a common set of options controlling the behavior of k8sutil delete operations.
WaitOptions are a common set of options controlling the behavior of k8sutil operations.