Skip to content
Docs Try Aspire
Docs Try

KubernetesGatewayResource.withGatewayClass

Method
📦 Aspire.Hosting.Kubernetes v13.4.0-preview.1.26281.18
interface KubernetesGatewayResource {
// ... omitted for brevity
withGatewayClass(className: string): KubernetesGatewayResource;
}

Signature

method withGatewayClass builder
Sets the GatewayClass name that selects which controller implementation handles this gateway.
withGatewayClass(className: string): KubernetesGatewayResource
className string
KubernetesGatewayResource

Defined on

This method is defined on the following type: