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

# Functions

CleanupMountPoint unmounts the given path and deletes the remaining directory if successful.
GetDeviceNameFromMount: given a mnt point, find the device from /proc/mounts returns the device name, reference count, and error code.
No description provided by the author
IsCorruptedMnt return true if err is about corrupted mount point.
IsNotMountPoint determines if a directory is a mountpoint.
New returns a mount.Interface for the current system.
No description provided by the author
No description provided by the author
NewNsenterMounter creates a new mounter for kubelet that runs as a container.
No description provided by the author
TODO: clean this up to use pkg/util/file/FileExists PathExists returns true if the specified path exists.
PathWithinBase checks if give path is within given base directory.

# Constants

Values for FakeAction.Action.
No description provided by the author
No description provided by the author
No description provided by the author
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

FakeAction objects are logged every time a fake mount or unmount is called.
Fake for testing.
FakeMounter implements mount.Interface for tests.
Mounter provides the default implementation of mount.Interface for the linux platform.
This represents a single line in /proc/mounts or /etc/fstab.
Currently, all docker containers receive their own mount namespaces.
SafeFormatAndMount probes a device to see if it is formatted.
No description provided by the author

# Interfaces

Exec executes command where mount utilities are.
No description provided by the author

# Type aliases

No description provided by the author