sample

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 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) CreateFileShare added in v0.5.3

func (d *Driver) CreateFileShare(opt *pb.CreateFileShareOpts) (*model.FileShareSpec, error)

func (*Driver) CreateFileShareAcl added in v0.5.3

func (d *Driver) CreateFileShareAcl(opt *pb.CreateFileShareAclOpts) (*model.FileShareAclSpec, error)

func (*Driver) CreateFileShareSnapshot added in v0.5.3

func (d *Driver) CreateFileShareSnapshot(opt *pb.CreateFileShareSnapshotOpts) (*model.FileShareSnapshotSpec, error)

CreateFileShareSnapshot

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) CreateVolumeGroup added in v0.1.8

func (d *Driver) CreateVolumeGroup(opt *pb.CreateVolumeGroupOpts) (*model.VolumeGroupSpec, error)

func (*Driver) DeleteFileShare added in v0.5.3

func (d *Driver) DeleteFileShare(opt *pb.DeleteFileShareOpts) error

func (*Driver) DeleteFileShareAcl added in v0.5.3

func (d *Driver) DeleteFileShareAcl(opt *pb.DeleteFileShareAclOpts) error

func (*Driver) DeleteFileShareSnapshot added in v0.5.3

func (d *Driver) DeleteFileShareSnapshot(opt *pb.DeleteFileShareSnapshotOpts) error

DeleteFileShareSnapshot

func (*Driver) DeleteSnapshot

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

DeleteSnapshot

func (*Driver) DeleteVolume

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

DeleteVolume

func (*Driver) DeleteVolumeGroup added in v0.1.8

func (d *Driver) DeleteVolumeGroup(opt *pb.DeleteVolumeGroupOpts) error

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.CreateVolumeAttachmentOpts) (*model.ConnectionInfo, error)

InitializeConnection

func (*Driver) InitializeSnapshotConnection added in v0.3.2

func (d *Driver) InitializeSnapshotConnection(opt *pb.CreateSnapshotAttachmentOpts) (*model.ConnectionInfo, error)

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.DeleteVolumeAttachmentOpts) error

TerminateConnection

func (*Driver) TerminateSnapshotConnection added in v0.3.2

func (d *Driver) TerminateSnapshotConnection(opt *pb.DeleteSnapshotAttachmentOpts) error

func (*Driver) Unset

func (*Driver) Unset() error

Unset

func (*Driver) UpdateVolumeGroup added in v0.1.8

func (d *Driver) UpdateVolumeGroup(opt *pb.UpdateVolumeGroupOpts) (*model.VolumeGroupSpec, error)

type ReplicationDriver added in v0.1.8

type ReplicationDriver struct{}

ReplicationDriver

func (*ReplicationDriver) CreateReplication added in v0.1.8

func (r *ReplicationDriver) CreateReplication(opt *pb.CreateReplicationOpts) (*model.ReplicationSpec, error)

CreateReplication

func (*ReplicationDriver) DeleteReplication added in v0.1.8

func (r *ReplicationDriver) DeleteReplication(opt *pb.DeleteReplicationOpts) error

func (*ReplicationDriver) DisableReplication added in v0.1.8

func (r *ReplicationDriver) DisableReplication(opt *pb.DisableReplicationOpts) error

func (*ReplicationDriver) EnableReplication added in v0.1.8

func (r *ReplicationDriver) EnableReplication(opt *pb.EnableReplicationOpts) error

func (*ReplicationDriver) FailoverReplication added in v0.1.8

func (r *ReplicationDriver) FailoverReplication(opt *pb.FailoverReplicationOpts) error

func (*ReplicationDriver) Setup added in v0.1.8

func (r *ReplicationDriver) Setup() error

Setup

func (*ReplicationDriver) Unset added in v0.1.8

func (r *ReplicationDriver) Unset() error

Unset

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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