For extensions of base system like podman and btrfs: Started improving server abstractions to make it more extendable in order to support multiple implementations

This commit is contained in:
2025-07-25 13:45:47 +02:00
parent bdc4ad8265
commit 0bef60dbc8
13 changed files with 312 additions and 33 deletions

View File

@@ -0,0 +1,16 @@
namespace MoonlightServers.Daemon.ServerSys.Abstractions;
public interface IConsole : IServerComponent
{
public IAsyncObservable<string> OnOutput { get; }
public IAsyncObservable<string> OnInput { get; }
public Task AttachToRuntime();
public Task AttachToInstallation();
public Task WriteToOutput(string content);
public Task WriteToInput(string content);
public Task ClearOutput();
public string[] GetOutput();
}