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

# Packages

# Functions

CheckEnterpriseEnabled previously returned a non-nil error if the requested enterprise feature was not enabled.
GetLicense fetches the license from the given settings, using Settings.Cache to cache the decoded license (if any).
GetLicenseEnvironment returns the license environment.
GetLicenseType returns the license type.
IsEnterpriseEnabled previously returned whether the requested enterprise feature was enabled.
RegisterCallbackOnLicenseChange will register a callback to update the license enforcer whenever the license changes.
RegisterCCLBuiltin adds a builtin defined in CCL code to the global builtins registry.
TestingDisableEnterprise allows re-enabling the license check in tests.
TestingEnableEnterprise allows overriding the license check in tests.

# Variables

GetLicenseTTL is a function which returns the TTL for the active cluster.