Affected by GO-2022-0792
and 2 other vulnerabilities
GO-2022-0792 : Privilege Escalation in Kubernetes in github.com/kubernetes/kubernetes
GO-2022-0857 : Information Exposure in Kubernetes in github.com/kubernetes/kubernetes
GO-2022-0893 : Access Restriction Bypass in kubernetes in github.com/kubernetes/kubernetes
Discover Packages
github.com/kubernetes/kubernetes
pkg
constraint
package
Version:
v0.12.0
Opens a new window with list of versions in this module.
Published: Mar 3, 2015
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
Documentation
¶
Package constraint has functions for ensuring that collections of
containers are allowed to run together on a single host.
TODO: Add resource math. Phrase this code in a way that makes it easy
to call from schedulers as well as from the feasiblity check that
apiserver performs.
Allowed returns true if pods is a collection of bound pods
which can run without conflict on a single minion.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.