pb

package
v0.0.0-...-5c7ffcf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_transfer_proto protoreflect.FileDescriptor
View Source
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.

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) Prepare

func (UnimplementedTransferSrviceServer) StopAndSaveState

func (UnimplementedTransferSrviceServer) TransferDone

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL