internal DockerImageHistory(DockerImage image, IShellExecutor shellExecutor) : base(shellExecutor) { _image = image; _placeHolders = new List <GoFormattingPlaceHolders>(); }
internal DockerImage(string imageName, IShellExecutor shellExecutor) { Guard.IsNotNullOrEmpty(nameof(imageName), imageName); _shellExecutor = shellExecutor; ImageName = imageName; }
public SearchableBase(IShellExecutor shellExecutor) { _shellExecutor = shellExecutor; }
public DockerContainer(string containerId, IShellExecutor shellExecutor) { ContainerId = containerId; _shellExecutor = shellExecutor; }
public ScriptExecutor(ScriptStorage storage, IShellExecutor shellExecutor) { _storage = storage; _shellExecutor = shellExecutor; }
protected ExtendedSearchableBase(IShellExecutor shellExecutor) : base(shellExecutor) { _filters = new Dictionary <string, string>(); }
public DockerStatus(IShellExecutor shellExecutor) { _shellExecutor = shellExecutor; }
public EventsStreamer(IShellExecutor shellExecutor) { _mainStream = shellExecutor.ObserveStandardOutput("docker", " events --format \"{{json .}}\"") .SubscribeOn(NewThreadScheduler.Default) .Where(e => { return(e.StartsWith("{ \"status\":") || e.StartsWith("{\"status\":")); }); }
public DockerContainers(IShellExecutor shellExecutor) : base(shellExecutor) { }
internal DockerImages(IShellExecutor shellExecutor) : base(shellExecutor) { _filters = new Dictionary <string, string>(); _placeHolders = new List <GoFormattingPlaceHolders>(); }
public static async Task <Result> ExecuteWithResult(this IShellExecutor shellExecutor, string arguments) { var shellResult = await shellExecutor.Execute(Commands.Docker, " " + arguments); return(new Result(shellResult.IsSuccessFull, shellResult.Output, shellResult.Error)); }