Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseURL ¶
type BaseURL struct { // Base URL BaseURL string // OverrideWith specifies an environment // variable name. When set, the value // it contains will override the base URL OverrideWith string }
func New ¶
New expects the package name and base URL for example, for pkg=costs, OverrideWith will be STACKIT_COSTS_BASEURL
func (BaseURL) Get ¶
Get returns the base URL if the override environment variable is set, it is returned instead
func (BaseURL) GetOverrideName ¶
GetOverrideName returns the name of the environment variable that can be used to override the base URL
Click to show internal directories.
Click to hide internal directories.