move scheduler cache ListNodes interface to snapshot

This commit is contained in:
Abdullah Gharaibeh
2019-10-14 17:47:42 -04:00
parent 34db57b007
commit e073e56095
9 changed files with 26 additions and 48 deletions

View File

@@ -59,7 +59,6 @@ import (
// a pod might have changed its state (e.g. added and deleted) without delivering notification to the cache.
type Cache interface {
algorithm.PodLister
algorithm.NodeLister
// AssumePod assumes a pod scheduled and aggregates the pod's information into its node.
// The implementation also decides the policy to expire pod before being confirmed (receiving Add event).