Class: KubeDSL::DSL::V1::EndpointSubset
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
19
20
21
|
# File 'lib/kube-dsl/dsl/v1/endpoint_subset.rb', line 19
def kind_sym
:endpoint_subset
end
|
#serialize ⇒ Object
11
12
13
14
15
16
17
|
# File 'lib/kube-dsl/dsl/v1/endpoint_subset.rb', line 11
def serialize
{}.tap do |result|
result[:addresses] = addresses.map(&:serialize)
result[:notReadyAddresses] = not_ready_addresses.map(&:serialize)
result[:ports] = ports.map(&:serialize)
end
end
|