Help us shape the future of Go! Take the 2026 Go Developer Survey

serverEnvConfig

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerEnvConfig

type ServerEnvConfig struct {
	DevtronInstallationType                     string `env:"DEVTRON_INSTALLATION_TYPE" description:"Devtron Installation type(EA/Full)"`
	InstallerCrdObjectGroupName                 string `` /* 141-byte string literal not displayed */
	InstallerCrdObjectVersion                   string `env:"INSTALLER_CRD_OBJECT_VERSION" envDefault:"v1alpha1" description:"version of the CRDs. default is v1alpha1"`
	InstallerCrdObjectResource                  string `` /* 131-byte string literal not displayed */
	InstallerCrdNamespace                       string `env:"INSTALLER_CRD_NAMESPACE" envDefault:"devtroncd" description:"namespace where Custom Resource Definitions get installed"`
	DevtronHelmRepoName                         string `env:"DEVTRON_HELM_REPO_NAME" envDefault:"devtron" description:"Is used to install modules (stack manager)"`
	DevtronHelmRepoUrl                          string `env:"DEVTRON_HELM_REPO_URL" envDefault:"https://helm.devtron.ai" description:"Is used to install modules (stack manager)"`
	DevtronHelmReleaseName                      string `env:"DEVTRON_HELM_RELEASE_NAME" envDefault:"devtron" description:"Name of the Devtron Helm release. "`
	DevtronHelmReleaseNamespace                 string `env:"DEVTRON_HELM_RELEASE_NAMESPACE" envDefault:"devtroncd" description:"Namespace of the Devtron Helm release"`
	DevtronHelmReleaseChartName                 string `env:"DEVTRON_HELM_RELEASE_CHART_NAME" envDefault:"devtron-operator" description:""`
	DevtronVersionIdentifierInHelmValues        string `` /* 148-byte string literal not displayed */
	DevtronModulesIdentifierInHelmValues        string `env:"DEVTRON_MODULES_IDENTIFIER_IN_HELM_VALUES" envDefault:"installer.modules" `
	DevtronBomUrl                               string `` /* 231-byte string literal not displayed */
	AppSyncImage                                string `` /* 163-byte string literal not displayed */
	AppSyncServiceAccount                       string `env:"APP_SYNC_SERVICE_ACCOUNT" envDefault:"chart-sync" description:"Service account to be used in app sync Job"`
	AppSyncJobResourcesObj                      string `env:"APP_SYNC_JOB_RESOURCES_OBJ" description:"To pass the resource of app sync"`
	ModuleMetaDataApiUrl                        string `` /* 194-byte string literal not displayed */
	ParallelismLimitForTagProcessing            int    `env:"PARALLELISM_LIMIT_FOR_TAG_PROCESSING" description:"App manual sync job parallel tag processing count."`
	AppSyncJobShutDownWaitDuration              int    `env:"APP_SYNC_SHUTDOWN_WAIT_DURATION" envDefault:"120"`
	DevtronOperatorBasePath                     string `` /* 138-byte string literal not displayed */
	DevtronInstallerModulesPath                 string `` /* 162-byte string literal not displayed */
	DevtronInstallerReleasePath                 string `` /* 162-byte string literal not displayed */
	ErrorEncounteredOnGettingDevtronHelmRelease error
}

func ParseServerEnvConfig

func ParseServerEnvConfig() (*ServerEnvConfig, error)

Jump to

Keyboard shortcuts

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