package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Packages

# Functions

EnableAll enables maximum access to services.
FromID looks up a capability by ID.
FromName looks up a capability by name.
GetValueByID looks up the capability value by ID.
MustGetBoolByID will get the bool value for the capability corresponding to the requested ID.
MustGetValueByID will get the value for the capability corresponding to the requested ID.

# Constants

can_admin_relocate_range.
can_admin_scatter.
can_admin_split.
can_admin_unsplit.
can_check_consistency.
can_debug_process.
can_prepare_txns.
can_use_nodelocal_storage.
can_view_all_metrics.
can_view_node_info.
can_view_tsdb_metrics.
exempt_from_rate_limiting.
go:generate stringer -type=ID -linecomment.
span_config_bounds.

# Variables

# Structs

Entry
Entry ties together a tenantID with its capabilities.
TestingKnobs contain testing helpers which are used by various components that enable tenant capabilities.
Update represents an update to the global tenant capability state.

# Interfaces

Authorizer performs various kinds of capability checks for requests issued by tenants.
Capability is an individual capability.
Reader provides access to the global tenant capability state.
TypedCapability is a convenience interface to describe the specializations of Capability for extracting typed values from a set of capabilities.
TypedValue is a convenience interface for specialized implementations of Value.
Value is a generic interface to the value of capabilities of various underlying Go types.

# Type aliases

ID represents a handle to a tenant capability.