package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev

# README

# Packages

Build the binary with `go build conformance.go`, then run the conformance binary on a node candidate.
Package remote contains implementations of the TestSuite interface, which specify how to run various node test suites remotely.

# Functions

CountSampleDeviceAllocatable returns the number of devices of SampleDeviceResourceName advertised by a node allocatable.
CountSampleDeviceCapacity returns the number of devices of SampleDeviceResourceName advertised by a node capacity.
ExecCommand returns the command to execute in the container that implements execCommand and logs activities to a container specific log that persists across container restarts.
IsCgroup2UnifiedMode returns whether we are running in cgroup v2 unified mode.
NewResourceCollector creates a resource collector object which collects resource usage periodically from Cadvisor.
PrePullAllImages pre-fetches all images tests depend on so that we don't fail in an actual test.
WaitForPodContainerRestartCount waits for the given Pod container to achieve at least a given restartCount TODO: eventually look at moving to test/e2e/framework/pod.
WaitForPodInitContainerRestartCount waits for the given Pod init container to achieve at least a given restartCount TODO: eventually look at moving to test/e2e/framework/pod.
WaitForPodInitContainerToFail waits for the given Pod init container to fail with the given reason, specifically due to invalid container configuration.

# Constants

SampleDevicePluginDSYAML is the path of the daemonset template of the sample device plugin.
SampleDevicePluginName is the name of the device plugin pod.
SampleDeviceResourceName is the name of the resource provided by the sample device plugin.
SRIOVDevicePluginCMYAML is the path of the config map to configure the sriov device plugin.
SRIOVDevicePluginDSYAML is the path of the daemonset template of the sriov device plugin.
SRIOVDevicePluginName is the name of the device plugin pod.
SRIOVDevicePluginSAYAML is the path of the service account needed by the sriov device plugin to run.
TimeSeriesEnd is the end tag for time series.
TimeSeriesTag is the tag for time series.

# Variables

NodePrePullImageList is a list of images used in node e2e test.
SIGDescribe annotates the test with the SIG label.

# Structs

ResourceCollector is a collector object which collects resource usage periodically from Cadvisor.