Class: KubeDSL::DSL::Discovery::V1::Endpoint
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
39
40
41
|
# File 'lib/kube-dsl/dsl/discovery/v1/endpoint.rb', line 39
def kind_sym
:endpoint
end
|
#serialize ⇒ Object
26
27
28
29
30
31
32
33
34
35
36
37
|
# File 'lib/kube-dsl/dsl/discovery/v1/endpoint.rb', line 26
def serialize
{}.tap do |result|
result[:addresses] = addresses
result[:conditions] = conditions.serialize
result[:deprecatedTopology] = deprecated_topology.serialize
result[:hints] = hints.serialize
result[:hostname] = hostname
result[:nodeName] = node_name
result[:targetRef] = target_ref.serialize
result[:zone] = zone
end
end
|