Documentation ¶
Index ¶
- Variables
- func RegisterTransferSrviceServer(s grpc.ServiceRegistrar, srv TransferSrviceServer)
- type PingRequest
- type PingResponse
- type StopAndSaveSaveRequest
- type StopAndSaveSaveResponse
- func (*StopAndSaveSaveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StopAndSaveSaveResponse) GetState() []byte
- func (*StopAndSaveSaveResponse) ProtoMessage()
- func (x *StopAndSaveSaveResponse) ProtoReflect() protoreflect.Message
- func (x *StopAndSaveSaveResponse) Reset()
- func (x *StopAndSaveSaveResponse) String() string
- type TransferDoneRequest
- type TransferDoneResponse
- type TransferSrviceClient
- type TransferSrviceServer
- type UnimplementedTransferSrviceServer
- func (UnimplementedTransferSrviceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
- func (UnimplementedTransferSrviceServer) Prepare(context.Context, *PingRequest) (*PingResponse, error)
- func (UnimplementedTransferSrviceServer) StopAndSaveState(context.Context, *StopAndSaveSaveRequest) (*StopAndSaveSaveResponse, error)
- func (UnimplementedTransferSrviceServer) TransferDone(context.Context, *TransferDoneRequest) (*TransferDoneResponse, error)
- type UnsafeTransferSrviceServer
Constants ¶
This section is empty.
Variables ¶
var File_transfer_proto protoreflect.FileDescriptor
var TransferSrvice_ServiceDesc = grpc.ServiceDesc{ ServiceName: "io.holoinsight.agent.transfer.TransferSrvice", HandlerType: (*TransferSrviceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "prepare", Handler: _TransferSrvice_Prepare_Handler, }, { MethodName: "ping", Handler: _TransferSrvice_Ping_Handler, }, { MethodName: "stop_and_save_state", Handler: _TransferSrvice_StopAndSaveState_Handler, }, { MethodName: "transfer_done", Handler: _TransferSrvice_TransferDone_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "transfer.proto", }
TransferSrvice_ServiceDesc is the grpc.ServiceDesc for TransferSrvice service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTransferSrviceServer ¶
func RegisterTransferSrviceServer(s grpc.ServiceRegistrar, srv TransferSrviceServer)
Types ¶
type PingRequest ¶
type PingRequest struct {
// contains filtered or unexported fields
}
func (*PingRequest) Descriptor
deprecated
func (*PingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) ProtoReflect ¶
func (x *PingRequest) ProtoReflect() protoreflect.Message
func (*PingRequest) Reset ¶
func (x *PingRequest) Reset()
func (*PingRequest) String ¶
func (x *PingRequest) String() string
type PingResponse ¶
type PingResponse struct {
// contains filtered or unexported fields
}
func (*PingResponse) Descriptor
deprecated
func (*PingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) ProtoReflect ¶
func (x *PingResponse) ProtoReflect() protoreflect.Message
func (*PingResponse) Reset ¶
func (x *PingResponse) Reset()
func (*PingResponse) String ¶
func (x *PingResponse) String() string
type StopAndSaveSaveRequest ¶
type StopAndSaveSaveRequest struct {
// contains filtered or unexported fields
}
func (*StopAndSaveSaveRequest) Descriptor
deprecated
func (*StopAndSaveSaveRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopAndSaveSaveRequest.ProtoReflect.Descriptor instead.
func (*StopAndSaveSaveRequest) ProtoMessage ¶
func (*StopAndSaveSaveRequest) ProtoMessage()
func (*StopAndSaveSaveRequest) ProtoReflect ¶
func (x *StopAndSaveSaveRequest) ProtoReflect() protoreflect.Message
func (*StopAndSaveSaveRequest) Reset ¶
func (x *StopAndSaveSaveRequest) Reset()
func (*StopAndSaveSaveRequest) String ¶
func (x *StopAndSaveSaveRequest) String() string
type StopAndSaveSaveResponse ¶
type StopAndSaveSaveResponse struct { State []byte `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*StopAndSaveSaveResponse) Descriptor
deprecated
func (*StopAndSaveSaveResponse) Descriptor() ([]byte, []int)
Deprecated: Use StopAndSaveSaveResponse.ProtoReflect.Descriptor instead.
func (*StopAndSaveSaveResponse) GetState ¶
func (x *StopAndSaveSaveResponse) GetState() []byte
func (*StopAndSaveSaveResponse) ProtoMessage ¶
func (*StopAndSaveSaveResponse) ProtoMessage()
func (*StopAndSaveSaveResponse) ProtoReflect ¶
func (x *StopAndSaveSaveResponse) ProtoReflect() protoreflect.Message
func (*StopAndSaveSaveResponse) Reset ¶
func (x *StopAndSaveSaveResponse) Reset()
func (*StopAndSaveSaveResponse) String ¶
func (x *StopAndSaveSaveResponse) String() string
type TransferDoneRequest ¶
type TransferDoneRequest struct {
// contains filtered or unexported fields
}
func (*TransferDoneRequest) Descriptor
deprecated
func (*TransferDoneRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransferDoneRequest.ProtoReflect.Descriptor instead.
func (*TransferDoneRequest) ProtoMessage ¶
func (*TransferDoneRequest) ProtoMessage()
func (*TransferDoneRequest) ProtoReflect ¶
func (x *TransferDoneRequest) ProtoReflect() protoreflect.Message
func (*TransferDoneRequest) Reset ¶
func (x *TransferDoneRequest) Reset()
func (*TransferDoneRequest) String ¶
func (x *TransferDoneRequest) String() string
type TransferDoneResponse ¶
type TransferDoneResponse struct {
// contains filtered or unexported fields
}
func (*TransferDoneResponse) Descriptor
deprecated
func (*TransferDoneResponse) Descriptor() ([]byte, []int)
Deprecated: Use TransferDoneResponse.ProtoReflect.Descriptor instead.
func (*TransferDoneResponse) ProtoMessage ¶
func (*TransferDoneResponse) ProtoMessage()
func (*TransferDoneResponse) ProtoReflect ¶
func (x *TransferDoneResponse) ProtoReflect() protoreflect.Message
func (*TransferDoneResponse) Reset ¶
func (x *TransferDoneResponse) Reset()
func (*TransferDoneResponse) String ¶
func (x *TransferDoneResponse) String() string
type TransferSrviceClient ¶
type TransferSrviceClient interface { Prepare(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) StopAndSaveState(ctx context.Context, in *StopAndSaveSaveRequest, opts ...grpc.CallOption) (*StopAndSaveSaveResponse, error) TransferDone(ctx context.Context, in *TransferDoneRequest, opts ...grpc.CallOption) (*TransferDoneResponse, error) }
TransferSrviceClient is the client API for TransferSrvice 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 NewTransferSrviceClient ¶
func NewTransferSrviceClient(cc grpc.ClientConnInterface) TransferSrviceClient
type TransferSrviceServer ¶
type TransferSrviceServer interface { Prepare(context.Context, *PingRequest) (*PingResponse, error) Ping(context.Context, *PingRequest) (*PingResponse, error) StopAndSaveState(context.Context, *StopAndSaveSaveRequest) (*StopAndSaveSaveResponse, error) TransferDone(context.Context, *TransferDoneRequest) (*TransferDoneResponse, error) // contains filtered or unexported methods }
TransferSrviceServer is the server API for TransferSrvice service. All implementations must embed UnimplementedTransferSrviceServer for forward compatibility
type UnimplementedTransferSrviceServer ¶
type UnimplementedTransferSrviceServer struct { }
UnimplementedTransferSrviceServer must be embedded to have forward compatible implementations.
func (UnimplementedTransferSrviceServer) Ping ¶
func (UnimplementedTransferSrviceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
func (UnimplementedTransferSrviceServer) Prepare ¶
func (UnimplementedTransferSrviceServer) Prepare(context.Context, *PingRequest) (*PingResponse, error)
func (UnimplementedTransferSrviceServer) StopAndSaveState ¶
func (UnimplementedTransferSrviceServer) StopAndSaveState(context.Context, *StopAndSaveSaveRequest) (*StopAndSaveSaveResponse, error)
func (UnimplementedTransferSrviceServer) TransferDone ¶
func (UnimplementedTransferSrviceServer) TransferDone(context.Context, *TransferDoneRequest) (*TransferDoneResponse, error)
type UnsafeTransferSrviceServer ¶
type UnsafeTransferSrviceServer interface {
// contains filtered or unexported methods
}
UnsafeTransferSrviceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TransferSrviceServer will result in compilation errors.