Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
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.golang.ir/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 ¶
func (UnimplementedControllerServer) UpdateAgentStatusRequest(context.Context, *agent.HeartBeat) (*ControllerRequestDone, error)
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.