7 references to ServiceName
NativeIntegrations.DockerCompose (7)
DockerComposeBuilderExtensions.cs (3)
80public Uri PrimaryEndpoint => new($"http://{(environment.Resource.DashboardHostPort is null ? ServiceName(Name) : "127.0.0.1")}:{environment.Resource.DashboardHostPort ?? 18888}"); 81public Uri OtlpGrpcEndpoint => new($"http://{ServiceName(Name)}:18889"); 220return ReferenceExpression.Literal(ServiceName(endpoint.Resource.Name));
DockerComposeEnvironment.cs (1)
280context with { OutputPath = Path.Combine(context.OutputPath, ServiceName(Name)) } : context;
DockerComposeGenerator.cs (3)
87var service = ServiceName(resourceName); 248var key = ServiceName(source); 461var serviceName = ServiceName(resourceName);