Crate krator[][src]

Exposes an API for creating state-machine-based Kubernetes Operators.

Re-exports

pub use state::SharedState;
pub use state::State;
pub use state::Transition;
pub use state::TransitionTo;

Modules

state

Used to define a state machine.

Structs

Manifest

Wrapper for ObjectState::Manifest type which reflects the latest version of the object's manifest.

OperatorRuntime

Accepts a type implementing the Operator trait and watches for resources of the associated Manifest type, running the associated state machine for each. Optionally filter by kube::api::ListParams.

Traits

ObjectState

Interface for types which capture data related to a specific object that is passed between the object's state handlers.

ObjectStatus

Interface for types which represent the Kubernetes status of an object.

Operator

Interface for creating an operator.