package
1.14.0-alpha.1
Repository: https://github.com/micnncim/kubernetes.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
KubeletCommand performs `start`, `restart`, or `stop` on the kubelet running on the node of the target pod and waits for the desired statues.
PatchCSIDeployment modifies the CSI driver deployment: - replaces the provisioner name - forces pods onto a specific host All of that is optional, see PatchCSIOptions.
PodExec wraps RunKubectl to execute a bash cmd in target pod.
No description provided by the author
RunInPodWithVolume runs a command in a pod with given claim mounted to /mnt directory.
No description provided by the author
No description provided by the author
TestKubeletRestartsAndRestoresMount tests that a volume mounted to a pod remains mounted after a kubelet restarts.
TestVolumeUnmountsFromDeletedPod tests that a volume unmounts if the client pod was deleted while the kubelet was down.
TestVolumeUnmountsFromDeletedPod tests that a volume unmounts if the client pod was deleted while the kubelet was down.
TestVolumeUnmountsFromFoceDeletedPod tests that a volume unmounts if the client pod was forcefully deleted while the kubelet was down.
VerifyExecInPodFail verifies bash cmd in target pod fail with certain exit code.
VerifyExecInPodSucceed verifies bash cmd in target pod succeed.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

PatchCSIOptions controls how PatchCSIDeployment patches the objects.

# Type aliases

No description provided by the author