config

package
v1.15.4 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 4 Imported by: 9

Documentation

Index

Constants

View Source
const (
	RegistryDomain     = "docker.io"
	RegistrySecretName = "regcred"
)

Variables

View Source
var CiliumTestConfig = CiliumTestConfigType{}

CiliumTestConfig holds the global configuration of commandline flags in the ginkgo-based testing environment.

Functions

This section is empty.

Types

type CiliumTestConfigType

type CiliumTestConfigType struct {
	Reprovision bool
	// HoldEnvironment leaves the test infrastructure in place on failure
	HoldEnvironment bool
	// PassCLIEnvironment passes through the environment invoking the gingko
	// tests. When false all subcommands are executed with an empty environment,
	// including PATH.
	PassCLIEnvironment   bool
	SSHConfig            string
	ShowCommands         bool
	TestScope            string
	SkipLogGathering     bool
	CiliumImage          string
	CiliumTag            string
	CiliumOperatorImage  string
	CiliumOperatorTag    string
	CiliumOperatorSuffix string
	HubbleRelayImage     string
	HubbleRelayTag       string
	ProvisionK8s         bool
	Timeout              time.Duration
	Kubeconfig           string
	KubectlPath          string
	RegistryCredentials  string
	// Multinode enables the running of tests that involve more than one
	// node. If false, some tests will silently skip multinode checks.
	Multinode      bool
	RunQuarantined bool
	Help           bool
}

CiliumTestConfigType holds all of the configurable elements of the testsuite

func (*CiliumTestConfigType) ParseFlags

func (c *CiliumTestConfigType) ParseFlags()

ParseFlags parses commandline flags relevant to testing.

Jump to

Keyboard shortcuts

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