state

package
v0.8.20 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

This package provides keys used to store state in the e2e tests' context.Context.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Key for storing a *install.Opts
	InstallOpts = Key{/* contains filtered or unexported fields */}
	// Key for storing a list of ports we forwarded for gRPC
	GrpcForwardedPorts = Key{/* contains filtered or unexported fields */}
	// Key for storing a list of ports we forwarded for prometheus metics
	PromForwardedPorts = Key{/* contains filtered or unexported fields */}
	// Key for storing a list of ports we forwarded for the pprof server
	GopsForwardedPorts = Key{/* contains filtered or unexported fields */}
	// Key for storing the minimum kernel version of all nodes in the cluster
	MinKernelVersion = Key{/* contains filtered or unexported fields */}
	// Stores a list of event checkers that were used in the test
	EventCheckers = Key{/* contains filtered or unexported fields */}
	// Stores the most recent *testing.T
	Test = Key{/* contains filtered or unexported fields */}
	// Key for storing the export directory for this test
	ExportDir = Key{/* contains filtered or unexported fields */}
	// Key for storing the cluster name
	ClusterName = Key{/* contains filtered or unexported fields */}
)

Functions

This section is empty.

Types

type Key

type Key struct {
	// contains filtered or unexported fields
}

Key is a key that we use to store specific state in a test's context.Context

Jump to

Keyboard shortcuts

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