environment

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestClientConfig

type TestClientConfig struct {
	Namespace            string        // K8s namespace (blank by default, to be overwritten by test suite)
	IngressEndpoint      string        // Host to use for ingress endpoint
	ImageTemplate        string        // Template to build the image reference (defaults to {{.Repository}}/{{.Name}}:{{.Tag}})
	DockerRepo           string        // Docker repo (defaults to $KO_DOCKER_REPO)
	Tag                  string        // Tag for test images
	SpoofRequestInterval time.Duration // SpoofRequestInterval is the interval between requests in SpoofingClient
	SpoofRequestTimeout  time.Duration // SpoofRequestTimeout is the timeout for polling requests in SpoofingClient
}

TestClientConfig defines propertis about the test environment

func (*TestClientConfig) InitFlags

func (c *TestClientConfig) InitFlags(fs *flag.FlagSet)

InitFlags is for explicitly initializing the flags.

Jump to

Keyboard shortcuts

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