Skip to content

Commit

Permalink
fix approved file
Browse files Browse the repository at this point in the history
  • Loading branch information
Alirexaa committed Oct 30, 2024
1 parent 68143ac commit 6c04d28
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions test/HealthChecks.Qdrant.Tests/HealthChecks.Qdrant.approved.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,14 @@ namespace HealthChecks.Qdrant
{
public class QdrantHealthCheck : Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck
{
public QdrantHealthCheck(HealthChecks.Qdrant.QdrantHealthCheckOptions options) { }
public QdrantHealthCheck(Qdrant.Client.QdrantClient? client) { }
public System.Threading.Tasks.Task<Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckResult> CheckHealthAsync(Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckContext context, System.Threading.CancellationToken cancellationToken = default) { }
}
public class QdrantHealthCheckOptions
{
public QdrantHealthCheckOptions() { }
public string? ApiKey { get; set; }
public Qdrant.Client.QdrantClient? Client { get; set; }
public System.Uri? ConnectionUri { get; set; }
public System.TimeSpan RequestedConnectionTimeout { get; set; }
}
}
namespace Microsoft.Extensions.DependencyInjection
{
public static class QdrantHealthCheckBuilderExtensions
{
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddQdrant(this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string? name = null, Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus? failureStatus = default, System.Collections.Generic.IEnumerable<string>? tags = null, System.TimeSpan? timeout = default) { }
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddQdrant(this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, System.Action<HealthChecks.Qdrant.QdrantHealthCheckOptions>? setup, string? name = null, Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus? failureStatus = default, System.Collections.Generic.IEnumerable<string>? tags = null, System.TimeSpan? timeout = default) { }
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddQdrant(this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, System.Action<System.IServiceProvider, HealthChecks.Qdrant.QdrantHealthCheckOptions>? setup, string? name = null, Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus? failureStatus = default, System.Collections.Generic.IEnumerable<string>? tags = null, System.TimeSpan? timeout = default) { }
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddQdrant(this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string qdrantConnectionString, string? name = null, Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus? failureStatus = default, System.Collections.Generic.IEnumerable<string>? tags = null, System.TimeSpan? timeout = default) { }
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddQdrant(this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, System.Uri qdrantConnectionString, string? name = null, Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus? failureStatus = default, System.Collections.Generic.IEnumerable<string>? tags = null, System.TimeSpan? timeout = default) { }
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddQdrant(this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, System.Func<System.IServiceProvider, Qdrant.Client.QdrantClient>? clientFactory = null, string? name = "qdrant", Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus? failureStatus = default, System.Collections.Generic.IEnumerable<string>? tags = null, System.TimeSpan? timeout = default) { }
}
}

0 comments on commit 6c04d28

Please sign in to comment.