cc

package
v0.32.55 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2025 License: MIT Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	TenantSuffix string = ".aserto.com"
)

Variables

This section is empty.

Functions

func GetCacheKey added in v0.8.4

func GetCacheKey(auth *config.Auth) token.CacheKey

func IsAsertoAccount added in v0.20.6

func IsAsertoAccount(name string) bool

Types

type CommonCtx

type CommonCtx struct {
	*topazCC.CommonCtx
	clients.Factory
	Config         *config.Config
	Environment    *x.Services
	Auth           *auth0.Settings
	CachedToken    *token.CachedToken
	DecisionLogger *dl.Settings
}

func NewCommonCtx added in v0.8.0

func NewCommonCtx(tc *topazCC.CommonCtx, configPath config.Path, overrides ...config.Overrider) (*CommonCtx, error)

NewCommonCtx, CommonContext constructor (extracted from wire).

func (*CommonCtx) AccessToken

func (ctx *CommonCtx) AccessToken() (string, error)

func (*CommonCtx) AuthorizerAPIKey

func (ctx *CommonCtx) AuthorizerAPIKey() (string, error)

func (*CommonCtx) DecisionLogsKey added in v0.8.0

func (ctx *CommonCtx) DecisionLogsKey() (string, error)

func (*CommonCtx) DirectoryReadKey added in v0.20.7

func (ctx *CommonCtx) DirectoryReadKey() (string, error)

func (*CommonCtx) DirectoryWriteKey added in v0.20.7

func (ctx *CommonCtx) DirectoryWriteKey() (string, error)

func (*CommonCtx) DiscoveryKey added in v0.20.7

func (ctx *CommonCtx) DiscoveryKey() (string, error)

func (*CommonCtx) Logf added in v0.1.3

func (ctx *CommonCtx) Logf(format string, v ...interface{})

func (*CommonCtx) RegistryReadKey added in v0.20.7

func (ctx *CommonCtx) RegistryReadKey() (string, error)

func (*CommonCtx) RegistryWriteKey added in v0.20.7

func (ctx *CommonCtx) RegistryWriteKey() (string, error)

func (*CommonCtx) SaveContextConfig added in v0.20.6

func (ctx *CommonCtx) SaveContextConfig(configurationFile string) error

func (*CommonCtx) TenantID

func (ctx *CommonCtx) TenantID() string

func (*CommonCtx) Token

func (ctx *CommonCtx) Token() (*api.Token, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL