mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-09-13 05:47:33 -04:00
14 lines
463 B
C#
14 lines
463 B
C#
using Cleanuparr.Domain.Enums;
|
|
using Cleanuparr.Persistence.Models.Configuration.Arr;
|
|
|
|
namespace Cleanuparr.Infrastructure.Health;
|
|
|
|
public interface IInstanceHealthChecker
|
|
{
|
|
/// <summary>
|
|
/// Probes an instance, whichever kind it is. Throws when it is unreachable or refuses the key.
|
|
/// The type is passed in because callers do not always load the config navigation.
|
|
/// </summary>
|
|
Task CheckAsync(InstanceType type, ArrInstance instance);
|
|
}
|