sample

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct{}

Driver

func (*Driver) CreateSnapshot

func (*Driver) CreateSnapshot(opt *pb.CreateVolumeSnapshotOpts) (*model.VolumeSnapshotSpec, error)

CreateSnapshot

func (*Driver) CreateVolume

func (*Driver) CreateVolume(opt *pb.CreateVolumeOpts) (*model.VolumeSpec, error)

CreateVolume

func (*Driver) DeleteSnapshot

func (*Driver) DeleteSnapshot(opt *pb.DeleteVolumeSnapshotOpts) error

DeleteSnapshot

func (*Driver) DeleteVolume

func (*Driver) DeleteVolume(opt *pb.DeleteVolumeOpts) error

DeleteVolume

func (*Driver) ExtendVolume added in v0.1.1

func (*Driver) ExtendVolume(opt *pb.ExtendVolumeOpts) (*model.VolumeSpec, error)

ExtendVolume ...

func (*Driver) InitializeConnection

func (*Driver) InitializeConnection(opt *pb.CreateAttachmentOpts) (*model.ConnectionInfo, error)

InitializeConnection

func (*Driver) ListPools

func (*Driver) ListPools() ([]*model.StoragePoolSpec, error)

ListPools

func (*Driver) PullSnapshot

func (*Driver) PullSnapshot(snapIdentifier string) (*model.VolumeSnapshotSpec, error)

PullSnapshot

func (*Driver) PullVolume

func (*Driver) PullVolume(volIdentifier string) (*model.VolumeSpec, error)

PullVolume

func (*Driver) Setup

func (*Driver) Setup() error

Setup

func (*Driver) TerminateConnection

func (*Driver) TerminateConnection(opt *pb.DeleteAttachmentOpts) error

TerminateConnection

func (*Driver) Unset

func (*Driver) Unset() error

Unset

Jump to

Keyboard shortcuts

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