mirror of
https://github.com/frosch95/K8sFileBrowser.git
synced 2026-04-11 21:08:22 +02:00
added error handling
This commit is contained in:
@@ -12,8 +12,8 @@ public interface IKubernetesService
|
||||
IEnumerable<ClusterContext> GetClusterContexts();
|
||||
string GetCurrentContext();
|
||||
void SwitchClusterContext(ClusterContext clusterContext);
|
||||
IEnumerable<Namespace> GetNamespaces();
|
||||
IEnumerable<Pod> GetPods(string namespaceName);
|
||||
Task<IEnumerable<Namespace>> GetNamespacesAsync();
|
||||
Task<IEnumerable<Pod>> GetPodsAsync(string namespaceName, CancellationToken cancellationToken = default);
|
||||
IList<FileInformation> GetFiles(string namespaceName, string podName, string containerName, string path);
|
||||
Task DownloadFile(Namespace? selectedNamespace, Pod? selectedPod, FileInformation selectedFile,
|
||||
string? saveFileName, CancellationToken cancellationToken = default);
|
||||
|
||||
Reference in New Issue
Block a user