package
1.14.0-alpha.0
Repository: https://github.com/everpeace/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.
GetPodKey returns the string key of a pod.
NewNodeInfo returns a ready to use empty NodeInfo object.
NewProtocolPort creates a ProtocolPort instance.
NewResource creates a Resource from ResourceList.
NewTransientSchedulerInfo returns a new scheduler transient structure with initialized values.
# Constants
DefaultBindAllHostIP defines the default ip address used to bind to all host.
# Structs
ImageStateSummary provides summarized information about the state of an image.
NodeInfo is node level aggregated information.
ProtocolPort represents a protocol port pair, e.g.
Resource is a collection of compute resource.
TransientSchedulerInfo is a transient structure which is destructed at the end of each scheduling cycle.
# Type aliases
HostPortInfo stores mapping from ip to a set of ProtocolPort.