gen-jhipster
Version:
VHipster - Spring Boot + Angular/React/Vue in one handy generator
75 lines (74 loc) • 5.52 kB
TypeScript
import type { Deployment as BaseDeployment, WorkspacesApplication, WorkspacesApplication as BaseWorkspacesApplication } from '../base-workspaces/index.ts';
import BaseWorkspacesGenerator from '../base-workspaces/index.ts';
export default class DockerComposeGenerator extends BaseWorkspacesGenerator<BaseDeployment, BaseWorkspacesApplication> {
[BaseWorkspacesGenerator.INITIALIZING]: Record<"sayHello" | "checkDocker" | "checkDockerCompose", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl>>;
[BaseWorkspacesGenerator.PROMPTING]: Record<"askForDirectoryPath", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl>>;
[BaseWorkspacesGenerator.PREPARING]: Record<"setWorkspacesRoot", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithSource<import("../base/types.js").Source>>>;
[BaseWorkspacesGenerator.PROMPTING_WORKSPACES]: Record<"askForMonitoring" | "askForClustersModeWorkspace" | "askForServiceDiscoveryWorkspace" | "askForApisixGateway", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
[BaseWorkspacesGenerator.CONFIGURING_WORKSPACES]: Record<"configureBaseDeployment", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
[BaseWorkspacesGenerator.LOADING_WORKSPACES]: Record<"loadBaseDeployment", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
[BaseWorkspacesGenerator.PREPARING_WORKSPACES]: Record<"prepareDeployment", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
[BaseWorkspacesGenerator.DEFAULT]: Record<"setAppsYaml", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
[BaseWorkspacesGenerator.WRITING]: Record<"cleanupOldFilesTask" | "writeFiles", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
[BaseWorkspacesGenerator.END]: Record<"end", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
beforeQueue(): Promise<void>;
get initializing(): Record<"sayHello" | "checkDocker" | "checkDockerCompose", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl>>;
get prompting(): Record<"askForDirectoryPath", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl>>;
get preparing(): Record<"setWorkspacesRoot", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithSource<import("../base/types.js").Source>>>;
get promptingWorkspaces(): Record<"askForMonitoring" | "askForClustersModeWorkspace" | "askForServiceDiscoveryWorkspace" | "askForApisixGateway", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
get configuringWorkspaces(): Record<"configureBaseDeployment", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
get loadingWorkspaces(): Record<"loadBaseDeployment", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
get preparingWorkspaces(): Record<"prepareDeployment", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
get default(): Record<"setAppsYaml", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
get writing(): Record<"cleanupOldFilesTask" | "writeFiles", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
get end(): Record<"end", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
checkApplicationsDockerImages({ applications }: {
applications: WorkspacesApplication[];
}): void;
prepareDeploymentDerivedProperties({ deployment, applications }: {
deployment: BaseDeployment;
applications: any[];
}): void;
}