config

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: MIT Imports: 1 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 DefaultUrl = "https://euwest.api.elasticpath.com"

Variables

This section is empty.

Functions

func SetEnv added in v0.10.0

func SetEnv(v *Env)

Types

type Env

type Env struct {
	EPCC_API_BASE_URL                   string   `env:"EPCC_API_BASE_URL"`
	EPCC_CLIENT_ID                      string   `env:"EPCC_CLIENT_ID"`
	EPCC_CLIENT_SECRET                  string   `env:"EPCC_CLIENT_SECRET"`
	EPCC_BETA_API_FEATURES              string   `env:"EPCC_BETA_API_FEATURES"`
	EPCC_CLI_RATE_LIMIT                 uint16   `env:"EPCC_CLI_RATE_LIMIT"`
	EPCC_CLI_SUPPRESS_NO_AUTH_MESSAGES  bool     `env:"EPCC_CLI_SUPPRESS_NO_AUTH_MESSAGES"`
	EPCC_RUNBOOK_DIRECTORY              string   `env:"EPCC_RUNBOOK_DIRECTORY"`
	EPCC_DISABLE_LEGACY_RESOURCES       bool     `env:"EPCC_DISABLE_LEGACY_RESOURCES"`
	EPCC_CLI_DISABLE_RESOURCES          []string `env:"EPCC_CLI_DISABLE_RESOURCES" envSeparator:","`
	EPCC_CLI_DISABLE_TEMPLATE_EXECUTION bool     `env:"EPCC_CLI_DISABLE_TEMPLATE_EXECUTION"`
	EPCC_CLI_DISABLE_HTTP_LOGGING       bool     `env:"EPCC_CLI_DISABLE_HTTP_LOGGING"`
	EPCC_CLI_READ_ONLY                  bool     `env:"EPCC_CLI_READ_ONLY"`
}

func GetEnv added in v0.10.0

func GetEnv() *Env

Jump to

Keyboard shortcuts

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