csimounter

package
v0.0.0-...-5d6db3a Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// See the nonroot user discussion: https://github.com/GoogleContainerTools/distroless/issues/443
	NobodyUID = 65534
	NobodyGID = 65534
)

Variables

This section is empty.

Functions

func New

func New(mounterPath string) (mount.Interface, error)

New returns a mount.MounterForceUnmounter for the current system. It provides options to override the default mounter behavior. mounterPath allows using an alternative to `/bin/mount` for mounting.

Types

type FdPassingSocket

type FdPassingSocket struct {
	// contains filtered or unexported fields
}

type FdPassingSockets

type FdPassingSockets struct {
	// contains filtered or unexported fields
}

func (*FdPassingSockets) CloseAndUnregister

func (fds *FdPassingSockets) CloseAndUnregister(targetPath string, onlyClose bool) error

func (*FdPassingSockets) Exist

func (fds *FdPassingSockets) Exist(targetPath string) bool

func (*FdPassingSockets) WaitForExit

func (fds *FdPassingSockets) WaitForExit(targetPath string)

type Mounter

type Mounter struct {
	mount.MounterForceUnmounter

	FdPassingSockets *FdPassingSockets
	// contains filtered or unexported fields
}

Mounter provides the meta-fuse-csi-plugin implementation of mount.Interface for the linux platform.

func (*Mounter) Mount

func (m *Mounter) Mount(source string, target string, fstype string, options []string) error

Jump to

Keyboard shortcuts

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