labeler

package
v0.9.0-devel Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterLabelerServer

func RegisterLabelerServer(s *grpc.Server, srv LabelerServer)

Types

type LabelerClient

type LabelerClient interface {
	SetLabels(ctx context.Context, in *SetLabelsRequest, opts ...grpc.CallOption) (*SetLabelsReply, error)
}

func NewLabelerClient

func NewLabelerClient(cc *grpc.ClientConn) LabelerClient

type LabelerServer

type LabelerServer interface {
	SetLabels(context.Context, *SetLabelsRequest) (*SetLabelsReply, error)
}

type MockLabelerClient

type MockLabelerClient struct {
	mock.Mock
}

MockLabelerClient is an autogenerated mock type for the LabelerClient type

func (*MockLabelerClient) SetLabels

SetLabels provides a mock function with given fields: ctx, in, opts

type SetLabelsReply

type SetLabelsReply struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SetLabelsReply) Descriptor

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

func (*SetLabelsReply) ProtoMessage

func (*SetLabelsReply) ProtoMessage()

func (*SetLabelsReply) Reset

func (m *SetLabelsReply) Reset()

func (*SetLabelsReply) String

func (m *SetLabelsReply) String() string

func (*SetLabelsReply) XXX_DiscardUnknown

func (m *SetLabelsReply) XXX_DiscardUnknown()

func (*SetLabelsReply) XXX_Marshal

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

func (*SetLabelsReply) XXX_Merge

func (dst *SetLabelsReply) XXX_Merge(src proto.Message)

func (*SetLabelsReply) XXX_Size

func (m *SetLabelsReply) XXX_Size() int

func (*SetLabelsReply) XXX_Unmarshal

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

type SetLabelsRequest

type SetLabelsRequest struct {
	NfdVersion           string            `protobuf:"bytes,1,opt,name=nfd_version,json=nfdVersion" json:"nfd_version,omitempty"`
	NodeName             string            `protobuf:"bytes,2,opt,name=node_name,json=nodeName" json:"node_name,omitempty"`
	Labels               map[string]string `` /* 132-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*SetLabelsRequest) Descriptor

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

func (*SetLabelsRequest) GetLabels

func (m *SetLabelsRequest) GetLabels() map[string]string

func (*SetLabelsRequest) GetNfdVersion

func (m *SetLabelsRequest) GetNfdVersion() string

func (*SetLabelsRequest) GetNodeName

func (m *SetLabelsRequest) GetNodeName() string

func (*SetLabelsRequest) ProtoMessage

func (*SetLabelsRequest) ProtoMessage()

func (*SetLabelsRequest) Reset

func (m *SetLabelsRequest) Reset()

func (*SetLabelsRequest) String

func (m *SetLabelsRequest) String() string

func (*SetLabelsRequest) XXX_DiscardUnknown

func (m *SetLabelsRequest) XXX_DiscardUnknown()

func (*SetLabelsRequest) XXX_Marshal

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

func (*SetLabelsRequest) XXX_Merge

func (dst *SetLabelsRequest) XXX_Merge(src proto.Message)

func (*SetLabelsRequest) XXX_Size

func (m *SetLabelsRequest) XXX_Size() int

func (*SetLabelsRequest) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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