tests

package
v1.34.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CDIFailHandler

func CDIFailHandler(message string, callerSkip ...int)

CDIFailHandler call ginkgo.Fail with printing the additional information

func CreateKubectlCommand added in v1.6.0

func CreateKubectlCommand(f *framework.Framework, args ...string) *exec.Cmd

CreateKubectlCommand returns the Cmd to execute kubectl

func GetKubeVersion added in v1.12.0

func GetKubeVersion(f *framework.Framework) string

GetKubeVersion returns the version returned by the kubectl version command as a semver compatible string

func PanicOnError

func PanicOnError(err error)

PanicOnError ...

func PodSpecHasTestNodePlacementValues added in v1.23.0

func PodSpecHasTestNodePlacementValues(f *framework.Framework, podSpec v1.PodSpec) bool

PodSpecHasTestNodePlacementValues compares if the pod spec has the set of node placement values defined for testing purposes

func PrintControllerLog

func PrintControllerLog(f *framework.Framework)

PrintControllerLog ...

func PrintPodLog added in v1.3.0

func PrintPodLog(f *framework.Framework, podName, namespace string)

PrintPodLog ...

func RunKubectlCommand

func RunKubectlCommand(f *framework.Framework, args ...string) (string, error)

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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