@veecode-platform/safira-cli
Version:
Generate a microservice project from your spec.
12 lines (11 loc) • 413 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.KongUtils = void 0;
const commands_1 = require("../kubectl/commands");
class KongUtils {
static async isKongInstalled() {
const json = await commands_1.KubernetesListAllPods.instance.command();
return json.items.some(value => value.metadata.name.includes("kong")) > 0;
}
}
exports.KongUtils = KongUtils;