env

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPreloadingImages added in v0.3.0

func GetPreloadingImages() []string

GetPreloadingImages returns preloading image names

func GetWebhookImage added in v0.3.0

func GetWebhookImage() (string, string)

GetWebhookImage returns webhook image name and tag

func IsE2ETestsEnabled

func IsE2ETestsEnabled() bool

IsE2ETestsEnabled validates whether to enable the e2e tests

func IsKeepingHarvesterInstallation

func IsKeepingHarvesterInstallation() bool

IsKeepingHarvesterInstallation validates whether keep the harvester installation, if "KEEP_HARVESTER_INSTALLATION=true", will keep the harvester installation for reviewing.

func IsKeepingTestingCluster

func IsKeepingTestingCluster() bool

IsKeepingTestingCluster validates whether keep the testing cluster, if "KEEP_TESTING_CLUSTER=true", will keep the testing cluster for reviewing.

func IsKeepingTestingResource

func IsKeepingTestingResource() bool

IsKeepingTestingResource validates whether keep the testing resource, if "KEEP_TESTING_RESOURCE=true", will keep the testing resource for reviewing.

func IsSkipHarvesterInstallation

func IsSkipHarvesterInstallation() bool

IsSkipHarvesterInstallation validates whether to skip harvester installation for testing, if "SKIP_HARVESTER_INSTALLATION=true", will not create or update the harvester chart for testing.

func IsTrue

func IsTrue(key string) bool

IsTrue validates that the specified environment variable is true.

func IsUsingEmulation

func IsUsingEmulation() bool

IsUsingEmulation validates whether use qemu soft emulation, if "DONT_USE_EMULATION=true", will not use qemu soft emulation.

func IsUsingExistingCluster

func IsUsingExistingCluster() bool

IsUsingExistingCluster validates whether use an existing cluster for testing, if "USE_EXISTING_CLUSTER=true", will not create a local cluster for testing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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