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:
parent
b179e0f6a9
commit
ff87f627aa
@ -28,13 +28,13 @@ import type { ListNamespaces } from "./list-namespaces.injectable";
|
||||
|
||||
export interface ClusterDependencies {
|
||||
readonly directoryForKubeConfigs: string;
|
||||
createKubeconfigManager: (cluster: Cluster) => KubeconfigManager;
|
||||
createContextHandler: (cluster: Cluster) => ContextHandler;
|
||||
createKubectl: (clusterVersion: string) => Kubectl;
|
||||
createAuthorizationReview: (config: KubeConfig) => CanI;
|
||||
createListNamespaces: (config: KubeConfig) => ListNamespaces;
|
||||
detectorRegistry: DetectorRegistry;
|
||||
createVersionDetector: (cluster: Cluster) => VersionDetector;
|
||||
readonly createKubeconfigManager: (cluster: Cluster) => KubeconfigManager;
|
||||
readonly createContextHandler: (cluster: Cluster) => ContextHandler;
|
||||
readonly createKubectl: (clusterVersion: string) => Kubectl;
|
||||
readonly createAuthorizationReview: (config: KubeConfig) => CanI;
|
||||
readonly createListNamespaces: (config: KubeConfig) => ListNamespaces;
|
||||
readonly detectorRegistry: DetectorRegistry;
|
||||
readonly createVersionDetector: (cluster: Cluster) => VersionDetector;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user