fileshare

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

This module implements a entry into the OpenSDS file share controller service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	SetDock(dockInfo *model.DockSpec)

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

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

	DeleteFileShareAcl(opt *pb.DeleteFileShareAclOpts) error

	DeleteFileShare(opt *pb.DeleteFileShareOpts) error

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

	DeleteFileShareSnapshot(opts *pb.DeleteFileShareSnapshotOpts) error
}

Controller is an interface for exposing some operations of different file share controllers.

func NewController

func NewController() Controller

NewController method creates a controller structure and expose its pointer.

Jump to

Keyboard shortcuts

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