namespace CaddyManager.Contracts.Docker;
///
/// Contract for the service to interact with Docker
///
public interface IDockerService
{
///
/// Method to help restart the Caddy container
///
///
Task RestartCaddyContainerAsync();
///
/// Method to gracefully reload the Caddy configuration without restarting the container. Caddy validates the
/// configuration before applying it, so a broken configuration leaves the running one untouched.
///
/// Whether the reload succeeded, along with Caddy's output when it did not
Task ReloadCaddyContainerAsync();
}