Class: KubeDSL::DSL::Discovery::V1beta1::EndpointConditions
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
24
25
26
|
# File 'lib/kube-dsl/dsl/discovery/v1beta1/endpoint_conditions.rb', line 24
def kind_sym
:endpoint_conditions
end
|
#serialize ⇒ Object
16
17
18
19
20
21
22
|
# File 'lib/kube-dsl/dsl/discovery/v1beta1/endpoint_conditions.rb', line 16
def serialize
{}.tap do |result|
result[:ready] = ready
result[:serving] = serving
result[:terminating] = terminating
end
end
|