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 {
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user