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