api

package
Version: v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: MPL-2.0 Imports: 7 Imported by: 11

Documentation

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,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*CollectorIDReply) XXX_DiscardUnknown

func (m *CollectorIDReply) XXX_DiscardUnknown()

func (*CollectorIDReply) XXX_Marshal

func (m *CollectorIDReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CollectorIDReply) XXX_Merge

func (m *CollectorIDReply) XXX_Merge(src proto.Message)

func (*CollectorIDReply) XXX_Size

func (m *CollectorIDReply) XXX_Size() int

func (*CollectorIDReply) XXX_Unmarshal

func (m *CollectorIDReply) XXX_Unmarshal(b []byte) error

type CollectorIDRequest

type CollectorIDRequest struct {
	Orchestrator         string   `protobuf:"bytes,2,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*CollectorIDRequest) XXX_DiscardUnknown

func (m *CollectorIDRequest) XXX_DiscardUnknown()

func (*CollectorIDRequest) XXX_Marshal

func (m *CollectorIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CollectorIDRequest) XXX_Merge

func (m *CollectorIDRequest) XXX_Merge(src proto.Message)

func (*CollectorIDRequest) XXX_Size

func (m *CollectorIDRequest) XXX_Size() int

func (*CollectorIDRequest) XXX_Unmarshal

func (m *CollectorIDRequest) XXX_Unmarshal(b []byte) error

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

Source Files

Jump to

Keyboard shortcuts

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