mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-01 13:53:55 +00:00
Add NodeTree to the scheduler cache
This commit is contained in:
3
pkg/scheduler/cache/interface.go
vendored
3
pkg/scheduler/cache/interface.go
vendored
@@ -125,6 +125,9 @@ type Cache interface {
|
||||
|
||||
// IsUpToDate returns true if the given NodeInfo matches the current data in the cache.
|
||||
IsUpToDate(n *NodeInfo) bool
|
||||
|
||||
// NodeTree returns a node tree structure
|
||||
NodeTree() *NodeTree
|
||||
}
|
||||
|
||||
// Snapshot is a snapshot of cache state
|
||||
|
||||
Reference in New Issue
Block a user