Versions in this module Expand all Collapse all v1 v1.0.5 Aug 24, 2015 Changes in this version + var FailedResourceType string + func CheckPodsExceedingFreeResources(pods []*api.Pod, capacity api.ResourceList) (fitting []*api.Pod, notFittingCPU, notFittingMemory []*api.Pod) + func MapPodsToMachines(lister algorithm.PodLister) (map[string][]*api.Pod, error) + func NewNodeLabelPredicate(info NodeInfo, labels []string, presence bool) algorithm.FitPredicate + func NewResourceFitPredicate(info NodeInfo) algorithm.FitPredicate + func NewSelectorMatchPredicate(info NodeInfo) algorithm.FitPredicate + func NewServiceAffinityPredicate(podLister algorithm.PodLister, serviceLister algorithm.ServiceLister, ...) algorithm.FitPredicate + func NoDiskConflict(pod *api.Pod, existingPods []*api.Pod, node string) (bool, error) + func PodFitsHost(pod *api.Pod, existingPods []*api.Pod, node string) (bool, error) + func PodFitsPorts(pod *api.Pod, existingPods []*api.Pod, node string) (bool, error) + func PodMatchesNodeLabels(pod *api.Pod, node *api.Node) bool + type ClientNodeInfo struct + func (nodes ClientNodeInfo) GetNodeInfo(nodeID string) (*api.Node, error) + type NodeInfo interface + GetNodeInfo func(nodeID string) (*api.Node, error) + type NodeLabelChecker struct + func (n *NodeLabelChecker) CheckNodeLabelPresence(pod *api.Pod, existingPods []*api.Pod, node string) (bool, error) + type NodeSelector struct + func (n *NodeSelector) PodSelectorMatches(pod *api.Pod, existingPods []*api.Pod, node string) (bool, error) + type ResourceFit struct + func (r *ResourceFit) PodFitsResources(pod *api.Pod, existingPods []*api.Pod, node string) (bool, error) + type ServiceAffinity struct + func (s *ServiceAffinity) CheckServiceAffinity(pod *api.Pod, existingPods []*api.Pod, node string) (bool, error) + type StaticNodeInfo struct + func (nodes StaticNodeInfo) GetNodeInfo(nodeID string) (*api.Node, error)