Kubernetes::IngressServiceBackend
Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object
IngressServiceBackend references a Kubernetes Service as a Backend.
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
name
name is the referenced service. The service must exist in the same namespace as the Ingress object.
name is the referenced service. The service must exist in the same namespace as the Ingress object.
port
port of the referenced service. A port name or port number is required for a IngressServiceBackend.
port=(port : ServiceBackendPort | Nil)
port of the referenced service. A port name or port number is required for a IngressServiceBackend.
Macros
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion