@topgroup/diginext
Version:
A BUILD SERVER & CLI to deploy apps to any Kubernetes clusters.
15 lines • 668 B
TypeScript
import type { ICluster } from "../../../entities";
export declare class DeploymentPreparator {
private readonly cluster;
private readonly namespace;
private readonly appSlug;
private readonly env;
constructor(cluster: ICluster, namespace: string, appSlug: string, env: string);
prepareNamespace(onUpdate?: (msg: string) => void): Promise<boolean>;
createImagePullSecrets(onUpdate?: (msg: string) => void): Promise<{
name: string;
}>;
applyDeployment(processedYaml: string, message: string, onUpdate?: (msg: string) => void): Promise<void>;
private extractDeploymentName;
}
//# sourceMappingURL=deploy-preparator.d.ts.map