config

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Cloud          string `envconfig:"AZURE_ENVIRONMENT" default:"AzurePublicCloud"`
	TenantID       string `envconfig:"AZURE_TENANT_ID" required:"true"`
	ProxyImage     string `envconfig:"PROXY_IMAGE"`
	ProxyInitImage string `envconfig:"PROXY_INIT_IMAGE"`
}

Config holds configuration from the env variables

func ParseConfig

func ParseConfig() (*Config, error)

ParseConfig parses the configuration from env variables

Jump to

Keyboard shortcuts

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