struct
Kubernetes::Endpoint
- Kubernetes::Endpoint
- Struct
- Value
- Object
Overview
Endpoint represents a single logical "backend" implementing a service.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_discovery_v1.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .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)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#addresses : Array(String) | Nil
addresses of this endpoint.
-
#addresses=(addresses : Array(String) | Nil)
addresses of this endpoint.
-
#conditions : EndpointConditions | Nil
conditions contains information about the current status of the endpoint.
-
#conditions=(conditions : EndpointConditions | Nil)
conditions contains information about the current status of the endpoint.
-
#deprecated_topology : Hash(String, String) | Nil
deprecatedTopology contains topology information part of the v1beta1 API.
-
#deprecated_topology=(deprecated_topology : Hash(String, String) | Nil)
deprecatedTopology contains topology information part of the v1beta1 API.
-
#hints : EndpointHints | Nil
hints contains information associated with how an endpoint should be consumed.
-
#hints=(hints : EndpointHints | Nil)
hints contains information associated with how an endpoint should be consumed.
-
#hostname : String | Nil
hostname of this endpoint.
-
#hostname=(hostname : String | Nil)
hostname of this endpoint.
-
#node_name : String | Nil
nodeName represents the name of the Node hosting this endpoint.
-
#node_name=(node_name : String | Nil)
nodeName represents the name of the Node hosting this endpoint.
-
#target_ref : ObjectReference | Nil
targetRef is a reference to a Kubernetes object that represents this endpoint.
-
#target_ref=(target_ref : ObjectReference | Nil)
targetRef is a reference to a Kubernetes object that represents this endpoint.
-
#zone : String | Nil
zone is the name of the Zone this endpoint exists in.
-
#zone=(zone : String | Nil)
zone is the name of the Zone this endpoint exists in.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
addresses of this endpoint. For EndpointSlices of addressType "IPv4" or "IPv6", the values are IP addresses in canonical form. The syntax and semantics of other addressType values are not defined. This must contain at least one address but no more than 100. EndpointSlices generated by the EndpointSlice controller will always have exactly 1 address. No semantics are defined for additional addresses beyond the first, and kube-proxy does not look at them.
addresses of this endpoint. For EndpointSlices of addressType "IPv4" or "IPv6", the values are IP addresses in canonical form. The syntax and semantics of other addressType values are not defined. This must contain at least one address but no more than 100. EndpointSlices generated by the EndpointSlice controller will always have exactly 1 address. No semantics are defined for additional addresses beyond the first, and kube-proxy does not look at them.
conditions contains information about the current status of the endpoint.
conditions contains information about the current status of the endpoint.
deprecatedTopology contains topology information part of the v1beta1 API. This field is deprecated, and will be removed when the v1beta1 API is removed (no sooner than kubernetes v1.24). While this field can hold values, it is not writable through the v1 API, and any attempts to write to it will be silently ignored. Topology information can be found in the zone and nodeName fields instead.
deprecatedTopology contains topology information part of the v1beta1 API. This field is deprecated, and will be removed when the v1beta1 API is removed (no sooner than kubernetes v1.24). While this field can hold values, it is not writable through the v1 API, and any attempts to write to it will be silently ignored. Topology information can be found in the zone and nodeName fields instead.
hints contains information associated with how an endpoint should be consumed.
hints contains information associated with how an endpoint should be consumed.
hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation.
hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation.
nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node.
nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node.
targetRef is a reference to a Kubernetes object that represents this endpoint.
targetRef is a reference to a Kubernetes object that represents this endpoint.