env

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env struct {
	ServerPort            string `env:"SERVER_PORT" envDefault:"8081"`
	K1AccessToken         string `env:"K1_ACCESS_TOKEN"`
	KubefirstVersion      string `env:"KUBEFIRST_VERSION" envDefault:"development"`
	CloudProvider         string `env:"CLOUD_PROVIDER"`
	ClusterId             string `env:"CLUSTER_ID"`
	ClusterType           string `env:"CLUSTER_TYPE"`
	DomainName            string `env:"DOMAIN_NAME"`
	GitProvider           string `env:"GIT_PROVIDER"`
	InstallMethod         string `env:"INSTALL_METHOD"`
	KubefirstTeam         string `env:"KUBEFIRST_TEAM" envDefault:"undefined"`
	KubefirstTeamInfo     string `env:"KUBEFIRST_TEAM_INFO"`
	AWSRegion             string `env:"AWS_REGION"`
	AWSProfile            string `env:"AWS_PROFILE"`
	IsClusterZero         string `env:"IS_CLUSTER_ZERO"`
	ParentClusterId       string `env:"PARENT_CLUSTER_ID"`
	InCluster             string `env:"IN_CLUSTER" envDefault:"false"`
	EnterpriseApiUrl      string `env:"ENTERPRISE_API_URL"`
	K1LocalDebug          string `env:"K1_LOCAL_DEBUG"`
	K1LocalKubeconfigPath string `env:"K1_LOCAL_KUBECONFIG_PATH"`
}

func GetEnv

func GetEnv(silent bool) (Env, error)

Jump to

Keyboard shortcuts

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