localdriver

package module
v0.0.0-...-57e5bd5 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: Apache-2.0 Imports: 9 Imported by: 5 modules, 4 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

[!CAUTION] This repository has been in-lined (using git-subtree) into diego-release. Please make any future contributions directly to diego-release.

Localdriver

Go Report Card Go Reference

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
localdriver command

Jump to

Keyboard shortcuts

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