forked from andrea-falco/lens-multi-pod-logs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.ts
21 lines (20 loc) · 730 Bytes
/
main.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { Main } from "@k8slens/extensions";
/**
* Main.LensExtension api allows you to access, configure, and customize Lens data add
* custom application menu items, and generally run custom code in Lens'
* main process.
*
* See more details: <https://docs.k8slens.dev/>
*/
export default class MultiPodLogsMain extends Main.LensExtension {
/**
* onActivate is called when your extension has been successfully enabled.
*/
onActivate() {
// print hello world when extension is activated
// !! Note that the console statements in MainExtension is NOT visible in the
// !! DevTools console in Lens
// To see console statements, start the Lens app from a Terminal
console.log("activated");
}
}