scheduling

package
v0.0.0-...-9a7f165 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

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

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

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

type Resource

type Resource struct {
	MilliCPU int64
	Memory   int64
}

Jump to

Keyboard shortcuts

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