withGatewayClass
Method
interface KubernetesGatewayResource { // ... omitted for brevity withGatewayClass(className: string): KubernetesGatewayResource;}Signature
method
withGatewayClassbuilderSets the GatewayClass name that selects which controller implementation handles this gateway.
withGatewayClass(className: string): KubernetesGatewayResourceParameters
classNamestringReturns
KubernetesGatewayResourceApplies to
This method applies to the following types: