scheduling

package
v1.7.7 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2017 License: Apache-2.0 Imports: 24 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 GetNodeThatCanRunPod

func GetNodeThatCanRunPod(f *framework.Framework) string

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 added in v1.7.0

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