Documentation ¶
Index ¶
- func RegisterLabelerServer(s *grpc.Server, srv LabelerServer)
- type LabelerClient
- type LabelerServer
- type MockLabelerClient
- type SetLabelsReply
- func (*SetLabelsReply) Descriptor() ([]byte, []int)
- func (*SetLabelsReply) ProtoMessage()
- func (m *SetLabelsReply) Reset()
- func (m *SetLabelsReply) String() string
- func (m *SetLabelsReply) XXX_DiscardUnknown()
- func (m *SetLabelsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetLabelsReply) XXX_Merge(src proto.Message)
- func (m *SetLabelsReply) XXX_Size() int
- func (m *SetLabelsReply) XXX_Unmarshal(b []byte) error
- type SetLabelsRequest
- func (*SetLabelsRequest) Descriptor() ([]byte, []int)
- func (m *SetLabelsRequest) GetLabels() map[string]string
- func (m *SetLabelsRequest) GetNfdVersion() string
- func (m *SetLabelsRequest) GetNodeName() string
- func (*SetLabelsRequest) ProtoMessage()
- func (m *SetLabelsRequest) Reset()
- func (m *SetLabelsRequest) String() string
- func (m *SetLabelsRequest) XXX_DiscardUnknown()
- func (m *SetLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetLabelsRequest) XXX_Merge(src proto.Message)
- func (m *SetLabelsRequest) XXX_Size() int
- func (m *SetLabelsRequest) XXX_Unmarshal(b []byte) error
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 ¶
MockLabelerClient is an autogenerated mock type for the LabelerClient type
func (*MockLabelerClient) SetLabels ¶
func (_m *MockLabelerClient) SetLabels(ctx context.Context, in *SetLabelsRequest, opts ...grpc.CallOption) (*SetLabelsReply, error)
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
Click to show internal directories.
Click to hide internal directories.