Documentation ¶
Index ¶
- Variables
- type Label
- type Metadata
- func (m *Metadata) AddLabel(newLabel *Label) error
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (m *Metadata) GetLabelByKey(key string) *Label
- func (x *Metadata) GetLabels() []*Label
- func (m *Metadata) GetLabelsByKey(key string) []*Label
- func (m *Metadata) MatchLabel(expectLabel *Label) bool
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (m *Metadata) RemoveLabel(expectLabel *Label) bool
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- func (this *Metadata) Validate() error
Constants ¶
This section is empty.
Variables ¶
View Source
var File_label_label_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Label ¶
type Label struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
label - container for name/value content
func (*Label) Descriptor
deprecated
func (*Label) ProtoMessage ¶
func (*Label) ProtoMessage()
func (*Label) ProtoReflect ¶
func (x *Label) ProtoReflect() protoreflect.Message
type Metadata ¶
type Metadata struct { Labels []*Label `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"` // contains filtered or unexported fields }
Metadata - type for integrate to other objects
func BlankMetadata ¶
func BlankMetadata() *Metadata
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetLabelByKey ¶
func (*Metadata) GetLabelsByKey ¶
func (*Metadata) MatchLabel ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
func (*Metadata) RemoveLabel ¶
Click to show internal directories.
Click to hide internal directories.