KubernetesIngressResource.WithDefaultBackend
Method
type KubernetesIngressResource interface { // ... omitted for brevity WithDefaultBackend(endpoint EndpointReference) KubernetesIngressResource}Signature
method
WithDefaultBackend builderSets the default backend for the ingress. The default backend handles requests that do not match any of the defined routing rules.
WithDefaultBackend(endpoint EndpointReference) KubernetesIngressResourceParameters
endpointEndpointReference The endpoint reference identifying the default backend service and port.Returns
KubernetesIngressResource The resource builder.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: