Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MountOpts ¶
type MountOpts map[string]interface{}
func NewMountOpts ¶
func NewMountOpts(userOpts map[string]interface{}, mask MountOptsMask) (MountOpts, error)
type MountOptsMask ¶
type MountOptsMask struct {
// set of options that are allowed to be provided by the user
Allowed []string
// set of default values that will be used if not otherwise provided
Defaults map[string]interface{}
// set of key permutations
KeyPerms map[string]string
// set of options that, if provided, will be silently ignored
Ignored []string
// set of options that must be provided
Mandatory []string
SloppyMount bool
}
func NewMountOptsMask ¶
Click to show internal directories.
Click to hide internal directories.