Class: KubeDSL::DSL::Apps::V1beta2::RollingUpdateDeployment
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
16
17
18
|
# File 'lib/kube-dsl/dsl/apps/v1beta2/rolling_update_deployment.rb', line 16
def kind_sym
:rolling_update_deployment
end
|
#serialize ⇒ Object
9
10
11
12
13
14
|
# File 'lib/kube-dsl/dsl/apps/v1beta2/rolling_update_deployment.rb', line 9
def serialize
{}.tap do |result|
result[:maxSurge] = max_surge
result[:maxUnavailable] = max_unavailable
end
end
|