package
1.11.0-alpha.1
Repository: https://github.com/ceshihao/kubernetes.git
Documentation: pkg.go.dev

# Functions

CreateNodeNameToInfoMap obtains a list of pods and pivots that list into a map where the keys are node names and the values are the aggregated information for that node.
New returns a Cache implementation.
NewNodeInfo returns a ready to use empty NodeInfo object.
NewResource creates a Resource from ResourceList.

# Structs

NodeInfo is node level aggregated information.
Resource is a collection of compute resource.
Snapshot is a snapshot of cache state.

# Interfaces

Cache collects pods' information and provides node-level aggregated information.

# Type aliases

PodFilter is a function to filter a pod.