Class: KubeDSL::DSL::V1::ScopedResourceSelectorRequirement
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
23
24
25
|
# File 'lib/kube-dsl/dsl/v1/scoped_resource_selector_requirement.rb', line 23
def kind_sym
:scoped_resource_selector_requirement
end
|
#serialize ⇒ Object
15
16
17
18
19
20
21
|
# File 'lib/kube-dsl/dsl/v1/scoped_resource_selector_requirement.rb', line 15
def serialize
{}.tap do |result|
result[:operator] = operator
result[:scopeName] = scope_name
result[:values] = values
end
end
|