mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 15:05:20 +00:00
move scheduler cache ListNodes interface to snapshot
This commit is contained in:
1
pkg/scheduler/internal/cache/interface.go
vendored
1
pkg/scheduler/internal/cache/interface.go
vendored
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user