struct Kubernetes::EndpointAddress

Overview

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

Included Modules

Defined in:

generated/models/io_k8s_api_core_v1.cr

Constructors

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : ::JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : ::JSON::PullParser) #

def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node) #

Macro Detail

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

Helper macro for defining fields with automatic camelCase conversion


Instance Method Detail

def hostname : String | Nil #

The Hostname of this endpoint


def hostname=(hostname : String | Nil) #

The Hostname of this endpoint


def 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).


def 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).


def node_name : String | Nil #

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


def node_name=(node_name : String | Nil) #

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


def target_ref : ObjectReference | Nil #

Reference to object providing the endpoint.


def target_ref=(target_ref : ObjectReference | Nil) #

Reference to object providing the endpoint.