package
0.0.0-20200914024125-7ffc8d407754
Repository: https://github.com/xuyun-io/scalemetric.git
Documentation: pkg.go.dev

# Functions

CheckNodeConditionPred check node ready status.
No description provided by the author
Fits checks if node have enough resources to host the pod.
GeneralPred return node resource scheduling status.
GetActivePods returns non-terminal pods.
ObjectCopy copy data.
No description provided by the author
PodToleratesNodeTaintsPred pod tolerates node taints pred.

# Structs

InsufficientResource describes what kind of resource limit is hit and caused the pod to not fit the node.
InsufficientResourceError is an error type that indicates what kind of resource limit is hit and caused the unfitting failure.
NodeConditionError describes a failure error of predicate.
PodToleratesNodeTaintsError describes a failure error of predicate.
PredicateFailureError describes a failure error of predicate.

# Type aliases

NodeConditionPredicate is a function that indicates whether the given node's conditions meet some set of criteria defined by the function.