addGateway
Method
interface KubernetesEnvironmentResource { // ... omitted for brevity addGateway(name: string): KubernetesGatewayResource;}Signature
method
addGateway builder Adds a Kubernetes Gateway API Gateway resource to the application model as a child of the specified Kubernetes environment. The gateway generates a `gateway.networking.k8s.io/v1 Gateway` resource and one or more `HTTPRoute` resources in the Helm chart output at publish time.
addGateway(name: string): KubernetesGatewayResourceParameters
name string Returns
KubernetesGatewayResource Applies to
This method applies to the following types: