package
0.0.0-20241218002339-d2430a7e88db
Repository: https://github.com/nvidia/k8s-test-infra.git
Documentation: pkg.go.dev
# Functions
CreateTestingNS should be used by every test, note that we append a common prefix to the provided test name.
LoadConfig returns a config for a rest client with the UserAgent set to include the current test name.
NewFramework creates a test framework.
RandomSuffix provides a random sequence to append to pods,services,rcs.
RegisterClusterFlags registers flags specific to the cluster e2e test suite.
WaitForNamespacesDeleted waits for the namespaces to be deleted.
# Constants
DefaultNamespaceDeletionTimeout is timeout duration for waiting for a namespace deletion.
PollInterval is how often to Poll pods, nodes and claims.
# Variables
RunID is a unique identifier of the e2e run.
TestContext should be used by all tests to access common context data.
# Structs
Framework supports common operations used by e2e tests; it will keep a client & a namespace for you.
Options is a struct for managing test framework options.
TestContextType contains test settings and global state.
# Type aliases
CreateTestingNSFn is a func that is responsible for creating namespace used for executing e2e tests.