WithServicePort
Method
func (KubernetesAspireDashboardResource) WithServicePort(options ...*WithServicePortOptions) KubernetesAspireDashboardResourceSignature
method
WithServicePort builderSets the Kubernetes Service port for the Aspire Dashboard HTTP endpoint.
WithServicePort(options ...*WithServicePortOptions) KubernetesAspireDashboardResourceParameters
options...*WithServicePortOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithServicePortOptions argument.
Port*float64The Service port number. Cluster-internal clients will connect to this port, which routes to the dashboard's container port (18888). If null, the Service port defaults to the container port.Returns
KubernetesAspireDashboardResource The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: