package
Version:
v1.3.0-alpha.4
Opens a new window with list of versions in this module.
Published: May 17, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
Guaranteed = "Guaranteed"
Burstable = "Burstable"
BestEffort = "BestEffort"
)
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(container *api.Container) map[api.ResourceName]string
GetQos returns a mapping of resource name to QoS class of a container
Source Files
¶
Click to show internal directories.
Click to hide internal directories.