4 writes to Endpoint
Aspire.Milvus.Client (2)
MilvusClientSettings.cs (2)
44
Endpoint
= uri;
55
Endpoint
= serviceUri;
Aspire.Milvus.Client.Tests (2)
AspireMilvusExtensionTests.cs (2)
65
builder.AddKeyedMilvusClient(DefaultKeyName, settings => { settings.
Endpoint
= new Uri("http://localhost:19530"); settings.Key = DefaultApiKey; });
69
builder.AddMilvusClient(DefaultKeyName, settings => { settings.
Endpoint
= new Uri("http://localhost:19530"); settings.Key = DefaultApiKey; });
4 references to Endpoint
Aspire.Milvus.Client (3)
AspireMilvusExtensions.cs (3)
104
if (settings.
Endpoint
is not null && settings.Key is not null)
106
return new MilvusClient(settings.
Endpoint
, apiKey: settings.Key, database: settings.Database, loggerFactory: serviceProvider.GetRequiredService<ILoggerFactory>());
112
$"{nameof(settings.
Endpoint
)} and {nameof(settings.Key)} must both be provided " +
Aspire.Milvus.Client.Tests (1)
ConfigurationTests.cs (1)
11
=> Assert.Null(new MilvusClientSettings().
Endpoint
);