mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
19 lines
547 B
TypeScript
19 lines
547 B
TypeScript
import { navigate } from "../../navigation";
|
|
import { commandRegistry } from "../../../extensions/registries/command-registry";
|
|
import { helmChartsURL } from "../+apps-helm-charts";
|
|
import { releaseURL } from "../+apps-releases";
|
|
|
|
commandRegistry.add({
|
|
id: "cluster.viewHelmCharts",
|
|
title: "Cluster: View Helm Charts",
|
|
scope: "entity",
|
|
action: () => navigate(helmChartsURL())
|
|
});
|
|
|
|
commandRegistry.add({
|
|
id: "cluster.viewHelmReleases",
|
|
title: "Cluster: View Helm Releases",
|
|
scope: "entity",
|
|
action: () => navigate(releaseURL())
|
|
});
|