v1

package
v0.5.4-rc3 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AgentControl_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "control.AgentControl",
	HandlerType: (*AgentControlServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetHealth",
			Handler:    _AgentControl_GetHealth_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/apis/control/v1/remote.proto",
}

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

View Source
var File_pkg_apis_control_v1_remote_proto protoreflect.FileDescriptor

Functions

func RegisterAgentControlServer

func RegisterAgentControlServer(s grpc.ServiceRegistrar, srv AgentControlServer)

Types

type AgentControlClient

type AgentControlClient interface {
	GetHealth(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*v1.Health, error)
}

AgentControlClient is the client API for AgentControl 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 AgentControlServer

type AgentControlServer interface {
	GetHealth(context.Context, *emptypb.Empty) (*v1.Health, error)
	// contains filtered or unexported methods
}

AgentControlServer is the server API for AgentControl service. All implementations must embed UnimplementedAgentControlServer for forward compatibility

type UnimplementedAgentControlServer

type UnimplementedAgentControlServer struct {
}

UnimplementedAgentControlServer must be embedded to have forward compatible implementations.

func (UnimplementedAgentControlServer) GetHealth

type UnsafeAgentControlServer

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

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

Jump to

Keyboard shortcuts

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