package
1.5.0
Repository: https://github.com/m3db/m3.git
Documentation: pkg.go.dev

# Functions

NewMetricTagsIterator creates a MetricTagsIterator.
NewMetricTagsIteratorPool creates a MetricTagsIteratorPool.
NewMockMetricTagsIterator creates a new mock instance.
NewMockMetricTagsIteratorPool creates a new mock instance.
NewMockTagDecoder creates a new mock instance.
NewMockTagDecoderPool creates a new mock instance.
NewMockTagEncoder creates a new mock instance.
NewMockTagEncoderPool creates a new mock instance.
NewTagDecoderOptions returns a new TagDecoderOptions.
NewTagDecoderPool returns a new TagDecoderPool.
NewTagEncoderOptions returns a new TagEncoderOptions.
NewTagEncoderPool returns a new TagEncoderPool.
NewTagSerializationLimits returns a new TagSerializationLimits object.
NewUncheckedMetricTagsIterator creates a MetricTagsIterator that removes all safety checks (i.e ref counts).
TagValueFromEncodedTagsFast returns a tag from a set of encoded tags without any pooling required.

# Constants

DefaultMaxTagLiteralLength is the maximum length of a tag Name/Value.
HeaderMagicNumber is an internal header used to denote the beginning of an encoded stream.

# Variables

ByteOrder is the byte order used for encoding tags into a byte sequence.
ErrEmptyTagNameLiteral is an error when encoded tag name is empty.
ErrIncorrectHeader is an error when encoded tag byte sequence doesn't start with an expected magic number.

# Structs

FakeTagEncoder is a fake TagEncoder for testing.
MockMetricTagsIterator is a mock of MetricTagsIterator interface.
MockMetricTagsIteratorMockRecorder is the mock recorder for MockMetricTagsIterator.
MockMetricTagsIteratorPool is a mock of MetricTagsIteratorPool interface.
MockMetricTagsIteratorPoolMockRecorder is the mock recorder for MockMetricTagsIteratorPool.
MockTagDecoder is a mock of TagDecoder interface.
MockTagDecoderMockRecorder is the mock recorder for MockTagDecoder.
MockTagDecoderPool is a mock of TagDecoderPool interface.
MockTagDecoderPoolMockRecorder is the mock recorder for MockTagDecoderPool.
MockTagEncoder is a mock of TagEncoder interface.
MockTagEncoderMockRecorder is the mock recorder for MockTagEncoder.
MockTagEncoderPool is a mock of TagEncoderPool interface.
MockTagEncoderPoolMockRecorder is the mock recorder for MockTagEncoderPool.
TagDecoderOptionsConfig allows for defaults to be set at initialization.

# Interfaces

MetricTagsIterator iterates over a set of tags.
MetricTagsIteratorPool pools MetricTagsIterator.
TagDecoder decodes an encoded byte stream to a TagIterator.
TagDecoderOptions sets the knobs for TagDecoders.
TagDecoderPool pools TagDecoders.
TagEncoder encodes provided Tag iterators.
TagEncoderOptions sets the knobs for TagEncoder limits.
TagEncoderPool pools TagEncoders.
TagSerializationLimits sets the limits around tag serialization.