Download logs from pod

This commit is contained in:
2023-08-01 22:09:47 +02:00
parent 12ef9680d0
commit 393f0f0e6b
5 changed files with 54 additions and 11 deletions

View File

@@ -17,4 +17,7 @@ public interface IKubernetesService
IList<FileInformation> GetFiles(string namespaceName, string podName, string containerName, string path);
Task DownloadFile(Namespace? selectedNamespace, Pod? selectedPod, FileInformation selectedFile,
string? saveFileName, CancellationToken cancellationToken = default);
Task DownloadLog(Namespace? selectedNamespace, Pod? selectedPod,
string? saveFileName, CancellationToken cancellationToken = default);
}