package
0.0.0-20191024030528-a481964b876e
Repository: https://github.com/divinerapier/learn-kubernetes.git
Documentation: pkg.go.dev

# Functions

DoMakeRShared is common implementation of MakeRShared on Linux.
ExclusiveOpenFailsOnDevice is shared with NsEnterMounter.
GetModeLinux is shared between Linux and NsEnterMounter.
GetOwnerLinux is shared between Linux and NsEnterMounter 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.