Class: KubeDSL::DSL::Rbac::V1beta1::PolicyRule
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
25
26
27
|
# File 'lib/kube-dsl/dsl/rbac/v1beta1/policy_rule.rb', line 25
def kind_sym
:policy_rule
end
|
#serialize ⇒ Object
15
16
17
18
19
20
21
22
23
|
# File 'lib/kube-dsl/dsl/rbac/v1beta1/policy_rule.rb', line 15
def serialize
{}.tap do |result|
result[:apiGroups] = api_groups
result[:nonResourceURLs] = non_resource_ur_ls
result[:resourceNames] = resource_names
result[:resources] = resources
result[:verbs] = verbs
end
end
|