proto

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAttachDockServer

func RegisterAttachDockServer(s *grpc.Server, srv AttachDockServer)

func RegisterFileShareDockServer added in v0.5.3

func RegisterFileShareDockServer(s *grpc.Server, srv FileShareDockServer)

func RegisterProvisionDockServer

func RegisterProvisionDockServer(s *grpc.Server, srv ProvisionDockServer)

Types

type AttachDockClient

type AttachDockClient interface {
	// Attach a volume
	AttachVolume(ctx context.Context, in *AttachVolumeOpts, opts ...grpc.CallOption) (*GenericResponse, error)
	// Detach a volume
	DetachVolume(ctx context.Context, in *DetachVolumeOpts, opts ...grpc.CallOption) (*GenericResponse, error)
}

AttachDockClient is the client API for AttachDock service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAttachDockClient

func NewAttachDockClient(cc grpc.ClientConnInterface) AttachDockClient

type AttachDockServer

type AttachDockServer interface {
	// Attach a volume
	AttachVolume(context.Context, *AttachVolumeOpts) (*GenericResponse, error)
	// Detach a volume
	DetachVolume(context.Context, *DetachVolumeOpts) (*GenericResponse, error)
}

AttachDockServer is the server API for AttachDock service.

type AttachVolumeOpts

type AttachVolumeOpts struct {
	// The access protocol for attaching a volume.
	AccessProtocol string `protobuf:"bytes,1,opt,name=accessProtocol,proto3" json:"accessProtocol,omitempty"`
	// The connectionData for attaching a volume.
	ConnectionData string `protobuf:"bytes,2,opt,name=connectionData,proto3" json:"connectionData,omitempty"`
	// The metadata for attaching a volume, optional.
	Metadata map[string]string `` /* 157-byte string literal not displayed */
	// The Context
	Context              string   `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

AttachVolumeOpts is a structure which indicates all required properties for attaching a volume.

func (*AttachVolumeOpts) Descriptor

func (*AttachVolumeOpts) Descriptor() ([]byte, []int)

func (*AttachVolumeOpts) GetAccessProtocol

func (m *AttachVolumeOpts) GetAccessProtocol() string

func (*AttachVolumeOpts) GetConnectionData

func (m *AttachVolumeOpts) GetConnectionData() string

func (*AttachVolumeOpts) GetContext

func (m *AttachVolumeOpts) GetContext() string

func (*AttachVolumeOpts) GetMetadata

func (m *AttachVolumeOpts) GetMetadata() map[string]string

func (*AttachVolumeOpts) ProtoMessage

func (*AttachVolumeOpts) ProtoMessage()

func (*AttachVolumeOpts) Reset

func (m *AttachVolumeOpts) Reset()

func (*AttachVolumeOpts) String

func (m *AttachVolumeOpts) String() string

func (*AttachVolumeOpts) XXX_DiscardUnknown

func (m *AttachVolumeOpts) XXX_DiscardUnknown()

func (*AttachVolumeOpts) XXX_Marshal

func (m *AttachVolumeOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttachVolumeOpts) XXX_Merge

func (m *AttachVolumeOpts) XXX_Merge(src proto.Message)

func (*AttachVolumeOpts) XXX_Size

func (m *AttachVolumeOpts) XXX_Size() int

func (*AttachVolumeOpts) XXX_Unmarshal

func (m *AttachVolumeOpts) XXX_Unmarshal(b []byte) error

type CollectMetricsOpts added in v0.5.3

type CollectMetricsOpts struct {
	// instance ID of the resource to collect metrics for
	InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId,omitempty"`
	// the metrics to be collected
	MetricNames []string `protobuf:"bytes,2,rep,name=metricNames,proto3" json:"metricNames,omitempty"`
	// context
	Context string `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"`
	// metrics driver
	DriverName           string   `protobuf:"bytes,4,opt,name=driverName,proto3" json:"driverName,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

CollectMetricsOpts is used to pass specifics to collect metric values

func (*CollectMetricsOpts) Descriptor added in v0.5.3

func (*CollectMetricsOpts) Descriptor() ([]byte, []int)

func (*CollectMetricsOpts) GetContext added in v0.5.3

func (m *CollectMetricsOpts) GetContext() string

func (*CollectMetricsOpts) GetDriverName added in v0.5.3

func (m *CollectMetricsOpts) GetDriverName() string

func (*CollectMetricsOpts) GetInstanceId added in v0.5.3

func (m *CollectMetricsOpts) GetInstanceId() string

func (*CollectMetricsOpts) GetMetricNames added in v0.5.3

func (m *CollectMetricsOpts) GetMetricNames() []string

func (*CollectMetricsOpts) ProtoMessage added in v0.5.3

func (*CollectMetricsOpts) ProtoMessage()

func (*CollectMetricsOpts) Reset added in v0.5.3

func (m *CollectMetricsOpts) Reset()

func (*CollectMetricsOpts) String added in v0.5.3

func (m *CollectMetricsOpts) String() string

func (*CollectMetricsOpts) XXX_DiscardUnknown added in v0.5.3

func (m *CollectMetricsOpts) XXX_DiscardUnknown()

func (*CollectMetricsOpts) XXX_Marshal added in v0.5.3

func (m *CollectMetricsOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CollectMetricsOpts) XXX_Merge added in v0.5.3

func (m *CollectMetricsOpts) XXX_Merge(src proto.Message)

func (*CollectMetricsOpts) XXX_Size added in v0.5.3

func (m *CollectMetricsOpts) XXX_Size() int

func (*CollectMetricsOpts) XXX_Unmarshal added in v0.5.3

func (m *CollectMetricsOpts) XXX_Unmarshal(b []byte) error

type CreateFileShareAclOpts added in v0.5.3

type CreateFileShareAclOpts struct {
	// The uuid of the file share, optional when creating.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The fileshareId
	FileshareId string `protobuf:"bytes,2,opt,name=fileshareId,proto3" json:"fileshareId,omitempty"`
	// The description
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// The type of access. Ex: IP based.
	Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	// The accessCapability for fileshare.
	AccessCapability []string `protobuf:"bytes,5,rep,name=accessCapability,proto3" json:"accessCapability,omitempty"`
	// accessTo of the fileshare.
	AccessTo string `protobuf:"bytes,6,opt,name=accessTo,proto3" json:"accessTo,omitempty"`
	// The driverName
	DriverName string `protobuf:"bytes,8,opt,name=driverName,proto3" json:"driverName,omitempty"`
	// The Context
	Context string `protobuf:"bytes,9,opt,name=context,proto3" json:"context,omitempty"`
	// The Name
	Name string `protobuf:"bytes,10,opt,name=Name,proto3" json:"Name,omitempty"`
	// The metadata of the file share, optional.
	Metadata map[string]string `` /* 158-byte string literal not displayed */
	// The protocol
	AccessProtocol       string   `protobuf:"bytes,12,opt,name=AccessProtocol,proto3" json:"AccessProtocol,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

CreateFileShareAclOpts is a structure which indicates all required properties for creating a file share.

func (*CreateFileShareAclOpts) Descriptor added in v0.5.3

func (*CreateFileShareAclOpts) Descriptor() ([]byte, []int)

func (*CreateFileShareAclOpts) GetAccessCapability added in v0.5.3

func (m *CreateFileShareAclOpts) GetAccessCapability() []string

func (*CreateFileShareAclOpts) GetAccessProtocol added in v0.12.0

func (m *CreateFileShareAclOpts) GetAccessProtocol() string

func (*CreateFileShareAclOpts) GetAccessTo added in v0.5.3

func (m *CreateFileShareAclOpts) GetAccessTo() string

func (*CreateFileShareAclOpts) GetContext added in v0.5.3

func (m *CreateFileShareAclOpts) GetContext() string

func (*CreateFileShareAclOpts) GetDescription added in v0.5.3

func (m *CreateFileShareAclOpts) GetDescription() string

func (*CreateFileShareAclOpts) GetDriverName added in v0.5.3

func (m *CreateFileShareAclOpts) GetDriverName() string

func (*CreateFileShareAclOpts) GetFileshareId added in v0.5.3

func (m *CreateFileShareAclOpts) GetFileshareId() string

func (*CreateFileShareAclOpts) GetId added in v0.5.3

func (m *CreateFileShareAclOpts) GetId() string

func (*CreateFileShareAclOpts) GetMetadata added in v0.5.3

func (m *CreateFileShareAclOpts) GetMetadata() map[string]string

func (*CreateFileShareAclOpts) GetName added in v0.5.3

func (m *CreateFileShareAclOpts) GetName() string

func (*CreateFileShareAclOpts) GetType added in v0.5.3

func (m *CreateFileShareAclOpts) GetType() string

func (*CreateFileShareAclOpts) ProtoMessage added in v0.5.3

func (*CreateFileShareAclOpts) ProtoMessage()

func (*CreateFileShareAclOpts) Reset added in v0.5.3

func (m *CreateFileShareAclOpts) Reset()

func (*CreateFileShareAclOpts) String added in v0.5.3

func (m *CreateFileShareAclOpts) String() string

func (*CreateFileShareAclOpts) XXX_DiscardUnknown added in v0.5.3

func (m *CreateFileShareAclOpts) XXX_DiscardUnknown()

func (*CreateFileShareAclOpts) XXX_Marshal added in v0.5.3

func (m *CreateFileShareAclOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateFileShareAclOpts) XXX_Merge added in v0.5.3

func (m *CreateFileShareAclOpts) XXX_Merge(src proto.Message)

func (*CreateFileShareAclOpts) XXX_Size added in v0.5.3

func (m *CreateFileShareAclOpts) XXX_Size() int

func (*CreateFileShareAclOpts) XXX_Unmarshal added in v0.5.3

func (m *CreateFileShareAclOpts) XXX_Unmarshal(b []byte) error

type CreateFileShareOpts added in v0.5.3

type CreateFileShareOpts struct {
	// The uuid of the file share, optional when creating.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The name of the file share, required.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The requested capacity of the file share, required.
	Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	// The description of the file share, optional.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// The locality that file share belongs to, required.
	AvailabilityZone string `protobuf:"bytes,5,opt,name=availabilityZone,proto3" json:"availabilityZone,omitempty"`
	// The uuid of the pool on which file share will be created, required.
	PoolId string `protobuf:"bytes,6,opt,name=poolId,proto3" json:"poolId,omitempty"`
	// The name of the pool on which file share will be created, required.
	PoolName string `protobuf:"bytes,7,opt,name=poolName,proto3" json:"poolName,omitempty"`
	// The metadata of the file share, optional.
	Metadata map[string]string `` /* 157-byte string literal not displayed */
	// The storage driver type.
	DriverName string `protobuf:"bytes,9,opt,name=driverName,proto3" json:"driverName,omitempty"`
	// The Context
	Context string `protobuf:"bytes,10,opt,name=context,proto3" json:"context,omitempty"`
	// The ExportLocations
	ExportLocations []string `protobuf:"bytes,12,rep,name=exportLocations,proto3" json:"exportLocations,omitempty"`
	// The snapshots
	SnapshotId string `protobuf:"bytes,13,opt,name=snapshotId,proto3" json:"snapshotId,omitempty"`
	// The snapshots
	SnapshotName string `protobuf:"bytes,14,opt,name=snapshotName,proto3" json:"snapshotName,omitempty"`
	// The protocol
	AccessProtocol       string   `protobuf:"bytes,15,opt,name=AccessProtocol,proto3" json:"AccessProtocol,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

CreateFileShareOpts is a structure which indicates all required properties for creating a file share.

func (*CreateFileShareOpts) Descriptor added in v0.5.3

func (*CreateFileShareOpts) Descriptor() ([]byte, []int)

func (*CreateFileShareOpts) GetAccessProtocol added in v0.12.0

func (m *CreateFileShareOpts) GetAccessProtocol() string

func (*CreateFileShareOpts) GetAvailabilityZone added in v0.5.3

func (m *CreateFileShareOpts) GetAvailabilityZone() string

func (*CreateFileShareOpts) GetContext added in v0.5.3

func (m *CreateFileShareOpts) GetContext() string

func (*CreateFileShareOpts) GetDescription added in v0.5.3

func (m *CreateFileShareOpts) GetDescription() string

func (*CreateFileShareOpts) GetDriverName added in v0.5.3

func (m *CreateFileShareOpts) GetDriverName() string

func (*CreateFileShareOpts) GetExportLocations added in v0.5.3

func (m *CreateFileShareOpts) GetExportLocations() []string

func (*CreateFileShareOpts) GetId added in v0.5.3

func (m *CreateFileShareOpts) GetId() string

func (*CreateFileShareOpts) GetMetadata added in v0.5.3

func (m *CreateFileShareOpts) GetMetadata() map[string]string

func (*CreateFileShareOpts) GetName added in v0.5.3

func (m *CreateFileShareOpts) GetName() string

func (*CreateFileShareOpts) GetPoolId added in v0.5.3

func (m *CreateFileShareOpts) GetPoolId() string

func (*CreateFileShareOpts) GetPoolName added in v0.5.3

func (m *CreateFileShareOpts) GetPoolName() string

func (*CreateFileShareOpts) GetSize added in v0.5.3

func (m *CreateFileShareOpts) GetSize() int64

func (*CreateFileShareOpts) GetSnapshotId added in v0.12.0

func (m *CreateFileShareOpts) GetSnapshotId() string

func (*CreateFileShareOpts) GetSnapshotName added in v0.12.0

func (m *CreateFileShareOpts) GetSnapshotName() string

func (*CreateFileShareOpts) ProtoMessage added in v0.5.3

func (*CreateFileShareOpts) ProtoMessage()

func (*CreateFileShareOpts) Reset added in v0.5.3

func (m *CreateFileShareOpts) Reset()

func (*CreateFileShareOpts) String added in v0.5.3

func (m *CreateFileShareOpts) String() string

func (*CreateFileShareOpts) XXX_DiscardUnknown added in v0.5.3

func (m *CreateFileShareOpts) XXX_DiscardUnknown()

func (*CreateFileShareOpts) XXX_Marshal added in v0.5.3

func (m *CreateFileShareOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateFileShareOpts) XXX_Merge added in v0.5.3

func (m *CreateFileShareOpts) XXX_Merge(src proto.Message)

func (*CreateFileShareOpts) XXX_Size added in v0.5.3

func (m *CreateFileShareOpts) XXX_Size() int

func (*CreateFileShareOpts) XXX_Unmarshal added in v0.5.3

func (m *CreateFileShareOpts) XXX_Unmarshal(b []byte) error

type CreateFileShareSnapshotOpts added in v0.5.3

type CreateFileShareSnapshotOpts struct {
	// The uuid of the file share snapshot, optional.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The name of the file share snapshot, required.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The size of the file share that snapshot belongs to, required.
	Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	// The description of the file share snapshot, optional.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// The uuid of the file share that snapshot belongs to, required.
	FileshareId string `protobuf:"bytes,5,opt,name=fileshareId,proto3" json:"fileshareId,omitempty"`
	// The storage driver type.
	DriverName string `protobuf:"bytes,6,opt,name=driverName,proto3" json:"driverName,omitempty"`
	// The Context
	Context string `protobuf:"bytes,7,opt,name=context,proto3" json:"context,omitempty"`
	// The metadata of the fileshare, optional.
	Metadata             map[string]string `` /* 157-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

CreateFileShareSnapshotOpts is a structure which indicates all required properties for creating a file share snapshot.

func (*CreateFileShareSnapshotOpts) Descriptor added in v0.5.3

func (*CreateFileShareSnapshotOpts) Descriptor() ([]byte, []int)

func (*CreateFileShareSnapshotOpts) GetContext added in v0.5.3

func (m *CreateFileShareSnapshotOpts) GetContext() string

func (*CreateFileShareSnapshotOpts) GetDescription added in v0.5.3

func (m *CreateFileShareSnapshotOpts) GetDescription() string

func (*CreateFileShareSnapshotOpts) GetDriverName added in v0.5.3

func (m *CreateFileShareSnapshotOpts) GetDriverName() string

func (*CreateFileShareSnapshotOpts) GetFileshareId added in v0.5.3

func (m *CreateFileShareSnapshotOpts) GetFileshareId() string

func (*CreateFileShareSnapshotOpts) GetId added in v0.5.3

func (*CreateFileShareSnapshotOpts) GetMetadata added in v0.5.3

func (m *CreateFileShareSnapshotOpts) GetMetadata() map[string]string

func (*CreateFileShareSnapshotOpts) GetName added in v0.5.3

func (m *CreateFileShareSnapshotOpts) GetName() string

func (*CreateFileShareSnapshotOpts) GetSize added in v0.5.3

func (m *CreateFileShareSnapshotOpts) GetSize() int64

func (*CreateFileShareSnapshotOpts) ProtoMessage added in v0.5.3

func (*CreateFileShareSnapshotOpts) ProtoMessage()

func (*CreateFileShareSnapshotOpts) Reset added in v0.5.3

func (m *CreateFileShareSnapshotOpts) Reset()

func (*CreateFileShareSnapshotOpts) String added in v0.5.3

func (m *CreateFileShareSnapshotOpts) String() string

func (*CreateFileShareSnapshotOpts) XXX_DiscardUnknown added in v0.5.3

func (m *CreateFileShareSnapshotOpts) XXX_DiscardUnknown()

func (*CreateFileShareSnapshotOpts) XXX_Marshal added in v0.5.3

func (m *CreateFileShareSnapshotOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateFileShareSnapshotOpts) XXX_Merge added in v0.5.3

func (m *CreateFileShareSnapshotOpts) XXX_Merge(src proto.Message)

func (*CreateFileShareSnapshotOpts) XXX_Size added in v0.5.3

func (m *CreateFileShareSnapshotOpts) XXX_Size() int

func (*CreateFileShareSnapshotOpts) XXX_Unmarshal added in v0.5.3

func (m *CreateFileShareSnapshotOpts) XXX_Unmarshal(b []byte) error

type CreateReplicationOpts

type CreateReplicationOpts struct {
	// The uuid of the replication, optional when creating.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The name of the replication, optional.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The description of the replication, optional.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// The uuid of the primary volume. This field is required.
	PrimaryVolumeId string `protobuf:"bytes,4,opt,name=primaryVolumeId,proto3" json:"primaryVolumeId,omitempty"`
	// The uuid of the secondary volume. This field is required.
	SecondaryVolumeId string `protobuf:"bytes,5,opt,name=secondaryVolumeId,proto3" json:"secondaryVolumeId,omitempty"`
	// The dock infomation on which the request will be executed
	AvailabilityZone string `protobuf:"bytes,6,opt,name=availabilityZone,proto3" json:"availabilityZone,omitempty"`
	// The uuid of the pool on which volume will be created, required.
	PoolId string `protobuf:"bytes,8,opt,name=poolId,proto3" json:"poolId,omitempty"`
	// The name of the pool on which volume will be created, required.
	PoolName string `protobuf:"bytes,9,opt,name=poolName,proto3" json:"poolName,omitempty"`
	// The metadata of the primary replication, optional.
	PrimaryReplicationDriverData map[string]string `` /* 198-byte string literal not displayed */
	// The metadata of the seondary replication, optional.
	SecondaryReplicationDriverData map[string]string `` /* 202-byte string literal not displayed */
	// The dock id.
	DockId string `protobuf:"bytes,13,opt,name=dockId,proto3" json:"dockId,omitempty"`
	// The replication driver type.
	DriverName string `protobuf:"bytes,14,opt,name=driverName,proto3" json:"driverName,omitempty"`
	// The Context
	Context string `protobuf:"bytes,15,opt,name=context,proto3" json:"context,omitempty"`
	// Whether is primary replication
	IsPrimary bool `protobuf:"varint,16,opt,name=isPrimary,proto3" json:"isPrimary,omitempty"`
	// The replication metadata
	Metadata map[string]string `` /* 158-byte string literal not displayed */
	// The volume data list
	VolumeDataList []*VolumeData `protobuf:"bytes,18,rep,name=volumeDataList,proto3" json:"volumeDataList,omitempty"`
	//the replication mode sync/async
	ReplicationMode string `protobuf:"bytes,19,opt,name=replicationMode,proto3" json:"replicationMode,omitempty"`
	// 0 means sync replication.
	ReplicationPeriod int64 `protobuf:"varint,20,opt,name=ReplicationPeriod,proto3" json:"ReplicationPeriod,omitempty"`
	// replication bandwidth
	ReplicationBandwidth int64    `protobuf:"varint,21,opt,name=ReplicationBandwidth,proto3" json:"ReplicationBandwidth,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

CreateReplicationOpts is a structure which indicates all required properties for creating a replication. NOTE: Need to figure out how to handle more than 2 sites.

func (*CreateReplicationOpts) Descriptor

func (*CreateReplicationOpts) Descriptor() ([]byte, []int)

func (*CreateReplicationOpts) GetAvailabilityZone

func (m *CreateReplicationOpts) GetAvailabilityZone() string

func (*CreateReplicationOpts) GetContext

func (m *CreateReplicationOpts) GetContext() string

func (*CreateReplicationOpts) GetDescription

func (m *CreateReplicationOpts) GetDescription() string

func (*CreateReplicationOpts) GetDockId

func (m *CreateReplicationOpts) GetDockId() string

func (*CreateReplicationOpts) GetDriverName

func (m *CreateReplicationOpts) GetDriverName() string

func (*CreateReplicationOpts) GetId

func (m *CreateReplicationOpts) GetId() string

func (*CreateReplicationOpts) GetIsPrimary

func (m *CreateReplicationOpts) GetIsPrimary() bool

func (*CreateReplicationOpts) GetMetadata

func (m *CreateReplicationOpts) GetMetadata() map[string]string

func (*CreateReplicationOpts) GetName

func (m *CreateReplicationOpts) GetName() string

func (*CreateReplicationOpts) GetPoolId

func (m *CreateReplicationOpts) GetPoolId() string

func (*CreateReplicationOpts) GetPoolName

func (m *CreateReplicationOpts) GetPoolName() string

func (*CreateReplicationOpts) GetPrimaryReplicationDriverData

func (m *CreateReplicationOpts) GetPrimaryReplicationDriverData() map[string]string

func (*CreateReplicationOpts) GetPrimaryVolumeId

func (m *CreateReplicationOpts) GetPrimaryVolumeId() string

func (*CreateReplicationOpts) GetReplicationBandwidth

func (m *CreateReplicationOpts) GetReplicationBandwidth() int64

func (*CreateReplicationOpts) GetReplicationMode

func (m *CreateReplicationOpts) GetReplicationMode() string

func (*CreateReplicationOpts) GetReplicationPeriod

func (m *CreateReplicationOpts) GetReplicationPeriod() int64

func (*CreateReplicationOpts) GetSecondaryReplicationDriverData

func (m *CreateReplicationOpts) GetSecondaryReplicationDriverData() map[string]string

func (*CreateReplicationOpts) GetSecondaryVolumeId

func (m *CreateReplicationOpts) GetSecondaryVolumeId() string

func (*CreateReplicationOpts) GetVolumeDataList

func (m *CreateReplicationOpts) GetVolumeDataList() []*VolumeData

func (*CreateReplicationOpts) ProtoMessage

func (*CreateReplicationOpts) ProtoMessage()

func (*CreateReplicationOpts) Reset

func (m *CreateReplicationOpts) Reset()

func (*CreateReplicationOpts) String

func (m *CreateReplicationOpts) String() string

func (*CreateReplicationOpts) XXX_DiscardUnknown

func (m *CreateReplicationOpts) XXX_DiscardUnknown()

func (*CreateReplicationOpts) XXX_Marshal

func (m *CreateReplicationOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateReplicationOpts) XXX_Merge

func (m *CreateReplicationOpts) XXX_Merge(src proto.Message)

func (*CreateReplicationOpts) XXX_Size

func (m *CreateReplicationOpts) XXX_Size() int

func (*CreateReplicationOpts) XXX_Unmarshal

func (m *CreateReplicationOpts) XXX_Unmarshal(b []byte) error

type CreateSnapshotAttachmentOpts

type CreateSnapshotAttachmentOpts struct {
	// The uuid of the snapshot attachment, optional.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The uuid of the snapshot, required.
	SnapshotId string `protobuf:"bytes,2,opt,name=snapshotId,proto3" json:"snapshotId,omitempty"`
	// This field indicates if the snapshot is attached locally, optional.
	DoLocalAttach bool `protobuf:"varint,3,opt,name=doLocalAttach,proto3" json:"doLocalAttach,omitempty"`
	// This field indicates if the snapshot is attached multiple times, optional.
	MultiPath bool `protobuf:"varint,4,opt,name=multiPath,proto3" json:"multiPath,omitempty"`
	// The infomation of the host node on which the snapshot will be attached.
	HostInfo *HostInfo `protobuf:"bytes,5,opt,name=hostInfo,proto3" json:"hostInfo,omitempty"`
	// The metadata of the snapshot attachment, optional.
	Metadata map[string]string `` /* 157-byte string literal not displayed */
	// The storage driver type.
	DriverName string `protobuf:"bytes,7,opt,name=driverName,proto3" json:"driverName,omitempty"`
	// The Context
	Context string `protobuf:"bytes,8,opt,name=context,proto3" json:"context,omitempty"`
	// The protocol
	AccessProtocol       string   `protobuf:"bytes,9,opt,name=AccessProtocol,proto3" json:"AccessProtocol,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

CreateSnapshotAttachmentOpts is a structure which indicates all required properties for creating a snapshot attachment.

func (*CreateSnapshotAttachmentOpts) Descriptor

func (*CreateSnapshotAttachmentOpts) Descriptor() ([]byte, []int)

func (*CreateSnapshotAttachmentOpts) GetAccessProtocol

func (m *CreateSnapshotAttachmentOpts) GetAccessProtocol() string

func (*CreateSnapshotAttachmentOpts) GetContext

func (m *CreateSnapshotAttachmentOpts) GetContext() string

func (*CreateSnapshotAttachmentOpts) GetDoLocalAttach

func (m *CreateSnapshotAttachmentOpts) GetDoLocalAttach() bool

func (*CreateSnapshotAttachmentOpts) GetDriverName

func (m *CreateSnapshotAttachmentOpts) GetDriverName() string

func (*CreateSnapshotAttachmentOpts) GetHostInfo

func (m *CreateSnapshotAttachmentOpts) GetHostInfo() *HostInfo

func (*CreateSnapshotAttachmentOpts) GetId

func (*CreateSnapshotAttachmentOpts) GetMetadata

func (m *CreateSnapshotAttachmentOpts) GetMetadata() map[string]string

func (*CreateSnapshotAttachmentOpts) GetMultiPath

func (m *CreateSnapshotAttachmentOpts) GetMultiPath() bool

func (*CreateSnapshotAttachmentOpts) GetSnapshotId

func (m *CreateSnapshotAttachmentOpts) GetSnapshotId() string

func (*CreateSnapshotAttachmentOpts) ProtoMessage

func (*CreateSnapshotAttachmentOpts) ProtoMessage()

func (*CreateSnapshotAttachmentOpts) Reset

func (m *CreateSnapshotAttachmentOpts) Reset()

func (*CreateSnapshotAttachmentOpts) String

func (*CreateSnapshotAttachmentOpts) XXX_DiscardUnknown

func (m *CreateSnapshotAttachmentOpts) XXX_DiscardUnknown()

func (*CreateSnapshotAttachmentOpts) XXX_Marshal

func (m *CreateSnapshotAttachmentOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateSnapshotAttachmentOpts) XXX_Merge

func (m *CreateSnapshotAttachmentOpts) XXX_Merge(src proto.Message)

func (*CreateSnapshotAttachmentOpts) XXX_Size

func (m *CreateSnapshotAttachmentOpts) XXX_Size() int

func (*CreateSnapshotAttachmentOpts) XXX_Unmarshal

func (m *CreateSnapshotAttachmentOpts) XXX_Unmarshal(b []byte) error

type CreateVolumeAttachmentOpts

type CreateVolumeAttachmentOpts struct {
	// The uuid of the volume attachment, optional.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The uuid of the volume, required.
	VolumeId string `protobuf:"bytes,2,opt,name=volumeId,proto3" json:"volumeId,omitempty"`
	// The uuid of the pool that volume belongs to, required.
	PoolId string `protobuf:"bytes,3,opt,name=poolId,proto3" json:"poolId,omitempty"`
	// This field indicates if the volume is attached locally, optional.
	DoLocalAttach bool `protobuf:"varint,4,opt,name=doLocalAttach,proto3" json:"doLocalAttach,omitempty"`
	// This field indicates if the volume is attached multiple times, optional.
	MultiPath bool `protobuf:"varint,5,opt,name=multiPath,proto3" json:"multiPath,omitempty"`
	// The infomation of the host node on which the volume will be attached.
	HostInfo *HostInfo `protobuf:"bytes,6,opt,name=hostInfo,proto3" json:"hostInfo,omitempty"`
	// The metadata of the volume attachment, optional.
	Metadata map[string]string `` /* 157-byte string literal not displayed */
	// The storage driver type.
	DriverName string `protobuf:"bytes,8,opt,name=driverName,proto3" json:"driverName,omitempty"`
	// The Context
	Context string `protobuf:"bytes,9,opt,name=context,proto3" json:"context,omitempty"`
	// The protocol
	AccessProtocol       string   `protobuf:"bytes,10,opt,name=AccessProtocol,proto3" json:"AccessProtocol,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

CreateVolumeAttachmentOpts is a structure which indicates all required properties for creating a volume attachment.

func (*CreateVolumeAttachmentOpts) Descriptor

func (*CreateVolumeAttachmentOpts) Descriptor() ([]byte, []int)

func (*CreateVolumeAttachmentOpts) GetAccessProtocol

func (m *CreateVolumeAttachmentOpts) GetAccessProtocol() string

func (*CreateVolumeAttachmentOpts) GetContext

func (m *CreateVolumeAttachmentOpts) GetContext() string

func (*CreateVolumeAttachmentOpts) GetDoLocalAttach

func (m *CreateVolumeAttachmentOpts) GetDoLocalAttach() bool

func (*CreateVolumeAttachmentOpts) GetDriverName

func (m *CreateVolumeAttachmentOpts) GetDriverName() string

func (*CreateVolumeAttachmentOpts) GetHostInfo

func (m *CreateVolumeAttachmentOpts) GetHostInfo() *HostInfo

func (*CreateVolumeAttachmentOpts) GetId

func (*CreateVolumeAttachmentOpts) GetMetadata

func (m *CreateVolumeAttachmentOpts) GetMetadata() map[string]string

func (*CreateVolumeAttachmentOpts) GetMultiPath

func (m *CreateVolumeAttachmentOpts) GetMultiPath() bool

func (*CreateVolumeAttachmentOpts) GetPoolId added in v0.12.0

func (m *CreateVolumeAttachmentOpts) GetPoolId() string

func (*CreateVolumeAttachmentOpts) GetVolumeId

func (m *CreateVolumeAttachmentOpts) GetVolumeId() string

func (*CreateVolumeAttachmentOpts) ProtoMessage

func (*CreateVolumeAttachmentOpts) ProtoMessage()

func (*CreateVolumeAttachmentOpts) Reset

func (m *CreateVolumeAttachmentOpts) Reset()

func (*CreateVolumeAttachmentOpts) String

func (m *CreateVolumeAttachmentOpts) String() string

func (*CreateVolumeAttachmentOpts) XXX_DiscardUnknown

func (m *CreateVolumeAttachmentOpts) XXX_DiscardUnknown()

func (*CreateVolumeAttachmentOpts) XXX_Marshal

func (m *CreateVolumeAttachmentOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateVolumeAttachmentOpts) XXX_Merge

func (m *CreateVolumeAttachmentOpts) XXX_Merge(src proto.Message)

func (*CreateVolumeAttachmentOpts) XXX_Size

func (m *CreateVolumeAttachmentOpts) XXX_Size() int

func (*CreateVolumeAttachmentOpts) XXX_Unmarshal

func (m *CreateVolumeAttachmentOpts) XXX_Unmarshal(b []byte) error

type CreateVolumeGroupOpts

type CreateVolumeGroupOpts struct {
	// The uuid of the volume group, optional when creating.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The name of the volume, required.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The driver of the volume group.
	DriverName string `protobuf:"bytes,3,opt,name=driverName,proto3" json:"driverName,omitempty"`
	// The description of the volume, optional.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// When create volume from snapshot, this field is required.
	AvailabilityZone string `protobuf:"bytes,5,opt,name=availabilityZone,proto3" json:"availabilityZone,omitempty"`
	// The addVolumes contain UUIDs of volumes to be added to the group.
	AddVolumes []string `protobuf:"bytes,6,rep,name=addVolumes,proto3" json:"addVolumes,omitempty"`
	// The removeVolumes contains the volumes to be removed from the group.
	RemoveVolumes []string `protobuf:"bytes,7,rep,name=removeVolumes,proto3" json:"removeVolumes,omitempty"`
	// The pool belongs to the group.
	PoolId string `protobuf:"bytes,8,opt,name=poolId,proto3" json:"poolId,omitempty"`
	// The Context
	Context              string   `protobuf:"bytes,9,opt,name=context,proto3" json:"context,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

CreateVolumeGroupOpts is a structure which indicates all required properties for creating a volume group.

func (*CreateVolumeGroupOpts) Descriptor

func (*CreateVolumeGroupOpts) Descriptor() ([]byte, []int)

func (*CreateVolumeGroupOpts) GetAddVolumes

func (m *CreateVolumeGroupOpts) GetAddVolumes() []string

func (*CreateVolumeGroupOpts) GetAvailabilityZone

func (m *CreateVolumeGroupOpts) GetAvailabilityZone() string

func (*CreateVolumeGroupOpts) GetContext

func (m *CreateVolumeGroupOpts) GetContext() string

func (*CreateVolumeGroupOpts) GetDescription

func (m *CreateVolumeGroupOpts) GetDescription() string

func (*CreateVolumeGroupOpts) GetDriverName

func (m *CreateVolumeGroupOpts) GetDriverName() string

func (*CreateVolumeGroupOpts) GetId

func (m *CreateVolumeGroupOpts) GetId() string

func (*CreateVolumeGroupOpts) GetName

func (m *CreateVolumeGroupOpts) GetName() string

func (*CreateVolumeGroupOpts) GetPoolId

func (m *CreateVolumeGroupOpts) GetPoolId() string

func (*CreateVolumeGroupOpts) GetRemoveVolumes

func (m *CreateVolumeGroupOpts) GetRemoveVolumes() []string

func (*CreateVolumeGroupOpts) ProtoMessage

func (*CreateVolumeGroupOpts) ProtoMessage()

func (*CreateVolumeGroupOpts) Reset

func (m *CreateVolumeGroupOpts) Reset()

func (*CreateVolumeGroupOpts) String

func (m *CreateVolumeGroupOpts) String() string

func (*CreateVolumeGroupOpts) XXX_DiscardUnknown

func (m *CreateVolumeGroupOpts) XXX_DiscardUnknown()

func (*CreateVolumeGroupOpts) XXX_Marshal

func (m *CreateVolumeGroupOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateVolumeGroupOpts) XXX_Merge

func (m *CreateVolumeGroupOpts) XXX_Merge(src proto.Message)

func (*CreateVolumeGroupOpts) XXX_Size

func (m *CreateVolumeGroupOpts) XXX_Size() int

func (*CreateVolumeGroupOpts) XXX_Unmarshal

func (m *CreateVolumeGroupOpts) XXX_Unmarshal(b []byte) error

type CreateVolumeOpts

type CreateVolumeOpts struct {
	// The uuid of the volume, optional when creating.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The name of the volume, required.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The requested capacity of the volume, required.
	Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	// The description of the volume, optional.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// When create volume from snapshot, this field is required.
	SnapshotId string `protobuf:"bytes,5,opt,name=snapshotId,proto3" json:"snapshotId,omitempty"`
	// The locality that volume belongs to, required.
	AvailabilityZone string `protobuf:"bytes,6,opt,name=availabilityZone,proto3" json:"availabilityZone,omitempty"`
	// The uuid of the pool on which volume will be created, required.
	PoolId string `protobuf:"bytes,8,opt,name=poolId,proto3" json:"poolId,omitempty"`
	// The name of the pool on which volume will be created, required.
	PoolName string `protobuf:"bytes,9,opt,name=poolName,proto3" json:"poolName,omitempty"`
	// The metadata of the volume, optional.
	Metadata map[string]string `` /* 158-byte string literal not displayed */
	// The storage driver type.
	DriverName string `protobuf:"bytes,11,opt,name=driverName,proto3" json:"driverName,omitempty"`
	// The Context
	Context string `protobuf:"bytes,12,opt,name=context,proto3" json:"context,omitempty"`
	// The replication driver data
	ReplicationDriverData map[string]string `` /* 184-byte string literal not displayed */
	// The uuid of replication
	ReplicationId string `protobuf:"bytes,14,opt,name=replicationId,proto3" json:"replicationId,omitempty"`
	// The size of snapshot
	SnapshotSize int64 `protobuf:"varint,15,opt,name=snapshotSize,proto3" json:"snapshotSize,omitempty"`
	// Down load snapshot from cloud
	SnapshotFromCloud    bool     `protobuf:"varint,16,opt,name=snapshotFromCloud,proto3" json:"snapshotFromCloud,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

CreateVolumeOpts is a structure which indicates all required properties for creating a volume.

func (*CreateVolumeOpts) Descriptor

func (*CreateVolumeOpts) Descriptor() ([]byte, []int)

func (*CreateVolumeOpts) GetAvailabilityZone

func (m *CreateVolumeOpts) GetAvailabilityZone() string

func (*CreateVolumeOpts) GetContext

func (m *CreateVolumeOpts) GetContext() string

func (*CreateVolumeOpts) GetDescription

func (m *CreateVolumeOpts) GetDescription() string

func (*CreateVolumeOpts) GetDriverName

func (m *CreateVolumeOpts) GetDriverName() string

func (*CreateVolumeOpts) GetId

func (m *CreateVolumeOpts) GetId() string

func (*CreateVolumeOpts) GetMetadata

func (m *CreateVolumeOpts) GetMetadata() map[string]string

func (*CreateVolumeOpts) GetName

func (m *CreateVolumeOpts) GetName() string

func (*CreateVolumeOpts) GetPoolId

func (m *CreateVolumeOpts) GetPoolId() string

func (*CreateVolumeOpts) GetPoolName

func (m *CreateVolumeOpts) GetPoolName() string

func (*CreateVolumeOpts) GetReplicationDriverData

func (m *CreateVolumeOpts) GetReplicationDriverData() map[string]string

func (*CreateVolumeOpts) GetReplicationId

func (m *CreateVolumeOpts) GetReplicationId() string

func (*CreateVolumeOpts) GetSize

func (m *CreateVolumeOpts) GetSize() int64

func (*CreateVolumeOpts) GetSnapshotFromCloud

func (m *CreateVolumeOpts) GetSnapshotFromCloud() bool

func (*CreateVolumeOpts) GetSnapshotId

func (m *CreateVolumeOpts) GetSnapshotId() string

func (*CreateVolumeOpts) GetSnapshotSize

func (m *CreateVolumeOpts) GetSnapshotSize() int64

func (*CreateVolumeOpts) ProtoMessage

func (*CreateVolumeOpts) ProtoMessage()

func (*CreateVolumeOpts) Reset

func (m *CreateVolumeOpts) Reset()

func (*CreateVolumeOpts) String

func (m *CreateVolumeOpts) String() string

func (*CreateVolumeOpts) XXX_DiscardUnknown

func (m *CreateVolumeOpts) XXX_DiscardUnknown()

func (*CreateVolumeOpts) XXX_Marshal

func (m *CreateVolumeOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateVolumeOpts) XXX_Merge

func (m *CreateVolumeOpts) XXX_Merge(src proto.Message)

func (*CreateVolumeOpts) XXX_Size

func (m *CreateVolumeOpts) XXX_Size() int

func (*CreateVolumeOpts) XXX_Unmarshal

func (m *CreateVolumeOpts) XXX_Unmarshal(b []byte) error

type CreateVolumeSnapshotOpts

type CreateVolumeSnapshotOpts struct {
	// The uuid of the volume snapshot, optional.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The name of the volume snapshot, required.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The size of the volume that snapshot belongs to, required.
	Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	// The description of the volume snapshot, optional.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// The uuid of the volume that snapshot belongs to, required.
	VolumeId string `protobuf:"bytes,5,opt,name=volumeId,proto3" json:"volumeId,omitempty"`
	// The metadata of the volume snapshot, optional.
	Metadata map[string]string `` /* 157-byte string literal not displayed */
	// The storage driver type.
	DriverName string `protobuf:"bytes,8,opt,name=driverName,proto3" json:"driverName,omitempty"`
	// The Context
	Context              string   `protobuf:"bytes,9,opt,name=context,proto3" json:"context,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

CreateVolumeSnapshotOpts is a structure which indicates all required properties for creating a volume snapshot.

func (*CreateVolumeSnapshotOpts) Descriptor

func (*CreateVolumeSnapshotOpts) Descriptor() ([]byte, []int)

func (*CreateVolumeSnapshotOpts) GetContext

func (m *CreateVolumeSnapshotOpts) GetContext() string

func (*CreateVolumeSnapshotOpts) GetDescription

func (m *CreateVolumeSnapshotOpts) GetDescription() string

func (*CreateVolumeSnapshotOpts) GetDriverName

func (m *CreateVolumeSnapshotOpts) GetDriverName() string

func (*CreateVolumeSnapshotOpts) GetId

func (m *CreateVolumeSnapshotOpts) GetId() string

func (*CreateVolumeSnapshotOpts) GetMetadata

func (m *CreateVolumeSnapshotOpts) GetMetadata() map[string]string

func (*CreateVolumeSnapshotOpts) GetName

func (m *CreateVolumeSnapshotOpts) GetName() string

func (*CreateVolumeSnapshotOpts) GetSize

func (m *CreateVolumeSnapshotOpts) GetSize() int64

func (*CreateVolumeSnapshotOpts) GetVolumeId

func (m *CreateVolumeSnapshotOpts) GetVolumeId() string

func (*CreateVolumeSnapshotOpts) ProtoMessage

func (*CreateVolumeSnapshotOpts) ProtoMessage()

func (*CreateVolumeSnapshotOpts) Reset

func (m *CreateVolumeSnapshotOpts) Reset()

func (*CreateVolumeSnapshotOpts) String

func (m *CreateVolumeSnapshotOpts) String() string

func (*CreateVolumeSnapshotOpts) XXX_DiscardUnknown

func (m *CreateVolumeSnapshotOpts) XXX_DiscardUnknown()

func (*CreateVolumeSnapshotOpts) XXX_Marshal

func (m *CreateVolumeSnapshotOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateVolumeSnapshotOpts) XXX_Merge

func (m *CreateVolumeSnapshotOpts) XXX_Merge(src proto.Message)

func (*CreateVolumeSnapshotOpts) XXX_Size

func (m *CreateVolumeSnapshotOpts) XXX_Size() int

func (*CreateVolumeSnapshotOpts) XXX_Unmarshal

func (m *CreateVolumeSnapshotOpts) XXX_Unmarshal(b []byte) error

type DeleteFileShareAclOpts added in v0.5.3

type DeleteFileShareAclOpts struct {
	// The uuid of the file share, optional when creating.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The fileshareId
	FileshareId string `protobuf:"bytes,2,opt,name=fileshareId,proto3" json:"fileshareId,omitempty"`
	// The description
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// The type of access. Ex: IP based.
	Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	// The accessCapability for fileshare.
	AccessCapability []string `protobuf:"bytes,5,rep,name=accessCapability,proto3" json:"accessCapability,omitempty"`
	// accessTo of the fileshare.
	AccessTo string `protobuf:"bytes,6,opt,name=accessTo,proto3" json:"accessTo,omitempty"`
	// The driverName
	DriverName string `protobuf:"bytes,8,opt,name=driverName,proto3" json:"driverName,omitempty"`
	// The Context
	Context string `protobuf:"bytes,9,opt,name=context,proto3" json:"context,omitempty"`
	// The Name
	Name string `protobuf:"bytes,10,opt,name=Name,proto3" json:"Name,omitempty"`
	// The metadata of the file share, optional.
	Metadata map[string]string `` /* 158-byte string literal not displayed */
	// The protocol
	AccessProtocol       string   `protobuf:"bytes,12,opt,name=AccessProtocol,proto3" json:"AccessProtocol,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DeleteFileShareAclOpts is a structure which indicates all required properties for creating a file share.

func (*DeleteFileShareAclOpts) Descriptor added in v0.5.3

func (*DeleteFileShareAclOpts) Descriptor() ([]byte, []int)

func (*DeleteFileShareAclOpts) GetAccessCapability added in v0.5.3

func (m *DeleteFileShareAclOpts) GetAccessCapability() []string

func (*DeleteFileShareAclOpts) GetAccessProtocol added in v0.12.0

func (m *DeleteFileShareAclOpts) GetAccessProtocol() string

func (*DeleteFileShareAclOpts) GetAccessTo added in v0.5.3

func (m *DeleteFileShareAclOpts) GetAccessTo() string

func (*DeleteFileShareAclOpts) GetContext added in v0.5.3

func (m *DeleteFileShareAclOpts) GetContext() string

func (*DeleteFileShareAclOpts) GetDescription added in v0.5.3

func (m *DeleteFileShareAclOpts) GetDescription() string

func (*DeleteFileShareAclOpts) GetDriverName added in v0.5.3

func (m *DeleteFileShareAclOpts) GetDriverName() string

func (*DeleteFileShareAclOpts) GetFileshareId added in v0.5.3

func (m *DeleteFileShareAclOpts) GetFileshareId() string

func (*DeleteFileShareAclOpts) GetId added in v0.5.3

func (m *DeleteFileShareAclOpts) GetId() string

func (*DeleteFileShareAclOpts) GetMetadata added in v0.5.3

func (m *DeleteFileShareAclOpts) GetMetadata() map[string]string

func (*DeleteFileShareAclOpts) GetName added in v0.5.3

func (m *DeleteFileShareAclOpts) GetName() string

func (*DeleteFileShareAclOpts) GetType added in v0.5.3

func (m *DeleteFileShareAclOpts) GetType() string

func (*DeleteFileShareAclOpts) ProtoMessage added in v0.5.3

func (*DeleteFileShareAclOpts) ProtoMessage()

func (*DeleteFileShareAclOpts) Reset added in v0.5.3

func (m *DeleteFileShareAclOpts) Reset()

func (*DeleteFileShareAclOpts) String added in v0.5.3

func (m *DeleteFileShareAclOpts) String() string

func (*DeleteFileShareAclOpts) XXX_DiscardUnknown added in v0.5.3

func (m *DeleteFileShareAclOpts) XXX_DiscardUnknown()

func (*DeleteFileShareAclOpts) XXX_Marshal added in v0.5.3

func (m *DeleteFileShareAclOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteFileShareAclOpts) XXX_Merge added in v0.5.3

func (m *DeleteFileShareAclOpts) XXX_Merge(src proto.Message)

func (*DeleteFileShareAclOpts) XXX_Size added in v0.5.3

func (m *DeleteFileShareAclOpts) XXX_Size() int

func (*DeleteFileShareAclOpts) XXX_Unmarshal added in v0.5.3

func (m *DeleteFileShareAclOpts) XXX_Unmarshal(b []byte) error

type DeleteFileShareOpts added in v0.5.3

type DeleteFileShareOpts struct {
	// The uuid of the fileshare, required.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The uuid of the pool on which fileshare will be created, required.
	PoolId string `protobuf:"bytes,2,opt,name=poolId,proto3" json:"poolId,omitempty"`
	// The metadata of the fileshare, optional.
	Metadata map[string]string `` /* 157-byte string literal not displayed */
	// The storage driver type.
	DriverName string `protobuf:"bytes,4,opt,name=driverName,proto3" json:"driverName,omitempty"`
	// The Context
	Context string `protobuf:"bytes,5,opt,name=context,proto3" json:"context,omitempty"`
	// The name of fileShare
	Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	// The name of pool
	Poolname string `protobuf:"bytes,8,opt,name=poolname,proto3" json:"poolname,omitempty"`
	// The ExportLocations
	ExportLocations []string `protobuf:"bytes,9,rep,name=exportLocations,proto3" json:"exportLocations,omitempty"`
	// The protocol
	AccessProtocol       string   `protobuf:"bytes,10,opt,name=AccessProtocol,proto3" json:"AccessProtocol,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DeleteFileShareOpts is a structure which indicates all required properties for deleting a file share.

func (*DeleteFileShareOpts) Descriptor added in v0.5.3

func (*DeleteFileShareOpts) Descriptor() ([]byte, []int)

func (*DeleteFileShareOpts) GetAccessProtocol added in v0.12.0

func (m *DeleteFileShareOpts) GetAccessProtocol() string

func (*DeleteFileShareOpts) GetContext added in v0.5.3

func (m *DeleteFileShareOpts) GetContext() string

func (*DeleteFileShareOpts) GetDriverName added in v0.5.3

func (m *DeleteFileShareOpts) GetDriverName() string

func (*DeleteFileShareOpts) GetExportLocations added in v0.12.0

func (m *DeleteFileShareOpts) GetExportLocations() []string

func (*DeleteFileShareOpts) GetId added in v0.5.3

func (m *DeleteFileShareOpts) GetId() string

func (*DeleteFileShareOpts) GetMetadata added in v0.5.3

func (m *DeleteFileShareOpts) GetMetadata() map[string]string

func (*DeleteFileShareOpts) GetName added in v0.5.3

func (m *DeleteFileShareOpts) GetName() string

func (*DeleteFileShareOpts) GetPoolId added in v0.5.3

func (m *DeleteFileShareOpts) GetPoolId() string

func (*DeleteFileShareOpts) GetPoolname added in v0.5.3

func (m *DeleteFileShareOpts) GetPoolname() string

func (*DeleteFileShareOpts) ProtoMessage added in v0.5.3

func (*DeleteFileShareOpts) ProtoMessage()

func (*DeleteFileShareOpts) Reset added in v0.5.3

func (m *DeleteFileShareOpts) Reset()

func (*DeleteFileShareOpts) String added in v0.5.3

func (m *DeleteFileShareOpts) String() string

func (*DeleteFileShareOpts) XXX_DiscardUnknown added in v0.5.3

func (m *DeleteFileShareOpts) XXX_DiscardUnknown()

func (*DeleteFileShareOpts) XXX_Marshal added in v0.5.3

func (m *DeleteFileShareOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteFileShareOpts) XXX_Merge added in v0.5.3

func (m *DeleteFileShareOpts) XXX_Merge(src proto.Message)

func (*DeleteFileShareOpts) XXX_Size added in v0.5.3

func (m *DeleteFileShareOpts) XXX_Size() int

func (*DeleteFileShareOpts) XXX_Unmarshal added in v0.5.3

func (m *DeleteFileShareOpts) XXX_Unmarshal(b []byte) error

type DeleteFileShareSnapshotOpts added in v0.5.3

type DeleteFileShareSnapshotOpts struct {
	// The uuid of the file share snapshot, required.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The uuid of the file share that snapshot belongs to, required.
	FileshareId string `protobuf:"bytes,2,opt,name=fileshareId,proto3" json:"fileshareId,omitempty"`
	// The storage driver type.
	DriverName string `protobuf:"bytes,3,opt,name=driverName,proto3" json:"driverName,omitempty"`
	// The Context
	Context string `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
	// The metadata of the fileshare, optional.
	Metadata             map[string]string `` /* 157-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

DeleteFileShareSnapshotOpts is a structure which indicates all required properties for deleting a file share snapshot.

func (*DeleteFileShareSnapshotOpts) Descriptor added in v0.5.3

func (*DeleteFileShareSnapshotOpts) Descriptor() ([]byte, []int)

func (*DeleteFileShareSnapshotOpts) GetContext added in v0.5.3

func (m *DeleteFileShareSnapshotOpts) GetContext() string

func (*DeleteFileShareSnapshotOpts) GetDriverName added in v0.5.3

func (m *DeleteFileShareSnapshotOpts) GetDriverName() string

func (*DeleteFileShareSnapshotOpts) GetFileshareId added in v0.5.3

func (m *DeleteFileShareSnapshotOpts) GetFileshareId() string

func (*DeleteFileShareSnapshotOpts) GetId added in v0.5.3

func (*DeleteFileShareSnapshotOpts) GetMetadata added in v0.5.3

func (m *DeleteFileShareSnapshotOpts) GetMetadata() map[string]string

func (*DeleteFileShareSnapshotOpts) ProtoMessage added in v0.5.3

func (*DeleteFileShareSnapshotOpts) ProtoMessage()

func (*DeleteFileShareSnapshotOpts) Reset added in v0.5.3

func (m *DeleteFileShareSnapshotOpts) Reset()

func (*DeleteFileShareSnapshotOpts) String added in v0.5.3

func (m *DeleteFileShareSnapshotOpts) String() string

func (*DeleteFileShareSnapshotOpts) XXX_DiscardUnknown added in v0.5.3

func (m *DeleteFileShareSnapshotOpts) XXX_DiscardUnknown()

func (*DeleteFileShareSnapshotOpts) XXX_Marshal added in v0.5.3

func (m *DeleteFileShareSnapshotOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteFileShareSnapshotOpts) XXX_Merge added in v0.5.3

func (m *DeleteFileShareSnapshotOpts) XXX_Merge(src proto.Message)

func (*DeleteFileShareSnapshotOpts) XXX_Size added in v0.5.3

func (m *DeleteFileShareSnapshotOpts) XXX_Size() int

func (*DeleteFileShareSnapshotOpts) XXX_Unmarshal added in v0.5.3

func (m *DeleteFileShareSnapshotOpts) XXX_Unmarshal(b []byte) error

type DeleteReplicationOpts

type DeleteReplicationOpts struct {
	// The uuid of the replication, optional when creating.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The name of the replication, optional.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The description of the replication, optional.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// The uuid of the primary volume. This field is required.
	PrimaryVolumeId string `protobuf:"bytes,4,opt,name=primaryVolumeId,proto3" json:"primaryVolumeId,omitempty"`
	// The uuid of the secondary volume. This field is required.
	SecondaryVolumeId string `protobuf:"bytes,5,opt,name=secondaryVolumeId,proto3" json:"secondaryVolumeId,omitempty"`
	// The dock infomation on which the request will be executed
	AvailabilityZone string `protobuf:"bytes,6,opt,name=availabilityZone,proto3" json:"availabilityZone,omitempty"`
	// The uuid of the pool on which volume will be created, required.
	PoolId string `protobuf:"bytes,8,opt,name=poolId,proto3" json:"poolId,omitempty"`
	// The name of the pool on which volume will be created, required.
	PoolName string `protobuf:"bytes,9,opt,name=poolName,proto3" json:"poolName,omitempty"`
	// The metadata of the primary replication, optional.
	PrimaryReplicationDriverData map[string]string `` /* 198-byte string literal not displayed */
	// The metadata of the seondary replication, optional.
	SecondaryReplicationDriverData map[string]string `` /* 202-byte string literal not displayed */
	// The dock id.
	DockId string `protobuf:"bytes,13,opt,name=dockId,proto3" json:"dockId,omitempty"`
	// The replication driver type.
	DriverName string `protobuf:"bytes,14,opt,name=driverName,proto3" json:"driverName,omitempty"`
	// The Context
	Context string `protobuf:"bytes,15,opt,name=context,proto3" json:"context,omitempty"`
	// The replication metadata
	Metadata map[string]string `` /* 158-byte string literal not displayed */
	// Whether is primary replication
	IsPrimary            bool     `protobuf:"varint,17,opt,name=isPrimary,proto3" json:"isPrimary,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Delete ReplicationOpts is a structure which indicates all required properties for deleting a replication. NOTE: Need to figure out how to handle more than 2 sites.

func (*DeleteReplicationOpts) Descriptor

func (*DeleteReplicationOpts) Descriptor() ([]byte, []int)

func (*DeleteReplicationOpts) GetAvailabilityZone

func (m *DeleteReplicationOpts) GetAvailabilityZone() string

func (*DeleteReplicationOpts) GetContext

func (m *DeleteReplicationOpts) GetContext() string

func (*DeleteReplicationOpts) GetDescription

func (m *DeleteReplicationOpts) GetDescription() string

func (*DeleteReplicationOpts) GetDockId

func (m *DeleteReplicationOpts) GetDockId() string

func (*DeleteReplicationOpts) GetDriverName

func (m *DeleteReplicationOpts) GetDriverName() string

func (*DeleteReplicationOpts) GetId

func (m *DeleteReplicationOpts) GetId() string

func (*DeleteReplicationOpts) GetIsPrimary

func (m *DeleteReplicationOpts) GetIsPrimary() bool

func (*DeleteReplicationOpts) GetMetadata

func (m *DeleteReplicationOpts) GetMetadata() map[string]string

func (*DeleteReplicationOpts) GetName

func (m *DeleteReplicationOpts) GetName() string

func (*DeleteReplicationOpts) GetPoolId

func (m *DeleteReplicationOpts) GetPoolId() string

func (*DeleteReplicationOpts) GetPoolName

func (m *DeleteReplicationOpts) GetPoolName() string

func (*DeleteReplicationOpts) GetPrimaryReplicationDriverData

func (m *DeleteReplicationOpts) GetPrimaryReplicationDriverData() map[string]string

func (*DeleteReplicationOpts) GetPrimaryVolumeId

func (m *DeleteReplicationOpts) GetPrimaryVolumeId() string

func (*DeleteReplicationOpts) GetSecondaryReplicationDriverData

func (m *DeleteReplicationOpts) GetSecondaryReplicationDriverData() map[string]string

func (*DeleteReplicationOpts) GetSecondaryVolumeId

func (m *DeleteReplicationOpts) GetSecondaryVolumeId() string

func (*DeleteReplicationOpts) ProtoMessage

func (*DeleteReplicationOpts) ProtoMessage()

func (*DeleteReplicationOpts) Reset

func (m *DeleteReplicationOpts) Reset()

func (*DeleteReplicationOpts) String

func (m *DeleteReplicationOpts) String() string

func (*DeleteReplicationOpts) XXX_DiscardUnknown

func (m *DeleteReplicationOpts) XXX_DiscardUnknown()

func (*DeleteReplicationOpts) XXX_Marshal

func (m *DeleteReplicationOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteReplicationOpts) XXX_Merge

func (m *DeleteReplicationOpts) XXX_Merge(src proto.Message)

func (*DeleteReplicationOpts) XXX_Size

func (m *DeleteReplicationOpts) XXX_Size() int

func (*DeleteReplicationOpts) XXX_Unmarshal

func (m *DeleteReplicationOpts) XXX_Unmarshal(b []byte) error

type DeleteSnapshotAttachmentOpts

type DeleteSnapshotAttachmentOpts struct {
	// The uuid of the snapshot attachment, optional.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The uuid of the snapshot, required.
	SnapshotId string `protobuf:"bytes,2,opt,name=snapshotId,proto3" json:"snapshotId,omitempty"`
	// The infomation of the host node on which the volume will be attached.
	HostInfo *HostInfo `protobuf:"bytes,3,opt,name=hostInfo,proto3" json:"hostInfo,omitempty"`
	// The metadata of the snapshot attachment, optional.
	Metadata map[string]string `` /* 157-byte string literal not displayed */
	// The storage driver type.
	DriverName string `protobuf:"bytes,5,opt,name=driverName,proto3" json:"driverName,omitempty"`
	// The Context
	Context string `protobuf:"bytes,6,opt,name=context,proto3" json:"context,omitempty"`
	// The protocol
	AccessProtocol       string   `protobuf:"bytes,7,opt,name=AccessProtocol,proto3" json:"AccessProtocol,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DeleteSnapshotAttachmentOpts is a structure which indicates all required properties for deleting a snapshot attachment.

func (*DeleteSnapshotAttachmentOpts) Descriptor

func (*DeleteSnapshotAttachmentOpts) Descriptor() ([]byte, []int)

func (*DeleteSnapshotAttachmentOpts) GetAccessProtocol

func (m *DeleteSnapshotAttachmentOpts) GetAccessProtocol() string

func (*DeleteSnapshotAttachmentOpts) GetContext

func (m *DeleteSnapshotAttachmentOpts) GetContext() string

func (*DeleteSnapshotAttachmentOpts) GetDriverName

func (m *DeleteSnapshotAttachmentOpts) GetDriverName() string

func (*DeleteSnapshotAttachmentOpts) GetHostInfo

func (m *DeleteSnapshotAttachmentOpts) GetHostInfo() *HostInfo

func (*DeleteSnapshotAttachmentOpts) GetId

func (*DeleteSnapshotAttachmentOpts) GetMetadata

func (m *DeleteSnapshotAttachmentOpts) GetMetadata() map[string]string

func (*DeleteSnapshotAttachmentOpts) GetSnapshotId

func (m *DeleteSnapshotAttachmentOpts) GetSnapshotId() string

func (*DeleteSnapshotAttachmentOpts) ProtoMessage

func (*DeleteSnapshotAttachmentOpts) ProtoMessage()

func (*DeleteSnapshotAttachmentOpts) Reset

func (m *DeleteSnapshotAttachmentOpts) Reset()

func (*DeleteSnapshotAttachmentOpts) String

func (*DeleteSnapshotAttachmentOpts) XXX_DiscardUnknown

func (m *DeleteSnapshotAttachmentOpts) XXX_DiscardUnknown()

func (*DeleteSnapshotAttachmentOpts) XXX_Marshal

func (m *DeleteSnapshotAttachmentOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteSnapshotAttachmentOpts) XXX_Merge

func (m *DeleteSnapshotAttachmentOpts) XXX_Merge(src proto.Message)

func (*DeleteSnapshotAttachmentOpts) XXX_Size

func (m *DeleteSnapshotAttachmentOpts) XXX_Size() int

func (*DeleteSnapshotAttachmentOpts) XXX_Unmarshal

func (m *DeleteSnapshotAttachmentOpts) XXX_Unmarshal(b []byte) error

type DeleteVolumeAttachmentOpts

type DeleteVolumeAttachmentOpts struct {
	// The uuid of the volume attachment, optional.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The uuid of the volume, required.
	VolumeId string `protobuf:"bytes,2,opt,name=volumeId,proto3" json:"volumeId,omitempty"`
	// The uuid of the pool that volume belongs to, required.
	PoolId string `protobuf:"bytes,3,opt,name=poolId,proto3" json:"poolId,omitempty"`
	// The infomation of the host node on which the volume will be attached.
	HostInfo *HostInfo `protobuf:"bytes,4,opt,name=hostInfo,proto3" json:"hostInfo,omitempty"`
	// The metadata of the volume attachment, optional.
	Metadata map[string]string `` /* 157-byte string literal not displayed */
	// The storage driver type.
	DriverName string `protobuf:"bytes,6,opt,name=driverName,proto3" json:"driverName,omitempty"`
	// The Context
	Context string `protobuf:"bytes,7,opt,name=context,proto3" json:"context,omitempty"`
	// The protocol
	AccessProtocol       string   `protobuf:"bytes,8,opt,name=AccessProtocol,proto3" json:"AccessProtocol,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DeleteVolumeAttachmentOpts is a structure which indicates all required properties for deleting a volume attachment.

func (*DeleteVolumeAttachmentOpts) Descriptor

func (*DeleteVolumeAttachmentOpts) Descriptor() ([]byte, []int)

func (*DeleteVolumeAttachmentOpts) GetAccessProtocol

func (m *DeleteVolumeAttachmentOpts) GetAccessProtocol() string

func (*DeleteVolumeAttachmentOpts) GetContext

func (m *DeleteVolumeAttachmentOpts) GetContext() string

func (*DeleteVolumeAttachmentOpts) GetDriverName

func (m *DeleteVolumeAttachmentOpts) GetDriverName() string

func (*DeleteVolumeAttachmentOpts) GetHostInfo

func (m *DeleteVolumeAttachmentOpts) GetHostInfo() *HostInfo

func (*DeleteVolumeAttachmentOpts) GetId

func (*DeleteVolumeAttachmentOpts) GetMetadata

func (m *DeleteVolumeAttachmentOpts) GetMetadata() map[string]string

func (*DeleteVolumeAttachmentOpts) GetPoolId added in v0.12.0

func (m *DeleteVolumeAttachmentOpts) GetPoolId() string

func (*DeleteVolumeAttachmentOpts) GetVolumeId

func (m *DeleteVolumeAttachmentOpts) GetVolumeId() string

func (*DeleteVolumeAttachmentOpts) ProtoMessage

func (*DeleteVolumeAttachmentOpts) ProtoMessage()

func (*DeleteVolumeAttachmentOpts) Reset

func (m *DeleteVolumeAttachmentOpts) Reset()

func (*DeleteVolumeAttachmentOpts) String

func (m *DeleteVolumeAttachmentOpts) String() string

func (*DeleteVolumeAttachmentOpts) XXX_DiscardUnknown

func (m *DeleteVolumeAttachmentOpts) XXX_DiscardUnknown()

func (*DeleteVolumeAttachmentOpts) XXX_Marshal

func (m *DeleteVolumeAttachmentOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteVolumeAttachmentOpts) XXX_Merge

func (m *DeleteVolumeAttachmentOpts) XXX_Merge(src proto.Message)

func (*DeleteVolumeAttachmentOpts) XXX_Size

func (m *DeleteVolumeAttachmentOpts) XXX_Size() int

func (*DeleteVolumeAttachmentOpts) XXX_Unmarshal

func (m *DeleteVolumeAttachmentOpts) XXX_Unmarshal(b []byte) error

type DeleteVolumeGroupOpts

type DeleteVolumeGroupOpts struct {
	// The uuid of the volume group, optional when deleting.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The pool belongs to the group.
	PoolId string `protobuf:"bytes,2,opt,name=poolId,proto3" json:"poolId,omitempty"`
	// The driver of the volume group.
	DriverName string `protobuf:"bytes,3,opt,name=driverName,proto3" json:"driverName,omitempty"`
	// The Context
	Context              string   `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteVolumeGroupOpts) Descriptor

func (*DeleteVolumeGroupOpts) Descriptor() ([]byte, []int)

func (*DeleteVolumeGroupOpts) GetContext

func (m *DeleteVolumeGroupOpts) GetContext() string

func (*DeleteVolumeGroupOpts) GetDriverName

func (m *DeleteVolumeGroupOpts) GetDriverName() string

func (*DeleteVolumeGroupOpts) GetId

func (m *DeleteVolumeGroupOpts) GetId() string

func (*DeleteVolumeGroupOpts) GetPoolId

func (m *DeleteVolumeGroupOpts) GetPoolId() string

func (*DeleteVolumeGroupOpts) ProtoMessage

func (*DeleteVolumeGroupOpts) ProtoMessage()

func (*DeleteVolumeGroupOpts) Reset

func (m *DeleteVolumeGroupOpts) Reset()

func (*DeleteVolumeGroupOpts) String

func (m *DeleteVolumeGroupOpts) String() string

func (*DeleteVolumeGroupOpts) XXX_DiscardUnknown

func (m *DeleteVolumeGroupOpts) XXX_DiscardUnknown()

func (*DeleteVolumeGroupOpts) XXX_Marshal

func (m *DeleteVolumeGroupOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteVolumeGroupOpts) XXX_Merge

func (m *DeleteVolumeGroupOpts) XXX_Merge(src proto.Message)

func (*DeleteVolumeGroupOpts) XXX_Size

func (m *DeleteVolumeGroupOpts) XXX_Size() int

func (*DeleteVolumeGroupOpts) XXX_Unmarshal

func (m *DeleteVolumeGroupOpts) XXX_Unmarshal(b []byte) error

type DeleteVolumeOpts

type DeleteVolumeOpts struct {
	// The uuid of the volume, required.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The uuid of the pool on which volume will be created, required.
	PoolId string `protobuf:"bytes,3,opt,name=poolId,proto3" json:"poolId,omitempty"`
	// The metadata of the volume, optional.
	Metadata map[string]string `` /* 157-byte string literal not displayed */
	// The storage driver type.
	DriverName string `protobuf:"bytes,5,opt,name=driverName,proto3" json:"driverName,omitempty"`
	// The Context
	Context              string   `protobuf:"bytes,6,opt,name=context,proto3" json:"context,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DeleteVolumeOpts is a structure which indicates all required properties for deleting a volume.

func (*DeleteVolumeOpts) Descriptor

func (*DeleteVolumeOpts) Descriptor() ([]byte, []int)

func (*DeleteVolumeOpts) GetContext

func (m *DeleteVolumeOpts) GetContext() string

func (*DeleteVolumeOpts) GetDriverName

func (m *DeleteVolumeOpts) GetDriverName() string

func (*DeleteVolumeOpts) GetId

func (m *DeleteVolumeOpts) GetId() string

func (*DeleteVolumeOpts) GetMetadata

func (m *DeleteVolumeOpts) GetMetadata() map[string]string

func (*DeleteVolumeOpts) GetPoolId

func (m *DeleteVolumeOpts) GetPoolId() string

func (*DeleteVolumeOpts) ProtoMessage

func (*DeleteVolumeOpts) ProtoMessage()

func (*DeleteVolumeOpts) Reset

func (m *DeleteVolumeOpts) Reset()

func (*DeleteVolumeOpts) String

func (m *DeleteVolumeOpts) String() string

func (*DeleteVolumeOpts) XXX_DiscardUnknown

func (m *DeleteVolumeOpts) XXX_DiscardUnknown()

func (*DeleteVolumeOpts) XXX_Marshal

func (m *DeleteVolumeOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteVolumeOpts) XXX_Merge

func (m *DeleteVolumeOpts) XXX_Merge(src proto.Message)

func (*DeleteVolumeOpts) XXX_Size

func (m *DeleteVolumeOpts) XXX_Size() int

func (*DeleteVolumeOpts) XXX_Unmarshal

func (m *DeleteVolumeOpts) XXX_Unmarshal(b []byte) error

type DeleteVolumeSnapshotOpts

type DeleteVolumeSnapshotOpts struct {
	// The uuid of the volume snapshot, required.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The uuid of the volume that snapshot belongs to, required.
	VolumeId string `protobuf:"bytes,2,opt,name=volumeId,proto3" json:"volumeId,omitempty"`
	// The metadata of the volume snapshot, optional.
	Metadata map[string]string `` /* 157-byte string literal not displayed */
	// The storage driver type.
	DriverName string `protobuf:"bytes,4,opt,name=driverName,proto3" json:"driverName,omitempty"`
	// The Context
	Context              string   `protobuf:"bytes,5,opt,name=context,proto3" json:"context,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DeleteVolumeSnapshotOpts is a structure which indicates all required properties for deleting a volume snapshot.

func (*DeleteVolumeSnapshotOpts) Descriptor

func (*DeleteVolumeSnapshotOpts) Descriptor() ([]byte, []int)

func (*DeleteVolumeSnapshotOpts) GetContext

func (m *DeleteVolumeSnapshotOpts) GetContext() string

func (*DeleteVolumeSnapshotOpts) GetDriverName

func (m *DeleteVolumeSnapshotOpts) GetDriverName() string

func (*DeleteVolumeSnapshotOpts) GetId

func (m *DeleteVolumeSnapshotOpts) GetId() string

func (*DeleteVolumeSnapshotOpts) GetMetadata

func (m *DeleteVolumeSnapshotOpts) GetMetadata() map[string]string

func (*DeleteVolumeSnapshotOpts) GetVolumeId

func (m *DeleteVolumeSnapshotOpts) GetVolumeId() string

func (*DeleteVolumeSnapshotOpts) ProtoMessage

func (*DeleteVolumeSnapshotOpts) ProtoMessage()

func (*DeleteVolumeSnapshotOpts) Reset

func (m *DeleteVolumeSnapshotOpts) Reset()

func (*DeleteVolumeSnapshotOpts) String

func (m *DeleteVolumeSnapshotOpts) String() string

func (*DeleteVolumeSnapshotOpts) XXX_DiscardUnknown

func (m *DeleteVolumeSnapshotOpts) XXX_DiscardUnknown()

func (*DeleteVolumeSnapshotOpts) XXX_Marshal

func (m *DeleteVolumeSnapshotOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteVolumeSnapshotOpts) XXX_Merge

func (m *DeleteVolumeSnapshotOpts) XXX_Merge(src proto.Message)

func (*DeleteVolumeSnapshotOpts) XXX_Size

func (m *DeleteVolumeSnapshotOpts) XXX_Size() int

func (*DeleteVolumeSnapshotOpts) XXX_Unmarshal

func (m *DeleteVolumeSnapshotOpts) XXX_Unmarshal(b []byte) error

type DetachVolumeOpts

type DetachVolumeOpts struct {
	// The access protocol for detaching a volume.
	AccessProtocol string `protobuf:"bytes,1,opt,name=accessProtocol,proto3" json:"accessProtocol,omitempty"`
	// The connectionData for detaching a volume.
	ConnectionData string `protobuf:"bytes,2,opt,name=connectionData,proto3" json:"connectionData,omitempty"`
	// The metadata for detaching a volume, optional.
	Metadata map[string]string `` /* 157-byte string literal not displayed */
	// The Context
	Context              string   `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DetachVolumeOpts is a structure which indicates all required properties for detaching a volume.

func (*DetachVolumeOpts) Descriptor

func (*DetachVolumeOpts) Descriptor() ([]byte, []int)

func (*DetachVolumeOpts) GetAccessProtocol

func (m *DetachVolumeOpts) GetAccessProtocol() string

func (*DetachVolumeOpts) GetConnectionData

func (m *DetachVolumeOpts) GetConnectionData() string

func (*DetachVolumeOpts) GetContext

func (m *DetachVolumeOpts) GetContext() string

func (*DetachVolumeOpts) GetMetadata

func (m *DetachVolumeOpts) GetMetadata() map[string]string

func (*DetachVolumeOpts) ProtoMessage

func (*DetachVolumeOpts) ProtoMessage()

func (*DetachVolumeOpts) Reset

func (m *DetachVolumeOpts) Reset()

func (*DetachVolumeOpts) String

func (m *DetachVolumeOpts) String() string

func (*DetachVolumeOpts) XXX_DiscardUnknown

func (m *DetachVolumeOpts) XXX_DiscardUnknown()

func (*DetachVolumeOpts) XXX_Marshal

func (m *DetachVolumeOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DetachVolumeOpts) XXX_Merge

func (m *DetachVolumeOpts) XXX_Merge(src proto.Message)

func (*DetachVolumeOpts) XXX_Size

func (m *DetachVolumeOpts) XXX_Size() int

func (*DetachVolumeOpts) XXX_Unmarshal

func (m *DetachVolumeOpts) XXX_Unmarshal(b []byte) error

type DisableReplicationOpts

type DisableReplicationOpts struct {
	// The uuid of the replication, optional when creating.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The name of the replication, optional.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The description of the replication, optional.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// The uuid of the primary volume. This field is required.
	PrimaryVolumeId string `protobuf:"bytes,4,opt,name=primaryVolumeId,proto3" json:"primaryVolumeId,omitempty"`
	// The uuid of the secondary volume. This field is required.
	SecondaryVolumeId string `protobuf:"bytes,5,opt,name=secondaryVolumeId,proto3" json:"secondaryVolumeId,omitempty"`
	// The dock infomation on which the request will be executed
	AvailabilityZone string `protobuf:"bytes,6,opt,name=availabilityZone,proto3" json:"availabilityZone,omitempty"`
	// The uuid of the pool on which volume will be created, required.
	PoolId string `protobuf:"bytes,8,opt,name=poolId,proto3" json:"poolId,omitempty"`
	// The name of the pool on which volume will be created, required.
	PoolName string `protobuf:"bytes,9,opt,name=poolName,proto3" json:"poolName,omitempty"`
	// The metadata of the primary replication, optional.
	PrimaryReplicationDriverData map[string]string `` /* 198-byte string literal not displayed */
	// The metadata of the seondary replication, optional.
	SecondaryReplicationDriverData map[string]string `` /* 202-byte string literal not displayed */
	// The dock id.
	DockId string `protobuf:"bytes,13,opt,name=dockId,proto3" json:"dockId,omitempty"`
	// The replication driver type.
	DriverName string `protobuf:"bytes,14,opt,name=driverName,proto3" json:"driverName,omitempty"`
	// The Context
	Context string `protobuf:"bytes,15,opt,name=context,proto3" json:"context,omitempty"`
	// The replication metadata
	Metadata map[string]string `` /* 158-byte string literal not displayed */
	// Whether is primary replication
	IsPrimary            bool     `protobuf:"varint,17,opt,name=isPrimary,proto3" json:"isPrimary,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Delete ReplicationOpts is a structure which indicates all required properties

func (*DisableReplicationOpts) Descriptor

func (*DisableReplicationOpts) Descriptor() ([]byte, []int)

func (*DisableReplicationOpts) GetAvailabilityZone

func (m *DisableReplicationOpts) GetAvailabilityZone() string

func (*DisableReplicationOpts) GetContext

func (m *DisableReplicationOpts) GetContext() string

func (*DisableReplicationOpts) GetDescription

func (m *DisableReplicationOpts) GetDescription() string

func (*DisableReplicationOpts) GetDockId

func (m *DisableReplicationOpts) GetDockId() string

func (*DisableReplicationOpts) GetDriverName

func (m *DisableReplicationOpts) GetDriverName() string

func (*DisableReplicationOpts) GetId

func (m *DisableReplicationOpts) GetId() string

func (*DisableReplicationOpts) GetIsPrimary

func (m *DisableReplicationOpts) GetIsPrimary() bool

func (*DisableReplicationOpts) GetMetadata

func (m *DisableReplicationOpts) GetMetadata() map[string]string

func (*DisableReplicationOpts) GetName

func (m *DisableReplicationOpts) GetName() string

func (*DisableReplicationOpts) GetPoolId

func (m *DisableReplicationOpts) GetPoolId() string

func (*DisableReplicationOpts) GetPoolName

func (m *DisableReplicationOpts) GetPoolName() string

func (*DisableReplicationOpts) GetPrimaryReplicationDriverData

func (m *DisableReplicationOpts) GetPrimaryReplicationDriverData() map[string]string

func (*DisableReplicationOpts) GetPrimaryVolumeId

func (m *DisableReplicationOpts) GetPrimaryVolumeId() string

func (*DisableReplicationOpts) GetSecondaryReplicationDriverData

func (m *DisableReplicationOpts) GetSecondaryReplicationDriverData() map[string]string

func (*DisableReplicationOpts) GetSecondaryVolumeId

func (m *DisableReplicationOpts) GetSecondaryVolumeId() string

func (*DisableReplicationOpts) ProtoMessage

func (*DisableReplicationOpts) ProtoMessage()

func (*DisableReplicationOpts) Reset

func (m *DisableReplicationOpts) Reset()

func (*DisableReplicationOpts) String

func (m *DisableReplicationOpts) String() string

func (*DisableReplicationOpts) XXX_DiscardUnknown

func (m *DisableReplicationOpts) XXX_DiscardUnknown()

func (*DisableReplicationOpts) XXX_Marshal

func (m *DisableReplicationOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DisableReplicationOpts) XXX_Merge

func (m *DisableReplicationOpts) XXX_Merge(src proto.Message)

func (*DisableReplicationOpts) XXX_Size

func (m *DisableReplicationOpts) XXX_Size() int

func (*DisableReplicationOpts) XXX_Unmarshal

func (m *DisableReplicationOpts) XXX_Unmarshal(b []byte) error

type EnableReplicationOpts

type EnableReplicationOpts struct {
	// The uuid of the replication, optional when creating.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The name of the replication, optional.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The description of the replication, optional.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// The uuid of the primary volume. This field is required.
	PrimaryVolumeId string `protobuf:"bytes,4,opt,name=primaryVolumeId,proto3" json:"primaryVolumeId,omitempty"`
	// The uuid of the secondary volume. This field is required.
	SecondaryVolumeId string `protobuf:"bytes,5,opt,name=secondaryVolumeId,proto3" json:"secondaryVolumeId,omitempty"`
	// The dock infomation on which the request will be executed
	AvailabilityZone string `protobuf:"bytes,6,opt,name=availabilityZone,proto3" json:"availabilityZone,omitempty"`
	// The uuid of the pool on which volume will be created, required.
	PoolId string `protobuf:"bytes,8,opt,name=poolId,proto3" json:"poolId,omitempty"`
	// The name of the pool on which volume will be created, required.
	PoolName string `protobuf:"bytes,9,opt,name=poolName,proto3" json:"poolName,omitempty"`
	// The metadata of the primary replication, optional.
	PrimaryReplicationDriverData map[string]string `` /* 198-byte string literal not displayed */
	// The metadata of the seondary replication, optional.
	SecondaryReplicationDriverData map[string]string `` /* 202-byte string literal not displayed */
	// The dock id.
	DockId string `protobuf:"bytes,13,opt,name=dockId,proto3" json:"dockId,omitempty"`
	// The replication driver type.
	DriverName string `protobuf:"bytes,14,opt,name=driverName,proto3" json:"driverName,omitempty"`
	// The Context
	Context string `protobuf:"bytes,15,opt,name=context,proto3" json:"context,omitempty"`
	// The replication metadata
	Metadata map[string]string `` /* 158-byte string literal not displayed */
	// Whether is primary replication
	IsPrimary            bool     `protobuf:"varint,17,opt,name=isPrimary,proto3" json:"isPrimary,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Delete ReplicationOpts is a structure which indicates all required properties

func (*EnableReplicationOpts) Descriptor

func (*EnableReplicationOpts) Descriptor() ([]byte, []int)

func (*EnableReplicationOpts) GetAvailabilityZone

func (m *EnableReplicationOpts) GetAvailabilityZone() string

func (*EnableReplicationOpts) GetContext

func (m *EnableReplicationOpts) GetContext() string

func (*EnableReplicationOpts) GetDescription

func (m *EnableReplicationOpts) GetDescription() string

func (*EnableReplicationOpts) GetDockId

func (m *EnableReplicationOpts) GetDockId() string

func (*EnableReplicationOpts) GetDriverName

func (m *EnableReplicationOpts) GetDriverName() string

func (*EnableReplicationOpts) GetId

func (m *EnableReplicationOpts) GetId() string

func (*EnableReplicationOpts) GetIsPrimary

func (m *EnableReplicationOpts) GetIsPrimary() bool

func (*EnableReplicationOpts) GetMetadata

func (m *EnableReplicationOpts) GetMetadata() map[string]string

func (*EnableReplicationOpts) GetName

func (m *EnableReplicationOpts) GetName() string

func (*EnableReplicationOpts) GetPoolId

func (m *EnableReplicationOpts) GetPoolId() string

func (*EnableReplicationOpts) GetPoolName

func (m *EnableReplicationOpts) GetPoolName() string

func (*EnableReplicationOpts) GetPrimaryReplicationDriverData

func (m *EnableReplicationOpts) GetPrimaryReplicationDriverData() map[string]string

func (*EnableReplicationOpts) GetPrimaryVolumeId

func (m *EnableReplicationOpts) GetPrimaryVolumeId() string

func (*EnableReplicationOpts) GetSecondaryReplicationDriverData

func (m *EnableReplicationOpts) GetSecondaryReplicationDriverData() map[string]string

func (*EnableReplicationOpts) GetSecondaryVolumeId

func (m *EnableReplicationOpts) GetSecondaryVolumeId() string

func (*EnableReplicationOpts) ProtoMessage

func (*EnableReplicationOpts) ProtoMessage()

func (*EnableReplicationOpts) Reset

func (m *EnableReplicationOpts) Reset()

func (*EnableReplicationOpts) String

func (m *EnableReplicationOpts) String() string

func (*EnableReplicationOpts) XXX_DiscardUnknown

func (m *EnableReplicationOpts) XXX_DiscardUnknown()

func (*EnableReplicationOpts) XXX_Marshal

func (m *EnableReplicationOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EnableReplicationOpts) XXX_Merge

func (m *EnableReplicationOpts) XXX_Merge(src proto.Message)

func (*EnableReplicationOpts) XXX_Size

func (m *EnableReplicationOpts) XXX_Size() int

func (*EnableReplicationOpts) XXX_Unmarshal

func (m *EnableReplicationOpts) XXX_Unmarshal(b []byte) error

type ExtendVolumeOpts

type ExtendVolumeOpts struct {
	// The uuid of the volume, optional when creating.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The name of the volume, required.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The requested capacity of the volume, required.
	Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	// The description of the volume, optional.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// When create volume from snapshot, this field is required.
	SnapshotId string `protobuf:"bytes,5,opt,name=snapshotId,proto3" json:"snapshotId,omitempty"`
	// The locality that volume belongs to, required.
	AvailabilityZone string `protobuf:"bytes,6,opt,name=availabilityZone,proto3" json:"availabilityZone,omitempty"`
	// The uuid of the pool on which volume will be created, required.
	PoolId string `protobuf:"bytes,8,opt,name=poolId,proto3" json:"poolId,omitempty"`
	// The name of the pool on which volume will be created, required.
	PoolName string `protobuf:"bytes,9,opt,name=poolName,proto3" json:"poolName,omitempty"`
	// The metadata of the volume, optional.
	Metadata map[string]string `` /* 158-byte string literal not displayed */
	// The storage driver type.
	DriverName string `protobuf:"bytes,11,opt,name=driverName,proto3" json:"driverName,omitempty"`
	// The Context
	Context              string   `protobuf:"bytes,12,opt,name=context,proto3" json:"context,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ExtendVolumeOpts is a structure which indicates all required properties for Extending a volume.

func (*ExtendVolumeOpts) Descriptor

func (*ExtendVolumeOpts) Descriptor() ([]byte, []int)

func (*ExtendVolumeOpts) GetAvailabilityZone

func (m *ExtendVolumeOpts) GetAvailabilityZone() string

func (*ExtendVolumeOpts) GetContext

func (m *ExtendVolumeOpts) GetContext() string

func (*ExtendVolumeOpts) GetDescription

func (m *ExtendVolumeOpts) GetDescription() string

func (*ExtendVolumeOpts) GetDriverName

func (m *ExtendVolumeOpts) GetDriverName() string

func (*ExtendVolumeOpts) GetId

func (m *ExtendVolumeOpts) GetId() string

func (*ExtendVolumeOpts) GetMetadata

func (m *ExtendVolumeOpts) GetMetadata() map[string]string

func (*ExtendVolumeOpts) GetName

func (m *ExtendVolumeOpts) GetName() string

func (*ExtendVolumeOpts) GetPoolId

func (m *ExtendVolumeOpts) GetPoolId() string

func (*ExtendVolumeOpts) GetPoolName

func (m *ExtendVolumeOpts) GetPoolName() string

func (*ExtendVolumeOpts) GetSize

func (m *ExtendVolumeOpts) GetSize() int64

func (*ExtendVolumeOpts) GetSnapshotId

func (m *ExtendVolumeOpts) GetSnapshotId() string

func (*ExtendVolumeOpts) ProtoMessage

func (*ExtendVolumeOpts) ProtoMessage()

func (*ExtendVolumeOpts) Reset

func (m *ExtendVolumeOpts) Reset()

func (*ExtendVolumeOpts) String

func (m *ExtendVolumeOpts) String() string

func (*ExtendVolumeOpts) XXX_DiscardUnknown

func (m *ExtendVolumeOpts) XXX_DiscardUnknown()

func (*ExtendVolumeOpts) XXX_Marshal

func (m *ExtendVolumeOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExtendVolumeOpts) XXX_Merge

func (m *ExtendVolumeOpts) XXX_Merge(src proto.Message)

func (*ExtendVolumeOpts) XXX_Size

func (m *ExtendVolumeOpts) XXX_Size() int

func (*ExtendVolumeOpts) XXX_Unmarshal

func (m *ExtendVolumeOpts) XXX_Unmarshal(b []byte) error

type FailoverReplicationOpts

type FailoverReplicationOpts struct {
	// The uuid of the replication, optional when creating.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The name of the replication, optional.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The description of the replication, optional.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// The uuid of the primary volume. This field is required.
	PrimaryVolumeId string `protobuf:"bytes,4,opt,name=primaryVolumeId,proto3" json:"primaryVolumeId,omitempty"`
	// The uuid of the secondary volume. This field is required.
	SecondaryVolumeId string `protobuf:"bytes,5,opt,name=secondaryVolumeId,proto3" json:"secondaryVolumeId,omitempty"`
	// The dock infomation on which the request will be executed
	AvailabilityZone string `protobuf:"bytes,6,opt,name=availabilityZone,proto3" json:"availabilityZone,omitempty"`
	// The uuid of the pool on which volume will be created, required.
	PoolId string `protobuf:"bytes,8,opt,name=poolId,proto3" json:"poolId,omitempty"`
	// The name of the pool on which volume will be created, required.
	PoolName string `protobuf:"bytes,9,opt,name=poolName,proto3" json:"poolName,omitempty"`
	// The metadata of the primary replication, optional.
	PrimaryReplicationDriverData map[string]string `` /* 198-byte string literal not displayed */
	// The metadata of the seondary replication, optional.
	SecondaryReplicationDriverData map[string]string `` /* 202-byte string literal not displayed */
	// The dock id.
	DockId string `protobuf:"bytes,13,opt,name=dockId,proto3" json:"dockId,omitempty"`
	// The replication driver type.
	DriverName string `protobuf:"bytes,14,opt,name=driverName,proto3" json:"driverName,omitempty"`
	// The Context
	Context string `protobuf:"bytes,15,opt,name=context,proto3" json:"context,omitempty"`
	// Allow attached volume
	AllowAttachedVolume bool `protobuf:"varint,16,opt,name=allowAttachedVolume,proto3" json:"allowAttachedVolume,omitempty"`
	// The secondary backend id.
	SecondaryBackendId string `protobuf:"bytes,17,opt,name=secondaryBackendId,proto3" json:"secondaryBackendId,omitempty"`
	// The replication metadata
	Metadata map[string]string `` /* 158-byte string literal not displayed */
	// Whether is primary replication
	IsPrimary            bool     `protobuf:"varint,19,opt,name=isPrimary,proto3" json:"isPrimary,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Delete ReplicationOpts is a structure which indicates all required properties

func (*FailoverReplicationOpts) Descriptor

func (*FailoverReplicationOpts) Descriptor() ([]byte, []int)

func (*FailoverReplicationOpts) GetAllowAttachedVolume

func (m *FailoverReplicationOpts) GetAllowAttachedVolume() bool

func (*FailoverReplicationOpts) GetAvailabilityZone

func (m *FailoverReplicationOpts) GetAvailabilityZone() string

func (*FailoverReplicationOpts) GetContext

func (m *FailoverReplicationOpts) GetContext() string

func (*FailoverReplicationOpts) GetDescription

func (m *FailoverReplicationOpts) GetDescription() string

func (*FailoverReplicationOpts) GetDockId

func (m *FailoverReplicationOpts) GetDockId() string

func (*FailoverReplicationOpts) GetDriverName

func (m *FailoverReplicationOpts) GetDriverName() string

func (*FailoverReplicationOpts) GetId

func (m *FailoverReplicationOpts) GetId() string

func (*FailoverReplicationOpts) GetIsPrimary

func (m *FailoverReplicationOpts) GetIsPrimary() bool

func (*FailoverReplicationOpts) GetMetadata

func (m *FailoverReplicationOpts) GetMetadata() map[string]string

func (*FailoverReplicationOpts) GetName

func (m *FailoverReplicationOpts) GetName() string

func (*FailoverReplicationOpts) GetPoolId

func (m *FailoverReplicationOpts) GetPoolId() string

func (*FailoverReplicationOpts) GetPoolName

func (m *FailoverReplicationOpts) GetPoolName() string

func (*FailoverReplicationOpts) GetPrimaryReplicationDriverData

func (m *FailoverReplicationOpts) GetPrimaryReplicationDriverData() map[string]string

func (*FailoverReplicationOpts) GetPrimaryVolumeId

func (m *FailoverReplicationOpts) GetPrimaryVolumeId() string

func (*FailoverReplicationOpts) GetSecondaryBackendId

func (m *FailoverReplicationOpts) GetSecondaryBackendId() string

func (*FailoverReplicationOpts) GetSecondaryReplicationDriverData

func (m *FailoverReplicationOpts) GetSecondaryReplicationDriverData() map[string]string

func (*FailoverReplicationOpts) GetSecondaryVolumeId

func (m *FailoverReplicationOpts) GetSecondaryVolumeId() string

func (*FailoverReplicationOpts) ProtoMessage

func (*FailoverReplicationOpts) ProtoMessage()

func (*FailoverReplicationOpts) Reset

func (m *FailoverReplicationOpts) Reset()

func (*FailoverReplicationOpts) String

func (m *FailoverReplicationOpts) String() string

func (*FailoverReplicationOpts) XXX_DiscardUnknown

func (m *FailoverReplicationOpts) XXX_DiscardUnknown()

func (*FailoverReplicationOpts) XXX_Marshal

func (m *FailoverReplicationOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FailoverReplicationOpts) XXX_Merge

func (m *FailoverReplicationOpts) XXX_Merge(src proto.Message)

func (*FailoverReplicationOpts) XXX_Size

func (m *FailoverReplicationOpts) XXX_Size() int

func (*FailoverReplicationOpts) XXX_Unmarshal

func (m *FailoverReplicationOpts) XXX_Unmarshal(b []byte) error

type FailoverReplicationOpts_FailoverRequest

type FailoverReplicationOpts_FailoverRequest struct {
	AllowAttachedVolume  bool     `protobuf:"varint,1,opt,name=allowAttachedVolume,proto3" json:"allowAttachedVolume,omitempty"`
	SecondaryBackendId   string   `protobuf:"bytes,2,opt,name=secondaryBackendId,proto3" json:"secondaryBackendId,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FailoverReplicationOpts_FailoverRequest) Descriptor

func (*FailoverReplicationOpts_FailoverRequest) Descriptor() ([]byte, []int)

func (*FailoverReplicationOpts_FailoverRequest) GetAllowAttachedVolume

func (m *FailoverReplicationOpts_FailoverRequest) GetAllowAttachedVolume() bool

func (*FailoverReplicationOpts_FailoverRequest) GetSecondaryBackendId

func (m *FailoverReplicationOpts_FailoverRequest) GetSecondaryBackendId() string

func (*FailoverReplicationOpts_FailoverRequest) ProtoMessage

func (*FailoverReplicationOpts_FailoverRequest) Reset

func (*FailoverReplicationOpts_FailoverRequest) String

func (*FailoverReplicationOpts_FailoverRequest) XXX_DiscardUnknown

func (m *FailoverReplicationOpts_FailoverRequest) XXX_DiscardUnknown()

func (*FailoverReplicationOpts_FailoverRequest) XXX_Marshal

func (m *FailoverReplicationOpts_FailoverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FailoverReplicationOpts_FailoverRequest) XXX_Merge

func (*FailoverReplicationOpts_FailoverRequest) XXX_Size

func (*FailoverReplicationOpts_FailoverRequest) XXX_Unmarshal

func (m *FailoverReplicationOpts_FailoverRequest) XXX_Unmarshal(b []byte) error

type FileShareDockClient added in v0.5.3

type FileShareDockClient interface {
	// Create a file share
	CreateFileShare(ctx context.Context, in *CreateFileShareOpts, opts ...grpc.CallOption) (*GenericResponse, error)
	// Delete a file share
	DeleteFileShare(ctx context.Context, in *DeleteFileShareOpts, opts ...grpc.CallOption) (*GenericResponse, error)
	// Create a file share snapshot
	CreateFileShareSnapshot(ctx context.Context, in *CreateFileShareSnapshotOpts, opts ...grpc.CallOption) (*GenericResponse, error)
	//Delete a file share snapshot
	DeleteFileShareSnapshot(ctx context.Context, in *DeleteFileShareSnapshotOpts, opts ...grpc.CallOption) (*GenericResponse, error)
	// Create a file share Acl
	CreateFileShareAcl(ctx context.Context, in *CreateFileShareAclOpts, opts ...grpc.CallOption) (*GenericResponse, error)
	// Delete a file share Acl
	DeleteFileShareAcl(ctx context.Context, in *DeleteFileShareAclOpts, opts ...grpc.CallOption) (*GenericResponse, error)
}

FileShareDockClient is the client API for FileShareDock service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewFileShareDockClient added in v0.5.3

func NewFileShareDockClient(cc grpc.ClientConnInterface) FileShareDockClient

type FileShareDockServer added in v0.5.3

type FileShareDockServer interface {
	// Create a file share
	CreateFileShare(context.Context, *CreateFileShareOpts) (*GenericResponse, error)
	// Delete a file share
	DeleteFileShare(context.Context, *DeleteFileShareOpts) (*GenericResponse, error)
	// Create a file share snapshot
	CreateFileShareSnapshot(context.Context, *CreateFileShareSnapshotOpts) (*GenericResponse, error)
	//Delete a file share snapshot
	DeleteFileShareSnapshot(context.Context, *DeleteFileShareSnapshotOpts) (*GenericResponse, error)
	// Create a file share Acl
	CreateFileShareAcl(context.Context, *CreateFileShareAclOpts) (*GenericResponse, error)
	// Delete a file share Acl
	DeleteFileShareAcl(context.Context, *DeleteFileShareAclOpts) (*GenericResponse, error)
}

FileShareDockServer is the server API for FileShareDock service.

type GenericResponse

type GenericResponse struct {
	// Types that are valid to be assigned to Reply:
	//	*GenericResponse_Result_
	//	*GenericResponse_Error_
	Reply                isGenericResponse_Reply `protobuf_oneof:"reply"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

Generic response, it return: 1. Return result with message when create/update resource successfully. 2. Return result without message when delete resource successfully. 3. Return Error with error code and message when operate unsuccessfully.

func GenericResponseError

func GenericResponseError(errMsg interface{}) *GenericResponse

func GenericResponseResult

func GenericResponseResult(resMsg interface{}) *GenericResponse

func (*GenericResponse) Descriptor

func (*GenericResponse) Descriptor() ([]byte, []int)

func (*GenericResponse) GetError

func (m *GenericResponse) GetError() *GenericResponse_Error

func (*GenericResponse) GetReply

func (m *GenericResponse) GetReply() isGenericResponse_Reply

func (*GenericResponse) GetResult

func (m *GenericResponse) GetResult() *GenericResponse_Result

func (*GenericResponse) ProtoMessage

func (*GenericResponse) ProtoMessage()

func (*GenericResponse) Reset

func (m *GenericResponse) Reset()

func (*GenericResponse) String

func (m *GenericResponse) String() string

func (*GenericResponse) XXX_DiscardUnknown

func (m *GenericResponse) XXX_DiscardUnknown()

func (*GenericResponse) XXX_Marshal

func (m *GenericResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenericResponse) XXX_Merge

func (m *GenericResponse) XXX_Merge(src proto.Message)

func (*GenericResponse) XXX_OneofWrappers added in v0.5.2

func (*GenericResponse) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*GenericResponse) XXX_Size

func (m *GenericResponse) XXX_Size() int

func (*GenericResponse) XXX_Unmarshal

func (m *GenericResponse) XXX_Unmarshal(b []byte) error

type GenericResponse_Error

type GenericResponse_Error struct {
	Code                 string   `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Description          string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GenericResponse_Error) Descriptor

func (*GenericResponse_Error) Descriptor() ([]byte, []int)

func (*GenericResponse_Error) GetCode

func (m *GenericResponse_Error) GetCode() string

func (*GenericResponse_Error) GetDescription

func (m *GenericResponse_Error) GetDescription() string

func (*GenericResponse_Error) ProtoMessage

func (*GenericResponse_Error) ProtoMessage()

func (*GenericResponse_Error) Reset

func (m *GenericResponse_Error) Reset()

func (*GenericResponse_Error) String

func (m *GenericResponse_Error) String() string

func (*GenericResponse_Error) XXX_DiscardUnknown

func (m *GenericResponse_Error) XXX_DiscardUnknown()

func (*GenericResponse_Error) XXX_Marshal

func (m *GenericResponse_Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenericResponse_Error) XXX_Merge

func (m *GenericResponse_Error) XXX_Merge(src proto.Message)

func (*GenericResponse_Error) XXX_Size

func (m *GenericResponse_Error) XXX_Size() int

func (*GenericResponse_Error) XXX_Unmarshal

func (m *GenericResponse_Error) XXX_Unmarshal(b []byte) error

type GenericResponse_Error_

type GenericResponse_Error_ struct {
	Error *GenericResponse_Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}

type GenericResponse_Result

type GenericResponse_Result struct {
	Message              string   `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GenericResponse_Result) Descriptor

func (*GenericResponse_Result) Descriptor() ([]byte, []int)

func (*GenericResponse_Result) GetMessage

func (m *GenericResponse_Result) GetMessage() string

func (*GenericResponse_Result) ProtoMessage

func (*GenericResponse_Result) ProtoMessage()

func (*GenericResponse_Result) Reset

func (m *GenericResponse_Result) Reset()

func (*GenericResponse_Result) String

func (m *GenericResponse_Result) String() string

func (*GenericResponse_Result) XXX_DiscardUnknown

func (m *GenericResponse_Result) XXX_DiscardUnknown()

func (*GenericResponse_Result) XXX_Marshal

func (m *GenericResponse_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenericResponse_Result) XXX_Merge

func (m *GenericResponse_Result) XXX_Merge(src proto.Message)

func (*GenericResponse_Result) XXX_Size

func (m *GenericResponse_Result) XXX_Size() int

func (*GenericResponse_Result) XXX_Unmarshal

func (m *GenericResponse_Result) XXX_Unmarshal(b []byte) error

type GenericResponse_Result_

type GenericResponse_Result_ struct {
	Result *GenericResponse_Result `protobuf:"bytes,1,opt,name=result,proto3,oneof"`
}

type GetMetricsOpts added in v0.5.2

type GetMetricsOpts struct {
	// instance ID of the resource to collect metrics for
	InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId,omitempty"`
	// the metric to be collected
	MetricName string `protobuf:"bytes,2,opt,name=metricName,proto3" json:"metricName,omitempty"`
	// the start of the time range to collect metrics
	StartTime string `protobuf:"bytes,3,opt,name=startTime,proto3" json:"startTime,omitempty"`
	// the end of the time range to collect metrics
	EndTime string `protobuf:"bytes,4,opt,name=endTime,proto3" json:"endTime,omitempty"`
	// context
	Context              string   `protobuf:"bytes,5,opt,name=context,proto3" json:"context,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GetMetricsOpts is used to pass specifics to get metric values

func (*GetMetricsOpts) Descriptor added in v0.5.2

func (*GetMetricsOpts) Descriptor() ([]byte, []int)

func (*GetMetricsOpts) GetContext added in v0.5.2

func (m *GetMetricsOpts) GetContext() string

func (*GetMetricsOpts) GetEndTime added in v0.5.2

func (m *GetMetricsOpts) GetEndTime() string

func (*GetMetricsOpts) GetInstanceId added in v0.5.2

func (m *GetMetricsOpts) GetInstanceId() string

func (*GetMetricsOpts) GetMetricName added in v0.5.2

func (m *GetMetricsOpts) GetMetricName() string

func (*GetMetricsOpts) GetStartTime added in v0.5.2

func (m *GetMetricsOpts) GetStartTime() string

func (*GetMetricsOpts) ProtoMessage added in v0.5.2

func (*GetMetricsOpts) ProtoMessage()

func (*GetMetricsOpts) Reset added in v0.5.2

func (m *GetMetricsOpts) Reset()

func (*GetMetricsOpts) String added in v0.5.2

func (m *GetMetricsOpts) String() string

func (*GetMetricsOpts) XXX_DiscardUnknown added in v0.5.2

func (m *GetMetricsOpts) XXX_DiscardUnknown()

func (*GetMetricsOpts) XXX_Marshal added in v0.5.2

func (m *GetMetricsOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetMetricsOpts) XXX_Merge added in v0.5.2

func (m *GetMetricsOpts) XXX_Merge(src proto.Message)

func (*GetMetricsOpts) XXX_Size added in v0.5.2

func (m *GetMetricsOpts) XXX_Size() int

func (*GetMetricsOpts) XXX_Unmarshal added in v0.5.2

func (m *GetMetricsOpts) XXX_Unmarshal(b []byte) error

type HostInfo

type HostInfo struct {
	// The platform of the host, such as "x86_64"
	Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"`
	// The type of OS, such as "linux","windows", etc.
	OsType string `protobuf:"bytes,2,opt,name=osType,proto3" json:"osType,omitempty"`
	// The name of the host
	Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
	// The ip address of the host
	Ip string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`
	// The initiators' infomation
	Initiators           []*Initiator `protobuf:"bytes,5,rep,name=initiators,proto3" json:"initiators,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*HostInfo) Descriptor

func (*HostInfo) Descriptor() ([]byte, []int)

func (*HostInfo) GetHost

func (m *HostInfo) GetHost() string

func (*HostInfo) GetInitiators added in v0.12.0

func (m *HostInfo) GetInitiators() []*Initiator

func (*HostInfo) GetIp

func (m *HostInfo) GetIp() string

func (*HostInfo) GetOsType

func (m *HostInfo) GetOsType() string

func (*HostInfo) GetPlatform

func (m *HostInfo) GetPlatform() string

func (*HostInfo) ProtoMessage

func (*HostInfo) ProtoMessage()

func (*HostInfo) Reset

func (m *HostInfo) Reset()

func (*HostInfo) String

func (m *HostInfo) String() string

func (*HostInfo) XXX_DiscardUnknown

func (m *HostInfo) XXX_DiscardUnknown()

func (*HostInfo) XXX_Marshal

func (m *HostInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HostInfo) XXX_Merge

func (m *HostInfo) XXX_Merge(src proto.Message)

func (*HostInfo) XXX_Size

func (m *HostInfo) XXX_Size() int

func (*HostInfo) XXX_Unmarshal

func (m *HostInfo) XXX_Unmarshal(b []byte) error

type Initiator added in v0.12.0

type Initiator struct {
	// initiator name
	PortName string `protobuf:"bytes,1,opt,name=portName,proto3" json:"portName,omitempty"`
	// protocol like iscsi and fibre_channel
	Protocol             string   `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Initiator) Descriptor added in v0.12.0

func (*Initiator) Descriptor() ([]byte, []int)

func (*Initiator) GetPortName added in v0.12.0

func (m *Initiator) GetPortName() string

func (*Initiator) GetProtocol added in v0.12.0

func (m *Initiator) GetProtocol() string

func (*Initiator) ProtoMessage added in v0.12.0

func (*Initiator) ProtoMessage()

func (*Initiator) Reset added in v0.12.0

func (m *Initiator) Reset()

func (*Initiator) String added in v0.12.0

func (m *Initiator) String() string

func (*Initiator) XXX_DiscardUnknown added in v0.12.0

func (m *Initiator) XXX_DiscardUnknown()

func (*Initiator) XXX_Marshal added in v0.12.0

func (m *Initiator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Initiator) XXX_Merge added in v0.12.0

func (m *Initiator) XXX_Merge(src proto.Message)

func (*Initiator) XXX_Size added in v0.12.0

func (m *Initiator) XXX_Size() int

func (*Initiator) XXX_Unmarshal added in v0.12.0

func (m *Initiator) XXX_Unmarshal(b []byte) error

type NoParams added in v0.5.3

type NoParams struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NoParams) Descriptor added in v0.5.3

func (*NoParams) Descriptor() ([]byte, []int)

func (*NoParams) ProtoMessage added in v0.5.3

func (*NoParams) ProtoMessage()

func (*NoParams) Reset added in v0.5.3

func (m *NoParams) Reset()

func (*NoParams) String added in v0.5.3

func (m *NoParams) String() string

func (*NoParams) XXX_DiscardUnknown added in v0.5.3

func (m *NoParams) XXX_DiscardUnknown()

func (*NoParams) XXX_Marshal added in v0.5.3

func (m *NoParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NoParams) XXX_Merge added in v0.5.3

func (m *NoParams) XXX_Merge(src proto.Message)

func (*NoParams) XXX_Size added in v0.5.3

func (m *NoParams) XXX_Size() int

func (*NoParams) XXX_Unmarshal added in v0.5.3

func (m *NoParams) XXX_Unmarshal(b []byte) error

type ProvisionDockClient

type ProvisionDockClient interface {
	// Create a volume
	CreateVolume(ctx context.Context, in *CreateVolumeOpts, opts ...grpc.CallOption) (*GenericResponse, error)
	// Delete a volume
	DeleteVolume(ctx context.Context, in *DeleteVolumeOpts, opts ...grpc.CallOption) (*GenericResponse, error)
	// Extend a volume
	ExtendVolume(ctx context.Context, in *ExtendVolumeOpts, opts ...grpc.CallOption) (*GenericResponse, error)
	// Create a volume snapshot
	CreateVolumeSnapshot(ctx context.Context, in *CreateVolumeSnapshotOpts, opts ...grpc.CallOption) (*GenericResponse, error)
	// Delete a volume snapshot
	DeleteVolumeSnapshot(ctx context.Context, in *DeleteVolumeSnapshotOpts, opts ...grpc.CallOption) (*GenericResponse, error)
	// Create a volume attachment
	CreateVolumeAttachment(ctx context.Context, in *CreateVolumeAttachmentOpts, opts ...grpc.CallOption) (*GenericResponse, error)
	// Delete a volume attachment
	DeleteVolumeAttachment(ctx context.Context, in *DeleteVolumeAttachmentOpts, opts ...grpc.CallOption) (*GenericResponse, error)
	// Create a replication
	CreateReplication(ctx context.Context, in *CreateReplicationOpts, opts ...grpc.CallOption) (*GenericResponse, error)
	// Delete a replication
	DeleteReplication(ctx context.Context, in *DeleteReplicationOpts, opts ...grpc.CallOption) (*GenericResponse, error)
	// Enable a replication
	EnableReplication(ctx context.Context, in *EnableReplicationOpts, opts ...grpc.CallOption) (*GenericResponse, error)
	// Disable a replication
	DisableReplication(ctx context.Context, in *DisableReplicationOpts, opts ...grpc.CallOption) (*GenericResponse, error)
	// Failover a replication
	FailoverReplication(ctx context.Context, in *FailoverReplicationOpts, opts ...grpc.CallOption) (*GenericResponse, error)
	// Create a volume group
	CreateVolumeGroup(ctx context.Context, in *CreateVolumeGroupOpts, opts ...grpc.CallOption) (*GenericResponse, error)
	// Update volume group
	UpdateVolumeGroup(ctx context.Context, in *UpdateVolumeGroupOpts, opts ...grpc.CallOption) (*GenericResponse, error)
	// Delete volume group
	DeleteVolumeGroup(ctx context.Context, in *DeleteVolumeGroupOpts, opts ...grpc.CallOption) (*GenericResponse, error)
	// Collect metrics from metrics driver
	CollectMetrics(ctx context.Context, in *CollectMetricsOpts, opts ...grpc.CallOption) (*GenericResponse, error)
	// Get metrics from Prometheus
	GetMetrics(ctx context.Context, in *GetMetricsOpts, opts ...grpc.CallOption) (*GenericResponse, error)
	// Get 3rd party re-direct URLs for telemetry
	GetUrls(ctx context.Context, in *NoParams, opts ...grpc.CallOption) (*GenericResponse, error)
}

ProvisionDockClient is the client API for ProvisionDock service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type ProvisionDockServer

type ProvisionDockServer interface {
	// Create a volume
	CreateVolume(context.Context, *CreateVolumeOpts) (*GenericResponse, error)
	// Delete a volume
	DeleteVolume(context.Context, *DeleteVolumeOpts) (*GenericResponse, error)
	// Extend a volume
	ExtendVolume(context.Context, *ExtendVolumeOpts) (*GenericResponse, error)
	// Create a volume snapshot
	CreateVolumeSnapshot(context.Context, *CreateVolumeSnapshotOpts) (*GenericResponse, error)
	// Delete a volume snapshot
	DeleteVolumeSnapshot(context.Context, *DeleteVolumeSnapshotOpts) (*GenericResponse, error)
	// Create a volume attachment
	CreateVolumeAttachment(context.Context, *CreateVolumeAttachmentOpts) (*GenericResponse, error)
	// Delete a volume attachment
	DeleteVolumeAttachment(context.Context, *DeleteVolumeAttachmentOpts) (*GenericResponse, error)
	// Create a replication
	CreateReplication(context.Context, *CreateReplicationOpts) (*GenericResponse, error)
	// Delete a replication
	DeleteReplication(context.Context, *DeleteReplicationOpts) (*GenericResponse, error)
	// Enable a replication
	EnableReplication(context.Context, *EnableReplicationOpts) (*GenericResponse, error)
	// Disable a replication
	DisableReplication(context.Context, *DisableReplicationOpts) (*GenericResponse, error)
	// Failover a replication
	FailoverReplication(context.Context, *FailoverReplicationOpts) (*GenericResponse, error)
	// Create a volume group
	CreateVolumeGroup(context.Context, *CreateVolumeGroupOpts) (*GenericResponse, error)
	// Update volume group
	UpdateVolumeGroup(context.Context, *UpdateVolumeGroupOpts) (*GenericResponse, error)
	// Delete volume group
	DeleteVolumeGroup(context.Context, *DeleteVolumeGroupOpts) (*GenericResponse, error)
	// Collect metrics from metrics driver
	CollectMetrics(context.Context, *CollectMetricsOpts) (*GenericResponse, error)
	// Get metrics from Prometheus
	GetMetrics(context.Context, *GetMetricsOpts) (*GenericResponse, error)
	// Get 3rd party re-direct URLs for telemetry
	GetUrls(context.Context, *NoParams) (*GenericResponse, error)
}

ProvisionDockServer is the server API for ProvisionDock service.

type UnimplementedAttachDockServer added in v0.5.3

type UnimplementedAttachDockServer struct {
}

UnimplementedAttachDockServer can be embedded to have forward compatible implementations.

func (*UnimplementedAttachDockServer) AttachVolume added in v0.5.3

func (*UnimplementedAttachDockServer) DetachVolume added in v0.5.3

type UnimplementedFileShareDockServer added in v0.5.3

type UnimplementedFileShareDockServer struct {
}

UnimplementedFileShareDockServer can be embedded to have forward compatible implementations.

func (*UnimplementedFileShareDockServer) CreateFileShare added in v0.5.3

func (*UnimplementedFileShareDockServer) CreateFileShareAcl added in v0.5.3

func (*UnimplementedFileShareDockServer) CreateFileShareSnapshot added in v0.5.3

func (*UnimplementedFileShareDockServer) DeleteFileShare added in v0.5.3

func (*UnimplementedFileShareDockServer) DeleteFileShareAcl added in v0.5.3

func (*UnimplementedFileShareDockServer) DeleteFileShareSnapshot added in v0.5.3

type UnimplementedProvisionDockServer added in v0.5.3

type UnimplementedProvisionDockServer struct {
}

UnimplementedProvisionDockServer can be embedded to have forward compatible implementations.

func (*UnimplementedProvisionDockServer) CollectMetrics added in v0.5.3

func (*UnimplementedProvisionDockServer) CreateReplication added in v0.5.3

func (*UnimplementedProvisionDockServer) CreateVolume added in v0.5.3

func (*UnimplementedProvisionDockServer) CreateVolumeAttachment added in v0.5.3

func (*UnimplementedProvisionDockServer) CreateVolumeGroup added in v0.5.3

func (*UnimplementedProvisionDockServer) CreateVolumeSnapshot added in v0.5.3

func (*UnimplementedProvisionDockServer) DeleteReplication added in v0.5.3

func (*UnimplementedProvisionDockServer) DeleteVolume added in v0.5.3

func (*UnimplementedProvisionDockServer) DeleteVolumeAttachment added in v0.5.3

func (*UnimplementedProvisionDockServer) DeleteVolumeGroup added in v0.5.3

func (*UnimplementedProvisionDockServer) DeleteVolumeSnapshot added in v0.5.3

func (*UnimplementedProvisionDockServer) DisableReplication added in v0.5.3

func (*UnimplementedProvisionDockServer) EnableReplication added in v0.5.3

func (*UnimplementedProvisionDockServer) ExtendVolume added in v0.5.3

func (*UnimplementedProvisionDockServer) FailoverReplication added in v0.5.3

func (*UnimplementedProvisionDockServer) GetMetrics added in v0.12.0

func (*UnimplementedProvisionDockServer) GetUrls added in v0.12.0

func (*UnimplementedProvisionDockServer) UpdateVolumeGroup added in v0.5.3

type UpdateVolumeGroupOpts

type UpdateVolumeGroupOpts struct {
	// The uuid of the volume group, optional when updating.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The driver of the volume group.
	DriverName string `protobuf:"bytes,2,opt,name=driverName,proto3" json:"driverName,omitempty"`
	// The addVolumes contain UUIDs of volumes to be added to the group.
	AddVolumes []string `protobuf:"bytes,3,rep,name=addVolumes,proto3" json:"addVolumes,omitempty"`
	// The removeVolumes contains the volumes to be removed from the group.
	RemoveVolumes []string `protobuf:"bytes,4,rep,name=removeVolumes,proto3" json:"removeVolumes,omitempty"`
	// The pool belongs to the group.
	PoolId string `protobuf:"bytes,5,opt,name=poolId,proto3" json:"poolId,omitempty"`
	// The Context
	Context              string   `protobuf:"bytes,6,opt,name=context,proto3" json:"context,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateVolumeGroupOpts) Descriptor

func (*UpdateVolumeGroupOpts) Descriptor() ([]byte, []int)

func (*UpdateVolumeGroupOpts) GetAddVolumes

func (m *UpdateVolumeGroupOpts) GetAddVolumes() []string

func (*UpdateVolumeGroupOpts) GetContext

func (m *UpdateVolumeGroupOpts) GetContext() string

func (*UpdateVolumeGroupOpts) GetDriverName

func (m *UpdateVolumeGroupOpts) GetDriverName() string

func (*UpdateVolumeGroupOpts) GetId

func (m *UpdateVolumeGroupOpts) GetId() string

func (*UpdateVolumeGroupOpts) GetPoolId

func (m *UpdateVolumeGroupOpts) GetPoolId() string

func (*UpdateVolumeGroupOpts) GetRemoveVolumes

func (m *UpdateVolumeGroupOpts) GetRemoveVolumes() []string

func (*UpdateVolumeGroupOpts) ProtoMessage

func (*UpdateVolumeGroupOpts) ProtoMessage()

func (*UpdateVolumeGroupOpts) Reset

func (m *UpdateVolumeGroupOpts) Reset()

func (*UpdateVolumeGroupOpts) String

func (m *UpdateVolumeGroupOpts) String() string

func (*UpdateVolumeGroupOpts) XXX_DiscardUnknown

func (m *UpdateVolumeGroupOpts) XXX_DiscardUnknown()

func (*UpdateVolumeGroupOpts) XXX_Marshal

func (m *UpdateVolumeGroupOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateVolumeGroupOpts) XXX_Merge

func (m *UpdateVolumeGroupOpts) XXX_Merge(src proto.Message)

func (*UpdateVolumeGroupOpts) XXX_Size

func (m *UpdateVolumeGroupOpts) XXX_Size() int

func (*UpdateVolumeGroupOpts) XXX_Unmarshal

func (m *UpdateVolumeGroupOpts) XXX_Unmarshal(b []byte) error

type VolumeData

type VolumeData struct {
	Data                 map[string]string `` /* 149-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*VolumeData) Descriptor

func (*VolumeData) Descriptor() ([]byte, []int)

func (*VolumeData) GetData

func (m *VolumeData) GetData() map[string]string

func (*VolumeData) ProtoMessage

func (*VolumeData) ProtoMessage()

func (*VolumeData) Reset

func (m *VolumeData) Reset()

func (*VolumeData) String

func (m *VolumeData) String() string

func (*VolumeData) XXX_DiscardUnknown

func (m *VolumeData) XXX_DiscardUnknown()

func (*VolumeData) XXX_Marshal

func (m *VolumeData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VolumeData) XXX_Merge

func (m *VolumeData) XXX_Merge(src proto.Message)

func (*VolumeData) XXX_Size

func (m *VolumeData) XXX_Size() int

func (*VolumeData) XXX_Unmarshal

func (m *VolumeData) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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