api

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2021 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func RegisterCollectorSetControllerServer

func RegisterCollectorSetControllerServer(s *grpc.Server, srv CollectorSetControllerServer)

Types

type CollectorIDReply

type CollectorIDReply struct {
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

The response message from a collector ID request.

func (*CollectorIDReply) Descriptor deprecated

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

Deprecated: Use CollectorIDReply.ProtoReflect.Descriptor instead.

func (*CollectorIDReply) GetId

func (x *CollectorIDReply) GetId() int32

func (*CollectorIDReply) ProtoMessage

func (*CollectorIDReply) ProtoMessage()

func (*CollectorIDReply) ProtoReflect

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

func (*CollectorIDReply) Reset

func (x *CollectorIDReply) Reset()

func (*CollectorIDReply) String

func (x *CollectorIDReply) String() string

type CollectorIDRequest

type CollectorIDRequest struct {
	Orchestrator string `protobuf:"bytes,2,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"`
	// contains filtered or unexported fields
}

The request message for a collector ID.

func (*CollectorIDRequest) Descriptor deprecated

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

Deprecated: Use CollectorIDRequest.ProtoReflect.Descriptor instead.

func (*CollectorIDRequest) GetOrchestrator

func (x *CollectorIDRequest) GetOrchestrator() string

func (*CollectorIDRequest) ProtoMessage

func (*CollectorIDRequest) ProtoMessage()

func (*CollectorIDRequest) ProtoReflect

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

func (*CollectorIDRequest) Reset

func (x *CollectorIDRequest) Reset()

func (*CollectorIDRequest) String

func (x *CollectorIDRequest) String() string

type CollectorSetControllerClient

type CollectorSetControllerClient interface {
	// Retrieves a collector ID.
	CollectorID(ctx context.Context, in *CollectorIDRequest, opts ...grpc.CallOption) (*CollectorIDReply, error)
}

CollectorSetControllerClient is the client API for CollectorSetController service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type CollectorSetControllerServer

type CollectorSetControllerServer interface {
	// Retrieves a collector ID.
	CollectorID(context.Context, *CollectorIDRequest) (*CollectorIDReply, error)
}

CollectorSetControllerServer is the server API for CollectorSetController service.

type UnimplementedCollectorSetControllerServer

type UnimplementedCollectorSetControllerServer struct {
}

UnimplementedCollectorSetControllerServer can be embedded to have forward compatible implementations.

func (*UnimplementedCollectorSetControllerServer) CollectorID

Jump to

Keyboard shortcuts

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