mountutil

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Bind   = "bind"
	Volume = "volume"
	Tmpfs  = "tmpfs"
)
View Source
const DefaultPropagationMode = "rprivate"

DefaultPropagationMode is the default propagation of mounts where user doesn't specify mount propagation explicitly. See also: https://github.com/moby/moby/blob/v20.10.7/volume/mounts/linux_parser.go#L145

Variables

This section is empty.

Functions

This section is empty.

Types

type Processed added in v0.7.3

type Processed struct {
	Mount           specs.Mount
	AnonymousVolume string // name
	Type            string
	Opts            []oci.SpecOpts
}

func ProcessFlagTmpfs added in v0.13.0

func ProcessFlagTmpfs(s string) (*Processed, error)

func ProcessFlagV added in v0.7.3

func ProcessFlagV(s string, volStore volumestore.VolumeStore) (*Processed, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL