mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Convert some non-store Singletons to normal injectables
- ClusterManager - KubeconfigSyncManager - LensProxy - WindowManager Other work: - Convert logger to be an injection token, add createChildLogger to abstract away the need for logPrefix - Fix tests Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
dbdde19222
commit
50562f4eef
177 files changed
+2375
-1745
No files matched your search
Vendored
+3
-3
@@ -10,9 +10,9 @@
|
||||
cert: string;
|
||||
}
|
||||
|
||||
type GenerateAttributes = Array<any>;
|
||||
export type GenerateAttributes = Array<any>;
|
||||
|
||||
interface GenerateOptions {
|
||||
export interface GenerateOptions {
|
||||
keySize?: number;
|
||||
days?: number;
|
||||
algorithm?: "sha1" | "sha256";
|
||||
@@ -22,5 +22,5 @@
|
||||
clientCertificateCN?: string;
|
||||
}
|
||||
|
||||
export function generate(GenerateAttributes, GenerateOptions): SelfSignedCert;
|
||||
export function generate(attrs: GenerateAttributes, opts: GenerateOptions): SelfSignedCert;
|
||||
}
|
||||
Reference in new issue
Block a user