1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Tweak types

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen 2022-05-05 09:24:16 +03:00
parent b179e0f6a9
commit ff87f627aa
No known key found for this signature in database
GPG Key ID: 8C6CFB2FFFE8F68A

View File

@ -28,13 +28,13 @@ import type { ListNamespaces } from "./list-namespaces.injectable";
export interface ClusterDependencies { export interface ClusterDependencies {
readonly directoryForKubeConfigs: string; readonly directoryForKubeConfigs: string;
createKubeconfigManager: (cluster: Cluster) => KubeconfigManager; readonly createKubeconfigManager: (cluster: Cluster) => KubeconfigManager;
createContextHandler: (cluster: Cluster) => ContextHandler; readonly createContextHandler: (cluster: Cluster) => ContextHandler;
createKubectl: (clusterVersion: string) => Kubectl; readonly createKubectl: (clusterVersion: string) => Kubectl;
createAuthorizationReview: (config: KubeConfig) => CanI; readonly createAuthorizationReview: (config: KubeConfig) => CanI;
createListNamespaces: (config: KubeConfig) => ListNamespaces; readonly createListNamespaces: (config: KubeConfig) => ListNamespaces;
detectorRegistry: DetectorRegistry; readonly detectorRegistry: DetectorRegistry;
createVersionDetector: (cluster: Cluster) => VersionDetector; readonly createVersionDetector: (cluster: Cluster) => VersionDetector;
} }
/** /**