AddGateway

Method
📦 Aspire.Hosting.Kubernetes v17.0.0
func (KubernetesEnvironmentResource) AddGateway(name string) KubernetesGatewayResource

Signature

methodAddGatewaybuilder
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) KubernetesGatewayResource
namestringThe name of the gateway resource.
KubernetesGatewayResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: