3 instantiations of ElasticsearchResource
Aspire.Hosting.Elasticsearch (1)
ElasticsearchBuilderExtensions.cs (1)
56
var elasticsearch = new
ElasticsearchResource
(name, passwordParameter);
Aspire.Hosting.Elasticsearch.Tests (2)
ElasticsearchPublicApiTests.cs (2)
81
var action = () => new
ElasticsearchResource
(name, password.Resource);
92
var action = () => new
ElasticsearchResource
(name, password);
15 references to ElasticsearchResource
Aspire.Hosting.Elasticsearch (8)
ElasticsearchBuilderExtensions.cs (8)
45
public static IResourceBuilder<
ElasticsearchResource
> AddElasticsearch(
56
var
elasticsearch = new ElasticsearchResource(name, passwordParameter);
85
.WithHttpEndpoint(targetPort: ElasticsearchPort, port: port, name:
ElasticsearchResource
.PrimaryEndpointName)
86
.WithEndpoint(targetPort: ElasticsearchInternalPort, port: port, name:
ElasticsearchResource
.InternalEndpointName)
116
public static IResourceBuilder<
ElasticsearchResource
> WithDataVolume(this IResourceBuilder<
ElasticsearchResource
> builder, string? name = null)
143
public static IResourceBuilder<
ElasticsearchResource
> WithDataBindMount(this IResourceBuilder<
ElasticsearchResource
> builder, string source)
Aspire.Hosting.Elasticsearch.Tests (7)
AddElasticsearchTests.cs (5)
26
var
containerResource = Assert.Single(appModel.Resources.OfType<
ElasticsearchResource
>());
88
var
containerResource = Assert.Single(appModel.Resources.OfType<
ElasticsearchResource
>());
149
var connectionStringResource = Assert.Single(appModel.Resources.OfType<
ElasticsearchResource
>()) as IResourceWithConnectionString;
ElasticsearchPublicApiTests.cs (2)
40
IResourceBuilder<
ElasticsearchResource
> builder = null!;
42
Func<IResourceBuilder<
ElasticsearchResource
>>? action = null;