tmpfs

package
v0.0.0-...-7ef7dd6 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tmpfs

type Tmpfs struct {
}

Tmpfs represents tmpfs volume driver.

func (*Tmpfs) Attach

func (p *Tmpfs) Attach(ctx driver.Context, v *types.Volume) error

Attach a tmpfs volume.

func (*Tmpfs) Create

func (p *Tmpfs) Create(ctx driver.Context, id types.VolumeID) (*types.Volume, error)

Create a tmpfs volume.

func (*Tmpfs) Detach

func (p *Tmpfs) Detach(ctx driver.Context, v *types.Volume) error

Detach a tmpfs volume.

func (*Tmpfs) Name

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

Name returns tmpfs volume driver's name.

func (*Tmpfs) Options

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

Options returns tmpfs volume's options.

func (*Tmpfs) Path

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

Path returns tmpfs volume's path.

func (*Tmpfs) Remove

func (p *Tmpfs) Remove(ctx driver.Context, v *types.Volume) error

Remove a tmpfs volume.

func (*Tmpfs) StoreMode

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

StoreMode returns tmpfs volume driver's store mode.

Jump to

Keyboard shortcuts

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