Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGraphDriverOptions ¶
func GetGraphDriverOptions(driverName string, options OptionsConfig) []string
Types ¶
type AufsOptionsConfig ¶
type AufsOptionsConfig struct { // MountOpt specifies extra mount options used when mounting MountOpt string `toml:"mountopt"` }
type BtrfsOptionsConfig ¶
type OptionsConfig ¶
type OptionsConfig struct { AdditionalImageStores []string `toml:"additionalimagestores"` AdditionalLayerStores []string `toml:"additionallayerstores"` Size string `toml:"size"` RemapUIDs string `toml:"remap-uids"` RemapGIDs string `toml:"remap-gids"` IgnoreChownErrors string `toml:"ignore_chown_errors"` ForceMask os.FileMode `toml:"force_mask"` // RemapUser is the name of one or more entries in /etc/subuid which // should be used to set up default UID mappings. RemapUser string `toml:"remap-user"` RemapGroup string `toml:"remap-group"` // RootAutoUsernsUser is the name of one or more entries in /etc/subuid and // /etc/subgid which should be used to set up automatically a userns. RootAutoUsernsUser string `toml:"root-auto-userns-user"` AutoUsernsMinSize uint32 `toml:"auto-userns-min-size"` AutoUsernsMaxSize uint32 `toml:"auto-userns-max-size"` Aufs struct{ AufsOptionsConfig } `toml:"aufs"` Btrfs struct{ BtrfsOptionsConfig } `toml:"btrfs"` Thinpool struct{ ThinpoolOptionsConfig } `toml:"thinpool"` Overlay struct{ OverlayOptionsConfig } `toml:"overlay"` Vfs struct{ VfsOptionsConfig } `toml:"vfs"` Zfs struct{ ZfsOptionsConfig } `toml:"zfs"` // Do not create a bind mount on the storage home SkipMountHome string `toml:"skip_mount_home"` MountProgram string `toml:"mount_program"` MountOpt string `toml:"mountopt"` // PullOptions specifies options to be handed to pull managers // This API is experimental and can be changed without bumping the major version number. PullOptions map[string]string `toml:"pull_options"` DisableVolatile bool `toml:"disable-volatile"` }
type OverlayOptionsConfig ¶
type OverlayOptionsConfig struct { // IgnoreChownErrors is a flag for whether chown errors should be // ignored when building an image. IgnoreChownErrors string `toml:"ignore_chown_errors"` // MountOpt specifies extra mount options used when mounting MountOpt string `toml:"mountopt"` // Alternative program to use for the mount of the file system MountProgram string `toml:"mount_program"` // Size Size string `toml:"size"` // Do not create a bind mount on the storage home SkipMountHome string `toml:"skip_mount_home"` // ForceMask indicates the permissions mask (e.g. "0755") to use for new // files and directories ForceMask string `toml:"force_mask"` }
type ThinpoolOptionsConfig ¶
type ThinpoolOptionsConfig struct { AutoExtendPercent string `toml:"autoextend_percent"` // AutoExtendThreshold determines the pool extension threshold in terms // of percentage of pool size. For example, if threshold is 60, that // means when pool is 60% full, threshold has been hit. AutoExtendThreshold string `toml:"autoextend_threshold"` BaseSize string `toml:"basesize"` BlockSize string `toml:"blocksize"` DirectLvmDevice string `toml:"directlvm_device"` // DirectLvmDeviceForcewipes device even if device already has a // filesystem DirectLvmDeviceForce string `toml:"directlvm_device_force"` Fs string `toml:"fs"` LogLevel string `toml:"log_level"` // MetadataSize specifies the size of the metadata for the thinpool // It will be used with the `pvcreate --metadata` option. MetadataSize string `toml:"metadatasize"` MinFreeSpace string `toml:"min_free_space"` MkfsArg string `toml:"mkfsarg"` MountOpt string `toml:"mountopt"` Size string `toml:"size"` UseDeferredDeletion string `toml:"use_deferred_deletion"` UseDeferredRemoval string `toml:"use_deferred_removal"` XfsNoSpaceMaxRetries string `toml:"xfs_nospace_max_retries"` }
type VfsOptionsConfig ¶
type VfsOptionsConfig struct { // IgnoreChownErrors is a flag for whether chown errors should be // ignored when building an image. IgnoreChownErrors string `toml:"ignore_chown_errors"` }
type ZfsOptionsConfig ¶
Click to show internal directories.
Click to hide internal directories.