From 20779ddb80b7a80a0530e59e91f5c969435ac8aa Mon Sep 17 00:00:00 2001 From: Johnny Graettinger Date: Wed, 19 Jun 2024 21:09:05 -0500 Subject: [PATCH] protocol: LabelSelectors support prefix matches In uses of Gazette, labels often encode a hierarchical namespace such as "foo/bar/baz", and for such labels it's desireable to be able to create a LabelSelector that includes or excludes an entire sub-hierarchy of potential label values, such as including or excluding any label that begins with "foo/bar/". Extend Label to have a Prefix field which may only be set in the context of a LabelSelector (and is a Validate() error otherwise). In a LabelSelector context, Prefix instructs selector matching to match any label value which is prefixed by the given selector label. Introduce a convention of "my-label:prefix" as a special suffix which indicates that prefix matching is desired, and update LabelSelector parsing to round-trip such ":prefix" suffixes. Update the implementation of the special meta-label "prefix" to be in terms of a "name:prefix" selector label, and back out the bespoke implementation that has until-now been used for journal name prefix matching. --- broker/list_apply_api.go | 12 + broker/list_apply_api_test.go | 9 +- broker/protocol/journal_spec_extensions.go | 14 +- .../protocol/journal_spec_extensions_test.go | 7 +- broker/protocol/label_extensions.go | 101 +++-- broker/protocol/label_extensions_test.go | 57 ++- broker/protocol/protocol.pb.go | 374 ++++++++++-------- broker/protocol/protocol.proto | 7 + 8 files changed, 340 insertions(+), 241 deletions(-) diff --git a/broker/list_apply_api.go b/broker/list_apply_api.go index 4d15e450..85f1fcc7 100644 --- a/broker/list_apply_api.go +++ b/broker/list_apply_api.go @@ -39,6 +39,18 @@ func (svc *Service) List(ctx context.Context, req *pb.ListRequest) (resp *pb.Lis } var metaLabels, allLabels pb.LabelSet + // Gazette has historically offered a special "prefix" label which matches + // slash-terminated prefixes of a journal name. Today, it's implemented in + // terms of a LabelSelector prefix match. + for _, set := range []*pb.LabelSet{&req.Selector.Include, &req.Selector.Exclude} { + if prefix := set.ValuesOf("prefix"); len(prefix) != 0 { + for _, val := range prefix { + set.AddValue("name:prefix", val) + } + set.Remove("prefix") + } + } + defer s.KS.Mu.RUnlock() s.KS.Mu.RLock() diff --git a/broker/list_apply_api_test.go b/broker/list_apply_api_test.go index 6244a917..56813adc 100644 --- a/broker/list_apply_api_test.go +++ b/broker/list_apply_api_test.go @@ -110,7 +110,14 @@ func TestListCases(t *testing.T) { require.NoError(t, err) verify(resp, specB) - // Case: Meta-label "prefix" selects journals by name prefix. + // Case: Meta-label "name:prefix" selects journals by name prefix. + resp, err = broker.client().List(ctx, &pb.ListRequest{ + Selector: pb.LabelSelector{Include: pb.MustLabelSet("name:prefix", "journal/1")}, + }) + require.NoError(t, err) + verify(resp, specA, specC) + + // Case: legacy meta-label "prefix" also selects journals by name prefix. resp, err = broker.client().List(ctx, &pb.ListRequest{ Selector: pb.LabelSelector{Include: pb.MustLabelSet("prefix", "journal/1/")}, }) diff --git a/broker/protocol/journal_spec_extensions.go b/broker/protocol/journal_spec_extensions.go index 042c755d..145e2e09 100644 --- a/broker/protocol/journal_spec_extensions.go +++ b/broker/protocol/journal_spec_extensions.go @@ -359,24 +359,18 @@ func SubtractJournalSpecs(a, b JournalSpec) JournalSpec { } // ExtractJournalSpecMetaLabels adds to the LabelSet a singular label "name", -// with value of the JournalSpec Name, and multi-label "prefix", having a value -// for each path component prefix of Name. +// with value of the JournalSpec Name. func ExtractJournalSpecMetaLabels(spec *JournalSpec, out LabelSet) LabelSet { var name = spec.Name.String() out.Labels = append(out.Labels[:0], Label{Name: "name", Value: name}) - - for i, j := 0, strings.IndexByte(name, '/'); j != -1; j = strings.IndexByte(name[i:], '/') { - i += j + 1 - out.Labels = append(out.Labels, Label{Name: "prefix", Value: name[:i]}) - } return out } // validateJournalLabelConstraints asserts expected invariants of MessageType, // MessageSubType, and ContentType labels: -// * ContentType must parse as a RFC 1521 MIME / media-type. -// * If MessageType is present, so is ContentType. -// * If MessageSubType is present, so is MessageType. +// - ContentType must parse as a RFC 1521 MIME / media-type. +// - If MessageType is present, so is ContentType. +// - If MessageSubType is present, so is MessageType. func validateJournalLabelConstraints(ls LabelSet) error { if err := ValidateSingleValueLabels(ls); err != nil { return err diff --git a/broker/protocol/journal_spec_extensions_test.go b/broker/protocol/journal_spec_extensions_test.go index a43187b4..526f3f60 100644 --- a/broker/protocol/journal_spec_extensions_test.go +++ b/broker/protocol/journal_spec_extensions_test.go @@ -179,12 +179,7 @@ func (s *JournalSuite) TestSpecValidationCases(c *gc.C) { func (s *JournalSuite) TestMetaLabelExtraction(c *gc.C) { c.Check(ExtractJournalSpecMetaLabels(&JournalSpec{Name: "path/to/my/journal"}, MustLabelSet("label", "buffer")), - gc.DeepEquals, MustLabelSet( - "name", "path/to/my/journal", - "prefix", "path/", - "prefix", "path/to/", - "prefix", "path/to/my/", - )) + gc.DeepEquals, MustLabelSet("name", "path/to/my/journal")) } func (s *JournalSuite) TestFlagYAMLRoundTrip(c *gc.C) { diff --git a/broker/protocol/label_extensions.go b/broker/protocol/label_extensions.go index c97bb2dc..02209285 100644 --- a/broker/protocol/label_extensions.go +++ b/broker/protocol/label_extensions.go @@ -4,16 +4,22 @@ import ( "bytes" "regexp" "sort" + "strings" "go.gazette.dev/core/labels" ) // Validate returns an error if the Label is not well-formed. func (m Label) Validate() error { + return m.validate(false) +} +func (m Label) validate(allowPrefix bool) error { if err := ValidateToken(m.Name, TokenSymbols, minLabelLen, maxLabelLen); err != nil { return ExtendContext(err, "Name") } else if err = ValidateToken(m.Value, pathSymbols, 0, maxLabelValueLen); err != nil { return ExtendContext(err, "Value") + } else if m.Prefix && !allowPrefix { + return NewValidationError("Prefix may not be set outside of a LabelSelector") } return nil } @@ -27,7 +33,7 @@ func MustLabelSet(nv ...string) (set LabelSet) { for i := 0; i != len(nv); i += 2 { set.AddValue(nv[i], nv[i+1]) } - if err := set.Validate(); err != nil { + if err := set.validate(true); err != nil { panic(err.Error()) } return @@ -35,8 +41,11 @@ func MustLabelSet(nv ...string) (set LabelSet) { // Validate returns an error if the LabelSet is not well-formed. func (m LabelSet) Validate() error { + return m.validate(false) +} +func (m LabelSet) validate(allowPrefix bool) error { for i := range m.Labels { - if err := m.Labels[i].Validate(); err != nil { + if err := m.Labels[i].validate(allowPrefix); err != nil { return ExtendContext(err, "Labels[%d]", i) } else if i == 0 { continue @@ -108,7 +117,12 @@ func (m *LabelSet) SetValue(name, value string) { } // AddValue adds Label |name| with |value|, retaining any existing Labels |name|. +// If |name| has the special suffix ":prefix", the Label is marked as a prefix +// match. It's only valid to use ":prefix" within the context of a LabelSelector. func (m *LabelSet) AddValue(name, value string) { + var prefix = strings.HasSuffix(name, ":prefix") + name = strings.TrimSuffix(name, ":prefix") + var ind = sort.Search(len(m.Labels), func(i int) bool { if m.Labels[i].Name != name { return m.Labels[i].Name > name @@ -116,7 +130,7 @@ func (m *LabelSet) AddValue(name, value string) { return m.Labels[i].Value >= value } }) - var label = Label{Name: name, Value: value} + var label = Label{Name: name, Value: value, Prefix: prefix} if ind != len(m.Labels) && m.Labels[ind] == label { // No-op. @@ -215,9 +229,9 @@ func SubtractLabelSet(lhs, rhs, out LabelSet) LabelSet { // Validate returns an error if the LabelSelector is not well-formed. func (m LabelSelector) Validate() error { - if err := m.Include.Validate(); err != nil { + if err := m.Include.validate(true); err != nil { return ExtendContext(err, "Include") - } else if err := m.Exclude.Validate(); err != nil { + } else if err := m.Exclude.validate(true); err != nil { return ExtendContext(err, "Exclude") } return nil @@ -237,7 +251,20 @@ func (m LabelSelector) Matches(s LabelSet) bool { func (s LabelSelector) String() string { var w = bytes.NewBuffer(nil) - var f = func(l []Label, exc bool) { + var f = func(input []Label, exc bool) { + var l []Label + + // Attach literal ":prefix" suffixes to names so that prefixes are + // distinguished during the subsequent self-join over `l`. + for _, ll := range input { + if ll.Prefix { + ll.Name = ll.Name + ":prefix" + } + l = append(l, ll) + } + // We may have changed Name ordering. Re-index. + sort.Slice(l, func(i, j int) bool { return l[i].Name < l[j].Name }) + var it = labelJoin{setL: l, setR: l, lenL: len(l), lenR: len(l)} for cur, ok := it.next(); ok; cur, ok = it.next() { if cur.lBeg+1 == cur.lEnd && l[cur.lBeg].Value == "" { @@ -298,7 +325,9 @@ func matchSelector(sel, set []Label, reqAll bool) bool { var matched bool for a, b := sel[cur.lBeg:cur.lEnd], set[cur.rBeg:cur.rEnd]; !matched && len(a) != 0 && len(b) != 0; { - if a[0].Value == "" || a[0].Value == b[0].Value { + if a[0].Value == "" || + (!a[0].Prefix && a[0].Value == b[0].Value) || + (a[0].Prefix && strings.HasPrefix(b[0].Value, a[0].Value)) { matched = true // Selector value "" implicitly matches any value of the label. } else if a[0].Value < b[0].Value { a = a[1:] @@ -378,16 +407,22 @@ func labelValuesEqual(it labelJoin, cur labelJoinCursor) bool { // expression types are equality, in-equality, set membership, set exclusion, // existence, and non-existence. Eg: // -// * "foo = bar" requires that label "foo" be present with value "bar" -// * "foo != bar" requires that label "foo" not be present with value "bar" -// * "foo" requires that label "foo" be present (with any value). -// * "!foo" requires that label "foo" not be present. -// * "foo in (bar,baz)" requires that "foo" be present with either "bar" or "baz". -// * "foo notin (bar,baz)" requires that "foo", if present, not have value "bar" or "baz". +// - "foo = bar" requires that label "foo" be present with value "bar" +// - "foo != bar" requires that label "foo" not be present with value "bar" +// - "foo" requires that label "foo" be present (with any value). +// - "!foo" requires that label "foo" not be present. +// - "foo in (bar,baz)" requires that "foo" be present with either "bar" or "baz". +// - "foo notin (bar,baz)" requires that "foo", if present, not have value "bar" or "baz". +// +// A label name within a selector can have a "my-label:prefix" suffix which +// tests whether the selector value is a prefix of the named label value, +// instead of using exact equality. +// For example, "foo:prefix in (one/two/, three/)" would match "one/two/three" +// and "three/four/five" but not "one/one/" or "four/five/six". // // Additional examples of composite expressions: -// * "topic in (topic/one, topic/two), prefix=/my/journal/prefix" -// * "env in (production, qa), tier not in (frontend,backend), partition" +// - "topic in (topic/one, topic/two), name:prefix=/my/journal/prefix" +// - "env in (production, qa), tier not in (frontend,backend), partition" // // ParseLabelSelector is invariant to _reasonable_ spacing: eg, "not in" and // "notin" may be used interchangeably, as may "==" and "=", with or without @@ -398,60 +433,46 @@ func ParseLabelSelector(s string) (LabelSelector, error) { for len(s) != 0 { var m []string if m = reSelectorEqual.FindStringSubmatch(s); m != nil { - out.Include.Labels = append(out.Include.Labels, Label{Name: m[1], Value: m[2]}) + out.Include.AddValue(m[1], m[2]) } else if m = reSelectorNotEqual.FindStringSubmatch(s); m != nil { - out.Exclude.Labels = append(out.Exclude.Labels, Label{Name: m[1], Value: m[2]}) + out.Exclude.AddValue(m[1], m[2]) } else if m = reSelectorSetIn.FindStringSubmatch(s); m != nil { - if parts, err := parseSetParts(m[1], m[2]); err != nil { + if err := parseSetParts(&out.Include, m[1], m[2]); err != nil { return LabelSelector{}, ExtendContext(err, "parsing %q", s) - } else { - out.Include.Labels = append(out.Include.Labels, parts...) } } else if m = reSelectorSetNotIn.FindStringSubmatch(s); m != nil { - if parts, err := parseSetParts(m[1], m[2]); err != nil { + if err := parseSetParts(&out.Exclude, m[1], m[2]); err != nil { return LabelSelector{}, ExtendContext(err, "parsing %q", s) - } else { - out.Exclude.Labels = append(out.Exclude.Labels, parts...) } } else if m = reSelectorSetExists.FindStringSubmatch(s); m != nil { - out.Include.Labels = append(out.Include.Labels, Label{Name: m[1]}) + out.Include.AddValue(m[1], "") } else if m = reSelectorSetNotExists.FindStringSubmatch(s); m != nil { - out.Exclude.Labels = append(out.Exclude.Labels, Label{Name: m[1]}) + out.Exclude.AddValue(m[1], "") } else { return LabelSelector{}, NewValidationError("could not match %q to a label selector expression", s) } s = s[len(m[0]):] } - for _, l := range [][]Label{out.Include.Labels, out.Exclude.Labels} { - sort.Slice(l, func(i, j int) bool { - if l[i].Name != l[j].Name { - return l[i].Name < l[j].Name - } - return l[i].Value < l[j].Value - }) - } return out, out.Validate() } -func parseSetParts(name, s string) ([]Label, error) { - var out []Label - +func parseSetParts(set *LabelSet, name, s string) error { for len(s) != 0 { var m []string if m = reSelectorSetValue.FindStringSubmatch(s); m != nil { - out = append(out, Label{Name: name, Value: m[1]}) + set.AddValue(name, m[1]) } else { - return nil, NewValidationError("could not match %q to a label selector set expression", s) + return NewValidationError("could not match %q to a label selector set expression", s) } s = s[len(m[0]):] } - return out, nil + return nil } var ( - reToken = ` ?([\pL\pN\` + regexp.QuoteMeta(TokenSymbols) + `]{2,})` + reToken = ` ?([\pL\pN\` + regexp.QuoteMeta(TokenSymbols) + `]{2,}(?:\:prefix)?)` rePath = ` ?([\pL\pN\` + regexp.QuoteMeta(pathSymbols) + `]{0,})` reCommaOrEnd = ` ?(?:,|$)` reParenthetical = ` ?\(([^)]+)\)` diff --git a/broker/protocol/label_extensions_test.go b/broker/protocol/label_extensions_test.go index b5f47918..7f2eba7b 100644 --- a/broker/protocol/label_extensions_test.go +++ b/broker/protocol/label_extensions_test.go @@ -22,6 +22,7 @@ func (s *LabelSuite) TestLabelValidationCases(c *gc.C) { {strings.Repeat("a", maxLabelLen+1), "a-value", `Name: invalid length \(65; expected .*`}, {"a-label", "", ""}, // Success {"a-label", strings.Repeat("a", maxLabelValueLen+1), `Value: invalid length \(1025; expected .*`}, + {"a-label:prefix", "a-value", `Name: not a valid token \(a-label:prefix\)`}, } for _, tc := range cases { if tc.expect == "" { @@ -50,6 +51,7 @@ func (s *LabelSuite) TestSetValidationCases(c *gc.C) { {Name: "ccc", Value: ""}, {Name: "ccc", Value: ""}, {Name: "ccc", Value: "555"}, + {Name: "ddd", Value: "666", Prefix: true}, }, } @@ -68,16 +70,30 @@ func (s *LabelSuite) TestSetValidationCases(c *gc.C) { c.Check(set.Validate(), gc.ErrorMatches, `Label has empty & non-empty values \(index 5; label ccc value 444\)`) set.Labels[4].Value = "44" + c.Check(set.Validate(), gc.ErrorMatches, `Labels\[7\]: Prefix may not be set outside of a LabelSelector`) + set.Labels[7].Prefix = false + c.Check(set.Validate(), gc.IsNil) } func (s *LabelSuite) TestEqualityCases(c *gc.C) { var lhs = MustLabelSet("one", "1", "three", "3") - var rhs = MustLabelSet("one", "1") + var rhs = MustLabelSet("one", "1", "two:prefix", "pre/") c.Check(lhs.Equal(&rhs), gc.Equals, false) rhs.AddValue("three", "3") + c.Check(lhs.Equal(&rhs), gc.Equals, false) + lhs.AddValue("two:prefix", "pre/") c.Check(lhs.Equal(&rhs), gc.Equals, true) + + c.Check(lhs.Equal(&LabelSet{ + Labels: []Label{ + {Name: "one", Value: "1"}, + {Name: "three", Value: "3"}, + {Name: "two", Value: "pre/", Prefix: true}, + }, + }), gc.Equals, true) + rhs.AddValue("four", "4") c.Check(lhs.Equal(&rhs), gc.Equals, false) @@ -250,6 +266,7 @@ func (s *LabelSuite) TestSelectorValidationCases(c *gc.C) { Include: LabelSet{ Labels: []Label{ {Name: "include", Value: "a-value"}, + {Name: "prefix-thing", Value: "prefix/", Prefix: true}, }, }, Exclude: LabelSet{ @@ -271,7 +288,7 @@ func (s *LabelSuite) TestSelectorValidationCases(c *gc.C) { func (s *LabelSuite) TestSelectorMatchingCases(c *gc.C) { var sel = LabelSelector{ Include: MustLabelSet( - "inc-1", "a-val", + "inc-1:prefix", "a-val/", "inc-2", "", "inc-3", "val-1", "inc-3", "val-2"), @@ -287,17 +304,17 @@ func (s *LabelSuite) TestSelectorMatchingCases(c *gc.C) { expect bool }{ {set: MustLabelSet(), expect: false}, // Not matched. - {set: MustLabelSet("foo", "bar", "inc-1", "a-val", "inc-2", "any", "inc-3", "val-1"), expect: true}, // Matched. - {set: MustLabelSet("foo", "bar", "inc-1", "a-val", "inc-2", "foo", "inc-3", "val-1"), expect: true}, // Matched (invariant to inc-2 value). - {set: MustLabelSet("foo", "bar", "inc-1", "a-val", "inc-2", "any", "inc-3", "val-2"), expect: true}, // Matched (alternate inc-3 value). + {set: MustLabelSet("foo", "bar", "inc-1", "a-val/a/1", "inc-2", "any", "inc-3", "val-1"), expect: true}, // Matched. + {set: MustLabelSet("foo", "bar", "inc-1", "a-val/b/2", "inc-2", "foo", "inc-3", "val-1"), expect: true}, // Matched (invariant to inc-2 value). + {set: MustLabelSet("foo", "bar", "inc-1", "a-val/c/3", "inc-2", "any", "inc-3", "val-2"), expect: true}, // Matched (alternate inc-3 value). - {set: MustLabelSet("foo", "bar", "inc-1", "bad-val", "inc-2", "any", "inc-3", "val-1"), expect: false}, // Not matched (inc-1 not matched). - {set: MustLabelSet("foo", "bar", "inc-1", "a-val", "inc-3", "val-1"), expect: false}, // Not matched (inc-2 missing). - {set: MustLabelSet("foo", "bar", "inc-1", "a-val", "inc-2", "any", "inc-3", "val-other"), expect: false}, // Not matched (inc-3 not matched). + {set: MustLabelSet("foo", "bar", "inc-1", "bad-val/4", "inc-2", "any", "inc-3", "val-1"), expect: false}, // Not matched (inc-1 not matched). + {set: MustLabelSet("foo", "bar", "inc-1", "a-val/5", "inc-3", "val-1"), expect: false}, // Not matched (inc-2 missing). + {set: MustLabelSet("foo", "bar", "inc-1", "a-val/6", "inc-2", "any", "inc-3", "val-other"), expect: false}, // Not matched (inc-3 not matched). - {set: MustLabelSet("exc-1", "any", "foo", "bar", "inc-1", "a-val", "inc-2", "any", "inc-3", "val-1"), expect: false}, // Not matched (exc-1 matched). - {set: MustLabelSet("exc-2", "val-4", "foo", "bar", "inc-1", "a-val", "inc-2", "any", "inc-3", "val-1"), expect: false}, // Not matched (exc-2 matched). - {set: MustLabelSet("exc-2", "val-ok", "foo", "bar", "inc-1", "a-val", "inc-2", "any", "inc-3", "val-1"), expect: true}, // Matched (exc-2 not matched). + {set: MustLabelSet("exc-1", "any", "foo", "bar", "inc-1", "a-val/a/7", "inc-2", "any", "inc-3", "val-1"), expect: false}, // Not matched (exc-1 matched). + {set: MustLabelSet("exc-2", "val-4", "foo", "bar", "inc-1", "a-val/8", "inc-2", "any", "inc-3", "val-1"), expect: false}, // Not matched (exc-2 matched). + {set: MustLabelSet("exc-2", "val-ok", "foo", "bar", "inc-1", "a-val/9/9", "inc-2", "any", "inc-3", "val-1"), expect: true}, // Matched (exc-2 not matched). } for _, tc := range cases { c.Check(sel.Matches(tc.set), gc.Equals, tc.expect) @@ -316,9 +333,9 @@ func (s *LabelSuite) TestOuterJoin(c *gc.C) { var lhs, rhs = MustLabelSet( "aaa", "l0", "aaa", "l1", - "ccc", "l2", - "ccc", "l3", - "ccc", "l4", + "ccc:prefix", "l2", + "ccc:prefix", "l3", + "ccc:prefix", "l4", "eee", "l5", "eee", "l6", ), MustLabelSet( @@ -361,6 +378,10 @@ func (s *LabelSuite) TestSelectorParsingCases(c *gc.C) { s: "foo = bar", expect: LabelSelector{Include: MustLabelSet("foo", "bar")}, }, + { + s: "foo:prefix =bar", + expect: LabelSelector{Include: MustLabelSet("foo:prefix", "bar")}, + }, { s: "foo != bar", expect: LabelSelector{Exclude: MustLabelSet("foo", "bar")}, @@ -382,17 +403,17 @@ func (s *LabelSuite) TestSelectorParsingCases(c *gc.C) { expect: LabelSelector{Exclude: MustLabelSet("foo", "apple", "foo", "pear")}, }, { - s: "foo==bar, baz !=bing ,apple in (fruit, banana)", + s: "foo==bar, baz !=bing ,apple:prefix in (fruit, banana)", expect: LabelSelector{ - Include: MustLabelSet("apple", "banana", "apple", "fruit", "foo", "bar"), + Include: MustLabelSet("apple:prefix", "banana", "apple:prefix", "fruit", "foo", "bar"), Exclude: MustLabelSet("baz", "bing"), }, }, { - s: "!foo,baz,bing not in (thing-one, thing-2),!bar,", + s: "!foo,baz,bing:prefix not in (thing-one, thing-2),!bar,", expect: LabelSelector{ Include: MustLabelSet("baz", ""), - Exclude: MustLabelSet("bar", "", "bing", "thing-2", "bing", "thing-one", "foo", ""), + Exclude: MustLabelSet("bar", "", "bing:prefix", "thing-2", "bing:prefix", "thing-one", "foo", ""), }, }, // Label values may include '='. diff --git a/broker/protocol/protocol.pb.go b/broker/protocol/protocol.pb.go index a1d20a99..819d3de1 100644 --- a/broker/protocol/protocol.pb.go +++ b/broker/protocol/protocol.pb.go @@ -12,10 +12,10 @@ import ( proto "github.com/gogo/protobuf/proto" github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" golang_proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/duration" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" + _ "google.golang.org/protobuf/types/known/durationpb" io "io" math "math" math_bits "math/bits" @@ -225,8 +225,13 @@ func (JournalSpec_Flag) EnumDescriptor() ([]byte, []int) { // attributes which do not directly imply semantics to the core system, but // are meaningful to users or for higher-level Gazette tools. type Label struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Name of this label. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Value of this label. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + // Does this label match on value prefix? + // May only be set true within a LabelSelector. + Prefix bool `protobuf:"varint,3,opt,name=prefix,proto3" json:"prefix,omitempty" yaml:",omitempty"` } func (m *Label) Reset() { *m = Label{} } @@ -1767,170 +1772,171 @@ func init() { } var fileDescriptor_0c0999e5af553218 = []byte{ - // 2597 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x59, 0x3d, 0x70, 0x1b, 0xc7, - 0xf5, 0xe7, 0x01, 0x07, 0xe0, 0xf0, 0x00, 0x90, 0xc7, 0xb5, 0x25, 0x51, 0xb0, 0x45, 0xd0, 0xf0, - 0xc7, 0x9f, 0x92, 0x6d, 0xd0, 0xa6, 0xff, 0xb1, 0x1d, 0x65, 0x9c, 0x18, 0x20, 0x40, 0x09, 0x32, - 0x04, 0x60, 0x16, 0xa0, 0x65, 0xb9, 0xc8, 0xcd, 0xf1, 0x6e, 0x09, 0x5e, 0x78, 0xb8, 0x43, 0xee, - 0x16, 0x32, 0xe9, 0xce, 0x4d, 0xe2, 0xc2, 0x99, 0xc9, 0xa4, 0x72, 0x95, 0x71, 0x93, 0x3a, 0x99, - 0x49, 0x97, 0x34, 0x29, 0x95, 0xce, 0x65, 0x66, 0x92, 0x30, 0x13, 0x6b, 0x26, 0x93, 0x5a, 0xa5, - 0xab, 0xcc, 0x7e, 0x1c, 0x70, 0x04, 0x41, 0x51, 0x2a, 0xd8, 0x60, 0x76, 0xdf, 0xd7, 0xb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, 0xf1, 0x3b, 0xaa, 0x96, 0xd0, 0x93, 0x77, 0x54, 0x2d, 0xa9, 0xab, 0xe5, 0xff, 0x24, - 0x20, 0x2f, 0xcc, 0x5e, 0xf8, 0x91, 0xfb, 0x10, 0x34, 0x99, 0x7c, 0xf1, 0x90, 0x39, 0xf1, 0xb2, - 0x8c, 0xfb, 0x10, 0x3d, 0x33, 0x23, 0xc7, 0x23, 0xad, 0xe2, 0x1f, 0x15, 0x88, 0x8a, 0x05, 0x6d, - 0x80, 0x3a, 0xbf, 0x55, 0x8c, 0x3d, 0x20, 0xa5, 0x01, 0x2e, 0xc8, 0xce, 0x24, 0xbb, 0x2a, 0x03, - 0xf2, 0xc0, 0x09, 0xa3, 0x47, 0x76, 0x12, 0xe7, 0x86, 0xbe, 0x8d, 0x25, 0x09, 0xbd, 0x0e, 0xa9, - 0xc0, 0x1f, 0x53, 0x22, 0x33, 0x18, 0xfb, 0x32, 0x81, 0x19, 0x59, 0x9a, 0x13, 0x32, 0xe8, 0xff, - 0x60, 0xc9, 0x0a, 0x88, 0x49, 0xc9, 0xd4, 0x24, 0xbf, 0xd6, 0xf0, 0xa2, 0x20, 0x47, 0x56, 0xef, - 0xa8, 0x9a, 0xaa, 0xa7, 0xca, 0xff, 0x50, 0x20, 0x5f, 0x1d, 0x8d, 0xdc, 0xa3, 0x28, 0x81, 0x1f, - 0x40, 0xc6, 0xda, 0x37, 0xbd, 0x01, 0x89, 0x3e, 0x84, 0x5c, 0x9b, 0x2e, 0x17, 0x17, 0xac, 0x6c, - 0x71, 0xa9, 0xe8, 0x13, 0x84, 0xd4, 0x29, 0x7e, 0xa5, 0x40, 0x5a, 0x70, 0x50, 0x05, 0x9e, 0x23, - 0x87, 0x23, 0x62, 0x51, 0xe3, 0xc4, 0x06, 0xf9, 0x63, 0x16, 0x2f, 0x0b, 0xd6, 0xdd, 0xd8, 0x36, - 0xdf, 0x84, 0xf4, 0x78, 0x14, 0x92, 0x80, 0xca, 0xc4, 0xcd, 0x0f, 0x1e, 0x96, 0x42, 0xe8, 0x65, - 0x48, 0xdb, 0xc4, 0x25, 0x32, 0x2c, 0x33, 0x67, 0x56, 0xb2, 0xca, 0x0e, 0xbf, 0x46, 0x99, 0xd3, - 0x17, 0x5d, 0x47, 0xe5, 0x7f, 0x26, 0x40, 0x8f, 0x4e, 0x54, 0x78, 0x61, 0xb7, 0xf6, 0xe9, 0xfe, - 0x2a, 0x79, 0xba, 0xbf, 0x62, 0x77, 0x3b, 0x6b, 0xd8, 0x26, 0x32, 0xa2, 0x02, 0x58, 0x13, 0x17, - 0x49, 0xbc, 0x06, 0x4b, 0x1e, 0x39, 0xa4, 0xc6, 0xc8, 0x1c, 0x10, 0x83, 0xfa, 0x07, 0xc4, 0x93, - 0x48, 0x55, 0x60, 0xe4, 0xae, 0x39, 0x20, 0x7d, 0x46, 0x44, 0xd7, 0x00, 0xb8, 0x88, 0x78, 0xa9, - 0x30, 0x18, 0x4d, 0xe1, 0x2c, 0xa3, 0xf0, 0x67, 0x0a, 0xba, 0x05, 0xf9, 0xd0, 0x19, 0x78, 0x26, - 0x1d, 0x07, 0xa4, 0xdf, 0x6f, 0x49, 0x6c, 0x7e, 0xc2, 0xa3, 0x57, 0x7b, 0x78, 0x5c, 0x52, 0xf8, - 0x8b, 0xf6, 0x84, 0xe2, 0xa9, 0x6e, 0x44, 0x9b, 0xed, 0x46, 0xca, 0x7f, 0x4a, 0xc0, 0x72, 0x2c, - 0xbe, 0x17, 0x8e, 0x0b, 0x4d, 0xc8, 0x46, 0xb0, 0x18, 0x01, 0xc3, 0xab, 0xa7, 0xb1, 0x73, 0xe2, - 0x49, 0xc5, 0x98, 0x7c, 0x79, 0x12, 0x76, 0xa6, 0xda, 0xf3, 0x82, 0xad, 0xce, 0x09, 0x76, 0xf1, - 0x13, 0xc8, 0x4e, 0xac, 0xa0, 0x37, 0x4e, 0x20, 0xc9, 0x1c, 0xd8, 0x3e, 0x01, 0x23, 0xd7, 0x00, - 0x58, 0x3c,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x08, 0xf5, 0x75, 0x05, 0xdd, 0x86, 0xec, 0xa4, 0xf9, 0x45, 0xc5, 0xf8, 0x2a, 0x27, 0xdf, 0x13, - 0xc5, 0x17, 0xe6, 0xf2, 0x22, 0x3b, 0x6f, 0x31, 0x4b, 0x05, 0x16, 0x8b, 0x09, 0x16, 0xc7, 0xad, - 0xcd, 0x5e, 0xc5, 0x71, 0x6b, 0xa7, 0xc0, 0xbb, 0xd6, 0x78, 0xf8, 0xef, 0xd5, 0x85, 0x87, 0xdf, - 0xad, 0x2a, 0xdf, 0x7e, 0xb7, 0xaa, 0xfc, 0xfa, 0xd1, 0xea, 0xc2, 0x37, 0x8f, 0x56, 0x95, 0xbf, - 0x3c, 0x5a, 0x55, 0xbe, 0x7d, 0xb4, 0xba, 0xf0, 0xb7, 0x47, 0xab, 0x0b, 0x9f, 0xbe, 0x3c, 0xf0, - 0x2b, 0x03, 0xf3, 0x73, 0x42, 0x29, 0xa9, 0xd8, 0xe4, 0xc1, 0x86, 0xe5, 0x07, 0x64, 0x63, 0xe6, - 0x8f, 0xad, 0xdd, 0x34, 0x1f, 0xbd, 0xf3, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x49, 0xe2, 0x70, - 0x4f, 0xf2, 0x1a, 0x00, 0x00, + // 2612 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x59, 0x4d, 0x70, 0xdb, 0xc6, + 0xf5, 0x17, 0x48, 0x90, 0x04, 0x1f, 0x49, 0x09, 0xda, 0xc4, 0x36, 0xcd, 0xc4, 0xa2, 0xc2, 0x7c, + 0xfc, 0x65, 0x27, 0xa1, 0x12, 0xe5, 0xdf, 0x24, 0x75, 0x27, 0x6d, 0x48, 0x91, 0xb2, 0xe9, 0xd0, + 0x24, 0x67, 0x49, 0xc5, 0x71, 0x0e, 0xc5, 0x40, 0xc0, 0x8a, 0x42, 0x05, 0x02, 0x28, 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9b, 0x61, 0xbc, 0xcc, 0xe4, 0x71, + 0x24, 0x8e, 0x7e, 0x04, 0x2b, 0x63, 0x87, 0x82, 0xc8, 0xd4, 0x42, 0x66, 0x51, 0xd3, 0x88, 0x97, + 0x99, 0xe8, 0x54, 0xb9, 0x06, 0x28, 0x18, 0xef, 0x85, 0xbe, 0x6e, 0x84, 0x31, 0x7d, 0x65, 0xa1, + 0xfe, 0x6a, 0x24, 0x3d, 0x35, 0x11, 0x4b, 0x82, 0x7c, 0x2a, 0x09, 0xe2, 0xee, 0xfa, 0x4d, 0x02, + 0x96, 0xa3, 0x54, 0x3c, 0x73, 0xb5, 0x56, 0xcf, 0xab, 0x56, 0x01, 0xaa, 0x51, 0xee, 0x6e, 0x40, + 0xda, 0x70, 0x47, 0xf4, 0x52, 0x48, 0x2e, 0x2c, 0x31, 0x21, 0x81, 0xde, 0xa2, 0xad, 0x4c, 0x74, + 0x64, 0x79, 0xe1, 0x91, 0xa7, 0x42, 0xb4, 0x24, 0x43, 0x37, 0xd4, 0x6d, 0xcd, 0x38, 0x18, 0x3b, + 0x87, 0x01, 0x4f, 0x2b, 0xce, 0x31, 0xda, 0x36, 0x23, 0xa1, 0x57, 0x61, 0xd9, 0x24, 0xb6, 0x7e, + 0x4c, 0xcc, 0x48, 0x28, 0xcd, 0x84, 0x0a, 0x82, 0xca, 0xc5, 0x2a, 0x7f, 0x4e, 0x80, 0x8a, 0x45, + 0xc3, 0x4f, 0x9e, 0xbd, 0x44, 0xab, 0x40, 0x47, 0x44, 0xcf, 0x0d, 0x74, 0xfb, 0x09, 0x07, 0x9d, + 0xc8, 0x9c, 0x3e, 0x6a, 0xe6, 0x69, 0x8e, 0xba, 0x0e, 0x39, 0xdd, 0x38, 0x74, 0xdc, 0xcf, 0x6c, + 0x62, 0x0e, 0x89, 0x40, 0xb5, 0x38, 0x09, 0xdd, 0x04, 0x64, 0x12, 0xcf, 0x27, 0xf4, 0x04, 0xa6, + 0xf6, 0x84, 0x37, 0x66, 0x75, 0x2a, 0x26, 0x48, 0x8b, 0x6b, 0x86, 0xe2, 0xa9, 0x78, 0xd4, 0x4c, + 0x62, 0x87, 0xba, 0x88, 0x71, 0x5e, 0x10, 0x1b, 0x94, 0x56, 0xf9, 0xab, 0x04, 0xab, 0xb1, 0xe8, + 0x5d, 0x20, 0x06, 0xc6, 0x41, 0x2b, 0xf9, 0x14, 0xa0, 0xf5, 0xcc, 0x35, 0x55, 0x19, 0x40, 0xae, + 0x6d, 0x05, 0x61, 0x54, 0x03, 0x3f, 0x04, 0x25, 0x10, 0x6f, 0xba, 0xa8, 0x82, 0x45, 0x40, 0x20, + 0x2a, 0x7f, 0x22, 0x7e, 0x47, 0x56, 0x12, 0x6a, 0xf2, 0x8e, 0xac, 0x24, 0x55, 0xb9, 0xf2, 0x9f, + 0x04, 0xe4, 0xb9, 0xd9, 0x0b, 0x7f, 0xe5, 0x3e, 0x04, 0x45, 0x24, 0x9f, 0x0f, 0x32, 0xa7, 0x26, + 0xcb, 0xb8, 0x0f, 0xd1, 0x98, 0x19, 0x39, 0x1e, 0x69, 0x95, 0xfe, 0x28, 0x41, 0x54, 0x2c, 0x68, + 0x13, 0xe4, 0xf9, 0xad, 0x62, 0x6c, 0x80, 0x14, 0x06, 0x98, 0x20, 0x7d, 0x27, 0xe9, 0x55, 0xe9, + 0x93, 0x07, 0x56, 0x10, 0x0d, 0xd9, 0x49, 0x9c, 0x1b, 0xb9, 0x26, 0x16, 0x24, 0xf4, 0x3a, 0xa4, + 0x7c, 0x77, 0x1c, 0x12, 0x91, 0xc1, 0xd8, 0x97, 0x09, 0x4c, 0xc9, 0xc2, 0x1c, 0x97, 0x41, 0xff, + 0x07, 0x2b, 0x86, 0x4f, 0xf4, 0x90, 0x4c, 0x4d, 0xb2, 0x6b, 0x0d, 0x2f, 0x73, 0x72, 0x64, 0xf5, + 0x8e, 0xac, 0xc8, 0x6a, 0xaa, 0xf2, 0x0f, 0x09, 0xf2, 0x35, 0xcf, 0xb3, 0x8f, 0xa3, 0x04, 0x7e, + 0x00, 0x19, 0xe3, 0x40, 0x77, 0x86, 0x24, 0xfa, 0x10, 0x72, 0x6d, 0xba, 0x5d, 0x5c, 0xb0, 0xba, + 0xcd, 0xa4, 0xa2, 0x4f, 0x10, 0x42, 0xa7, 0xf4, 0x95, 0x04, 0x69, 0xce, 0x41, 0x55, 0x78, 0x8e, + 0x1c, 0x79, 0xc4, 0x08, 0xb5, 0x53, 0x07, 0x64, 0xc3, 0x2c, 0x5e, 0xe5, 0xac, 0xbb, 0xb1, 0x63, + 0xbe, 0x09, 0xe9, 0xb1, 0x17, 0x10, 0x3f, 0x14, 0x89, 0x9b, 0x1f, 0x3c, 0x2c, 0x84, 0xd0, 0xcb, + 0x90, 0x36, 0x89, 0x4d, 0x44, 0x58, 0x66, 0xde, 0x59, 0xc1, 0xaa, 0x58, 0xec, 0x1a, 0xa5, 0x4e, + 0x5f, 0x74, 0x1d, 0x55, 0xfe, 0x99, 0x00, 0x35, 0x7a, 0xa3, 0x82, 0x0b, 0xbb, 0xb5, 0xcf, 0xf6, + 0x57, 0xc9, 0xb3, 0xfd, 0x15, 0xbd, 0xdb, 0x69, 0xc3, 0x36, 0x91, 0xe1, 0x15, 0x40, 0x9b, 0xb8, + 0x48, 0xe2, 0x35, 0x58, 0x71, 0xc8, 0x51, 0xa8, 0x79, 0xfa, 0x90, 0x68, 0xa1, 0x7b, 0x48, 0x1c, + 0x81, 0x54, 0x05, 0x4a, 0xee, 0xe9, 0x43, 0x32, 0xa0, 0x44, 0x74, 0x0d, 0x80, 0x89, 0xf0, 0x49, + 0x85, 0xc2, 0x68, 0x0a, 0x67, 0x29, 0x85, 0x8d, 0x29, 0xe8, 0x16, 0xe4, 0x03, 0x6b, 0xe8, 0xe8, + 0xe1, 0xd8, 0x27, 0x83, 0x41, 0x5b, 0x60, 0xf3, 0x13, 0x86, 0x5e, 0xe5, 0xe1, 0x49, 0x59, 0x62, + 0x13, 0xed, 0x29, 0xc5, 0x33, 0xdd, 0x88, 0x32, 0xdb, 0x8d, 0x54, 0xfe, 0x94, 0x80, 0xd5, 0x58, + 0x7c, 0x2f, 0x1c, 0x17, 0x5a, 0x90, 0x8d, 0x60, 0x31, 0x02, 0x86, 0x57, 0xcf, 0x62, 0xe7, 0xc4, + 0x93, 0xaa, 0x36, 0xf9, 0xf2, 0xc4, 0xed, 0x4c, 0xb5, 0xe7, 0x05, 0x5b, 0x9e, 0x13, 0xec, 0xd2, + 0x27, 0x90, 0x9d, 0x58, 0x41, 0x6f, 0x9c, 0x42, 0x92, 0x39, 0xb0, 0x7d, 0x0a, 0x46, 0xae, 0x01, + 0xd0, 0x78, 0x12, 0x93, 0xf5, 0x9a, 0x7c, 0xc2, 0xcd, 0x72, 0xca, 0xae, 0x6f, 0x57, 0x7e, 0x25, + 0x41, 0x8a, 0x81, 0x05, 0x7a, 0x1f, 0x32, 0x23, 0x32, 0xda, 0xa3, 0xf8, 0xce, 0xdf, 0xef, 0xf3, + 0xe6, 0xef, 0x48, 0x9c, 0x5e, 0x7a, 0x9e, 0x6f, 0x8d, 0x74, 0xff, 0x98, 0x7f, 0x09, 0xc4, 0xd1, + 0x12, 0xdd, 0x80, 0x6c, 0x34, 0x80, 0x47, 0x1f, 0x83, 0x4e, 0xcf, 0xe7, 0x53, 0xb6, 0x68, 0xaa, + 0x7e, 0x9f, 0x80, 0x34, 0x8f, 0x3a, 0xfa, 0x00, 0x20, 0x1a, 0xb2, 0x9f, 0xfa, 0x9b, 0x40, 0x56, + 0x68, 0xb4, 0xcc, 0x29, 0x38, 0x26, 0x9e, 0x02, 0x1c, 0x37, 0x41, 0x26, 0xa1, 0x61, 0x0a, 0x20, + 0xbd, 0x34, 0x5b, 0x01, 0xd5, 0x66, 0x68, 0x98, 0x51, 0x58, 0xa9, 0x60, 0xe9, 0x0b, 0x09, 0x64, + 0x4a, 0xa4, 0xf1, 0x35, 0xec, 0x31, 0xbd, 0xf2, 0x22, 0x2f, 0x65, 0x9c, 0x15, 0x94,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07, 0xbb, 0x49, 0x4a, 0x97, 0xe7, 0x37, 0x25, + 0xe8, 0x7d, 0x48, 0xb1, 0x1b, 0x0e, 0x5d, 0x9e, 0x7f, 0x4f, 0x97, 0xae, 0x9c, 0xa1, 0x0b, 0xcd, + 0xf7, 0x40, 0xa6, 0x33, 0x78, 0x7c, 0xc3, 0xd8, 0x67, 0x8c, 0xf8, 0x86, 0xf1, 0x51, 0xfd, 0x2d, + 0x09, 0x7d, 0x00, 0x69, 0x3e, 0x10, 0xa1, 0xd3, 0xb6, 0xa7, 0xd3, 0x6a, 0xa9, 0x78, 0x96, 0xc1, + 0xd5, 0x37, 0x24, 0x74, 0x1b, 0xb2, 0x93, 0xe6, 0x17, 0x95, 0xe2, 0xbb, 0x9c, 0x9e, 0x27, 0x4a, + 0x2f, 0xcc, 0xe5, 0x45, 0x76, 0xde, 0xa2, 0x96, 0x0a, 0x34, 0x16, 0x13, 0x2c, 0x8e, 0x5b, 0x9b, + 0xbd, 0x8a, 0xe3, 0xd6, 0xce, 0x80, 0x77, 0xbd, 0xf9, 0xf0, 0xdf, 0x6b, 0x4b, 0x0f, 0xbf, 0x5b, + 0x93, 0xbe, 0xfd, 0x6e, 0x4d, 0xfa, 0xf5, 0xa3, 0xb5, 0xa5, 0x6f, 0x1e, 0xad, 0x49, 0x7f, 0x79, + 0xb4, 0x26, 0x7d, 0xfb, 0x68, 0x6d, 0xe9, 0x6f, 0x8f, 0xd6, 0x96, 0x3e, 0x7d, 0x79, 0xe8, 0x56, + 0x87, 0xfa, 0xe7, 0x24, 0x0c, 0x49, 0xd5, 0x24, 0x0f, 0x36, 0x0d, 0xd7, 0x27, 0x9b, 0x33, 0xff, + 0x83, 0xed, 0xa5, 0xd9, 0xd3, 0x3b, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x13, 0xd4, 0xf1, 0x26, + 0x21, 0x1b, 0x00, 0x00, } func (this *Label) Equal(that interface{}) bool { @@ -1958,6 +1964,9 @@ func (this *Label) Equal(that interface{}) bool { if this.Value != that1.Value { return false } + if this.Prefix != that1.Prefix { + return false + } return true } func (this *LabelSet) Equal(that interface{}) bool { @@ -2668,6 +2677,16 @@ func (m *Label) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.Prefix { + i-- + if m.Prefix { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } if len(m.Value) > 0 { i -= len(m.Value) copy(dAtA[i:], m.Value) @@ -4231,6 +4250,9 @@ func (m *Label) ProtoSize() (n int) { if l > 0 { n += 1 + l + sovProtocol(uint64(l)) } + if m.Prefix { + n += 2 + } return n } @@ -4945,6 +4967,26 @@ func (m *Label) Unmarshal(dAtA []byte) error { } m.Value = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Prefix", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtocol + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Prefix = bool(v != 0) default: iNdEx = preIndex skippy, err := skipProtocol(dAtA[iNdEx:]) diff --git a/broker/protocol/protocol.proto b/broker/protocol/protocol.proto index 44fea2dd..d60c2cb1 100644 --- a/broker/protocol/protocol.proto +++ b/broker/protocol/protocol.proto @@ -97,8 +97,15 @@ enum CompressionCodec { message Label { option (gogoproto.equal) = true; + // Name of this label. string name = 1; + // Value of this label. string value = 2; + // Does this label match on value prefix? + // May only be set true within a LabelSelector. + bool prefix = 3 [ + (gogoproto.moretags) = "yaml:\",omitempty\"" + ]; } // LabelSet is a collection of labels and their values.