# Functions
MarshalTime converts t to nanoseconds since epoch.
NewAuthError returns a new instance of AuthError.
No description provided by the author
NewRetentionPolicyInfo returns a new instance of RetentionPolicyInfo with defaults set.
NewStore returns a new instance of Store.
UnmarshalTime converts nanoseconds since epoch to time.
# Constants
Retention policy settings.
Retention policy settings.
DefaultBindAddress is the default address to bind to.
DefaultCommitTimeout is the default commit timeout for the store.
DefaultElectionTimeout is the default election timeout for the store.
DefaultHeartbeatTimeout is the default heartbeat timeout for the store.
DefaultHostname is the default hostname if one is not provided.
DefaultLeaderLeaseTimeout is the default leader lease for the store.
DefaultRetentionPolicyDuration is the default value of RetentionPolicyInfo.Duration.
DefaultRetentionPolicyReplicaN is the default value of RetentionPolicyInfo.ReplicaN.
ExecMagic is the first 4 bytes sent to a remote exec connection to verify that it is coming from a remote exec client connection.
MinRetentionPolicyDuration represents the minimum duration for a policy.
tcp.Mux header bytes.
tcp.Mux header bytes.
Retention policy settings.
SaltBytes is the number of bytes used for salts.
# Variables
BcryptCost is the cost associated with generating password with Bcrypt.
ErrAuthenticate is returned when authentication fails.
ErrContinuousQueryExists is returned when creating an already existing continuous query.
ErrContinuousQueryNotFound is returned when removing a continuous query that doesn't exist.
ErrDatabaseExists is returned when creating an already existing database.
ErrDatabaseNameRequired is returned when creating a database without a name.
ErrDatabaseNotFound is returned when mutating a database that doesn't exist.
ErrNodeExists is returned when creating an already existing node.
ErrNodeNotFound is returned when mutating a node that doesn't exist.
ErrNodesRequired is returned when at least one node is required for an operation.
ErrReplicationFactorMismatch is returned when the replication factor does not match the number of nodes in the cluster.
ErrRetentionPolicyDurationTooLow is returned when updating a retention policy that has a duration lower than the allowed minimum.
ErrRetentionPolicyExists is returned when creating an already existing policy.
ErrRetentionPolicyNameExists is returned when renaming a policy to the same name as another existing policy.
ErrRetentionPolicyNameRequired is returned when creating a policy without a name.
ErrRetentionPolicyNotFound is returned when mutating a policy that doesn't exist.
ErrShardGroupExists is returned when creating an already existing shard group.
ErrShardGroupNotFound is returned when mutating a shard group that doesn't exist.
ErrStoreClosed is returned when closing an already closed store.
ErrStoreOpen is returned when opening an already open store.
ErrTooManyPeers is returned when more than 3 peers are used.
ErrUserExists is returned when creating an already existing user.
ErrUsernameRequired is returned when creating a user without a username.
ErrUserNotFound is returned when mutating a user that doesn't exist.
# Structs
AuthError represents an authorization error.
Config represents the meta configuration.
ContinuousQueryInfo represents metadata about a continuous query.
Data represents the top level collection of all metadata.
DatabaseInfo represents information about a database in the system.
NodeInfo represents information about a single node in the cluster.
RetentionPolicyInfo represents metadata about a retention policy.
RetentionPolicyUpdate represents retention policy fields to be updated.
ShardGroupInfo represents metadata about a shard group.
ShardInfo represents metadata about a shard.
StatementExecutor translates InfluxQL queries to meta store methods.
Store represents a raft-backed metastore.
UserInfo represents metadata about a user in the system.
# Type aliases
HashPasswordFn represnets a password hashing function.