Trait k8s_openapi_ext::ClusterRoleExt
source · [−]pub trait ClusterRoleExt: ResourceBuilder {
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;
}