#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregationRule {
#[prost(message, repeated, tag = "1")]
pub cluster_role_selectors:
::prost::alloc::vec::Vec<super::super::super::apimachinery::pkg::apis::meta::v1::LabelSelector>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ClusterRole {
#[prost(message, optional, tag = "1")]
pub metadata: ::core::option::Option<super::super::super::apimachinery::pkg::apis::meta::v1::ObjectMeta>,
#[prost(message, repeated, tag = "2")]
pub rules: ::prost::alloc::vec::Vec<PolicyRule>,
#[prost(message, optional, tag = "3")]
pub aggregation_rule: ::core::option::Option<AggregationRule>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ClusterRoleBinding {
#[prost(message, optional, tag = "1")]
pub metadata: ::core::option::Option<super::super::super::apimachinery::pkg::apis::meta::v1::ObjectMeta>,
#[prost(message, repeated, tag = "2")]
pub subjects: ::prost::alloc::vec::Vec<Subject>,
#[prost(message, optional, tag = "3")]
pub role_ref: ::core::option::Option<RoleRef>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ClusterRoleBindingList {
#[prost(message, optional, tag = "1")]
pub metadata: ::core::option::Option<super::super::super::apimachinery::pkg::apis::meta::v1::ListMeta>,
#[prost(message, repeated, tag = "2")]
pub items: ::prost::alloc::vec::Vec<ClusterRoleBinding>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ClusterRoleList {
#[prost(message, optional, tag = "1")]
pub metadata: ::core::option::Option<super::super::super::apimachinery::pkg::apis::meta::v1::ListMeta>,
#[prost(message, repeated, tag = "2")]
pub items: ::prost::alloc::vec::Vec<ClusterRole>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PolicyRule {
#[prost(string, repeated, tag = "1")]
pub verbs: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(string, repeated, tag = "3")]
pub api_groups: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(string, repeated, tag = "4")]
pub resources: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(string, repeated, tag = "5")]
pub resource_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(string, repeated, tag = "6")]
pub non_resource_ur_ls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Role {
#[prost(message, optional, tag = "1")]
pub metadata: ::core::option::Option<super::super::super::apimachinery::pkg::apis::meta::v1::ObjectMeta>,
#[prost(message, repeated, tag = "2")]
pub rules: ::prost::alloc::vec::Vec<PolicyRule>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RoleBinding {
#[prost(message, optional, tag = "1")]
pub metadata: ::core::option::Option<super::super::super::apimachinery::pkg::apis::meta::v1::ObjectMeta>,
#[prost(message, repeated, tag = "2")]
pub subjects: ::prost::alloc::vec::Vec<Subject>,
#[prost(message, optional, tag = "3")]
pub role_ref: ::core::option::Option<RoleRef>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RoleBindingList {
#[prost(message, optional, tag = "1")]
pub metadata: ::core::option::Option<super::super::super::apimachinery::pkg::apis::meta::v1::ListMeta>,
#[prost(message, repeated, tag = "2")]
pub items: ::prost::alloc::vec::Vec<RoleBinding>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RoleList {
#[prost(message, optional, tag = "1")]
pub metadata: ::core::option::Option<super::super::super::apimachinery::pkg::apis::meta::v1::ListMeta>,
#[prost(message, repeated, tag = "2")]
pub items: ::prost::alloc::vec::Vec<Role>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RoleRef {
#[prost(string, optional, tag = "1")]
pub api_group: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "2")]
pub kind: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "3")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Subject {
#[prost(string, optional, tag = "1")]
pub kind: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "2")]
pub api_version: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "3")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "4")]
pub namespace: ::core::option::Option<::prost::alloc::string::String>,
}