Documentation ¶
Overview ¶
Package api is a generated protocol buffer package.
It is generated from these files:
api.proto
It has these top-level messages:
CollectorIDRequest CollectorIDReply
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCollectorSetControllerServer ¶
func RegisterCollectorSetControllerServer(s *grpc.Server, srv CollectorSetControllerServer)
Types ¶
type CollectorIDReply ¶
type CollectorIDReply struct {
Id int32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
}
The response message from a collector ID request.
func (*CollectorIDReply) Descriptor ¶
func (*CollectorIDReply) Descriptor() ([]byte, []int)
func (*CollectorIDReply) GetId ¶
func (m *CollectorIDReply) GetId() int32
func (*CollectorIDReply) ProtoMessage ¶
func (*CollectorIDReply) ProtoMessage()
func (*CollectorIDReply) Reset ¶
func (m *CollectorIDReply) Reset()
func (*CollectorIDReply) String ¶
func (m *CollectorIDReply) String() string
type CollectorIDRequest ¶
type CollectorIDRequest struct {
Orchestrator string `protobuf:"bytes,2,opt,name=orchestrator" json:"orchestrator,omitempty"`
}
The request message for a collector ID.
func (*CollectorIDRequest) Descriptor ¶
func (*CollectorIDRequest) Descriptor() ([]byte, []int)
func (*CollectorIDRequest) GetOrchestrator ¶
func (m *CollectorIDRequest) GetOrchestrator() string
func (*CollectorIDRequest) ProtoMessage ¶
func (*CollectorIDRequest) ProtoMessage()
func (*CollectorIDRequest) Reset ¶
func (m *CollectorIDRequest) Reset()
func (*CollectorIDRequest) String ¶
func (m *CollectorIDRequest) String() string
type CollectorSetControllerClient ¶
type CollectorSetControllerClient interface { // Retrieves a collector ID. CollectorID(ctx context.Context, in *CollectorIDRequest, opts ...grpc.CallOption) (*CollectorIDReply, error) }
func NewCollectorSetControllerClient ¶
func NewCollectorSetControllerClient(cc *grpc.ClientConn) CollectorSetControllerClient
type CollectorSetControllerServer ¶
type CollectorSetControllerServer interface { // Retrieves a collector ID. CollectorID(context.Context, *CollectorIDRequest) (*CollectorIDReply, error) }
Click to show internal directories.
Click to hide internal directories.