WithOtlpServicePort
Method
func (KubernetesAspireDashboardResource) WithOtlpServicePort(options ...*WithOtlpServicePortOptions) KubernetesAspireDashboardResourceSignature
method
WithOtlpServicePort builderSets the Kubernetes Service ports for the Aspire Dashboard OTLP endpoints.
WithOtlpServicePort(options ...*WithOtlpServicePortOptions) KubernetesAspireDashboardResourceParameters
options...*WithOtlpServicePortOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithOtlpServicePortOptions argument.
GrpcPort *float64The Service port for the OTLP gRPC endpoint. If null, the Service port defaults to the container port (18889).HttpPort *float64The Service port for the OTLP HTTP endpoint. If null, the Service port defaults to the container port (18890).Returns
KubernetesAspireDashboardResource The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: