envs

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: 6 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTrue

func IsTrue(name string) (is bool)

Types

type Params added in v1.8.21

type Params struct {
	Endpoint            string // RUNNER_ENDPOINT
	AccessKeyID         string // RUNNER_ACCESSKEYID
	SecretAccessKey     string // RUNNER_SECRETACCESSKEY
	Location            string // RUNNER_LOCATION
	Token               string // RUNNER_TOKEN
	Bucket              string // RUNNER_BUCKET
	Ssl                 bool   // RUNNER_SSL
	ScrapperEnabled     bool   // RUNNER_SCRAPPERENABLED
	DataDir             string // RUNNER_DATADIR
	GitUsername         string // RUNNER_GITUSERNAME
	GitToken            string // RUNNER_GITTOKEN
	CloudMode           bool   // RUNNER_CLOUD_MODE
	CloudAPIKey         string // RUNNER_CLOUD_API_KEY
	CloudAPITLSInsecure bool   // RUNNER_CLOUD_API_TLS_INSECURE
	CloudAPIURL         string // RUNNER_CLOUD_API_URL
}

Params are the environment variables provided by the Testkube api-server

func LoadTestkubeVariables added in v1.8.21

func LoadTestkubeVariables() (Params, error)

LoadTestkubeVariables loads the parameters provided as environment variables in the Test CRD

Jump to

Keyboard shortcuts

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