Class: KubeDSL::DSL::Rbac::V1alpha1::AggregationRule
- Inherits:
-
KubeDSL::DSLObject
- Object
- KubeDSL::DSLObject
- KubeDSL::DSL::Rbac::V1alpha1::AggregationRule
- Defined in:
- lib/kube-dsl/dsl/rbac/v1alpha1/aggregation_rule.rb
Instance Method Summary collapse
Methods inherited from KubeDSL::DSLObject
Methods included from ValueFields
Methods included from Validations
Constructor Details
This class inherits a constructor from KubeDSL::DSLObject
Instance Method Details
#kind_sym ⇒ Object
13 14 15 |
# File 'lib/kube-dsl/dsl/rbac/v1alpha1/aggregation_rule.rb', line 13 def kind_sym :aggregation_rule end |
#serialize ⇒ Object
7 8 9 10 11 |
# File 'lib/kube-dsl/dsl/rbac/v1alpha1/aggregation_rule.rb', line 7 def serialize {}.tap do |result| result[:clusterRoleSelectors] = cluster_role_selectors.map(&:serialize) end end |