5 releases (breaking)

0.5.0 Nov 23, 2021
0.4.0 Sep 27, 2021
0.3.0 Jul 19, 2021
0.2.0 Jun 2, 2021
0.1.0 Feb 2, 2021

#146 in #controller

25 downloads per month
Used in 2 crates (via krator)

Apache-2.0

29KB
400 lines

Kubelet Derive

Derivable traits for use with the kubelet crate. This crate isn't used directly, but is exposed with the derive feature of the kubelet crate.


lib.rs:

A crate for deriving state machine traits in Kubelet.

Right now this crate consists of a [TransitionTo] derive macro for the TransitionTo trait.

In addition to the derive attribute, this macro also requires the use of a custom attribute called transition_to that specifies the types that can be transitioned to. Not specifying this attribute will result in a compile time error.

If the feature admission-webhook is enabled, this crate provides a [AdmissionWebhook] derive macro that provides functions for creating necessary resources for running a admission webhook.

Dependencies

~1.5MB
~35K SLoC