k8s_openapi

Macro k8s_if_1_32

Source
macro_rules! k8s_if_1_32 {
    ($($tt:tt)*) => { ... };
}
Expand description

This macro evaluates to its contents if the v1_32 feature is enabled, otherwise it evaluates to nothing.

ยงExamples

k8s_if_1_32! {
    use k8s_openapi::api::core::v1 as api;
}