package mount

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

Index

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.

Types

type FilterFunc

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

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

type Info

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

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

GetMounts is a function.

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

Source Files

deprecated.go

Version
v20.10.23+incompatible
Published
Jan 18, 2023
Platform
windows/amd64
Imports
1 packages
Last checked
52 minutes ago

Tools for package owners.