controller

package
v0.0.0-...-f6b4a90 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_controller_controller_proto protoreflect.FileDescriptor

Functions

func RegisterControllerServer

func RegisterControllerServer(s grpc.ServiceRegistrar, srv ControllerServer)

Types

type ControllerClient

type ControllerClient interface {
	UpdateAgentStatusRequest(ctx context.Context, in *agent.HeartBeat, opts ...grpc.CallOption) (*ControllerRequestDone, error)
}

ControllerClient is the client API for Controller 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 NewControllerClient

func NewControllerClient(cc grpc.ClientConnInterface) ControllerClient

type ControllerRequestDone

type ControllerRequestDone struct {
	// contains filtered or unexported fields
}

func (*ControllerRequestDone) Descriptor deprecated

func (*ControllerRequestDone) Descriptor() ([]byte, []int)

Deprecated: Use ControllerRequestDone.ProtoReflect.Descriptor instead.

func (*ControllerRequestDone) ProtoMessage

func (*ControllerRequestDone) ProtoMessage()

func (*ControllerRequestDone) ProtoReflect

func (x *ControllerRequestDone) ProtoReflect() protoreflect.Message

func (*ControllerRequestDone) Reset

func (x *ControllerRequestDone) Reset()

func (*ControllerRequestDone) String

func (x *ControllerRequestDone) String() string

type ControllerServer

type ControllerServer interface {
	UpdateAgentStatusRequest(context.Context, *agent.HeartBeat) (*ControllerRequestDone, error)
	// contains filtered or unexported methods
}

ControllerServer is the server API for Controller service. All implementations must embed UnimplementedControllerServer for forward compatibility

type UnimplementedControllerServer

type UnimplementedControllerServer struct {
}

UnimplementedControllerServer must be embedded to have forward compatible implementations.

func (UnimplementedControllerServer) UpdateAgentStatusRequest

type UnsafeControllerServer

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

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

Jump to

Keyboard shortcuts

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