Versions in this module Expand all Collapse all v0 v0.20.0 Jun 24, 2015 Changes in this version + type FakeMinionLister api.NodeList + func (f FakeMinionLister) List() (api.NodeList, error) + type FakePodLister []*api.Pod + func (f FakePodLister) List(s labels.Selector) (selected []*api.Pod, err error) + type FakeServiceLister []api.Service + func (f FakeServiceLister) GetPodServices(pod *api.Pod) (services []api.Service, err error) + func (f FakeServiceLister) List() (api.ServiceList, error) + type FitPredicate func(pod *api.Pod, existingPods []*api.Pod, node string) (bool, error) + type HostPriority struct + Host string + Score int + type HostPriorityList []HostPriority + func (h HostPriorityList) Len() int + func (h HostPriorityList) Less(i, j int) bool + func (h HostPriorityList) Swap(i, j int) + type MinionLister interface + List func() (list api.NodeList, err error) + type PodLister interface + List func(labels.Selector) ([]*api.Pod, error) + type PriorityConfig struct + Function PriorityFunction + Weight int + type PriorityFunction func(pod *api.Pod, podLister PodLister, minionLister MinionLister) (HostPriorityList, error) + type ScheduleAlgorithm interface + Schedule func(*api.Pod, MinionLister) (selectedMachine string, err error) + type ServiceLister interface + GetPodServices func(*api.Pod) ([]api.Service, error) + List func() (api.ServiceList, error)