class K8S::Api::Discovery::V1::Endpoint
- K8S::Api::Discovery::V1::Endpoint
- Reference
- Object
Overview
Endpoint represents a single logical "backend" implementing a service.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.21/api/discovery/v1/endpoint.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, addresses : Array, conditions : Api::Discovery::V1::EndpointConditions? = nil, deprecated_topology : Hash(String, String)? = nil, hints : Api::Discovery::V1::EndpointHints? = nil, hostname : String? = nil, node_name : String? = nil, target_ref : Api::Core::V1::ObjectReference? = nil, zone : String? = nil)
Instance Method Summary
- #addresses : Array(String)
- #addresses=(addresses : Array(String))
- #conditions : Api::Discovery::V1::EndpointConditions?
- #conditions=(conditions : Api::Discovery::V1::EndpointConditions?)
- #deprecated_topology : Hash(String, String)?
- #deprecated_topology=(deprecated_topology : Hash(String, String)?)
- #hints : Api::Discovery::V1::EndpointHints?
- #hints=(hints : Api::Discovery::V1::EndpointHints?)
- #hostname : String?
- #hostname=(hostname : String?)
- #node_name : String?
- #node_name=(node_name : String?)
- #target_ref : Api::Core::V1::ObjectReference?
- #target_ref=(target_ref : Api::Core::V1::ObjectReference?)
- #zone : String?
- #zone=(zone : String?)
Constructor Detail
def self.new(*, addresses : Array, conditions : Api::Discovery::V1::EndpointConditions? = nil, deprecated_topology : Hash(String, String)? = nil, hints : Api::Discovery::V1::EndpointHints? = nil, hostname : String? = nil, node_name : String? = nil, target_ref : Api::Core::V1::ObjectReference? = nil, zone : String? = nil)
#