package
0.3.0
Repository: https://github.com/traas-stack/kapacity.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

FilterAndClassifyByRunningState filter and classify given pods by their running states.
GetState get the current State of pod.
NewStateManager build a state manager to calculate pod state change based on given spec and status.
SetState set State to pod.
StateChanged reports whether the given pod's state has changed.

# Constants

No description provided by the author

# Structs

StateChange tells which pods should be changed to which State.
StateManager provides a method to calculate pod state change.