withHostPort
Method
interface KafkaUIContainerResource { // ... omitted for brevity withHostPort(port: number): KafkaUIContainerResource;}Signature
method
withHostPortbuilderConfigures the host port that the KafkaUI resource is exposed on instead of using randomly assigned port.
withHostPort(port: number): KafkaUIContainerResourceParameters
portnumberReturns
KafkaUIContainerResourceApplies to
This method applies to the following types: