3 instantiations of RabbitMQServerResource
Aspire.Hosting.RabbitMQ (1)
RabbitMQBuilderExtensions.cs (1)
41
var rabbitMq = new
RabbitMQServerResource
(name, userName?.Resource, passwordParameter);
Aspire.Hosting.RabbitMQ.Tests (2)
RabbitMQPublicApiTests.cs (2)
101
var action = () => new
RabbitMQServerResource
(name: name, userName: null, password: password);
114
var action = () => new
RabbitMQServerResource
(name: name, userName: null, password: password);
28 references to RabbitMQServerResource
Aspire.Hosting.RabbitMQ (18)
RabbitMQBuilderExtensions.cs (17)
29
public static IResourceBuilder<
RabbitMQServerResource
> AddRabbitMQ(this IDistributedApplicationBuilder builder,
41
var
rabbitMq = new RabbitMQServerResource(name, userName?.Resource, passwordParameter);
77
.WithEndpoint(port: port, targetPort: 5672, name:
RabbitMQServerResource
.PrimaryEndpointName)
95
public static IResourceBuilder<
RabbitMQServerResource
> WithDataVolume(this IResourceBuilder<
RabbitMQServerResource
> builder, string? name = null, bool isReadOnly = false)
110
public static IResourceBuilder<
RabbitMQServerResource
> WithDataBindMount(this IResourceBuilder<
RabbitMQServerResource
> builder, string source, bool isReadOnly = false)
129
/// <exception cref="DistributedApplicationException">Thrown when the current container image and tag do not match the defaults for <see cref="
RabbitMQServerResource
"/>.</exception>
130
public static IResourceBuilder<
RabbitMQServerResource
> WithManagementPlugin(this IResourceBuilder<
RabbitMQServerResource
> builder)
137
/// <inheritdoc cref="WithManagementPlugin(IResourceBuilder{
RabbitMQServerResource
})" />
141
/// Use <see cref="WithManagementPlugin(IResourceBuilder{
RabbitMQServerResource
}, int?)"/> to specify a port to access the RabbitMQ management UI page.
148
public static IResourceBuilder<
RabbitMQServerResource
> WithManagementPlugin(this IResourceBuilder<
RabbitMQServerResource
> builder, int? port)
198
builder.WithHttpEndpoint(port: port, targetPort: 15672, name:
RabbitMQServerResource
.ManagementEndpointName);
249
private 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)
53
var
containerResource = Assert.Single(appModel.Resources.OfType<
RabbitMQServerResource
>());
105
var
rabbitMqResource = Assert.Single(appModel.Resources.OfType<
RabbitMQServerResource
>());
139
var
containerResource = Assert.Single(appModel.Resources.OfType<
RabbitMQServerResource
>());
RabbitMQPublicApiTests.cs (4)
39
IResourceBuilder<
RabbitMQServerResource
> builder = null!;
50
IResourceBuilder<
RabbitMQServerResource
> builder = null!;
75
IResourceBuilder<
RabbitMQServerResource
> builder = null!;
86
IResourceBuilder<
RabbitMQServerResource
> builder = null!;