3 instantiations of RabbitMQServerResource
Aspire.Hosting.RabbitMQ (1)
RabbitMQBuilderExtensions.cs (1)
40var rabbitMq = new RabbitMQServerResource(name, userName?.Resource, passwordParameter);
Aspire.Hosting.RabbitMQ.Tests (2)
RabbitMQPublicApiTests.cs (2)
101var action = () => new RabbitMQServerResource(name: name, userName: null, password: password); 114var action = () => new RabbitMQServerResource(name: name, userName: null, password: password);
28 references to RabbitMQServerResource
Aspire.Hosting.RabbitMQ (18)
RabbitMQBuilderExtensions.cs (17)
28public static IResourceBuilder<RabbitMQServerResource> AddRabbitMQ(this IDistributedApplicationBuilder builder, 40var rabbitMq = new RabbitMQServerResource(name, userName?.Resource, passwordParameter); 66.WithEndpoint(port: port, targetPort: 5672, name: RabbitMQServerResource.PrimaryEndpointName) 84public static IResourceBuilder<RabbitMQServerResource> WithDataVolume(this IResourceBuilder<RabbitMQServerResource> builder, string? name = null, bool isReadOnly = false) 99public static IResourceBuilder<RabbitMQServerResource> WithDataBindMount(this IResourceBuilder<RabbitMQServerResource> builder, string source, bool isReadOnly = false) 118/// <exception cref="DistributedApplicationException">Thrown when the current container image and tag do not match the defaults for <see cref="RabbitMQServerResource"/>.</exception> 119public static IResourceBuilder<RabbitMQServerResource> WithManagementPlugin(this IResourceBuilder<RabbitMQServerResource> builder) 126/// <inheritdoc cref="WithManagementPlugin(IResourceBuilder{RabbitMQServerResource})" /> 130/// Use <see cref="WithManagementPlugin(IResourceBuilder{RabbitMQServerResource}, int?)"/> to specify a port to access the RabbitMQ management UI page. 137public static IResourceBuilder<RabbitMQServerResource> WithManagementPlugin(this IResourceBuilder<RabbitMQServerResource> builder, int? port) 187builder.WithHttpEndpoint(port: port, targetPort: 15672, name: RabbitMQServerResource.ManagementEndpointName); 238private static IResourceBuilder<RabbitMQServerResource> RunWithStableNodeName(this IResourceBuilder<RabbitMQServerResource> builder)
RabbitMQServerResource.cs (1)
16/// Initializes a new instance of the <see cref="RabbitMQServerResource"/> class.
Aspire.Hosting.RabbitMQ.Tests (10)
AddRabbitMQTests.cs (6)
53var containerResource = Assert.Single(appModel.Resources.OfType<RabbitMQServerResource>()); 106var rabbitMqResource = Assert.Single(appModel.Resources.OfType<RabbitMQServerResource>()); 140var containerResource = Assert.Single(appModel.Resources.OfType<RabbitMQServerResource>());
RabbitMQPublicApiTests.cs (4)
39IResourceBuilder<RabbitMQServerResource> builder = null!; 50IResourceBuilder<RabbitMQServerResource> builder = null!; 75IResourceBuilder<RabbitMQServerResource> builder = null!; 86IResourceBuilder<RabbitMQServerResource> builder = null!;