package
1.6.0-alpha.0
Repository: https://github.com/inercia/kubernetes.git
Documentation: pkg.go.dev

# Packages

Package nestedpendingoperations is a modified implementation of pkg/util/goroutinemap.
Package operationexecutor implements interfaces that enable execution of attach, detach, mount, and unmount operations with a nestedpendingoperations so that more than one operation is never triggered on the same volume for the same pod.
Package types defines types used only by volume components.
Package volumehelper contains consts and helper methods used by various volume components (attach/detach controller, kubelet, etc.).

# Functions

AddVolumeAnnotations adds a golang Map as annotation to a PersistentVolume.
No description provided by the author
FSInfo linux returns (available bytes, byte capacity, byte usage, error) for the filesystem that path resides upon.
No description provided by the author
GetSecretForPod locates secret by name in the pod's namespace and returns secret map.
GetSecretForPV locates secret by name and namespace, verifies the secret type, and returns secret map.
IsReady checks for the existence of a regular file called 'ready' in the given directory and returns true if that file exists.
NewAtomicWriter creates a new AtomicWriter configured to write to the given target directory, or returns an error if the target directory does not exist.
NewDeviceHandler Create a new IoHandler implementation.
NewIOHandler Create a new IoHandler implementation.
ParseVolumeAnnotations reads the defined annoations from a PersistentVolume.
PathExists returns true if the specified path exists.
SetReady creates a file called 'ready' in the given directory.
UnmountPath is a common unmount routine that unmounts the given path and deletes the remaining directory if successful.

# Structs

AtomicWriter handles atomically projecting content for a set of files into a target directory.
No description provided by the author

# Interfaces

DeviceUtil is a util for common device methods.
IoUtil is a mockable util for common IO operations.