Documentation
¶
Index ¶
- func CreateHostPortPods(f *framework.Framework, id string, replicas int, expectRunning bool)
- func CreateNodeSelectorPods(f *framework.Framework, id string, replicas int, ...) error
- func GetNodeThatCanRunPod(f *framework.Framework) string
- func SIGDescribe(text string, body func()) bool
- func WaitForSchedulerAfterAction(f *framework.Framework, action common.Action, podName string, ...)
- type Resource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateHostPortPods ¶
func CreateHostPortPods(f *framework.Framework, id string, replicas int, expectRunning bool)
func CreateNodeSelectorPods ¶ added in v1.8.0
func CreateNodeSelectorPods(f *framework.Framework, id string, replicas int, nodeSelector map[string]string, expectRunning bool) error
func GetNodeThatCanRunPod ¶
func GetNodeThatCanRunPod(f *framework.Framework) string
func SIGDescribe ¶ added in v1.8.0
func SIGDescribe(text string, body func()) bool
func WaitForSchedulerAfterAction ¶
func WaitForSchedulerAfterAction(f *framework.Framework, action common.Action, podName string, expectSuccess bool)
WaitForSchedulerAfterAction performs the provided action and then waits for scheduler to act on the given pod.
Types ¶
Click to show internal directories.
Click to hide internal directories.