struct
Kubernetes::IngressBackend
- Kubernetes::IngressBackend
- Struct
- Value
- Object
Overview
IngressBackend describes all endpoints for a given service and port.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_networking_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
-
#resource : TypedLocalObjectReference | Nil
resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object.
-
#resource=(resource : TypedLocalObjectReference | Nil)
resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object.
-
#service : IngressServiceBackend | Nil
service references a service as a backend.
-
#service=(service : IngressServiceBackend | Nil)
service references a service as a backend.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service".
resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service".
service references a service as a backend. This is a mutually exclusive setting with "Resource".
service references a service as a backend. This is a mutually exclusive setting with "Resource".