Documentation ¶
Index ¶
- Variables
- func RegisterVolumeRuntimeServer(s *grpc.Server, srv VolumeRuntimeServer)
- type CreateVolumeRequest
- func (*CreateVolumeRequest) Descriptor() ([]byte, []int)
- func (m *CreateVolumeRequest) GetVolume() *Volume
- func (m *CreateVolumeRequest) Marshal() (dAtA []byte, err error)
- func (m *CreateVolumeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateVolumeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreateVolumeRequest) ProtoMessage()
- func (m *CreateVolumeRequest) Reset()
- func (m *CreateVolumeRequest) Size() (n int)
- func (this *CreateVolumeRequest) String() string
- func (m *CreateVolumeRequest) Unmarshal(dAtA []byte) error
- func (m *CreateVolumeRequest) XXX_DiscardUnknown()
- func (m *CreateVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateVolumeRequest) XXX_Merge(src proto.Message)
- func (m *CreateVolumeRequest) XXX_Size() int
- func (m *CreateVolumeRequest) XXX_Unmarshal(b []byte) error
- type CreateVolumeResponse
- func (*CreateVolumeResponse) Descriptor() ([]byte, []int)
- func (m *CreateVolumeResponse) GetVolume() *Volume
- func (m *CreateVolumeResponse) Marshal() (dAtA []byte, err error)
- func (m *CreateVolumeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateVolumeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreateVolumeResponse) ProtoMessage()
- func (m *CreateVolumeResponse) Reset()
- func (m *CreateVolumeResponse) Size() (n int)
- func (this *CreateVolumeResponse) String() string
- func (m *CreateVolumeResponse) Unmarshal(dAtA []byte) error
- func (m *CreateVolumeResponse) XXX_DiscardUnknown()
- func (m *CreateVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateVolumeResponse) XXX_Merge(src proto.Message)
- func (m *CreateVolumeResponse) XXX_Size() int
- func (m *CreateVolumeResponse) XXX_Unmarshal(b []byte) error
- type DeleteVolumeRequest
- func (*DeleteVolumeRequest) Descriptor() ([]byte, []int)
- func (m *DeleteVolumeRequest) GetVolumeId() string
- func (m *DeleteVolumeRequest) Marshal() (dAtA []byte, err error)
- func (m *DeleteVolumeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *DeleteVolumeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeleteVolumeRequest) ProtoMessage()
- func (m *DeleteVolumeRequest) Reset()
- func (m *DeleteVolumeRequest) Size() (n int)
- func (this *DeleteVolumeRequest) String() string
- func (m *DeleteVolumeRequest) Unmarshal(dAtA []byte) error
- func (m *DeleteVolumeRequest) XXX_DiscardUnknown()
- func (m *DeleteVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteVolumeRequest) XXX_Merge(src proto.Message)
- func (m *DeleteVolumeRequest) XXX_Size() int
- func (m *DeleteVolumeRequest) XXX_Unmarshal(b []byte) error
- type DeleteVolumeResponse
- func (*DeleteVolumeResponse) Descriptor() ([]byte, []int)
- func (m *DeleteVolumeResponse) Marshal() (dAtA []byte, err error)
- func (m *DeleteVolumeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *DeleteVolumeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeleteVolumeResponse) ProtoMessage()
- func (m *DeleteVolumeResponse) Reset()
- func (m *DeleteVolumeResponse) Size() (n int)
- func (this *DeleteVolumeResponse) String() string
- func (m *DeleteVolumeResponse) Unmarshal(dAtA []byte) error
- func (m *DeleteVolumeResponse) XXX_DiscardUnknown()
- func (m *DeleteVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteVolumeResponse) XXX_Merge(src proto.Message)
- func (m *DeleteVolumeResponse) XXX_Size() int
- func (m *DeleteVolumeResponse) XXX_Unmarshal(b []byte) error
- type EncryptionSpec
- func (*EncryptionSpec) Descriptor() ([]byte, []int)
- func (m *EncryptionSpec) GetSecretData() map[string][]byte
- func (m *EncryptionSpec) Marshal() (dAtA []byte, err error)
- func (m *EncryptionSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *EncryptionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EncryptionSpec) ProtoMessage()
- func (m *EncryptionSpec) Reset()
- func (m *EncryptionSpec) Size() (n int)
- func (this *EncryptionSpec) String() string
- func (m *EncryptionSpec) Unmarshal(dAtA []byte) error
- func (m *EncryptionSpec) XXX_DiscardUnknown()
- func (m *EncryptionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EncryptionSpec) XXX_Merge(src proto.Message)
- func (m *EncryptionSpec) XXX_Size() int
- func (m *EncryptionSpec) XXX_Unmarshal(b []byte) error
- type ListVolumeClassesRequest
- func (*ListVolumeClassesRequest) Descriptor() ([]byte, []int)
- func (m *ListVolumeClassesRequest) Marshal() (dAtA []byte, err error)
- func (m *ListVolumeClassesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ListVolumeClassesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListVolumeClassesRequest) ProtoMessage()
- func (m *ListVolumeClassesRequest) Reset()
- func (m *ListVolumeClassesRequest) Size() (n int)
- func (this *ListVolumeClassesRequest) String() string
- func (m *ListVolumeClassesRequest) Unmarshal(dAtA []byte) error
- func (m *ListVolumeClassesRequest) XXX_DiscardUnknown()
- func (m *ListVolumeClassesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListVolumeClassesRequest) XXX_Merge(src proto.Message)
- func (m *ListVolumeClassesRequest) XXX_Size() int
- func (m *ListVolumeClassesRequest) XXX_Unmarshal(b []byte) error
- type ListVolumeClassesResponse
- func (*ListVolumeClassesResponse) Descriptor() ([]byte, []int)
- func (m *ListVolumeClassesResponse) GetVolumeClasses() []*VolumeClass
- func (m *ListVolumeClassesResponse) Marshal() (dAtA []byte, err error)
- func (m *ListVolumeClassesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ListVolumeClassesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListVolumeClassesResponse) ProtoMessage()
- func (m *ListVolumeClassesResponse) Reset()
- func (m *ListVolumeClassesResponse) Size() (n int)
- func (this *ListVolumeClassesResponse) String() string
- func (m *ListVolumeClassesResponse) Unmarshal(dAtA []byte) error
- func (m *ListVolumeClassesResponse) XXX_DiscardUnknown()
- func (m *ListVolumeClassesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListVolumeClassesResponse) XXX_Merge(src proto.Message)
- func (m *ListVolumeClassesResponse) XXX_Size() int
- func (m *ListVolumeClassesResponse) XXX_Unmarshal(b []byte) error
- type ListVolumesRequest
- func (*ListVolumesRequest) Descriptor() ([]byte, []int)
- func (m *ListVolumesRequest) GetFilter() *VolumeFilter
- func (m *ListVolumesRequest) Marshal() (dAtA []byte, err error)
- func (m *ListVolumesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ListVolumesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListVolumesRequest) ProtoMessage()
- func (m *ListVolumesRequest) Reset()
- func (m *ListVolumesRequest) Size() (n int)
- func (this *ListVolumesRequest) String() string
- func (m *ListVolumesRequest) Unmarshal(dAtA []byte) error
- func (m *ListVolumesRequest) XXX_DiscardUnknown()
- func (m *ListVolumesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListVolumesRequest) XXX_Merge(src proto.Message)
- func (m *ListVolumesRequest) XXX_Size() int
- func (m *ListVolumesRequest) XXX_Unmarshal(b []byte) error
- type ListVolumesResponse
- func (*ListVolumesResponse) Descriptor() ([]byte, []int)
- func (m *ListVolumesResponse) GetVolumes() []*Volume
- func (m *ListVolumesResponse) Marshal() (dAtA []byte, err error)
- func (m *ListVolumesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ListVolumesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListVolumesResponse) ProtoMessage()
- func (m *ListVolumesResponse) Reset()
- func (m *ListVolumesResponse) Size() (n int)
- func (this *ListVolumesResponse) String() string
- func (m *ListVolumesResponse) Unmarshal(dAtA []byte) error
- func (m *ListVolumesResponse) XXX_DiscardUnknown()
- func (m *ListVolumesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListVolumesResponse) XXX_Merge(src proto.Message)
- func (m *ListVolumesResponse) XXX_Size() int
- func (m *ListVolumesResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedVolumeRuntimeServer
- func (*UnimplementedVolumeRuntimeServer) CreateVolume(ctx context.Context, req *CreateVolumeRequest) (*CreateVolumeResponse, error)
- func (*UnimplementedVolumeRuntimeServer) DeleteVolume(ctx context.Context, req *DeleteVolumeRequest) (*DeleteVolumeResponse, error)
- func (*UnimplementedVolumeRuntimeServer) ListVolumeClasses(ctx context.Context, req *ListVolumeClassesRequest) (*ListVolumeClassesResponse, error)
- func (*UnimplementedVolumeRuntimeServer) ListVolumes(ctx context.Context, req *ListVolumesRequest) (*ListVolumesResponse, error)
- type Volume
- func (*Volume) Descriptor() ([]byte, []int)
- func (m *Volume) GetMetadata() *v1alpha1.ObjectMetadata
- func (m *Volume) GetSpec() *VolumeSpec
- func (m *Volume) GetStatus() *VolumeStatus
- func (m *Volume) Marshal() (dAtA []byte, err error)
- func (m *Volume) MarshalTo(dAtA []byte) (int, error)
- func (m *Volume) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Volume) ProtoMessage()
- func (m *Volume) Reset()
- func (m *Volume) Size() (n int)
- func (this *Volume) String() string
- func (m *Volume) Unmarshal(dAtA []byte) error
- func (m *Volume) XXX_DiscardUnknown()
- func (m *Volume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Volume) XXX_Merge(src proto.Message)
- func (m *Volume) XXX_Size() int
- func (m *Volume) XXX_Unmarshal(b []byte) error
- type VolumeAccess
- func (*VolumeAccess) Descriptor() ([]byte, []int)
- func (m *VolumeAccess) GetAttributes() map[string]string
- func (m *VolumeAccess) GetDriver() string
- func (m *VolumeAccess) GetHandle() string
- func (m *VolumeAccess) GetSecretData() map[string][]byte
- func (m *VolumeAccess) Marshal() (dAtA []byte, err error)
- func (m *VolumeAccess) MarshalTo(dAtA []byte) (int, error)
- func (m *VolumeAccess) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VolumeAccess) ProtoMessage()
- func (m *VolumeAccess) Reset()
- func (m *VolumeAccess) Size() (n int)
- func (this *VolumeAccess) String() string
- func (m *VolumeAccess) Unmarshal(dAtA []byte) error
- func (m *VolumeAccess) XXX_DiscardUnknown()
- func (m *VolumeAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VolumeAccess) XXX_Merge(src proto.Message)
- func (m *VolumeAccess) XXX_Size() int
- func (m *VolumeAccess) XXX_Unmarshal(b []byte) error
- type VolumeClass
- func (*VolumeClass) Descriptor() ([]byte, []int)
- func (m *VolumeClass) GetCapabilities() *VolumeClassCapabilities
- func (m *VolumeClass) GetName() string
- func (m *VolumeClass) Marshal() (dAtA []byte, err error)
- func (m *VolumeClass) MarshalTo(dAtA []byte) (int, error)
- func (m *VolumeClass) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VolumeClass) ProtoMessage()
- func (m *VolumeClass) Reset()
- func (m *VolumeClass) Size() (n int)
- func (this *VolumeClass) String() string
- func (m *VolumeClass) Unmarshal(dAtA []byte) error
- func (m *VolumeClass) XXX_DiscardUnknown()
- func (m *VolumeClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VolumeClass) XXX_Merge(src proto.Message)
- func (m *VolumeClass) XXX_Size() int
- func (m *VolumeClass) XXX_Unmarshal(b []byte) error
- type VolumeClassCapabilities
- func (*VolumeClassCapabilities) Descriptor() ([]byte, []int)
- func (m *VolumeClassCapabilities) GetIops() int64
- func (m *VolumeClassCapabilities) GetTps() int64
- func (m *VolumeClassCapabilities) Marshal() (dAtA []byte, err error)
- func (m *VolumeClassCapabilities) MarshalTo(dAtA []byte) (int, error)
- func (m *VolumeClassCapabilities) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VolumeClassCapabilities) ProtoMessage()
- func (m *VolumeClassCapabilities) Reset()
- func (m *VolumeClassCapabilities) Size() (n int)
- func (this *VolumeClassCapabilities) String() string
- func (m *VolumeClassCapabilities) Unmarshal(dAtA []byte) error
- func (m *VolumeClassCapabilities) XXX_DiscardUnknown()
- func (m *VolumeClassCapabilities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VolumeClassCapabilities) XXX_Merge(src proto.Message)
- func (m *VolumeClassCapabilities) XXX_Size() int
- func (m *VolumeClassCapabilities) XXX_Unmarshal(b []byte) error
- type VolumeFilter
- func (*VolumeFilter) Descriptor() ([]byte, []int)
- func (m *VolumeFilter) GetId() string
- func (m *VolumeFilter) GetLabelSelector() map[string]string
- func (m *VolumeFilter) Marshal() (dAtA []byte, err error)
- func (m *VolumeFilter) MarshalTo(dAtA []byte) (int, error)
- func (m *VolumeFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VolumeFilter) ProtoMessage()
- func (m *VolumeFilter) Reset()
- func (m *VolumeFilter) Size() (n int)
- func (this *VolumeFilter) String() string
- func (m *VolumeFilter) Unmarshal(dAtA []byte) error
- func (m *VolumeFilter) XXX_DiscardUnknown()
- func (m *VolumeFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VolumeFilter) XXX_Merge(src proto.Message)
- func (m *VolumeFilter) XXX_Size() int
- func (m *VolumeFilter) XXX_Unmarshal(b []byte) error
- type VolumeResources
- func (*VolumeResources) Descriptor() ([]byte, []int)
- func (m *VolumeResources) GetStorageBytes() uint64
- func (m *VolumeResources) Marshal() (dAtA []byte, err error)
- func (m *VolumeResources) MarshalTo(dAtA []byte) (int, error)
- func (m *VolumeResources) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VolumeResources) ProtoMessage()
- func (m *VolumeResources) Reset()
- func (m *VolumeResources) Size() (n int)
- func (this *VolumeResources) String() string
- func (m *VolumeResources) Unmarshal(dAtA []byte) error
- func (m *VolumeResources) XXX_DiscardUnknown()
- func (m *VolumeResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VolumeResources) XXX_Merge(src proto.Message)
- func (m *VolumeResources) XXX_Size() int
- func (m *VolumeResources) XXX_Unmarshal(b []byte) error
- type VolumeRuntimeClient
- type VolumeRuntimeServer
- type VolumeSpec
- func (*VolumeSpec) Descriptor() ([]byte, []int)
- func (m *VolumeSpec) GetClass() string
- func (m *VolumeSpec) GetEncryption() *EncryptionSpec
- func (m *VolumeSpec) GetImage() string
- func (m *VolumeSpec) GetResources() *VolumeResources
- func (m *VolumeSpec) Marshal() (dAtA []byte, err error)
- func (m *VolumeSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *VolumeSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VolumeSpec) ProtoMessage()
- func (m *VolumeSpec) Reset()
- func (m *VolumeSpec) Size() (n int)
- func (this *VolumeSpec) String() string
- func (m *VolumeSpec) Unmarshal(dAtA []byte) error
- func (m *VolumeSpec) XXX_DiscardUnknown()
- func (m *VolumeSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VolumeSpec) XXX_Merge(src proto.Message)
- func (m *VolumeSpec) XXX_Size() int
- func (m *VolumeSpec) XXX_Unmarshal(b []byte) error
- type VolumeState
- type VolumeStatus
- func (*VolumeStatus) Descriptor() ([]byte, []int)
- func (m *VolumeStatus) GetAccess() *VolumeAccess
- func (m *VolumeStatus) GetState() VolumeState
- func (m *VolumeStatus) Marshal() (dAtA []byte, err error)
- func (m *VolumeStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *VolumeStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VolumeStatus) ProtoMessage()
- func (m *VolumeStatus) Reset()
- func (m *VolumeStatus) Size() (n int)
- func (this *VolumeStatus) String() string
- func (m *VolumeStatus) Unmarshal(dAtA []byte) error
- func (m *VolumeStatus) XXX_DiscardUnknown()
- func (m *VolumeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VolumeStatus) XXX_Merge(src proto.Message)
- func (m *VolumeStatus) XXX_Size() int
- func (m *VolumeStatus) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowApi = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupApi = fmt.Errorf("proto: unexpected end of group") )
View Source
var VolumeState_name = map[int32]string{
0: "VOLUME_PENDING",
1: "VOLUME_AVAILABLE",
2: "VOLUME_ERROR",
}
View Source
var VolumeState_value = map[string]int32{
"VOLUME_PENDING": 0,
"VOLUME_AVAILABLE": 1,
"VOLUME_ERROR": 2,
}
Functions ¶
func RegisterVolumeRuntimeServer ¶
func RegisterVolumeRuntimeServer(s *grpc.Server, srv VolumeRuntimeServer)
Types ¶
type CreateVolumeRequest ¶
type CreateVolumeRequest struct { Volume *Volume `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateVolumeRequest) Descriptor ¶
func (*CreateVolumeRequest) Descriptor() ([]byte, []int)
func (*CreateVolumeRequest) GetVolume ¶
func (m *CreateVolumeRequest) GetVolume() *Volume
func (*CreateVolumeRequest) Marshal ¶
func (m *CreateVolumeRequest) Marshal() (dAtA []byte, err error)
func (*CreateVolumeRequest) MarshalTo ¶
func (m *CreateVolumeRequest) MarshalTo(dAtA []byte) (int, error)
func (*CreateVolumeRequest) MarshalToSizedBuffer ¶
func (m *CreateVolumeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateVolumeRequest) ProtoMessage ¶
func (*CreateVolumeRequest) ProtoMessage()
func (*CreateVolumeRequest) Reset ¶
func (m *CreateVolumeRequest) Reset()
func (*CreateVolumeRequest) Size ¶
func (m *CreateVolumeRequest) Size() (n int)
func (*CreateVolumeRequest) String ¶
func (this *CreateVolumeRequest) String() string
func (*CreateVolumeRequest) Unmarshal ¶
func (m *CreateVolumeRequest) Unmarshal(dAtA []byte) error
func (*CreateVolumeRequest) XXX_DiscardUnknown ¶
func (m *CreateVolumeRequest) XXX_DiscardUnknown()
func (*CreateVolumeRequest) XXX_Marshal ¶
func (m *CreateVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateVolumeRequest) XXX_Merge ¶
func (m *CreateVolumeRequest) XXX_Merge(src proto.Message)
func (*CreateVolumeRequest) XXX_Size ¶
func (m *CreateVolumeRequest) XXX_Size() int
func (*CreateVolumeRequest) XXX_Unmarshal ¶
func (m *CreateVolumeRequest) XXX_Unmarshal(b []byte) error
type CreateVolumeResponse ¶
type CreateVolumeResponse struct { Volume *Volume `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateVolumeResponse) Descriptor ¶
func (*CreateVolumeResponse) Descriptor() ([]byte, []int)
func (*CreateVolumeResponse) GetVolume ¶
func (m *CreateVolumeResponse) GetVolume() *Volume
func (*CreateVolumeResponse) Marshal ¶
func (m *CreateVolumeResponse) Marshal() (dAtA []byte, err error)
func (*CreateVolumeResponse) MarshalTo ¶
func (m *CreateVolumeResponse) MarshalTo(dAtA []byte) (int, error)
func (*CreateVolumeResponse) MarshalToSizedBuffer ¶
func (m *CreateVolumeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateVolumeResponse) ProtoMessage ¶
func (*CreateVolumeResponse) ProtoMessage()
func (*CreateVolumeResponse) Reset ¶
func (m *CreateVolumeResponse) Reset()
func (*CreateVolumeResponse) Size ¶
func (m *CreateVolumeResponse) Size() (n int)
func (*CreateVolumeResponse) String ¶
func (this *CreateVolumeResponse) String() string
func (*CreateVolumeResponse) Unmarshal ¶
func (m *CreateVolumeResponse) Unmarshal(dAtA []byte) error
func (*CreateVolumeResponse) XXX_DiscardUnknown ¶
func (m *CreateVolumeResponse) XXX_DiscardUnknown()
func (*CreateVolumeResponse) XXX_Marshal ¶
func (m *CreateVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateVolumeResponse) XXX_Merge ¶
func (m *CreateVolumeResponse) XXX_Merge(src proto.Message)
func (*CreateVolumeResponse) XXX_Size ¶
func (m *CreateVolumeResponse) XXX_Size() int
func (*CreateVolumeResponse) XXX_Unmarshal ¶
func (m *CreateVolumeResponse) XXX_Unmarshal(b []byte) error
type DeleteVolumeRequest ¶
type DeleteVolumeRequest struct { VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteVolumeRequest) Descriptor ¶
func (*DeleteVolumeRequest) Descriptor() ([]byte, []int)
func (*DeleteVolumeRequest) GetVolumeId ¶
func (m *DeleteVolumeRequest) GetVolumeId() string
func (*DeleteVolumeRequest) Marshal ¶
func (m *DeleteVolumeRequest) Marshal() (dAtA []byte, err error)
func (*DeleteVolumeRequest) MarshalTo ¶
func (m *DeleteVolumeRequest) MarshalTo(dAtA []byte) (int, error)
func (*DeleteVolumeRequest) MarshalToSizedBuffer ¶
func (m *DeleteVolumeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeleteVolumeRequest) ProtoMessage ¶
func (*DeleteVolumeRequest) ProtoMessage()
func (*DeleteVolumeRequest) Reset ¶
func (m *DeleteVolumeRequest) Reset()
func (*DeleteVolumeRequest) Size ¶
func (m *DeleteVolumeRequest) Size() (n int)
func (*DeleteVolumeRequest) String ¶
func (this *DeleteVolumeRequest) String() string
func (*DeleteVolumeRequest) Unmarshal ¶
func (m *DeleteVolumeRequest) Unmarshal(dAtA []byte) error
func (*DeleteVolumeRequest) XXX_DiscardUnknown ¶
func (m *DeleteVolumeRequest) XXX_DiscardUnknown()
func (*DeleteVolumeRequest) XXX_Marshal ¶
func (m *DeleteVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteVolumeRequest) XXX_Merge ¶
func (m *DeleteVolumeRequest) XXX_Merge(src proto.Message)
func (*DeleteVolumeRequest) XXX_Size ¶
func (m *DeleteVolumeRequest) XXX_Size() int
func (*DeleteVolumeRequest) XXX_Unmarshal ¶
func (m *DeleteVolumeRequest) XXX_Unmarshal(b []byte) error
type DeleteVolumeResponse ¶
type DeleteVolumeResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteVolumeResponse) Descriptor ¶
func (*DeleteVolumeResponse) Descriptor() ([]byte, []int)
func (*DeleteVolumeResponse) Marshal ¶
func (m *DeleteVolumeResponse) Marshal() (dAtA []byte, err error)
func (*DeleteVolumeResponse) MarshalTo ¶
func (m *DeleteVolumeResponse) MarshalTo(dAtA []byte) (int, error)
func (*DeleteVolumeResponse) MarshalToSizedBuffer ¶
func (m *DeleteVolumeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeleteVolumeResponse) ProtoMessage ¶
func (*DeleteVolumeResponse) ProtoMessage()
func (*DeleteVolumeResponse) Reset ¶
func (m *DeleteVolumeResponse) Reset()
func (*DeleteVolumeResponse) Size ¶
func (m *DeleteVolumeResponse) Size() (n int)
func (*DeleteVolumeResponse) String ¶
func (this *DeleteVolumeResponse) String() string
func (*DeleteVolumeResponse) Unmarshal ¶
func (m *DeleteVolumeResponse) Unmarshal(dAtA []byte) error
func (*DeleteVolumeResponse) XXX_DiscardUnknown ¶
func (m *DeleteVolumeResponse) XXX_DiscardUnknown()
func (*DeleteVolumeResponse) XXX_Marshal ¶
func (m *DeleteVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteVolumeResponse) XXX_Merge ¶
func (m *DeleteVolumeResponse) XXX_Merge(src proto.Message)
func (*DeleteVolumeResponse) XXX_Size ¶
func (m *DeleteVolumeResponse) XXX_Size() int
func (*DeleteVolumeResponse) XXX_Unmarshal ¶
func (m *DeleteVolumeResponse) XXX_Unmarshal(b []byte) error
type EncryptionSpec ¶ added in v0.1.1
type EncryptionSpec struct { SecretData map[string][]byte `` /* 179-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EncryptionSpec) Descriptor ¶ added in v0.1.1
func (*EncryptionSpec) Descriptor() ([]byte, []int)
func (*EncryptionSpec) GetSecretData ¶ added in v0.1.1
func (m *EncryptionSpec) GetSecretData() map[string][]byte
func (*EncryptionSpec) Marshal ¶ added in v0.1.1
func (m *EncryptionSpec) Marshal() (dAtA []byte, err error)
func (*EncryptionSpec) MarshalTo ¶ added in v0.1.1
func (m *EncryptionSpec) MarshalTo(dAtA []byte) (int, error)
func (*EncryptionSpec) MarshalToSizedBuffer ¶ added in v0.1.1
func (m *EncryptionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EncryptionSpec) ProtoMessage ¶ added in v0.1.1
func (*EncryptionSpec) ProtoMessage()
func (*EncryptionSpec) Reset ¶ added in v0.1.1
func (m *EncryptionSpec) Reset()
func (*EncryptionSpec) Size ¶ added in v0.1.1
func (m *EncryptionSpec) Size() (n int)
func (*EncryptionSpec) String ¶ added in v0.1.1
func (this *EncryptionSpec) String() string
func (*EncryptionSpec) Unmarshal ¶ added in v0.1.1
func (m *EncryptionSpec) Unmarshal(dAtA []byte) error
func (*EncryptionSpec) XXX_DiscardUnknown ¶ added in v0.1.1
func (m *EncryptionSpec) XXX_DiscardUnknown()
func (*EncryptionSpec) XXX_Marshal ¶ added in v0.1.1
func (m *EncryptionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EncryptionSpec) XXX_Merge ¶ added in v0.1.1
func (m *EncryptionSpec) XXX_Merge(src proto.Message)
func (*EncryptionSpec) XXX_Size ¶ added in v0.1.1
func (m *EncryptionSpec) XXX_Size() int
func (*EncryptionSpec) XXX_Unmarshal ¶ added in v0.1.1
func (m *EncryptionSpec) XXX_Unmarshal(b []byte) error
type ListVolumeClassesRequest ¶
type ListVolumeClassesRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListVolumeClassesRequest) Descriptor ¶
func (*ListVolumeClassesRequest) Descriptor() ([]byte, []int)
func (*ListVolumeClassesRequest) Marshal ¶
func (m *ListVolumeClassesRequest) Marshal() (dAtA []byte, err error)
func (*ListVolumeClassesRequest) MarshalTo ¶
func (m *ListVolumeClassesRequest) MarshalTo(dAtA []byte) (int, error)
func (*ListVolumeClassesRequest) MarshalToSizedBuffer ¶
func (m *ListVolumeClassesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListVolumeClassesRequest) ProtoMessage ¶
func (*ListVolumeClassesRequest) ProtoMessage()
func (*ListVolumeClassesRequest) Reset ¶
func (m *ListVolumeClassesRequest) Reset()
func (*ListVolumeClassesRequest) Size ¶
func (m *ListVolumeClassesRequest) Size() (n int)
func (*ListVolumeClassesRequest) String ¶
func (this *ListVolumeClassesRequest) String() string
func (*ListVolumeClassesRequest) Unmarshal ¶
func (m *ListVolumeClassesRequest) Unmarshal(dAtA []byte) error
func (*ListVolumeClassesRequest) XXX_DiscardUnknown ¶
func (m *ListVolumeClassesRequest) XXX_DiscardUnknown()
func (*ListVolumeClassesRequest) XXX_Marshal ¶
func (m *ListVolumeClassesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListVolumeClassesRequest) XXX_Merge ¶
func (m *ListVolumeClassesRequest) XXX_Merge(src proto.Message)
func (*ListVolumeClassesRequest) XXX_Size ¶
func (m *ListVolumeClassesRequest) XXX_Size() int
func (*ListVolumeClassesRequest) XXX_Unmarshal ¶
func (m *ListVolumeClassesRequest) XXX_Unmarshal(b []byte) error
type ListVolumeClassesResponse ¶
type ListVolumeClassesResponse struct { VolumeClasses []*VolumeClass `protobuf:"bytes,1,rep,name=volume_classes,json=volumeClasses,proto3" json:"volume_classes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListVolumeClassesResponse) Descriptor ¶
func (*ListVolumeClassesResponse) Descriptor() ([]byte, []int)
func (*ListVolumeClassesResponse) GetVolumeClasses ¶
func (m *ListVolumeClassesResponse) GetVolumeClasses() []*VolumeClass
func (*ListVolumeClassesResponse) Marshal ¶
func (m *ListVolumeClassesResponse) Marshal() (dAtA []byte, err error)
func (*ListVolumeClassesResponse) MarshalTo ¶
func (m *ListVolumeClassesResponse) MarshalTo(dAtA []byte) (int, error)
func (*ListVolumeClassesResponse) MarshalToSizedBuffer ¶
func (m *ListVolumeClassesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListVolumeClassesResponse) ProtoMessage ¶
func (*ListVolumeClassesResponse) ProtoMessage()
func (*ListVolumeClassesResponse) Reset ¶
func (m *ListVolumeClassesResponse) Reset()
func (*ListVolumeClassesResponse) Size ¶
func (m *ListVolumeClassesResponse) Size() (n int)
func (*ListVolumeClassesResponse) String ¶
func (this *ListVolumeClassesResponse) String() string
func (*ListVolumeClassesResponse) Unmarshal ¶
func (m *ListVolumeClassesResponse) Unmarshal(dAtA []byte) error
func (*ListVolumeClassesResponse) XXX_DiscardUnknown ¶
func (m *ListVolumeClassesResponse) XXX_DiscardUnknown()
func (*ListVolumeClassesResponse) XXX_Marshal ¶
func (m *ListVolumeClassesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListVolumeClassesResponse) XXX_Merge ¶
func (m *ListVolumeClassesResponse) XXX_Merge(src proto.Message)
func (*ListVolumeClassesResponse) XXX_Size ¶
func (m *ListVolumeClassesResponse) XXX_Size() int
func (*ListVolumeClassesResponse) XXX_Unmarshal ¶
func (m *ListVolumeClassesResponse) XXX_Unmarshal(b []byte) error
type ListVolumesRequest ¶
type ListVolumesRequest struct { Filter *VolumeFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListVolumesRequest) Descriptor ¶
func (*ListVolumesRequest) Descriptor() ([]byte, []int)
func (*ListVolumesRequest) GetFilter ¶
func (m *ListVolumesRequest) GetFilter() *VolumeFilter
func (*ListVolumesRequest) Marshal ¶
func (m *ListVolumesRequest) Marshal() (dAtA []byte, err error)
func (*ListVolumesRequest) MarshalTo ¶
func (m *ListVolumesRequest) MarshalTo(dAtA []byte) (int, error)
func (*ListVolumesRequest) MarshalToSizedBuffer ¶
func (m *ListVolumesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListVolumesRequest) ProtoMessage ¶
func (*ListVolumesRequest) ProtoMessage()
func (*ListVolumesRequest) Reset ¶
func (m *ListVolumesRequest) Reset()
func (*ListVolumesRequest) Size ¶
func (m *ListVolumesRequest) Size() (n int)
func (*ListVolumesRequest) String ¶
func (this *ListVolumesRequest) String() string
func (*ListVolumesRequest) Unmarshal ¶
func (m *ListVolumesRequest) Unmarshal(dAtA []byte) error
func (*ListVolumesRequest) XXX_DiscardUnknown ¶
func (m *ListVolumesRequest) XXX_DiscardUnknown()
func (*ListVolumesRequest) XXX_Marshal ¶
func (m *ListVolumesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListVolumesRequest) XXX_Merge ¶
func (m *ListVolumesRequest) XXX_Merge(src proto.Message)
func (*ListVolumesRequest) XXX_Size ¶
func (m *ListVolumesRequest) XXX_Size() int
func (*ListVolumesRequest) XXX_Unmarshal ¶
func (m *ListVolumesRequest) XXX_Unmarshal(b []byte) error
type ListVolumesResponse ¶
type ListVolumesResponse struct { Volumes []*Volume `protobuf:"bytes,1,rep,name=volumes,proto3" json:"volumes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListVolumesResponse) Descriptor ¶
func (*ListVolumesResponse) Descriptor() ([]byte, []int)
func (*ListVolumesResponse) GetVolumes ¶
func (m *ListVolumesResponse) GetVolumes() []*Volume
func (*ListVolumesResponse) Marshal ¶
func (m *ListVolumesResponse) Marshal() (dAtA []byte, err error)
func (*ListVolumesResponse) MarshalTo ¶
func (m *ListVolumesResponse) MarshalTo(dAtA []byte) (int, error)
func (*ListVolumesResponse) MarshalToSizedBuffer ¶
func (m *ListVolumesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListVolumesResponse) ProtoMessage ¶
func (*ListVolumesResponse) ProtoMessage()
func (*ListVolumesResponse) Reset ¶
func (m *ListVolumesResponse) Reset()
func (*ListVolumesResponse) Size ¶
func (m *ListVolumesResponse) Size() (n int)
func (*ListVolumesResponse) String ¶
func (this *ListVolumesResponse) String() string
func (*ListVolumesResponse) Unmarshal ¶
func (m *ListVolumesResponse) Unmarshal(dAtA []byte) error
func (*ListVolumesResponse) XXX_DiscardUnknown ¶
func (m *ListVolumesResponse) XXX_DiscardUnknown()
func (*ListVolumesResponse) XXX_Marshal ¶
func (m *ListVolumesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListVolumesResponse) XXX_Merge ¶
func (m *ListVolumesResponse) XXX_Merge(src proto.Message)
func (*ListVolumesResponse) XXX_Size ¶
func (m *ListVolumesResponse) XXX_Size() int
func (*ListVolumesResponse) XXX_Unmarshal ¶
func (m *ListVolumesResponse) XXX_Unmarshal(b []byte) error
type UnimplementedVolumeRuntimeServer ¶
type UnimplementedVolumeRuntimeServer struct { }
UnimplementedVolumeRuntimeServer can be embedded to have forward compatible implementations.
func (*UnimplementedVolumeRuntimeServer) CreateVolume ¶
func (*UnimplementedVolumeRuntimeServer) CreateVolume(ctx context.Context, req *CreateVolumeRequest) (*CreateVolumeResponse, error)
func (*UnimplementedVolumeRuntimeServer) DeleteVolume ¶
func (*UnimplementedVolumeRuntimeServer) DeleteVolume(ctx context.Context, req *DeleteVolumeRequest) (*DeleteVolumeResponse, error)
func (*UnimplementedVolumeRuntimeServer) ListVolumeClasses ¶
func (*UnimplementedVolumeRuntimeServer) ListVolumeClasses(ctx context.Context, req *ListVolumeClassesRequest) (*ListVolumeClassesResponse, error)
func (*UnimplementedVolumeRuntimeServer) ListVolumes ¶
func (*UnimplementedVolumeRuntimeServer) ListVolumes(ctx context.Context, req *ListVolumesRequest) (*ListVolumesResponse, error)
type Volume ¶
type Volume struct { Metadata *v1alpha1.ObjectMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Spec *VolumeSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` Status *VolumeStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Volume) Descriptor ¶
func (*Volume) GetMetadata ¶
func (m *Volume) GetMetadata() *v1alpha1.ObjectMetadata
func (*Volume) GetSpec ¶
func (m *Volume) GetSpec() *VolumeSpec
func (*Volume) GetStatus ¶
func (m *Volume) GetStatus() *VolumeStatus
func (*Volume) MarshalToSizedBuffer ¶
func (*Volume) ProtoMessage ¶
func (*Volume) ProtoMessage()
func (*Volume) XXX_DiscardUnknown ¶
func (m *Volume) XXX_DiscardUnknown()
func (*Volume) XXX_Marshal ¶
func (*Volume) XXX_Unmarshal ¶
type VolumeAccess ¶
type VolumeAccess struct { Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"` Handle string `protobuf:"bytes,2,opt,name=handle,proto3" json:"handle,omitempty"` Attributes map[string]string `` /* 161-byte string literal not displayed */ SecretData map[string][]byte `` /* 179-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VolumeAccess) Descriptor ¶
func (*VolumeAccess) Descriptor() ([]byte, []int)
func (*VolumeAccess) GetAttributes ¶
func (m *VolumeAccess) GetAttributes() map[string]string
func (*VolumeAccess) GetDriver ¶
func (m *VolumeAccess) GetDriver() string
func (*VolumeAccess) GetHandle ¶
func (m *VolumeAccess) GetHandle() string
func (*VolumeAccess) GetSecretData ¶
func (m *VolumeAccess) GetSecretData() map[string][]byte
func (*VolumeAccess) Marshal ¶
func (m *VolumeAccess) Marshal() (dAtA []byte, err error)
func (*VolumeAccess) MarshalToSizedBuffer ¶
func (m *VolumeAccess) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VolumeAccess) ProtoMessage ¶
func (*VolumeAccess) ProtoMessage()
func (*VolumeAccess) Reset ¶
func (m *VolumeAccess) Reset()
func (*VolumeAccess) Size ¶
func (m *VolumeAccess) Size() (n int)
func (*VolumeAccess) String ¶
func (this *VolumeAccess) String() string
func (*VolumeAccess) Unmarshal ¶
func (m *VolumeAccess) Unmarshal(dAtA []byte) error
func (*VolumeAccess) XXX_DiscardUnknown ¶
func (m *VolumeAccess) XXX_DiscardUnknown()
func (*VolumeAccess) XXX_Marshal ¶
func (m *VolumeAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VolumeAccess) XXX_Merge ¶
func (m *VolumeAccess) XXX_Merge(src proto.Message)
func (*VolumeAccess) XXX_Size ¶
func (m *VolumeAccess) XXX_Size() int
func (*VolumeAccess) XXX_Unmarshal ¶
func (m *VolumeAccess) XXX_Unmarshal(b []byte) error
type VolumeClass ¶
type VolumeClass struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Capabilities *VolumeClassCapabilities `protobuf:"bytes,2,opt,name=capabilities,proto3" json:"capabilities,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VolumeClass) Descriptor ¶
func (*VolumeClass) Descriptor() ([]byte, []int)
func (*VolumeClass) GetCapabilities ¶
func (m *VolumeClass) GetCapabilities() *VolumeClassCapabilities
func (*VolumeClass) GetName ¶
func (m *VolumeClass) GetName() string
func (*VolumeClass) Marshal ¶
func (m *VolumeClass) Marshal() (dAtA []byte, err error)
func (*VolumeClass) MarshalToSizedBuffer ¶
func (m *VolumeClass) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VolumeClass) ProtoMessage ¶
func (*VolumeClass) ProtoMessage()
func (*VolumeClass) Reset ¶
func (m *VolumeClass) Reset()
func (*VolumeClass) Size ¶
func (m *VolumeClass) Size() (n int)
func (*VolumeClass) String ¶
func (this *VolumeClass) String() string
func (*VolumeClass) Unmarshal ¶
func (m *VolumeClass) Unmarshal(dAtA []byte) error
func (*VolumeClass) XXX_DiscardUnknown ¶
func (m *VolumeClass) XXX_DiscardUnknown()
func (*VolumeClass) XXX_Marshal ¶
func (m *VolumeClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VolumeClass) XXX_Merge ¶
func (m *VolumeClass) XXX_Merge(src proto.Message)
func (*VolumeClass) XXX_Size ¶
func (m *VolumeClass) XXX_Size() int
func (*VolumeClass) XXX_Unmarshal ¶
func (m *VolumeClass) XXX_Unmarshal(b []byte) error
type VolumeClassCapabilities ¶
type VolumeClassCapabilities struct { Tps int64 `protobuf:"varint,1,opt,name=tps,proto3" json:"tps,omitempty"` Iops int64 `protobuf:"varint,2,opt,name=iops,proto3" json:"iops,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VolumeClassCapabilities) Descriptor ¶
func (*VolumeClassCapabilities) Descriptor() ([]byte, []int)
func (*VolumeClassCapabilities) GetIops ¶
func (m *VolumeClassCapabilities) GetIops() int64
func (*VolumeClassCapabilities) GetTps ¶
func (m *VolumeClassCapabilities) GetTps() int64
func (*VolumeClassCapabilities) Marshal ¶
func (m *VolumeClassCapabilities) Marshal() (dAtA []byte, err error)
func (*VolumeClassCapabilities) MarshalTo ¶
func (m *VolumeClassCapabilities) MarshalTo(dAtA []byte) (int, error)
func (*VolumeClassCapabilities) MarshalToSizedBuffer ¶
func (m *VolumeClassCapabilities) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VolumeClassCapabilities) ProtoMessage ¶
func (*VolumeClassCapabilities) ProtoMessage()
func (*VolumeClassCapabilities) Reset ¶
func (m *VolumeClassCapabilities) Reset()
func (*VolumeClassCapabilities) Size ¶
func (m *VolumeClassCapabilities) Size() (n int)
func (*VolumeClassCapabilities) String ¶
func (this *VolumeClassCapabilities) String() string
func (*VolumeClassCapabilities) Unmarshal ¶
func (m *VolumeClassCapabilities) Unmarshal(dAtA []byte) error
func (*VolumeClassCapabilities) XXX_DiscardUnknown ¶
func (m *VolumeClassCapabilities) XXX_DiscardUnknown()
func (*VolumeClassCapabilities) XXX_Marshal ¶
func (m *VolumeClassCapabilities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VolumeClassCapabilities) XXX_Merge ¶
func (m *VolumeClassCapabilities) XXX_Merge(src proto.Message)
func (*VolumeClassCapabilities) XXX_Size ¶
func (m *VolumeClassCapabilities) XXX_Size() int
func (*VolumeClassCapabilities) XXX_Unmarshal ¶
func (m *VolumeClassCapabilities) XXX_Unmarshal(b []byte) error
type VolumeFilter ¶
type VolumeFilter struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` LabelSelector map[string]string `` /* 188-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VolumeFilter) Descriptor ¶
func (*VolumeFilter) Descriptor() ([]byte, []int)
func (*VolumeFilter) GetId ¶
func (m *VolumeFilter) GetId() string
func (*VolumeFilter) GetLabelSelector ¶
func (m *VolumeFilter) GetLabelSelector() map[string]string
func (*VolumeFilter) Marshal ¶
func (m *VolumeFilter) Marshal() (dAtA []byte, err error)
func (*VolumeFilter) MarshalToSizedBuffer ¶
func (m *VolumeFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VolumeFilter) ProtoMessage ¶
func (*VolumeFilter) ProtoMessage()
func (*VolumeFilter) Reset ¶
func (m *VolumeFilter) Reset()
func (*VolumeFilter) Size ¶
func (m *VolumeFilter) Size() (n int)
func (*VolumeFilter) String ¶
func (this *VolumeFilter) String() string
func (*VolumeFilter) Unmarshal ¶
func (m *VolumeFilter) Unmarshal(dAtA []byte) error
func (*VolumeFilter) XXX_DiscardUnknown ¶
func (m *VolumeFilter) XXX_DiscardUnknown()
func (*VolumeFilter) XXX_Marshal ¶
func (m *VolumeFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VolumeFilter) XXX_Merge ¶
func (m *VolumeFilter) XXX_Merge(src proto.Message)
func (*VolumeFilter) XXX_Size ¶
func (m *VolumeFilter) XXX_Size() int
func (*VolumeFilter) XXX_Unmarshal ¶
func (m *VolumeFilter) XXX_Unmarshal(b []byte) error
type VolumeResources ¶
type VolumeResources struct { StorageBytes uint64 `protobuf:"varint,1,opt,name=storage_bytes,json=storageBytes,proto3" json:"storage_bytes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VolumeResources) Descriptor ¶
func (*VolumeResources) Descriptor() ([]byte, []int)
func (*VolumeResources) GetStorageBytes ¶
func (m *VolumeResources) GetStorageBytes() uint64
func (*VolumeResources) Marshal ¶
func (m *VolumeResources) Marshal() (dAtA []byte, err error)
func (*VolumeResources) MarshalToSizedBuffer ¶
func (m *VolumeResources) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VolumeResources) ProtoMessage ¶
func (*VolumeResources) ProtoMessage()
func (*VolumeResources) Reset ¶
func (m *VolumeResources) Reset()
func (*VolumeResources) Size ¶
func (m *VolumeResources) Size() (n int)
func (*VolumeResources) String ¶
func (this *VolumeResources) String() string
func (*VolumeResources) Unmarshal ¶
func (m *VolumeResources) Unmarshal(dAtA []byte) error
func (*VolumeResources) XXX_DiscardUnknown ¶
func (m *VolumeResources) XXX_DiscardUnknown()
func (*VolumeResources) XXX_Marshal ¶
func (m *VolumeResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VolumeResources) XXX_Merge ¶
func (m *VolumeResources) XXX_Merge(src proto.Message)
func (*VolumeResources) XXX_Size ¶
func (m *VolumeResources) XXX_Size() int
func (*VolumeResources) XXX_Unmarshal ¶
func (m *VolumeResources) XXX_Unmarshal(b []byte) error
type VolumeRuntimeClient ¶
type VolumeRuntimeClient interface { ListVolumes(ctx context.Context, in *ListVolumesRequest, opts ...grpc.CallOption) (*ListVolumesResponse, error) CreateVolume(ctx context.Context, in *CreateVolumeRequest, opts ...grpc.CallOption) (*CreateVolumeResponse, error) DeleteVolume(ctx context.Context, in *DeleteVolumeRequest, opts ...grpc.CallOption) (*DeleteVolumeResponse, error) ListVolumeClasses(ctx context.Context, in *ListVolumeClassesRequest, opts ...grpc.CallOption) (*ListVolumeClassesResponse, error) }
VolumeRuntimeClient is the client API for VolumeRuntime service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewVolumeRuntimeClient ¶
func NewVolumeRuntimeClient(cc *grpc.ClientConn) VolumeRuntimeClient
type VolumeRuntimeServer ¶
type VolumeRuntimeServer interface { ListVolumes(context.Context, *ListVolumesRequest) (*ListVolumesResponse, error) CreateVolume(context.Context, *CreateVolumeRequest) (*CreateVolumeResponse, error) DeleteVolume(context.Context, *DeleteVolumeRequest) (*DeleteVolumeResponse, error) ListVolumeClasses(context.Context, *ListVolumeClassesRequest) (*ListVolumeClassesResponse, error) }
VolumeRuntimeServer is the server API for VolumeRuntime service.
type VolumeSpec ¶
type VolumeSpec struct { Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` Class string `protobuf:"bytes,2,opt,name=class,proto3" json:"class,omitempty"` Resources *VolumeResources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"` Encryption *EncryptionSpec `protobuf:"bytes,4,opt,name=encryption,proto3" json:"encryption,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VolumeSpec) Descriptor ¶
func (*VolumeSpec) Descriptor() ([]byte, []int)
func (*VolumeSpec) GetClass ¶
func (m *VolumeSpec) GetClass() string
func (*VolumeSpec) GetEncryption ¶ added in v0.1.1
func (m *VolumeSpec) GetEncryption() *EncryptionSpec
func (*VolumeSpec) GetImage ¶
func (m *VolumeSpec) GetImage() string
func (*VolumeSpec) GetResources ¶
func (m *VolumeSpec) GetResources() *VolumeResources
func (*VolumeSpec) Marshal ¶
func (m *VolumeSpec) Marshal() (dAtA []byte, err error)
func (*VolumeSpec) MarshalToSizedBuffer ¶
func (m *VolumeSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VolumeSpec) ProtoMessage ¶
func (*VolumeSpec) ProtoMessage()
func (*VolumeSpec) Reset ¶
func (m *VolumeSpec) Reset()
func (*VolumeSpec) Size ¶
func (m *VolumeSpec) Size() (n int)
func (*VolumeSpec) String ¶
func (this *VolumeSpec) String() string
func (*VolumeSpec) Unmarshal ¶
func (m *VolumeSpec) Unmarshal(dAtA []byte) error
func (*VolumeSpec) XXX_DiscardUnknown ¶
func (m *VolumeSpec) XXX_DiscardUnknown()
func (*VolumeSpec) XXX_Marshal ¶
func (m *VolumeSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VolumeSpec) XXX_Merge ¶
func (m *VolumeSpec) XXX_Merge(src proto.Message)
func (*VolumeSpec) XXX_Size ¶
func (m *VolumeSpec) XXX_Size() int
func (*VolumeSpec) XXX_Unmarshal ¶
func (m *VolumeSpec) XXX_Unmarshal(b []byte) error
type VolumeState ¶
type VolumeState int32
const ( VolumeState_VOLUME_PENDING VolumeState = 0 VolumeState_VOLUME_AVAILABLE VolumeState = 1 VolumeState_VOLUME_ERROR VolumeState = 2 )
func (VolumeState) EnumDescriptor ¶
func (VolumeState) EnumDescriptor() ([]byte, []int)
func (VolumeState) String ¶
func (x VolumeState) String() string
type VolumeStatus ¶
type VolumeStatus struct { State VolumeState `protobuf:"varint,1,opt,name=state,proto3,enum=volume.v1alpha1.VolumeState" json:"state,omitempty"` Access *VolumeAccess `protobuf:"bytes,2,opt,name=access,proto3" json:"access,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VolumeStatus) Descriptor ¶
func (*VolumeStatus) Descriptor() ([]byte, []int)
func (*VolumeStatus) GetAccess ¶
func (m *VolumeStatus) GetAccess() *VolumeAccess
func (*VolumeStatus) GetState ¶
func (m *VolumeStatus) GetState() VolumeState
func (*VolumeStatus) Marshal ¶
func (m *VolumeStatus) Marshal() (dAtA []byte, err error)
func (*VolumeStatus) MarshalToSizedBuffer ¶
func (m *VolumeStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VolumeStatus) ProtoMessage ¶
func (*VolumeStatus) ProtoMessage()
func (*VolumeStatus) Reset ¶
func (m *VolumeStatus) Reset()
func (*VolumeStatus) Size ¶
func (m *VolumeStatus) Size() (n int)
func (*VolumeStatus) String ¶
func (this *VolumeStatus) String() string
func (*VolumeStatus) Unmarshal ¶
func (m *VolumeStatus) Unmarshal(dAtA []byte) error
func (*VolumeStatus) XXX_DiscardUnknown ¶
func (m *VolumeStatus) XXX_DiscardUnknown()
func (*VolumeStatus) XXX_Marshal ¶
func (m *VolumeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VolumeStatus) XXX_Merge ¶
func (m *VolumeStatus) XXX_Merge(src proto.Message)
func (*VolumeStatus) XXX_Size ¶
func (m *VolumeStatus) XXX_Size() int
func (*VolumeStatus) XXX_Unmarshal ¶
func (m *VolumeStatus) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.