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

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

NewCondition returns a new Condition.
NewMockCondition creates a new mock instance.
NewMockOp creates a new mock instance.
NewMockOpResponse creates a new mock instance.
NewMockOverrideOptions creates a new mock instance.
NewMockResponse creates a new mock instance.
NewMockStore creates a new mock instance.
NewMockTxnStore creates a new mock instance.
NewMockValue creates a new mock instance.
NewMockValueWatch creates a new mock instance.
NewMockValueWatchable creates a new mock instance.
NewOpResponse creates a new OpResponse.
NewOverrideOptions creates a new kv Options.
NewResponse creates a new transaction Response.
NewSetOp returns a SetOp.
NewValueWatchable creates a new ValueWatchable.

# Constants

list of supported CompareType.
list of supported OpTypes.
list of supported TargetTypes.
UninitializedVersion is the version of an uninitialized kv value.

# Variables

ErrAlreadyExists is returned when attempting a SetIfEmpty and the key already has a value.
ErrConditionCheckFailed is returned when condition check failed.
ErrNotFound is returned when attempting a Get but no value is found for the given key.
ErrUnknownCompareType is returned when an unknown CompareType is requested.
ErrUnknownOpType is returned when an unknown OpType is requested.
ErrUnknownTargetType is returned when an unknown TargetType is requested.
ErrVersionMismatch is returned when attempting a CheckAndSet and the key is not at the provided version.

# Structs

MockCondition is a mock of Condition interface.
MockConditionMockRecorder is the mock recorder for MockCondition.
MockOp is a mock of Op interface.
MockOpMockRecorder is the mock recorder for MockOp.
MockOpResponse is a mock of OpResponse interface.
MockOpResponseMockRecorder is the mock recorder for MockOpResponse.
MockOverrideOptions is a mock of OverrideOptions interface.
MockOverrideOptionsMockRecorder is the mock recorder for MockOverrideOptions.
MockResponse is a mock of Response interface.
MockResponseMockRecorder is the mock recorder for MockResponse.
MockStore is a mock of Store interface.
MockStoreMockRecorder is the mock recorder for MockStore.
MockTxnStore is a mock of TxnStore interface.
MockTxnStoreMockRecorder is the mock recorder for MockTxnStore.
MockValue is a mock of Value interface.
MockValueMockRecorder is the mock recorder for MockValue.
MockValueWatch is a mock of ValueWatch interface.
MockValueWatchable is a mock of ValueWatchable interface.
MockValueWatchableMockRecorder is the mock recorder for MockValueWatchable.
MockValueWatchMockRecorder is the mock recorder for MockValueWatch.
OverrideConfiguration is the config for OverrideOptions.
SetOp is a Op with OpType Set.

# Interfaces

Condition defines the prerequisite for a transaction.
Op is the operation to be performed in a transaction.
OpResponse is the response of a transaction operation.
OverrideOptions provides a set of options to override the default configurations of a KV store.
Response captures the response of the transaction.
Store provides access to the configuration store.
TxnStore supports transactions on top of Store interface.
A Value provides access to a versioned value in the configuration store.
ValueWatch provides updates to a Value.
ValueWatchable can be watched for Value changes.

# Type aliases

CompareType is the type of the comparison in the condition.
OpType is the type of the operation.
TargetType is the type of the comparison target in the condition.