UNPKG

@catladder/cli

Version:

Panter cli tool for cloud CI/CD and DevOps

9 lines (8 loc) 367 B
import { CoreV1Api, BatchV1Api, BatchV1beta1Api } from "@kubernetes/client-node"; /** * get kubernetes client. avoid reusing the instance when context get changed * @returns kuberenetes client */ export declare const getk8sApi: () => CoreV1Api; export declare const getk8sApiBatch: () => BatchV1Api; export declare const getk8sApiBatchBeta: () => BatchV1beta1Api;