util

package
v1.3.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: May 17, 2016 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Guaranteed = "Guaranteed"
	Burstable  = "Burstable"
	BestEffort = "BestEffort"
)

Variables

This section is empty.

Functions

func GetPodQos added in v1.3.0

func GetPodQos(pod *api.Pod) string

GetPodQos returns the QoS class of a pod. The QoS class of a pod is the lowest QoS class for each resource in each container.

func GetQoS

func GetQoS(container *api.Container) map[api.ResourceName]string

GetQos returns a mapping of resource name to QoS class of a container

Types

This section is empty.

Jump to

Keyboard shortcuts

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