scheduling

package
v0.0.0-...-4eadfbb Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2017 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