Class: KubeDSL::DSL::V1::Toleration
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
25
26
27
|
# File 'lib/kube-dsl/dsl/v1/toleration.rb', line 25
def kind_sym
:toleration
end
|
#serialize ⇒ Object
15
16
17
18
19
20
21
22
23
|
# File 'lib/kube-dsl/dsl/v1/toleration.rb', line 15
def serialize
{}.tap do |result|
result[:effect] = effect
result[:key] = key
result[:operator] = operator
result[:tolerationSeconds] = toleration_seconds
result[:value] = value
end
end
|