environments

package
v0.6.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: MIT Imports: 4 Imported by: 0 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 (
	EnvVarEnv = "CRE_CLI_ENV"

	EnvVarUIURL           = "CRE_CLI_UI_URL"
	EnvVarAuthBase        = "CRE_CLI_AUTH_BASE"
	EnvVarClientID        = "CRE_CLI_CLIENT_ID"
	EnvVarGraphQLURL      = "CRE_CLI_GRAPHQL_URL"
	EnvVarAudience        = "CRE_CLI_AUDIENCE"
	EnvVarVaultGatewayURL = "CRE_VAULT_DON_GATEWAY_URL"

	EnvVarWorkflowRegistryAddress       = "CRE_CLI_WORKFLOW_REGISTRY_ADDRESS"
	EnvVarWorkflowRegistryChainName     = "CRE_CLI_WORKFLOW_REGISTRY_CHAIN_NAME"
	EnvVarCapabilitiesRegistryAddress   = "CRE_CLI_CAPABILITIES_REGISTRY_ADDRESS"
	EnvVarCapabilitiesRegistryChainName = "CRE_CLI_CAPABILITIES_REGISTRY_CHAIN_NAME"

	DefaultEnv = "STAGING"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvironmentSet

type EnvironmentSet struct {
	UIURL      string `yaml:"CRE_CLI_UI_URL"`
	AuthBase   string `yaml:"CRE_CLI_AUTH_BASE"`
	ClientID   string `yaml:"CRE_CLI_CLIENT_ID"`
	GraphQLURL string `yaml:"CRE_CLI_GRAPHQL_URL"`
	Audience   string `yaml:"CRE_CLI_AUDIENCE"`
	GatewayURL string `yaml:"CRE_VAULT_DON_GATEWAY_URL"`

	WorkflowRegistryAddress       string `yaml:"CRE_CLI_WORKFLOW_REGISTRY_ADDRESS"`
	WorkflowRegistryChainName     string `yaml:"CRE_CLI_WORKFLOW_REGISTRY_CHAIN_NAME"`
	CapabilitiesRegistryAddress   string `yaml:"CRE_CLI_CAPABILITIES_REGISTRY_ADDRESS"`
	CapabilitiesRegistryChainName string `yaml:"CRE_CLI_CAPABILITIES_REGISTRY_CHAIN_NAME"`
}

func New

func New() (*EnvironmentSet, error)

func NewEnvironmentSet

func NewEnvironmentSet(ff *fileFormat, envName string) *EnvironmentSet

Jump to

Keyboard shortcuts

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