api

package
v0.0.0-...-9374869 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2017 License: MPL-2.0 Imports: 5 Imported by: 0

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)
}

Jump to

Keyboard shortcuts

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