mountutil

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 21 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 {
	Type            string
	Mount           specs.Mount
	Name            string // name
	AnonymousVolume string // anonymous volume name
	Mode            string
	Opts            []oci.SpecOpts
}

func ProcessFlagMount added in v0.17.0

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

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