Trait k8s_openapi_ext::ClusterRoleExt
source · pub trait ClusterRoleExt: ResourceBuilder {
// Required methods
fn new(name: impl ToString) -> Self;
fn aggregation_rule(
self,
selectors: impl IntoIterator<Item = LabelSelector>
) -> Self;
fn rules(self, rules: impl IntoIterator<Item = PolicyRule>) -> Self;
}
Required Methods§
fn new(name: impl ToString) -> Self
fn aggregation_rule( self, selectors: impl IntoIterator<Item = LabelSelector> ) -> Self
fn rules(self, rules: impl IntoIterator<Item = PolicyRule>) -> Self
Object Safety§
This trait is not object safe.