@topgroup/diginext
Version:
A BUILD SERVER & CLI to deploy apps to any Kubernetes clusters.
34 lines • 1.18 kB
TypeScript
import type { NextFunction } from "express-serve-static-core";
import type { IUser, IWorkspace } from "../entities";
import { type IQueryFilter, type IQueryOptions, type IResponsePagination } from "../interfaces";
import type { AppRequest, Ownership } from "../interfaces/SystemTypes";
export default class DeployEnvironmentController {
req: AppRequest;
user: IUser;
workspace: IWorkspace;
ownership: Ownership;
filter: IQueryFilter;
options: IQueryOptions;
pagination: IResponsePagination;
/**
* Parse the filter & option from the URL
*/
parseFilter(req: AppRequest, res?: Response, next?: NextFunction): void;
/**
* Get list of deploy environments
*/
getDeployEnvironments(queryParams: {
env?: string;
appSlug?: string;
projectSlug?: string;
}): Promise<import("../interfaces").ResponseData>;
/**
* Get list of deploy environments
*/
getAllDeployEnvironments(queryParams: {
env?: string;
appSlug?: string;
projectSlug?: string;
}): Promise<import("../interfaces").ResponseData>;
}
//# sourceMappingURL=DeployEnvironmentController.d.ts.map