Macro k8s_openapi::k8s_if_1_27

source ·
macro_rules! k8s_if_1_27 {
    ($($tt:tt)*) => { ... };
}
Expand description

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

§Examples

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