package
1.32.0
Repository: https://github.com/kubernetes-sigs/cri-tools.git
Documentation: pkg.go.dev

# Functions

AddBeforeSuiteCallback adds a callback to run during BeforeSuite.
BuildContainerMetadata builds containerMetadata.
BuildPodSandboxMetadata builds PodSandboxMetadata.
CreateContainer creates a container with the prefix of containerName.
CreateContainerWithError creates a container but leave error check to caller.
CreateDefaultContainer creates a default container with default options.
CreateDefaultContainerWithLabels creates a default container with default options.
CreatePauseContainer creates a container with default pause options.
CreatePodSandboxForContainer creates a PodSandbox for creating containers.
ExpectNoError reports error if err is not nil.
Failf prints an error message.
ImageStatus gets the status of the image named imageName.
KubeDescribe is a wrapper on Describe.
ListImage list the image filtered by the image filter.
LoadCRIClient creates a InternalAPIClient.
LoadYamlFile attempts to load the given YAML file into the given struct.
Logf prints a info message.
NewCRIFramework creates a new Framework.
NewDefaultCRIFramework makes a new framework and sets up a BeforeEach/AfterEach for you (you can write additional before/after each functions).
NewUUID creates a new UUID string.
PrepareImageName builds a pullable image name for the provided one.
PullPublicImage pulls the public image named imageName.
RegisterFlags registers flags to e2e test suites.
RunDefaultPodSandbox runs a PodSandbox with default options.
RunPodSandbox runs a PodSandbox.
RunPodSandboxError runs a PodSandbox and expects an error.

# Constants

No description provided by the author
No description provided by the author
DefaultAttempt is a default attempt prefix of PodSandbox or container.
DefaultLinuxContainerImage default container image for Linux.
DefaultNamespacePrefix is a default namespace prefix of PodSandbox.
DefaultRegistryE2ETestImagesPrefix is the default prefix for e2e test images.
DefaultRegistryPrefix specifies the default prefix used for images.
DefaultStopContainerTimeout is the default timeout for stopping container.
DefaultUIDPrefix is a default UID prefix of PodSandbox.
DefaultWindowsContainerImage default container image for Windows.
No description provided by the author

# Variables

DefaultContainerCommand is the default command used for containers.
DefaultLcowPodLabels default pod labels for Linux containers on Windows.
DefaultLinuxContainerCommand default container command for Linux.
DefaultLinuxPauseCommand default container command for Linux pause.
DefaultLinuxPodLabels default pod labels for Linux.
DefaultPauseCommand is the default command used for containers.
DefaultPodLabels are labels used by default in pods.
DefaultWindowsContainerCommand default container command for Windows.
DefaultWindowsPauseCommand default container pause command for Windows.
DefaultWindowsPodLabels default pod labels for Windows.
TestContext is a test context.

# Structs

BenchmarkingParamsType is the type of benchmarking-related params.
Framework will keep a client for you.
InternalAPIClient is the CRI client.
TestContextType is the type of test context.
TestImageList aggregates references to the images used in tests.