Documentation ¶
Index ¶
- func CDIFailHandler(message string, callerSkip ...int)
- func CreateKubectlCommand(f *framework.Framework, args ...string) *exec.Cmd
- func GetKubeVersion(f *framework.Framework) string
- func PanicOnError(err error)
- func PodSpecHasTestNodePlacementValues(f *framework.Framework, podSpec v1.PodSpec) bool
- func PrintControllerLog(f *framework.Framework)
- func PrintPodLog(f *framework.Framework, podName, namespace string)
- func RunKubectlCommand(f *framework.Framework, args ...string) (string, error)
- func TestNodePlacementValues(f *framework.Framework) sdkapi.NodePlacement
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CDIFailHandler ¶
CDIFailHandler call ginkgo.Fail with printing the additional information
func CreateKubectlCommand ¶ added in v1.6.0
CreateKubectlCommand returns the Cmd to execute kubectl
func GetKubeVersion ¶ added in v1.12.0
GetKubeVersion returns the version returned by the kubectl version command as a semver compatible string
func PodSpecHasTestNodePlacementValues ¶ added in v1.23.0
PodSpecHasTestNodePlacementValues compares if the pod spec has the set of node placement values defined for testing purposes
func PrintPodLog ¶ added in v1.3.0
PrintPodLog ...
func RunKubectlCommand ¶
RunKubectlCommand ...
func TestNodePlacementValues ¶ added in v1.23.0
func TestNodePlacementValues(f *framework.Framework) sdkapi.NodePlacement
TestNodePlacementValues returns a pre-defined set of node placement values for testing purposes. The values chosen are valid, but the pod will likely not be schedulable.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.