Documentation ¶
Index ¶
- type FakeCache
- func (f *FakeCache) AddPod(pod *api.Pod) error
- func (f *FakeCache) AssumePod(pod *api.Pod) error
- func (f *FakeCache) GetNodeNameToInfoMap() (map[string]*schedulercache.NodeInfo, error)
- func (f *FakeCache) List(s labels.Selector) ([]*api.Pod, error)
- func (f *FakeCache) RemovePod(pod *api.Pod) error
- func (f *FakeCache) UpdatePod(oldPod, newPod *api.Pod) error
- type PodsToCache
- func (p PodsToCache) AddPod(pod *api.Pod) error
- func (p PodsToCache) AssumePod(pod *api.Pod) error
- func (p PodsToCache) GetNodeNameToInfoMap() (map[string]*schedulercache.NodeInfo, error)
- func (p PodsToCache) List(s labels.Selector) (selected []*api.Pod, err error)
- func (p PodsToCache) RemovePod(pod *api.Pod) error
- func (p PodsToCache) UpdatePod(oldPod, newPod *api.Pod) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCache ¶
FakeCache is used for testing
func (*FakeCache) GetNodeNameToInfoMap ¶
func (f *FakeCache) GetNodeNameToInfoMap() (map[string]*schedulercache.NodeInfo, error)
type PodsToCache ¶
PodsToCache is used for testing
func (PodsToCache) GetNodeNameToInfoMap ¶
func (p PodsToCache) GetNodeNameToInfoMap() (map[string]*schedulercache.NodeInfo, error)
Click to show internal directories.
Click to hide internal directories.