3 instantiations of QdrantServerResource
Aspire.Hosting.Qdrant (1)
QdrantBuilderExtensions.cs (1)
49var 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)
38public static IResourceBuilder<QdrantServerResource> AddQdrant(this IDistributedApplicationBuilder builder, 49var qdrant = new QdrantServerResource(name, apiKeyParameter); 73.WithHttpEndpoint(port: grpcPort, targetPort: QdrantPortGrpc, name: QdrantServerResource.PrimaryEndpointName) 74.WithEndpoint(QdrantServerResource.PrimaryEndpointName, endpoint => 78.WithHttpEndpoint(port: httpPort, targetPort: QdrantPortHttp, name: QdrantServerResource.HttpEndpointName) 100public static IResourceBuilder<QdrantServerResource> WithDataVolume(this IResourceBuilder<QdrantServerResource> builder, string? name = null, bool isReadOnly = false) 115public static IResourceBuilder<QdrantServerResource> WithDataBindMount(this IResourceBuilder<QdrantServerResource> builder, string source, bool isReadOnly = false) 129public static IResourceBuilder<TDestination> WithReference<TDestination>(this IResourceBuilder<TDestination> builder, IResourceBuilder<QdrantServerResource> qdrantResource) 141context.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!;