3 instantiations of QdrantServerResource
Aspire.Hosting.Qdrant (1)
QdrantBuilderExtensions.cs (1)
48var qdrant = new QdrantServerResource(name, apiKeyParameter);
Aspire.Hosting.Qdrant.Tests (2)
QdrantPublicApiTests.cs (2)
106var action = () => new QdrantServerResource(name, apiKey); 118var action = () => new QdrantServerResource(name, apiKey);
17 references to QdrantServerResource
Aspire.Hosting.Qdrant (12)
QdrantBuilderExtensions.cs (11)
37public static IResourceBuilder<QdrantServerResource> AddQdrant(this IDistributedApplicationBuilder builder, 48var qdrant = new QdrantServerResource(name, apiKeyParameter); 71.WithHttpEndpoint(port: grpcPort, targetPort: QdrantPortGrpc, name: QdrantServerResource.PrimaryEndpointName) 72.WithEndpoint(QdrantServerResource.PrimaryEndpointName, endpoint => 76.WithHttpEndpoint(port: httpPort, targetPort: QdrantPortHttp, name: QdrantServerResource.HttpEndpointName) 98public static IResourceBuilder<QdrantServerResource> WithDataVolume(this IResourceBuilder<QdrantServerResource> builder, string? name = null, bool isReadOnly = false) 113public static IResourceBuilder<QdrantServerResource> WithDataBindMount(this IResourceBuilder<QdrantServerResource> builder, string source, bool isReadOnly = false) 127public static IResourceBuilder<TDestination> WithReference<TDestination>(this IResourceBuilder<TDestination> builder, IResourceBuilder<QdrantServerResource> qdrantResource) 139context.EnvironmentVariables[$"ConnectionStrings__{qdrantResource.Resource.Name}_{QdrantServerResource.HttpEndpointName}"] = qdrantResource.Resource.HttpConnectionStringExpression;
QdrantServerResource.cs (1)
15/// Initializes a new instance of the <see cref="QdrantServerResource"/> class.
Aspire.Hosting.Qdrant.Tests (5)
AddQdrantTests.cs (2)
289var qdrantResource = Assert.Single(appModel.Resources.OfType<QdrantServerResource>());
QdrantPublicApiTests.cs (3)
39IResourceBuilder<QdrantServerResource> builder = null!; 50IResourceBuilder<QdrantServerResource> builder = null!; 90IResourceBuilder<QdrantServerResource> qdrantResource = null!;