env

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPreloadingImages

func GetPreloadingImages() []string

GetPreloadingImages returns preloading image names

func GetWebhookImage

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 IsKeepingCloudweavInstallation

func IsKeepingCloudweavInstallation() bool

IsKeepingCloudweavInstallation validates whether keep the cloudweav installation, if "KEEP_CLOUDWEAV_INSTALLATION=true", will keep the cloudweav 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 IsSkipCloudweavInstallation

func IsSkipCloudweavInstallation() bool

IsSkipCloudweavInstallation validates whether to skip cloudweav installation for testing, if "SKIP_CLOUDWEAV_INSTALLATION=true", will not create or update the cloudweav 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