Documentation ¶
Index ¶
- func BuildFQName(separator string, parts ...string) (name string)
- func BuildRegistryKey(prefix string, tags map[string]string) string
- func MergeTags(leftTags map[string]string, rightTags map[string]string) map[string]string
- func StringifyTags(tags map[string]string, buffer *bytes.Buffer)
- func VectorHash(tags map[string]string, labels []string) (uint64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildFQName ¶
BuildFQName returns name parts joined by given separator. Mainly used to append prefix to registry
func BuildRegistryKey ¶
BuildRegistryKey creates registry name based on given prefix and tags
func MergeTags ¶
MergeTags merges 2 sets of tags with the tags from tagsRight overriding values from tagsLeft
func StringifyTags ¶
StringifyTags returns string representation of given tags map. It is guaranteed that equal sets of tags will produce equal strings.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.