Class: KubeDSL::DSL::V1::EndpointAddress
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
26
27
28
|
# File 'lib/kube-dsl/dsl/v1/endpoint_address.rb', line 26
def kind_sym
:endpoint_address
end
|
#serialize ⇒ Object
17
18
19
20
21
22
23
24
|
# File 'lib/kube-dsl/dsl/v1/endpoint_address.rb', line 17
def serialize
{}.tap do |result|
result[:hostname] = hostname
result[:ip] = ip
result[:nodeName] = node_name
result[:targetRef] = target_ref.serialize
end
end
|