withGatewayHostRoute
Method
interface KubernetesGatewayResource { // ... omitted for brevity withGatewayHostRoute( host: string, path: string, endpoint: EndpointReference, pathType?: IngressPathType): KubernetesGatewayResource;}Signature
method
withGatewayHostRoute builder Adds a host-and-path route to a Kubernetes Gateway
withGatewayHostRoute( host: string, path: string, endpoint: EndpointReference, pathType?: IngressPathType): KubernetesGatewayResourceParameters
host string path string endpoint EndpointReference pathType IngressPathType optional = Prefix Returns
KubernetesGatewayResource Applies to
This method applies to the following types: