tmpfs

package
v0.0.0-...-8680cc4 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: Apache-2.0 Imports: 13 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 context.Context, v *types.Volume) error

Attach a tmpfs volume.

func (*Tmpfs) Create

func (p *Tmpfs) Create(ctx context.Context, id types.VolumeContext) (*types.Volume, error)

Create a tmpfs volume.

func (*Tmpfs) Detach

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

Detach a tmpfs volume.

func (*Tmpfs) Name

func (p *Tmpfs) Name(ctx context.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 context.Context, v *types.Volume) (string, error)

Path returns tmpfs volume's path.

func (*Tmpfs) Remove

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

Remove a tmpfs volume.

func (*Tmpfs) StoreMode

func (p *Tmpfs) StoreMode(ctx context.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