Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TODO: make it configurable UnschedulableThreshold = 60 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func AnalysePods ¶
func AnalysePods(selectorv1 *metav1.LabelSelector, allPods []util.FederatedObject, currentTime time.Time) (map[string]PodAnalysisResult, error)
A function that calculates how many pods from the list are in one of the meaningful (from the replica set perspective) states. This function is a temporary workaround against the current lack of ownerRef in pods.
Types ¶
type PodAnalysisResult ¶
Click to show internal directories.
Click to hide internal directories.