IngressSpec class
IngressSpec describes the Ingress the user wishes to exist.
Constructors
-
IngressSpec({Input<
IngressBackend> ? backend, Input<String> ? ingressClassName, Input<List< ? rules, Input<IngressRule> >List< ? tls})IngressTLS> > -
Creates a new IngressSpec.
backendA default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default.ingressClassNameIngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecatedkubernetes.io/ingress.classannotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation.rulesA list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.tlsTLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.const -
IngressSpec.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
backend
→ Input<
IngressBackend> ? -
A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ingressClassName
→ Input<
String> ? -
IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated
kubernetes.io/ingress.classannotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation.final -
rules
→ Input<
List< ?IngressRule> > -
A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tls
→ Input<
List< ?IngressTLS> > -
TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited