package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
DoMakeRShared is common implementation of MakeRShared on Linux.
ExclusiveOpenFailsOnDevice checks if block device in use by calling Open with O_EXCL flag.
GetModeLinux returns permissions of the pathname.
pathname must already be evaluated for symlinks.
GetSELinux is common implementation of GetSELinuxSupport on Linux.
NewFakeHostUtil returns a struct that implements the HostUtils interface for testing TODO: no callers were initializing the struct with any MountPoints.
NewHostUtil returns a struct that implements the HostUtils interface on linux platforms.
# Constants
FileTypeBlockDev defines a constant for the block device FileType.
FileTypeCharDev defines a constant for the character device FileType.
FileTypeDirectory defines a constant for the directory FileType.
FileTypeFile defines a constant for the file FileType.
FileTypeSocket defines a constant for the socket FileType.
FileTypeUnknown defines a constant for an unknown FileType.
# Structs
FakeHostUtil is a fake HostUtils implementation for testing.
HostUtil implements HostUtils for Linux platforms.
# Interfaces
HostUtils defines the set of methods for interacting with paths on a host.
# Type aliases
FileType enumerates the known set of possible file types.