struct

Kubernetes::EndpointAddress

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

EndpointAddress is a tuple that describes single IP address. Deprecated: This API is deprecated in v1.33+.

Constructors

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

hostname

The Hostname of this endpoint

Source
hostname=(hostname : String | Nil)

The Hostname of this endpoint

Source
ip

The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).

Source
ip=(ip : String | Nil)

The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).

Source
node_name

Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.

Source
node_name=(node_name : String | Nil)

Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.

Source
target_ref

Reference to object providing the endpoint.

Source
target_ref=(target_ref : ObjectReference | Nil)

Reference to object providing the endpoint.

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source