struct
Kubernetes::EndpointHints
- Kubernetes::EndpointHints
- Struct
- Value
- Object
Overview
EndpointHints provides hints describing how an endpoint should be consumed.
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
-
#for_nodes : Array(ForNode) | Nil
forNodes indicates the node(s) this endpoint should be consumed by when using topology aware routing.
-
#for_nodes=(for_nodes : Array(ForNode) | Nil)
forNodes indicates the node(s) this endpoint should be consumed by when using topology aware routing.
-
#for_zones : Array(ForZone) | Nil
forZones indicates the zone(s) this endpoint should be consumed by when using topology aware routing.
-
#for_zones=(for_zones : Array(ForZone) | Nil)
forZones indicates the zone(s) this endpoint should be consumed by when using topology aware routing.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
forNodes indicates the node(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries.
forNodes indicates the node(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries.
forZones indicates the zone(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries.