docker: github.com/docker/docker/pkg/mount Index | Files

package mount

import "github.com/docker/docker/pkg/mount"

Index

Package Files

deprecated.go deprecated_linux.go deprecated_unix.go

Constants

const (
    RDONLY      = sysmount.RDONLY
    NOSUID      = sysmount.NOSUID
    NOEXEC      = sysmount.NOEXEC
    SYNCHRONOUS = sysmount.SYNCHRONOUS
    NOATIME     = sysmount.NOATIME
    BIND        = sysmount.BIND
    DIRSYNC     = sysmount.DIRSYNC
    MANDLOCK    = sysmount.MANDLOCK
    NODEV       = sysmount.NODEV
    NODIRATIME  = sysmount.NODIRATIME
    UNBINDABLE  = sysmount.UNBINDABLE
    RUNBINDABLE = sysmount.RUNBINDABLE
    PRIVATE     = sysmount.PRIVATE
    RPRIVATE    = sysmount.RPRIVATE
    SHARED      = sysmount.SHARED
    RSHARED     = sysmount.RSHARED
    SLAVE       = sysmount.SLAVE
    RSLAVE      = sysmount.RSLAVE
    RBIND       = sysmount.RBIND
    RELATIME    = sysmount.RELATIME
    REMOUNT     = sysmount.REMOUNT
    STRICTATIME = sysmount.STRICTATIME
)

Deprecated: use github.com/moby/sys/mount instead. nolint:golint

Variables

var (
    Mounted           = mountinfo.Mounted
    PrefixFilter      = mountinfo.PrefixFilter
    SingleEntryFilter = mountinfo.SingleEntryFilter
    ParentsFilter     = mountinfo.ParentsFilter
    FstypeFilter      = mountinfo.FSTypeFilter
)

Deprecated: use github.com/moby/sys/mountinfo instead. nolint:golint

var (
    MakeMount       = sysmount.MakeMount
    MakeShared      = sysmount.MakeShared
    MakeRShared     = sysmount.MakeRShared
    MakePrivate     = sysmount.MakePrivate
    MakeRPrivate    = sysmount.MakeRPrivate
    MakeSlave       = sysmount.MakeSlave
    MakeRSlave      = sysmount.MakeRSlave
    MakeUnbindable  = sysmount.MakeUnbindable
    MakeRUnbindable = sysmount.MakeRUnbindable
)

Deprecated: use github.com/moby/sys/mount instead. nolint:golint

var (
    Mount            = sysmount.Mount
    ForceMount       = sysmount.Mount // a deprecated synonym
    Unmount          = sysmount.Unmount
    RecursiveUnmount = sysmount.RecursiveUnmount
)

Deprecated: use github.com/moby/sys/mount instead. nolint:golint

var (
    MergeTmpfsOptions = sysmount.MergeTmpfsOptions
)

Deprecated: use github.com/moby/sys/mount instead. nolint:golint

type FilterFunc Uses

type FilterFunc = func(*Info) (skip, stop bool)

FilterFunc is a type. Deprecated: use github.com/moby/sys/mountinfo instead.

type Info Uses

type Info struct {
    ID, Parent, Major, Minor                                  int
    Root, Mountpoint, Opts, Optional, Fstype, Source, VfsOpts string
}

Info is a type Deprecated: use github.com/moby/sys/mountinfo instead.

func GetMounts Uses

func GetMounts(f FilterFunc) ([]*Info, error)

GetMounts is a function.

Deprecated: use github.com/moby/sys/mountinfo.GetMounts() instead. nolint:golint

Package mount imports 2 packages (graph) and is imported by 6276 packages. Updated 2020-11-11. Refresh now. Tools for package owners.