local

package
v0.0.0-...-1b9e8c6 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Local

type Local struct {
}

Local represents local volume driver.

func (*Local) Attach

func (p *Local) Attach(ctx driver.Context, v *types.Volume, s *types.Storage) error

Attach a local volume.

func (*Local) Create

func (p *Local) Create(ctx driver.Context, v *types.Volume, s *types.Storage) error

Create a local volume.

func (*Local) Detach

func (p *Local) Detach(ctx driver.Context, v *types.Volume, s *types.Storage) error

Detach a local volume.

func (*Local) Name

func (p *Local) Name(ctx driver.Context) string

Name returns local volume driver's name.

func (*Local) Options

func (p *Local) Options() map[string]types.Option

Options returns local volume's options.

func (*Local) Path

func (p *Local) Path(ctx driver.Context, v *types.Volume) (string, error)

Path returns local volume's path.

func (*Local) Remove

func (p *Local) Remove(ctx driver.Context, v *types.Volume, s *types.Storage) error

Remove a local volume.

func (*Local) StoreMode

func (p *Local) StoreMode(ctx driver.Context) driver.VolumeStoreMode

StoreMode returns local volume driver's store mode.

Jump to

Keyboard shortcuts

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