Class: KubeDSL::DSL::Autoscaling::V2beta1::HorizontalPodAutoscaler
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
21
22
23
|
# File 'lib/kube-dsl/dsl/autoscaling/v2beta1/horizontal_pod_autoscaler.rb', line 21
def kind_sym
:horizontal_pod_autoscaler
end
|
#serialize ⇒ Object
11
12
13
14
15
16
17
18
19
|
# File 'lib/kube-dsl/dsl/autoscaling/v2beta1/horizontal_pod_autoscaler.rb', line 11
def serialize
{}.tap do |result|
result[:apiVersion] = "autoscaling/v2beta1"
result[:kind] = "HorizontalPodAutoscaler"
result[:metadata] = metadata.serialize
result[:spec] = spec.serialize
result[:status] = status.serialize
end
end
|