localdriver

package module
v0.0.0-...-7e69770 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

README

Localdriver

Localdriver is a volman driver for local disk. This driver is intended for test purposes only. Watch this space in case that changes...

[!NOTE]

This repository should be imported as code.cloudfoundry.org/localdriver.

Docs

Contributing

See the Contributing.md for more information on how to contribute.

Working Group Charter

This repository is maintained by App Runtime Platform under Diego area.

[!IMPORTANT]

Content in this file is managed by the CI task sync-readme and is generated by CI following a convention.

Documentation

Index

Constants

View Source
const MountsRootDir = "_mounts"
View Source
const VolumesRootDir = "_volumes"

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalDriver

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

func NewLocalDriver

func NewLocalDriver(os osshim.Os, filepath filepathshim.Filepath, mountPathRoot string, osHelper OsHelper, uniqueVolumeIds bool) *LocalDriver

func NewLocalDriverWithState

func NewLocalDriverWithState(state map[string]*LocalVolumeInfo, os osshim.Os, filepath filepathshim.Filepath, mountPathRoot string, osHelper OsHelper, uniqueVolumeIds bool) *LocalDriver

func (*LocalDriver) Activate

func (*LocalDriver) Capabilities

func (*LocalDriver) Create

func (*LocalDriver) Get

func (*LocalDriver) List

func (*LocalDriver) Mount

func (*LocalDriver) Path

func (*LocalDriver) Remove

func (*LocalDriver) Unmount

type LocalVolumeInfo

type LocalVolumeInfo struct {
	dockerdriver.VolumeInfo // see dockerdriver.resources.go
}

type OsHelper

type OsHelper interface {
	Umask(mask int) (oldmask int)
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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