Documentation ¶
Index ¶
- type FakeCache
- func (f *FakeCache) AddNode(node *v1.Node) error
- func (f *FakeCache) AddPod(pod *v1.Pod) error
- func (f *FakeCache) AssumePod(pod *v1.Pod) error
- func (f *FakeCache) FinishBinding(pod *v1.Pod) error
- func (f *FakeCache) ForgetPod(pod *v1.Pod) error
- func (f *FakeCache) List(s labels.Selector) ([]*v1.Pod, error)
- func (f *FakeCache) RemoveNode(node *v1.Node) error
- func (f *FakeCache) RemovePod(pod *v1.Pod) error
- func (f *FakeCache) UpdateNode(oldNode, newNode *v1.Node) error
- func (f *FakeCache) UpdateNodeNameToInfoMap(infoMap map[string]*schedulercache.NodeInfo) error
- func (f *FakeCache) UpdatePod(oldPod, newPod *v1.Pod) error
- type PodsToCache
- func (p PodsToCache) AddNode(node *v1.Node) error
- func (p PodsToCache) AddPod(pod *v1.Pod) error
- func (p PodsToCache) AssumePod(pod *v1.Pod) error
- func (p PodsToCache) ForgetPod(pod *v1.Pod) error
- func (p PodsToCache) List(s labels.Selector) (selected []*v1.Pod, err error)
- func (p PodsToCache) RemoveNode(node *v1.Node) error
- func (p PodsToCache) RemovePod(pod *v1.Pod) error
- func (p PodsToCache) UpdateNode(oldNode, newNode *v1.Node) error
- func (p PodsToCache) UpdateNodeNameToInfoMap(infoMap map[string]*schedulercache.NodeInfo) error
- func (p PodsToCache) UpdatePod(oldPod, newPod *v1.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) FinishBinding ¶ added in v1.6.0
func (*FakeCache) UpdateNodeNameToInfoMap ¶
func (f *FakeCache) UpdateNodeNameToInfoMap(infoMap map[string]*schedulercache.NodeInfo) error
type PodsToCache ¶
PodsToCache is used for testing
func (PodsToCache) RemoveNode ¶
func (p PodsToCache) RemoveNode(node *v1.Node) error
func (PodsToCache) UpdateNode ¶
func (p PodsToCache) UpdateNode(oldNode, newNode *v1.Node) error
func (PodsToCache) UpdateNodeNameToInfoMap ¶
func (p PodsToCache) UpdateNodeNameToInfoMap(infoMap map[string]*schedulercache.NodeInfo) error
Click to show internal directories.
Click to hide internal directories.