dir

package
v0.1.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2018 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 Storage

type Storage struct {
	csi.CSI
	// contains filtered or unexported fields
}

func Get

func Get() (*Storage, error)

func (*Storage) Create

func (s *Storage) Create(ctx context.Context, name string, manifest *types.VolumeManifest) (*types.VolumeState, error)

func (*Storage) FilesCheck

func (s *Storage) FilesCheck(ctx context.Context, state *types.VolumeState, files map[string]string) (bool, error)

func (*Storage) FilesDel

func (s *Storage) FilesDel(ctx context.Context, state *types.VolumeState, files []string) error

func (*Storage) FilesList

func (s *Storage) FilesList(ctx context.Context, state *types.VolumeState) ([]string, error)

func (*Storage) FilesPut

func (s *Storage) FilesPut(ctx context.Context, state *types.VolumeState, files map[string]string) error

func (*Storage) List

func (s *Storage) List(ctx context.Context) (map[string]*types.VolumeState, error)

func (*Storage) Remove

func (s *Storage) Remove(ctx context.Context, state *types.VolumeState) error

type StorageOpts

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

Jump to

Keyboard shortcuts

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