Class: KubeDSL::DSL::Autoscaling::V2beta1::ResourceMetricStatus
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
24
25
26
|
# File 'lib/kube-dsl/dsl/autoscaling/v2beta1/resource_metric_status.rb', line 24
def kind_sym
:resource_metric_status
end
|
#serialize ⇒ Object
16
17
18
19
20
21
22
|
# File 'lib/kube-dsl/dsl/autoscaling/v2beta1/resource_metric_status.rb', line 16
def serialize
{}.tap do |result|
result[:currentAverageUtilization] = current_average_utilization
result[:currentAverageValue] = current_average_value
result[:name] = name
end
end
|