Versions in this module Expand all Collapse all v0 v0.26.0 Apr 9, 2022 Changes in this version + var ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") + func ExtendSortedLabels(lset, extend labels.Labels) labels.Labels + func HashWithPrefix(prefix string, lbls []ZLabel) uint64 + func LabelsToPromLabels(lset []Label) labels.Labels + func PromLabelSetsToString(lsets []labels.Labels) string + func ReAllocZLabelsStrings(lset *[]ZLabel) + func ZLabelSetsToPromLabelSets(lss ...ZLabelSet) []labels.Labels + func ZLabelsToPromLabels(lset []ZLabel) labels.Labels + type Label struct + Name string + Value string + func LabelsFromPromLabels(lset labels.Labels) []Label + func (*Label) Descriptor() ([]byte, []int) + func (*Label) ProtoMessage() + func (m *Label) Marshal() (dAtA []byte, err error) + func (m *Label) MarshalTo(dAtA []byte) (int, error) + func (m *Label) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Label) Reset() + func (m *Label) Size() (n int) + func (m *Label) String() string + func (m *Label) Unmarshal(dAtA []byte) error + func (m *Label) XXX_DiscardUnknown() + func (m *Label) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Label) XXX_Merge(src proto.Message) + func (m *Label) XXX_Size() int + func (m *Label) XXX_Unmarshal(b []byte) error + type LabelSet struct + Labels []Label + func (*LabelSet) Descriptor() ([]byte, []int) + func (*LabelSet) ProtoMessage() + func (m *LabelSet) Marshal() (dAtA []byte, err error) + func (m *LabelSet) MarshalTo(dAtA []byte) (int, error) + func (m *LabelSet) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *LabelSet) Reset() + func (m *LabelSet) Size() (n int) + func (m *LabelSet) String() string + func (m *LabelSet) Unmarshal(dAtA []byte) error + func (m *LabelSet) XXX_DiscardUnknown() + func (m *LabelSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *LabelSet) XXX_Merge(src proto.Message) + func (m *LabelSet) XXX_Size() int + func (m *LabelSet) XXX_Unmarshal(b []byte) error + type ZLabel Label + func DeepCopy(lbls []ZLabel) []ZLabel + func ZLabelsFromPromLabels(lset labels.Labels) []ZLabel + func (m *ZLabel) Compare(other ZLabel) int + func (m *ZLabel) Equal(other ZLabel) bool + func (m *ZLabel) Marshal() ([]byte, error) + func (m *ZLabel) MarshalJSON() ([]byte, error) + func (m *ZLabel) MarshalTo(data []byte) (int, error) + func (m *ZLabel) MarshalToSizedBuffer(data []byte) (int, error) + func (m *ZLabel) Size() (n int) + func (m *ZLabel) Unmarshal(data []byte) error + func (m *ZLabel) UnmarshalJSON(entry []byte) error + type ZLabelSet struct + Labels []ZLabel + func (*ZLabelSet) Descriptor() ([]byte, []int) + func (*ZLabelSet) ProtoMessage() + func (m *ZLabelSet) Marshal() (dAtA []byte, err error) + func (m *ZLabelSet) MarshalJSON() ([]byte, error) + func (m *ZLabelSet) MarshalTo(dAtA []byte) (int, error) + func (m *ZLabelSet) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ZLabelSet) PromLabels() labels.Labels + func (m *ZLabelSet) Reset() + func (m *ZLabelSet) Size() (n int) + func (m *ZLabelSet) String() string + func (m *ZLabelSet) Unmarshal(dAtA []byte) error + func (m *ZLabelSet) UnmarshalJSON(entry []byte) error + func (m *ZLabelSet) XXX_DiscardUnknown() + func (m *ZLabelSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ZLabelSet) XXX_Merge(src proto.Message) + func (m *ZLabelSet) XXX_Size() int + func (m *ZLabelSet) XXX_Unmarshal(b []byte) error + type ZLabelSets []ZLabelSet + func (z ZLabelSets) Len() int + func (z ZLabelSets) Less(i, j int) bool + func (z ZLabelSets) Swap(i, j int)