Documentation ¶
Index ¶
- Variables
- func RegisterAPIServer(s *grpc.Server, srv APIServer)
- type APIClient
- type APIServer
- type RecoverMessage
- func (*RecoverMessage) Descriptor() ([]byte, []int)deprecated
- func (x *RecoverMessage) GetKmsUri() string
- func (x *RecoverMessage) GetStorageUri() string
- func (*RecoverMessage) ProtoMessage()
- func (x *RecoverMessage) ProtoReflect() protoreflect.Message
- func (x *RecoverMessage) Reset()
- func (x *RecoverMessage) String() string
- type RecoverResponse
- type UnimplementedAPIServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_disk_mapper_recoverproto_recover_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAPIServer ¶
Types ¶
type APIClient ¶
type APIClient interface {
Recover(ctx context.Context, in *RecoverMessage, opts ...grpc.CallOption) (*RecoverResponse, error)
}
APIClient is the client API for API service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAPIClient ¶
func NewAPIClient(cc grpc.ClientConnInterface) APIClient
type APIServer ¶
type APIServer interface {
Recover(context.Context, *RecoverMessage) (*RecoverResponse, error)
}
APIServer is the server API for API service.
type RecoverMessage ¶
type RecoverMessage struct { KmsUri string `protobuf:"bytes,3,opt,name=kms_uri,json=kmsUri,proto3" json:"kms_uri,omitempty"` StorageUri string `protobuf:"bytes,4,opt,name=storage_uri,json=storageUri,proto3" json:"storage_uri,omitempty"` // contains filtered or unexported fields }
func (*RecoverMessage) Descriptor
deprecated
func (*RecoverMessage) Descriptor() ([]byte, []int)
Deprecated: Use RecoverMessage.ProtoReflect.Descriptor instead.
func (*RecoverMessage) GetKmsUri ¶ added in v2.5.0
func (x *RecoverMessage) GetKmsUri() string
func (*RecoverMessage) GetStorageUri ¶ added in v2.5.0
func (x *RecoverMessage) GetStorageUri() string
func (*RecoverMessage) ProtoMessage ¶
func (*RecoverMessage) ProtoMessage()
func (*RecoverMessage) ProtoReflect ¶
func (x *RecoverMessage) ProtoReflect() protoreflect.Message
func (*RecoverMessage) Reset ¶
func (x *RecoverMessage) Reset()
func (*RecoverMessage) String ¶
func (x *RecoverMessage) String() string
type RecoverResponse ¶
type RecoverResponse struct {
// contains filtered or unexported fields
}
func (*RecoverResponse) Descriptor
deprecated
func (*RecoverResponse) Descriptor() ([]byte, []int)
Deprecated: Use RecoverResponse.ProtoReflect.Descriptor instead.
func (*RecoverResponse) ProtoMessage ¶
func (*RecoverResponse) ProtoMessage()
func (*RecoverResponse) ProtoReflect ¶
func (x *RecoverResponse) ProtoReflect() protoreflect.Message
func (*RecoverResponse) Reset ¶
func (x *RecoverResponse) Reset()
func (*RecoverResponse) String ¶
func (x *RecoverResponse) String() string
type UnimplementedAPIServer ¶
type UnimplementedAPIServer struct { }
UnimplementedAPIServer can be embedded to have forward compatible implementations.
func (*UnimplementedAPIServer) Recover ¶
func (*UnimplementedAPIServer) Recover(context.Context, *RecoverMessage) (*RecoverResponse, error)
Click to show internal directories.
Click to hide internal directories.