3 instantiations of RabbitMQServerResource
Aspire.Hosting.RabbitMQ (1)
RabbitMQBuilderExtensions.cs (1)
40
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)
28
public static IResourceBuilder<
RabbitMQServerResource
> AddRabbitMQ(this IDistributedApplicationBuilder builder,
40
var
rabbitMq = new RabbitMQServerResource(name, userName?.Resource, passwordParameter);
66
.WithEndpoint(port: port, targetPort: 5672, name:
RabbitMQServerResource
.PrimaryEndpointName)
84
public static IResourceBuilder<
RabbitMQServerResource
> WithDataVolume(this IResourceBuilder<
RabbitMQServerResource
> builder, string? name = null, bool isReadOnly = false)
99
public 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>
119
public 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.
137
public static IResourceBuilder<
RabbitMQServerResource
> WithManagementPlugin(this IResourceBuilder<
RabbitMQServerResource
> builder, int? port)
187
builder.WithHttpEndpoint(port: port, targetPort: 15672, name:
RabbitMQServerResource
.ManagementEndpointName);
238
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
>());
106
var
rabbitMqResource = Assert.Single(appModel.Resources.OfType<
RabbitMQServerResource
>());
140
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!;