1 instantiation of KafkaUIContainerResource
Aspire.Hosting.Kafka.Tests (1)
KafkaPublicApiTests.cs (1)
110var action = () => new KafkaUIContainerResource(name);
8 references to KafkaUIContainerResource
Aspire.Hosting.Kafka (5)
KafkaBuilderExtensions.cs (5)
92public static IResourceBuilder<KafkaServerResource> WithKafkaUI(this IResourceBuilder<KafkaServerResource> builder, Action<IResourceBuilder<KafkaUIContainerResource>>? configureContainer = null, string? containerName = null) 96if (builder.ApplicationBuilder.Resources.OfType<KafkaUIContainerResource>().SingleOrDefault() is { } existingKafkaUIResource) 106var kafkaUi = new KafkaUIContainerResource(containerName); 158public static IResourceBuilder<KafkaUIContainerResource> WithHostPort(this IResourceBuilder<KafkaUIContainerResource> builder, int? port)
Aspire.Hosting.Kafka.Tests (3)
AddKafkaTests.cs (2)
165Action<IResourceBuilder<KafkaUIContainerResource>> kafkaUIConfigurationCallback = kafkaUi => 173Assert.Single(builder.Resources.OfType<KafkaUIContainerResource>());
KafkaPublicApiTests.cs (1)
86IResourceBuilder<KafkaUIContainerResource> builder = null!;