const ( DNS1123LabelMaxLength = 63 // Public for testing only. )
IsDNS1123Label tests for a string that conforms to the definition of a label in DNS (RFC 1123).
IsWildcardDNS1123Label tests for a string that conforms to the definition of a label in DNS (RFC 1123), but allows the wildcard label (`*`), and typical labels with a leading astrisk instead of alphabetic character (e.g. "*-foo")
Collection is a collection of labels used for comparing labels against a collection of labels
HasSubsetOf returns true if the input labels are a super set of one labels in a collection or if the tag collection is empty
IsSupersetOf returns true if the input labels are a subset set of any set of labels in a collection
Instance is a non empty map of arbitrary strings. Each version of a service can be differentiated by a unique set of labels associated with the version. These labels are assigned to all instances of a particular service version. For example, lets say catalog.mystore.com has 2 versions v1 and v2. v1 instances could have labels gitCommit=aeiou234, region=us-east, while v2 instances could have labels name=kittyCat,region=us-east.
Parse labels from a comma-separated string of the form k1=v1,k2=v2,...,kn=vn.
Equals returns true if the labels are identical
SubsetOf is true if the label has identical values for the keys
Validate ensures tag is well-formed