KubernetesAspireDashboardResource.WithOtlpServicePort
Method
type KubernetesAspireDashboardResource interface { // ... omitted for brevity WithOtlpServicePort(options ...*WithOtlpServicePortOptions) KubernetesAspireDashboardResource}Signature
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().
Defined on
This method is defined on the following type: