Aerospike.Role (Aerospike Driver v0.3.1)

Copy Markdown View Source

Security role as returned by Aerospike role metadata queries.

Summary

Types

Maximum operations per second for a role. 0 means unlimited.

t()

Security role metadata returned by role queries.

List of whitelisted client addresses for a role.

Types

quota()

@type quota() :: non_neg_integer()

Maximum operations per second for a role. 0 means unlimited.

t()

@type t() :: %Aerospike.Role{
  name: String.t(),
  privileges: [Aerospike.Privilege.t()],
  read_quota: quota(),
  whitelist: whitelist(),
  write_quota: quota()
}

Security role metadata returned by role queries.

Quotas are operations-per-second limits reported by the server. A quota of 0 means unlimited.

whitelist()

@type whitelist() :: [String.t()]

List of whitelisted client addresses for a role.