[−][src]Module kubelet::state
Used to define a state machine of Pod states.
Modules
prelude | Some imports that are used when implementing Kubelet state handlers. |
Structs
StateHolder | Holds arbitrary State objects in Box, and prevents manual construction of Transition::Next |
Stub | Stub state machine for testing. |
Enums
Transition | Represents result of state execution and which state to transition to next. |
Traits
AsyncDrop | Allow for asynchronous cleanup up of PodState. |
State | A trait representing a node in the state graph. |
TransitionTo | Mark an edge exists between two states. |
Functions
run_to_completion | Iteratively evaluate state machine until it returns Complete. |