class K8S::Api::Core::V1::EndpointAddress
- K8S::Api::Core::V1::EndpointAddress
- Reference
- Object
Overview
EndpointAddress is a tuple that describes single IP address.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.14/api/core/v1/endpoint_address.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, ip : String, hostname : String? = nil, node_name : String? = nil, target_ref : Api::Core::V1::ObjectReference? = nil)
Instance Method Summary
- #hostname : String?
- #hostname=(hostname : String?)
- #ip : String
- #ip=(ip : String)
- #node_name : String?
- #node_name=(node_name : String?)
- #target_ref : Api::Core::V1::ObjectReference?
- #target_ref=(target_ref : Api::Core::V1::ObjectReference?)
Constructor Detail
def self.new(*, ip : String, hostname : String? = nil, node_name : String? = nil, target_ref : Api::Core::V1::ObjectReference? = nil)
#