added common/ipc-helpers

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman committed 2020-07-07 15:10:43 +03:00
1 parent 17cd886ce6
commit bde60b1625
8 files changed
+83 -51

No files matched your search

+2
View File
@@ -2,6 +2,8 @@ import { app, remote } from "electron"
import { ensureDirSync, writeFileSync } from "fs-extra"
import * as path from "path"
// todo: move to main/kubeconfig-manager.ts (?)
// Writes kubeconfigs to "embedded" store, i.e. .../Lens/kubeconfigs/
export function writeEmbeddedKubeConfig(clusterId: string, kubeConfig: string): string {
// This can be called from main & renderer