cockroach: github.com/cockroachdb/cockroach/pkg/ccl/utilccl Index | Files | Directories

package utilccl

import "github.com/cockroachdb/cockroach/pkg/ccl/utilccl"

Index

Package Files

license_check.go

func CheckEnterpriseEnabled Uses

func CheckEnterpriseEnabled(st *cluster.Settings, cluster uuid.UUID, org, feature string) error

CheckEnterpriseEnabled returns a non-nil error if the requested enterprise feature is not enabled, including information or a link explaining how to enable it.

func TestingDisableEnterprise Uses

func TestingDisableEnterprise() func()

TestingDisableEnterprise allows re-enabling the license check in tests.

func TestingEnableEnterprise Uses

func TestingEnableEnterprise() func()

TestingEnableEnterprise allows overriding the license check in tests.

Directories

PathSynopsis
licenseccl
sampledataccl

Package utilccl imports 7 packages (graph) and is imported by 13 packages. Updated 2019-09-17. Refresh now. Tools for package owners.