filesharedrivers

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileShareDriver

type FileShareDriver interface {
	//Any initialization the fileshare driver does while starting.
	Setup() error
	//Any operation the fileshare driver does while stopping.
	Unset() error

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

	DeleteFileShare(opts *pb.DeleteFileShareOpts) error

	CreateFileShareSnapshot(opts *pb.CreateFileShareSnapshotOpts) (*model.FileShareSnapshotSpec, error)

	DeleteFileShareSnapshot(opts *pb.DeleteFileShareSnapshotOpts) error

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

	DeleteFileShareAcl(opt *pb.DeleteFileShareAclOpts) error

	ListPools() ([]*model.StoragePoolSpec, error)
}

func Clean

Clean

func Init

func Init(resourceType string) FileShareDriver

Init

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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