_gogrpc

package
v1.5.1-20241004172122-... Latest Latest
Warning

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

Go to latest
Published: unknown License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CedanaGPU_Checkpoint_FullMethodName  = "/cedanagpu.CedanaGPU/Checkpoint"
	CedanaGPU_Restore_FullMethodName     = "/cedanagpu.CedanaGPU/Restore"
	CedanaGPU_StartupPoll_FullMethodName = "/cedanagpu.CedanaGPU/StartupPoll"
	CedanaGPU_HealthCheck_FullMethodName = "/cedanagpu.CedanaGPU/HealthCheck"
)

Variables

View Source
var CedanaGPU_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cedanagpu.CedanaGPU",
	HandlerType: (*CedanaGPUServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Checkpoint",
			Handler:    _CedanaGPU_Checkpoint_Handler,
		},
		{
			MethodName: "Restore",
			Handler:    _CedanaGPU_Restore_Handler,
		},
		{
			MethodName: "StartupPoll",
			Handler:    _CedanaGPU_StartupPoll_Handler,
		},
		{
			MethodName: "HealthCheck",
			Handler:    _CedanaGPU_HealthCheck_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "gpu.proto",
}

CedanaGPU_ServiceDesc is the grpc.ServiceDesc for CedanaGPU service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterCedanaGPUServer

func RegisterCedanaGPUServer(s grpc.ServiceRegistrar, srv CedanaGPUServer)

Types

type CedanaGPUClient

type CedanaGPUClient interface {
	Checkpoint(ctx context.Context, in *_go.CheckpointRequest, opts ...grpc.CallOption) (*_go.CheckpointResponse, error)
	Restore(ctx context.Context, in *_go.RestoreRequest, opts ...grpc.CallOption) (*_go.RestoreResponse, error)
	StartupPoll(ctx context.Context, in *_go.StartupPollRequest, opts ...grpc.CallOption) (*_go.StartupPollResponse, error)
	HealthCheck(ctx context.Context, in *_go.HealthCheckRequest, opts ...grpc.CallOption) (*_go.HealthCheckResponse, error)
}

CedanaGPUClient is the client API for CedanaGPU 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 NewCedanaGPUClient

func NewCedanaGPUClient(cc grpc.ClientConnInterface) CedanaGPUClient

type CedanaGPUServer

CedanaGPUServer is the server API for CedanaGPU service. All implementations should embed UnimplementedCedanaGPUServer for forward compatibility.

type UnimplementedCedanaGPUServer

type UnimplementedCedanaGPUServer struct{}

UnimplementedCedanaGPUServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedCedanaGPUServer) Checkpoint

func (UnimplementedCedanaGPUServer) HealthCheck

func (UnimplementedCedanaGPUServer) Restore

func (UnimplementedCedanaGPUServer) StartupPoll

type UnsafeCedanaGPUServer

type UnsafeCedanaGPUServer interface {
	// contains filtered or unexported methods
}

UnsafeCedanaGPUServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CedanaGPUServer will result in compilation errors.

Jump to

Keyboard shortcuts

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