package
0.0.0-20191121140916-9649366ff4b2
Repository: https://github.com/chronosphereiox/m3.git
Documentation: pkg.go.dev

# Functions

NewCommitLogBootstrapperProvider creates a new bootstrapper provider to bootstrap from commit log files.
NewMap returns a new byte keyed map.
NewOptions creates new bootstrap options.

# Constants

CommitLogBootstrapperName is the name of the commit log bootstrapper.
DefaultReturnUnfulfilledForCorruptCommitLogFiles is the default value for whether to return unfulfilled when encountering corrupt commit log files.

# Structs

Map uses the genny package to provide a generic hash map that can be specialized by running the following command from this root of the repository: ``` make hashmap-gen pkg=outpkg key_type=Type value_type=Type out_dir=/tmp ``` Or if you would like to use bytes or ident.ID as keys you can use the partially specialized maps to generate your own maps as well: ``` make byteshashmap-gen pkg=outpkg value_type=Type out_dir=/tmp make idhashmap-gen pkg=outpkg value_type=Type out_dir=/tmp ``` This will output to stdout the generated source file to use for your map.
MapEntry is an entry in the map, this is public to support iterating over the map using a native Go for loop.
MapOptions provides options used when created the map.
SetUnsafeOptions is a set of options to use when setting a value with the SetUnsafe method.

# Interfaces

Options represents the options for bootstrapping from commit logs.

# Type aliases

CopyFn is the copy key function to execute when copying the key.
EqualsFn is the equals key function to execute when detecting equality of a key.
FinalizeFn is the finalize key function to execute when finished with a key.
HashFn is the hash function to execute when hashing a key.
MapHash is the hash for a given map entry, this is public to support iterating over the map using a native Go for loop.