Implemented statistics. Refactored storage abstractions. Added config options for docker and local storage. Added server service and server updating.
This commit is contained in:
@@ -25,7 +25,7 @@ public class DockerRuntimeEnv : IRuntimeEnvironment
|
||||
DockerClient = dockerClient;
|
||||
EventService = eventService;
|
||||
|
||||
InnerStatistics = new DockerStatistics();
|
||||
InnerStatistics = new DockerStatistics(containerId, dockerClient, logger);
|
||||
InnerConsole = new DockerConsole(containerId, dockerClient, logger);
|
||||
|
||||
EventService.OnContainerDied += HandleDieEventAsync;
|
||||
@@ -57,5 +57,6 @@ public class DockerRuntimeEnv : IRuntimeEnvironment
|
||||
EventService.OnContainerDied -= HandleDieEventAsync;
|
||||
|
||||
await InnerConsole.DisposeAsync();
|
||||
await InnerStatistics.DisposeAsync();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user