Documentation ¶
Index ¶
- Variables
- func RegisterVolumesServer(s *grpc.Server, srv VolumesServer)
- type AciVolumeCreateOptions
- func (*AciVolumeCreateOptions) Descriptor() ([]byte, []int)deprecated
- func (x *AciVolumeCreateOptions) GetStorageAccount() string
- func (*AciVolumeCreateOptions) ProtoMessage()
- func (x *AciVolumeCreateOptions) ProtoReflect() protoreflect.Message
- func (x *AciVolumeCreateOptions) Reset()
- func (x *AciVolumeCreateOptions) String() string
- type UnimplementedVolumesServer
- func (*UnimplementedVolumesServer) VolumesCreate(context.Context, *VolumesCreateRequest) (*VolumesCreateResponse, error)
- func (*UnimplementedVolumesServer) VolumesDelete(context.Context, *VolumesDeleteRequest) (*VolumesDeleteResponse, error)
- func (*UnimplementedVolumesServer) VolumesInspect(context.Context, *VolumesInspectRequest) (*VolumesInspectResponse, error)
- func (*UnimplementedVolumesServer) VolumesList(context.Context, *VolumesListRequest) (*VolumesListResponse, error)
- type Volume
- type VolumesClient
- type VolumesCreateRequest
- func (*VolumesCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VolumesCreateRequest) GetAciOption() *AciVolumeCreateOptions
- func (x *VolumesCreateRequest) GetName() string
- func (m *VolumesCreateRequest) GetOptions() isVolumesCreateRequest_Options
- func (*VolumesCreateRequest) ProtoMessage()
- func (x *VolumesCreateRequest) ProtoReflect() protoreflect.Message
- func (x *VolumesCreateRequest) Reset()
- func (x *VolumesCreateRequest) String() string
- type VolumesCreateRequest_AciOption
- type VolumesCreateResponse
- func (*VolumesCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VolumesCreateResponse) GetVolume() *Volume
- func (*VolumesCreateResponse) ProtoMessage()
- func (x *VolumesCreateResponse) ProtoReflect() protoreflect.Message
- func (x *VolumesCreateResponse) Reset()
- func (x *VolumesCreateResponse) String() string
- type VolumesDeleteRequest
- func (*VolumesDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VolumesDeleteRequest) GetId() string
- func (*VolumesDeleteRequest) ProtoMessage()
- func (x *VolumesDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *VolumesDeleteRequest) Reset()
- func (x *VolumesDeleteRequest) String() string
- type VolumesDeleteResponse
- type VolumesInspectRequest
- func (*VolumesInspectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VolumesInspectRequest) GetId() string
- func (*VolumesInspectRequest) ProtoMessage()
- func (x *VolumesInspectRequest) ProtoReflect() protoreflect.Message
- func (x *VolumesInspectRequest) Reset()
- func (x *VolumesInspectRequest) String() string
- type VolumesInspectResponse
- func (*VolumesInspectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VolumesInspectResponse) GetVolume() *Volume
- func (*VolumesInspectResponse) ProtoMessage()
- func (x *VolumesInspectResponse) ProtoReflect() protoreflect.Message
- func (x *VolumesInspectResponse) Reset()
- func (x *VolumesInspectResponse) String() string
- type VolumesListRequest
- type VolumesListResponse
- func (*VolumesListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VolumesListResponse) GetVolumes() []*Volume
- func (*VolumesListResponse) ProtoMessage()
- func (x *VolumesListResponse) ProtoReflect() protoreflect.Message
- func (x *VolumesListResponse) Reset()
- func (x *VolumesListResponse) String() string
- type VolumesServer
Constants ¶
This section is empty.
Variables ¶
var File_cli_server_protos_volumes_v1_volumes_proto protoreflect.FileDescriptor
Functions ¶
func RegisterVolumesServer ¶
func RegisterVolumesServer(s *grpc.Server, srv VolumesServer)
Types ¶
type AciVolumeCreateOptions ¶
type AciVolumeCreateOptions struct { StorageAccount string `protobuf:"bytes,1,opt,name=storage_account,json=storageAccount,proto3" json:"storage_account,omitempty"` // contains filtered or unexported fields }
func (*AciVolumeCreateOptions) Descriptor
deprecated
func (*AciVolumeCreateOptions) Descriptor() ([]byte, []int)
Deprecated: Use AciVolumeCreateOptions.ProtoReflect.Descriptor instead.
func (*AciVolumeCreateOptions) GetStorageAccount ¶
func (x *AciVolumeCreateOptions) GetStorageAccount() string
func (*AciVolumeCreateOptions) ProtoMessage ¶
func (*AciVolumeCreateOptions) ProtoMessage()
func (*AciVolumeCreateOptions) ProtoReflect ¶
func (x *AciVolumeCreateOptions) ProtoReflect() protoreflect.Message
func (*AciVolumeCreateOptions) Reset ¶
func (x *AciVolumeCreateOptions) Reset()
func (*AciVolumeCreateOptions) String ¶
func (x *AciVolumeCreateOptions) String() string
type UnimplementedVolumesServer ¶
type UnimplementedVolumesServer struct { }
UnimplementedVolumesServer can be embedded to have forward compatible implementations.
func (*UnimplementedVolumesServer) VolumesCreate ¶
func (*UnimplementedVolumesServer) VolumesCreate(context.Context, *VolumesCreateRequest) (*VolumesCreateResponse, error)
func (*UnimplementedVolumesServer) VolumesDelete ¶
func (*UnimplementedVolumesServer) VolumesDelete(context.Context, *VolumesDeleteRequest) (*VolumesDeleteResponse, error)
func (*UnimplementedVolumesServer) VolumesInspect ¶
func (*UnimplementedVolumesServer) VolumesInspect(context.Context, *VolumesInspectRequest) (*VolumesInspectResponse, error)
func (*UnimplementedVolumesServer) VolumesList ¶
func (*UnimplementedVolumesServer) VolumesList(context.Context, *VolumesListRequest) (*VolumesListResponse, error)
type Volume ¶
type Volume struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*Volume) Descriptor
deprecated
func (*Volume) GetDescription ¶
func (*Volume) ProtoMessage ¶
func (*Volume) ProtoMessage()
func (*Volume) ProtoReflect ¶
func (x *Volume) ProtoReflect() protoreflect.Message
type VolumesClient ¶
type VolumesClient interface { VolumesCreate(ctx context.Context, in *VolumesCreateRequest, opts ...grpc.CallOption) (*VolumesCreateResponse, error) VolumesList(ctx context.Context, in *VolumesListRequest, opts ...grpc.CallOption) (*VolumesListResponse, error) VolumesDelete(ctx context.Context, in *VolumesDeleteRequest, opts ...grpc.CallOption) (*VolumesDeleteResponse, error) VolumesInspect(ctx context.Context, in *VolumesInspectRequest, opts ...grpc.CallOption) (*VolumesInspectResponse, error) }
VolumesClient is the client API for Volumes service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewVolumesClient ¶
func NewVolumesClient(cc grpc.ClientConnInterface) VolumesClient
type VolumesCreateRequest ¶
type VolumesCreateRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Types that are assignable to Options: // *VolumesCreateRequest_AciOption Options isVolumesCreateRequest_Options `protobuf_oneof:"options"` // contains filtered or unexported fields }
func (*VolumesCreateRequest) Descriptor
deprecated
func (*VolumesCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use VolumesCreateRequest.ProtoReflect.Descriptor instead.
func (*VolumesCreateRequest) GetAciOption ¶
func (x *VolumesCreateRequest) GetAciOption() *AciVolumeCreateOptions
func (*VolumesCreateRequest) GetName ¶
func (x *VolumesCreateRequest) GetName() string
func (*VolumesCreateRequest) GetOptions ¶
func (m *VolumesCreateRequest) GetOptions() isVolumesCreateRequest_Options
func (*VolumesCreateRequest) ProtoMessage ¶
func (*VolumesCreateRequest) ProtoMessage()
func (*VolumesCreateRequest) ProtoReflect ¶
func (x *VolumesCreateRequest) ProtoReflect() protoreflect.Message
func (*VolumesCreateRequest) Reset ¶
func (x *VolumesCreateRequest) Reset()
func (*VolumesCreateRequest) String ¶
func (x *VolumesCreateRequest) String() string
type VolumesCreateRequest_AciOption ¶
type VolumesCreateRequest_AciOption struct {
AciOption *AciVolumeCreateOptions `protobuf:"bytes,2,opt,name=aci_option,json=aciOption,proto3,oneof"`
}
type VolumesCreateResponse ¶
type VolumesCreateResponse struct { Volume *Volume `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"` // contains filtered or unexported fields }
func (*VolumesCreateResponse) Descriptor
deprecated
func (*VolumesCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use VolumesCreateResponse.ProtoReflect.Descriptor instead.
func (*VolumesCreateResponse) GetVolume ¶
func (x *VolumesCreateResponse) GetVolume() *Volume
func (*VolumesCreateResponse) ProtoMessage ¶
func (*VolumesCreateResponse) ProtoMessage()
func (*VolumesCreateResponse) ProtoReflect ¶
func (x *VolumesCreateResponse) ProtoReflect() protoreflect.Message
func (*VolumesCreateResponse) Reset ¶
func (x *VolumesCreateResponse) Reset()
func (*VolumesCreateResponse) String ¶
func (x *VolumesCreateResponse) String() string
type VolumesDeleteRequest ¶
type VolumesDeleteRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*VolumesDeleteRequest) Descriptor
deprecated
func (*VolumesDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use VolumesDeleteRequest.ProtoReflect.Descriptor instead.
func (*VolumesDeleteRequest) GetId ¶
func (x *VolumesDeleteRequest) GetId() string
func (*VolumesDeleteRequest) ProtoMessage ¶
func (*VolumesDeleteRequest) ProtoMessage()
func (*VolumesDeleteRequest) ProtoReflect ¶
func (x *VolumesDeleteRequest) ProtoReflect() protoreflect.Message
func (*VolumesDeleteRequest) Reset ¶
func (x *VolumesDeleteRequest) Reset()
func (*VolumesDeleteRequest) String ¶
func (x *VolumesDeleteRequest) String() string
type VolumesDeleteResponse ¶
type VolumesDeleteResponse struct {
// contains filtered or unexported fields
}
func (*VolumesDeleteResponse) Descriptor
deprecated
func (*VolumesDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use VolumesDeleteResponse.ProtoReflect.Descriptor instead.
func (*VolumesDeleteResponse) ProtoMessage ¶
func (*VolumesDeleteResponse) ProtoMessage()
func (*VolumesDeleteResponse) ProtoReflect ¶
func (x *VolumesDeleteResponse) ProtoReflect() protoreflect.Message
func (*VolumesDeleteResponse) Reset ¶
func (x *VolumesDeleteResponse) Reset()
func (*VolumesDeleteResponse) String ¶
func (x *VolumesDeleteResponse) String() string
type VolumesInspectRequest ¶
type VolumesInspectRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*VolumesInspectRequest) Descriptor
deprecated
func (*VolumesInspectRequest) Descriptor() ([]byte, []int)
Deprecated: Use VolumesInspectRequest.ProtoReflect.Descriptor instead.
func (*VolumesInspectRequest) GetId ¶
func (x *VolumesInspectRequest) GetId() string
func (*VolumesInspectRequest) ProtoMessage ¶
func (*VolumesInspectRequest) ProtoMessage()
func (*VolumesInspectRequest) ProtoReflect ¶
func (x *VolumesInspectRequest) ProtoReflect() protoreflect.Message
func (*VolumesInspectRequest) Reset ¶
func (x *VolumesInspectRequest) Reset()
func (*VolumesInspectRequest) String ¶
func (x *VolumesInspectRequest) String() string
type VolumesInspectResponse ¶
type VolumesInspectResponse struct { Volume *Volume `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"` // contains filtered or unexported fields }
func (*VolumesInspectResponse) Descriptor
deprecated
func (*VolumesInspectResponse) Descriptor() ([]byte, []int)
Deprecated: Use VolumesInspectResponse.ProtoReflect.Descriptor instead.
func (*VolumesInspectResponse) GetVolume ¶
func (x *VolumesInspectResponse) GetVolume() *Volume
func (*VolumesInspectResponse) ProtoMessage ¶
func (*VolumesInspectResponse) ProtoMessage()
func (*VolumesInspectResponse) ProtoReflect ¶
func (x *VolumesInspectResponse) ProtoReflect() protoreflect.Message
func (*VolumesInspectResponse) Reset ¶
func (x *VolumesInspectResponse) Reset()
func (*VolumesInspectResponse) String ¶
func (x *VolumesInspectResponse) String() string
type VolumesListRequest ¶
type VolumesListRequest struct {
// contains filtered or unexported fields
}
func (*VolumesListRequest) Descriptor
deprecated
func (*VolumesListRequest) Descriptor() ([]byte, []int)
Deprecated: Use VolumesListRequest.ProtoReflect.Descriptor instead.
func (*VolumesListRequest) ProtoMessage ¶
func (*VolumesListRequest) ProtoMessage()
func (*VolumesListRequest) ProtoReflect ¶
func (x *VolumesListRequest) ProtoReflect() protoreflect.Message
func (*VolumesListRequest) Reset ¶
func (x *VolumesListRequest) Reset()
func (*VolumesListRequest) String ¶
func (x *VolumesListRequest) String() string
type VolumesListResponse ¶
type VolumesListResponse struct { Volumes []*Volume `protobuf:"bytes,1,rep,name=volumes,proto3" json:"volumes,omitempty"` // contains filtered or unexported fields }
func (*VolumesListResponse) Descriptor
deprecated
func (*VolumesListResponse) Descriptor() ([]byte, []int)
Deprecated: Use VolumesListResponse.ProtoReflect.Descriptor instead.
func (*VolumesListResponse) GetVolumes ¶
func (x *VolumesListResponse) GetVolumes() []*Volume
func (*VolumesListResponse) ProtoMessage ¶
func (*VolumesListResponse) ProtoMessage()
func (*VolumesListResponse) ProtoReflect ¶
func (x *VolumesListResponse) ProtoReflect() protoreflect.Message
func (*VolumesListResponse) Reset ¶
func (x *VolumesListResponse) Reset()
func (*VolumesListResponse) String ¶
func (x *VolumesListResponse) String() string
type VolumesServer ¶
type VolumesServer interface { VolumesCreate(context.Context, *VolumesCreateRequest) (*VolumesCreateResponse, error) VolumesList(context.Context, *VolumesListRequest) (*VolumesListResponse, error) VolumesDelete(context.Context, *VolumesDeleteRequest) (*VolumesDeleteResponse, error) VolumesInspect(context.Context, *VolumesInspectRequest) (*VolumesInspectResponse, error) }
VolumesServer is the server API for Volumes service.