Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Env ¶
type Env struct { ServerPort int `env:"SERVER_PORT" envDefault:"8081"` K1AccessToken string `env:"K1_ACCESS_TOKEN"` KubefirstVersion string `env:"KUBEFIRST_VERSION" envDefault:"main"` 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"` KubefirstTeamInfo string `env:"KUBEFIRST_TEAM_INFO"` AWSRegion string `env:"AWS_REGION"` AWSProfile string `env:"AWS_PROFILE"` IsClusterZero bool `env:"IS_CLUSTER_ZERO" envDefault:"true"` ParentClusterID string `env:"PARENT_CLUSTER_ID"` InCluster bool `env:"IN_CLUSTER" envDefault:"false"` EnterpriseAPIURL string `env:"ENTERPRISE_API_URL"` K1LocalDebug bool `env:"K1_LOCAL_DEBUG"` K1LocalKubeconfigPath string `env:"K1_LOCAL_KUBECONFIG_PATH"` }
Click to show internal directories.
Click to hide internal directories.