mirror of
https://github.com/alexhopeoconnor/dnsmasq-webui.git
synced 2026-10-03 22:12:00 +10:00
- Options: VersionCommand, VersionTimeoutSeconds, MinimumVersion, EnforceMinimumVersion - Version probe service and parser; startup enforcement when EnforceMinimumVersion - Save flow: block save on probe failure (VersionProbeFailed) or version below minimum (UnsupportedVersion) - Status API and Dnsmasq page: show version with tooltip, link to CHANGELOG - Readiness: GET /healthz/ready (version + dnsmasq running when StatusCommand set) - MapReadyHealthCheck extension; Dockerfile HEALTHCHECK + curl; compose healthcheck and service_healthy - Docs: README and agents.md updated
12 lines
556 B
C#
12 lines
556 B
C#
using DnsmasqWebUI.Infrastructure.Services.Registration.Abstractions;
|
|
using DnsmasqWebUI.Models.Dnsmasq;
|
|
|
|
namespace DnsmasqWebUI.Infrastructure.Services.Dnsmasq.Version.Abstractions;
|
|
|
|
/// <summary>Probes installed dnsmasq version and compares it to the configured minimum.</summary>
|
|
public interface IDnsmasqVersionService : IApplicationScopedService
|
|
{
|
|
/// <summary>Runs the version command, parses output, and returns version info including support status.</summary>
|
|
Task<DnsmasqVersionInfo> GetVersionInfoAsync(CancellationToken ct = default);
|
|
}
|