Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterRunSnapCommandServer(s grpc.ServiceRegistrar, srv RunSnapCommandServer)
- type RunSnapCommandClient
- type RunSnapCommandServer
- type UnimplementedRunSnapCommandServer
- type UnsafeRunSnapCommandServer
- type VolumeSnapCreateRequest
- func (*VolumeSnapCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeSnapCreateRequest) GetSnapname() string
- func (x *VolumeSnapCreateRequest) GetVersion() int32
- func (x *VolumeSnapCreateRequest) GetVolume() string
- func (*VolumeSnapCreateRequest) ProtoMessage()
- func (x *VolumeSnapCreateRequest) ProtoReflect() protoreflect.Message
- func (x *VolumeSnapCreateRequest) Reset()
- func (x *VolumeSnapCreateRequest) String() string
- type VolumeSnapCreateResponse
- func (*VolumeSnapCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeSnapCreateResponse) GetStatus() []byte
- func (x *VolumeSnapCreateResponse) GetVersion() int32
- func (*VolumeSnapCreateResponse) ProtoMessage()
- func (x *VolumeSnapCreateResponse) ProtoReflect() protoreflect.Message
- func (x *VolumeSnapCreateResponse) Reset()
- func (x *VolumeSnapCreateResponse) String() string
- type VolumeSnapDeleteRequest
- func (*VolumeSnapDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeSnapDeleteRequest) GetSnapname() string
- func (x *VolumeSnapDeleteRequest) GetVersion() int32
- func (x *VolumeSnapDeleteRequest) GetVolume() string
- func (*VolumeSnapDeleteRequest) ProtoMessage()
- func (x *VolumeSnapDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *VolumeSnapDeleteRequest) Reset()
- func (x *VolumeSnapDeleteRequest) String() string
- type VolumeSnapDeleteResponse
- func (*VolumeSnapDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeSnapDeleteResponse) GetStatus() []byte
- func (x *VolumeSnapDeleteResponse) GetVersion() int32
- func (*VolumeSnapDeleteResponse) ProtoMessage()
- func (x *VolumeSnapDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *VolumeSnapDeleteResponse) Reset()
- func (x *VolumeSnapDeleteResponse) String() string
Constants ¶
const ( RunSnapCommand_RunVolumeSnapCreateCommand_FullMethodName = "/v1alpha1.RunSnapCommand/RunVolumeSnapCreateCommand" RunSnapCommand_RunVolumeSnapDeleteCommand_FullMethodName = "/v1alpha1.RunSnapCommand/RunVolumeSnapDeleteCommand" )
Variables ¶
var File_github_com_openebs_api_pkg_apis_cstor_v1_cstorvolume_proto protoreflect.FileDescriptor
var RunSnapCommand_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1alpha1.RunSnapCommand", HandlerType: (*RunSnapCommandServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RunVolumeSnapCreateCommand", Handler: _RunSnapCommand_RunVolumeSnapCreateCommand_Handler, }, { MethodName: "RunVolumeSnapDeleteCommand", Handler: _RunSnapCommand_RunVolumeSnapDeleteCommand_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "github.com/openebs/api/pkg/apis/cstor/v1/cstorvolume.proto", }
RunSnapCommand_ServiceDesc is the grpc.ServiceDesc for RunSnapCommand service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRunSnapCommandServer ¶ added in v3.0.1
func RegisterRunSnapCommandServer(s grpc.ServiceRegistrar, srv RunSnapCommandServer)
Types ¶
type RunSnapCommandClient ¶ added in v3.0.1
type RunSnapCommandClient interface { RunVolumeSnapCreateCommand(ctx context.Context, in *VolumeSnapCreateRequest, opts ...grpc.CallOption) (*VolumeSnapCreateResponse, error) RunVolumeSnapDeleteCommand(ctx context.Context, in *VolumeSnapDeleteRequest, opts ...grpc.CallOption) (*VolumeSnapDeleteResponse, error) }
RunSnapCommandClient is the client API for RunSnapCommand service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRunSnapCommandClient ¶ added in v3.0.1
func NewRunSnapCommandClient(cc grpc.ClientConnInterface) RunSnapCommandClient
type RunSnapCommandServer ¶ added in v3.0.1
type RunSnapCommandServer interface { RunVolumeSnapCreateCommand(context.Context, *VolumeSnapCreateRequest) (*VolumeSnapCreateResponse, error) RunVolumeSnapDeleteCommand(context.Context, *VolumeSnapDeleteRequest) (*VolumeSnapDeleteResponse, error) }
RunSnapCommandServer is the server API for RunSnapCommand service. All implementations should embed UnimplementedRunSnapCommandServer for forward compatibility
type UnimplementedRunSnapCommandServer ¶ added in v3.0.1
type UnimplementedRunSnapCommandServer struct { }
UnimplementedRunSnapCommandServer should be embedded to have forward compatible implementations.
func (UnimplementedRunSnapCommandServer) RunVolumeSnapCreateCommand ¶ added in v3.0.1
func (UnimplementedRunSnapCommandServer) RunVolumeSnapCreateCommand(context.Context, *VolumeSnapCreateRequest) (*VolumeSnapCreateResponse, error)
func (UnimplementedRunSnapCommandServer) RunVolumeSnapDeleteCommand ¶ added in v3.0.1
func (UnimplementedRunSnapCommandServer) RunVolumeSnapDeleteCommand(context.Context, *VolumeSnapDeleteRequest) (*VolumeSnapDeleteResponse, error)
type UnsafeRunSnapCommandServer ¶ added in v3.0.1
type UnsafeRunSnapCommandServer interface {
// contains filtered or unexported methods
}
UnsafeRunSnapCommandServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RunSnapCommandServer will result in compilation errors.
type VolumeSnapCreateRequest ¶
type VolumeSnapCreateRequest struct { Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Volume string `protobuf:"bytes,2,opt,name=volume,proto3" json:"volume,omitempty"` Snapname string `protobuf:"bytes,3,opt,name=snapname,proto3" json:"snapname,omitempty"` // contains filtered or unexported fields }
func (*VolumeSnapCreateRequest) Descriptor
deprecated
func (*VolumeSnapCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use VolumeSnapCreateRequest.ProtoReflect.Descriptor instead.
func (*VolumeSnapCreateRequest) GetSnapname ¶
func (x *VolumeSnapCreateRequest) GetSnapname() string
func (*VolumeSnapCreateRequest) GetVersion ¶
func (x *VolumeSnapCreateRequest) GetVersion() int32
func (*VolumeSnapCreateRequest) GetVolume ¶
func (x *VolumeSnapCreateRequest) GetVolume() string
func (*VolumeSnapCreateRequest) ProtoMessage ¶
func (*VolumeSnapCreateRequest) ProtoMessage()
func (*VolumeSnapCreateRequest) ProtoReflect ¶
func (x *VolumeSnapCreateRequest) ProtoReflect() protoreflect.Message
func (*VolumeSnapCreateRequest) Reset ¶
func (x *VolumeSnapCreateRequest) Reset()
func (*VolumeSnapCreateRequest) String ¶
func (x *VolumeSnapCreateRequest) String() string
type VolumeSnapCreateResponse ¶
type VolumeSnapCreateResponse struct { Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Status []byte `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*VolumeSnapCreateResponse) Descriptor
deprecated
func (*VolumeSnapCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use VolumeSnapCreateResponse.ProtoReflect.Descriptor instead.
func (*VolumeSnapCreateResponse) GetStatus ¶
func (x *VolumeSnapCreateResponse) GetStatus() []byte
func (*VolumeSnapCreateResponse) GetVersion ¶
func (x *VolumeSnapCreateResponse) GetVersion() int32
func (*VolumeSnapCreateResponse) ProtoMessage ¶
func (*VolumeSnapCreateResponse) ProtoMessage()
func (*VolumeSnapCreateResponse) ProtoReflect ¶
func (x *VolumeSnapCreateResponse) ProtoReflect() protoreflect.Message
func (*VolumeSnapCreateResponse) Reset ¶
func (x *VolumeSnapCreateResponse) Reset()
func (*VolumeSnapCreateResponse) String ¶
func (x *VolumeSnapCreateResponse) String() string
type VolumeSnapDeleteRequest ¶
type VolumeSnapDeleteRequest struct { Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Volume string `protobuf:"bytes,2,opt,name=volume,proto3" json:"volume,omitempty"` Snapname string `protobuf:"bytes,3,opt,name=snapname,proto3" json:"snapname,omitempty"` // contains filtered or unexported fields }
func (*VolumeSnapDeleteRequest) Descriptor
deprecated
func (*VolumeSnapDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use VolumeSnapDeleteRequest.ProtoReflect.Descriptor instead.
func (*VolumeSnapDeleteRequest) GetSnapname ¶
func (x *VolumeSnapDeleteRequest) GetSnapname() string
func (*VolumeSnapDeleteRequest) GetVersion ¶
func (x *VolumeSnapDeleteRequest) GetVersion() int32
func (*VolumeSnapDeleteRequest) GetVolume ¶
func (x *VolumeSnapDeleteRequest) GetVolume() string
func (*VolumeSnapDeleteRequest) ProtoMessage ¶
func (*VolumeSnapDeleteRequest) ProtoMessage()
func (*VolumeSnapDeleteRequest) ProtoReflect ¶
func (x *VolumeSnapDeleteRequest) ProtoReflect() protoreflect.Message
func (*VolumeSnapDeleteRequest) Reset ¶
func (x *VolumeSnapDeleteRequest) Reset()
func (*VolumeSnapDeleteRequest) String ¶
func (x *VolumeSnapDeleteRequest) String() string
type VolumeSnapDeleteResponse ¶
type VolumeSnapDeleteResponse struct { Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Status []byte `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*VolumeSnapDeleteResponse) Descriptor
deprecated
func (*VolumeSnapDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use VolumeSnapDeleteResponse.ProtoReflect.Descriptor instead.
func (*VolumeSnapDeleteResponse) GetStatus ¶
func (x *VolumeSnapDeleteResponse) GetStatus() []byte
func (*VolumeSnapDeleteResponse) GetVersion ¶
func (x *VolumeSnapDeleteResponse) GetVersion() int32
func (*VolumeSnapDeleteResponse) ProtoMessage ¶
func (*VolumeSnapDeleteResponse) ProtoMessage()
func (*VolumeSnapDeleteResponse) ProtoReflect ¶
func (x *VolumeSnapDeleteResponse) ProtoReflect() protoreflect.Message
func (*VolumeSnapDeleteResponse) Reset ¶
func (x *VolumeSnapDeleteResponse) Reset()
func (*VolumeSnapDeleteResponse) String ¶
func (x *VolumeSnapDeleteResponse) String() string