Class: KubeDSL::DSL::Autoscaling::V2::HorizontalPodAutoscalerBehavior
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
21
22
23
|
# File 'lib/kube-dsl/dsl/autoscaling/v2/horizontal_pod_autoscaler_behavior.rb', line 21
def kind_sym
:horizontal_pod_autoscaler_behavior
end
|
#serialize ⇒ Object
14
15
16
17
18
19
|
# File 'lib/kube-dsl/dsl/autoscaling/v2/horizontal_pod_autoscaler_behavior.rb', line 14
def serialize
{}.tap do |result|
result[:scaleDown] = scale_down.serialize
result[:scaleUp] = scale_up.serialize
end
end
|