nfsv3driver

package module
v0.0.0-...-31062e6 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

README

nfsv3driver

This driver mounts NFS shares. For more information about using this driver in your Cloud Foundry, visit the nfs-volume-release git repository.

Documentation

Index

Constants

View Source
const InvalidGidValueErrorMessage = "Invalid 'gid' option (0, negative, or non-integer)"
View Source
const InvalidUidValueErrorMessage = "Invalid 'uid' option (0, negative, or non-integer)"
View Source
const MapfsDirectorySuffix = "_mapfs"
View Source
const MapfsMountTimeout = time.Minute * 5
View Source
const NobodyId = uint32(65534)
View Source
const UnknownId = uint32(4294967294)

Variables

View Source
var PurgeTimeToSleep = time.Millisecond * 100

Functions

func NewMapFsVolumeMountMask

func NewMapFsVolumeMountMask() (vmo.MountOptsMask, error)

func NewMapfsMounter

func NewMapfsMounter(
	invoker invoker.Invoker,
	osshim osshim.Os,
	syscallshim syscallshim.Syscall,
	ioutilshim ioutilshim.Ioutil,
	mountChecker mountchecker.MountChecker,
	fstype string,
	defaultOpts string,
	resolver IdResolver,
	mask vmo.MountOptsMask,
	mapfsPath string,
) volumedriver.Mounter

Types

type IdResolver

type IdResolver interface {
	Resolve(env dockerdriver.Env, username string, password string) (uid string, gid string, err error)
}

func NewLdapIdResolver

func NewLdapIdResolver(
	svcUser string,
	svcPass string,
	ldapHost string,
	ldapPort int,
	ldapProto string,
	ldapFqdn string,
	ldapCACert string,
	ldap ldapshim.Ldap,
	ldapTimeout time.Duration,
) IdResolver

Directories

Path Synopsis
cmd
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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