Documentation ¶
Index ¶
Constants ¶
View Source
const ( // PublishCmdOpt are options for mount func on NodePublishRequest // Example: mount -o <PublishCmdOpt> /src /dst PublishCmdOpt = MountOptionType("cmdOpt") )
Variables ¶
This section is empty.
Functions ¶
func FilterWithType ¶
func FilterWithType(mountType MountOptionType, options []string) (filteredOptions []string)
FilterWithType returns all option from list with passed type
func IsOptionSupported ¶
IsOptionSupported returns true if option in supportedMountOption
func IsOptionsSupported ¶
IsOptionsSupported returns true if all options in supportedMountOption
Types ¶
type MountOption ¶
type MountOption struct {
// contains filtered or unexported fields
}
MountOption describes mount option
Click to show internal directories.
Click to hide internal directories.