config

package
v1.9.22-beta013 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: MIT Imports: 1 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 {
	APIServerPort             string `envconfig:"APISERVER_PORT" default:"8088"`
	APIServerConfig           string `envconfig:"APISERVER_CONFIG" default:""`
	JobServiceAccountName     string `envconfig:"JOB_SERVICE_ACCOUNT_NAME" default:""`
	LogsStorage               string `envconfig:"LOGS_STORAGE" default:""`
	LogsBucket                string `envconfig:"LOGS_BUCKET" default:""`
	TestkubeAnalyticsEnabled  bool   `envconfig:"TESTKUBE_ANALYTICS_ENABLED" default:"false"`
	TestkubeReadonlyExecutors bool   `envconfig:"TESTKUBE_READONLY_EXECUTORS" default:"false"`
	TestkubeDefaultExecutors  string `envconfig:"TESTKUBE_DEFAULT_EXECUTORS" default:""`
	TestkubeContainerTemplate string `envconfig:"TESTKUBE_CONTAINER_TEMPLATE" default:""`
	TestkubeNamespace         string `envconfig:"TESTKUBE_NAMESPACE" default:"testkube"`
	TestkubeCloudAPIKey       string `envconfig:"TESTKUBE_CLOUD_API_KEY" default:""`
	TestkubeCloudURL          string `envconfig:"TESTKUBE_CLOUD_URL" default:""`
	TestkubeCloudTLSInsecure  bool   `envconfig:"TESTKUBE_CLOUD_TLS_INSECURE" default:"false"`
}

func Get

func Get() (*Config, error)

Jump to

Keyboard shortcuts

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