/** * Copyright 2013-2026 the original author or authors from the JHipster project. * * This file is part of the JHipster project, see https://www.jhipster.tech/ * for more information. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import BaseWorkspacesGenerator from '../base-workspaces/index.ts'; import { getJdbcUrl, getR2dbcUrl } from '../spring-boot/generators/data-relational/support/index.ts'; import type { Config as KubernetesConfig, Deployment as KubernetesDeployment, Options as KubernetesOptions, Source as KubernetesSource, WorkspacesApplication as KubernetesWorkspacesApplication } from './types.ts'; /** * Temporary base class for Kubernetes generators. */ export declare class BaseKubernetesGenerator extends BaseWorkspacesGenerator { } export default class KubernetesGenerator extends BaseKubernetesGenerator { [BaseWorkspacesGenerator.INITIALIZING]: Record<"sayHello", import("../base-core/types.js").GenericTask>; [BaseWorkspacesGenerator.PROMPTING]: Record<"askForApplicationType" | "askForPath" | "askForApps", import("../base-core/types.js").GenericTask>; [BaseWorkspacesGenerator.PROMPTING_WORKSPACES]: Record<"askForMonitoring" | "askForClustersMode" | "askForServiceDiscovery" | "askForAdminPassword" | "askForKubernetesNamespace" | "askForDockerRepositoryName" | "askForDockerPushCommand" | "askForIstioSupport" | "askForKubernetesServiceType" | "askForIngressType" | "askForIngressDomain" | "askForPersistentStorage" | "askForStorageClassName", import("../base-core/types.js").GenericTask>; [BaseWorkspacesGenerator.PREPARING_WORKSPACES]: Record<"configureImageNames", import("../base-core/types.js").GenericTask>; [BaseWorkspacesGenerator.WRITING]: Record<"writeFiles", import("../base-core/types.js").GenericTask>; [BaseWorkspacesGenerator.END]: Record<"deploy", import("../base-core/types.js").GenericTask>; beforeQueue(): Promise; get initializing(): Record<"sayHello", import("../base-core/types.js").GenericTask>; get prompting(): Record<"askForApplicationType" | "askForPath" | "askForApps", import("../base-core/types.js").GenericTask>; get promptingWorkspaces(): Record<"askForMonitoring" | "askForClustersMode" | "askForServiceDiscovery" | "askForAdminPassword" | "askForKubernetesNamespace" | "askForDockerRepositoryName" | "askForDockerPushCommand" | "askForIstioSupport" | "askForKubernetesServiceType" | "askForIngressType" | "askForIngressDomain" | "askForPersistentStorage" | "askForStorageClassName", import("../base-core/types.js").GenericTask>; get preparingWorkspaces(): Record<"configureImageNames", import("../base-core/types.js").GenericTask>; get writing(): Record<"writeFiles", import("../base-core/types.js").GenericTask>; get end(): Record<"deploy", import("../base-core/types.js").GenericTask>; /** * @private * Returns the JDBC URL for a databaseType * * @param {string} databaseType * @param {*} options: databaseName, and required infos that depends of databaseType (hostname, localDirectory, ...) */ getJDBCUrl(...args: Parameters): string; /** * @private * Returns the R2DBC URL for a databaseType * * @param {string} databaseType * @param {*} options: databaseName, and required infos that depends of databaseType (hostname, localDirectory, ...) */ getR2DBCUrl(...args: Parameters): string; }