openshift_if_4_2

Macro openshift_if_4_2 

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

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

ยงExamples

openshift_if_4_2! {
    use openshift_openapi::api::build::v1 as api;
}