@topgroup/diginext
Version:
A BUILD SERVER & CLI to deploy apps to any Kubernetes clusters.
23 lines • 801 B
TypeScript
import type { KubeEnvironmentVariable } from "../../interfaces/EnvironmentVariable";
import type { InputOptions } from "../../interfaces/InputOptions";
export type FetchDeploymentResult = {
domains: string[];
endpoint: string;
deployContent: string;
deployYaml: string;
NAMESPACE: string;
SERVICE_NAME: string;
INGRESS_NAME: string;
IMAGE_NAME: string;
ENV_VARS: KubeEnvironmentVariable[];
APP_NAME: string;
REPLICAS: number;
PORT: number;
BUILD_TAG: string;
};
export declare const fetchDeploymentFromContent: (content: string) => FetchDeploymentResult;
/**
* @param {InputOptions} options
*/
export declare function fetchDeployment(filePath: string, options?: InputOptions): FetchDeploymentResult;
//# sourceMappingURL=fetch-deployment.d.ts.map