import { KubernetesSpecResource } from "./kuberentesspecresource.model"; import { Build, Builds, ServiceUrl, ServiceEnvironments, AppInfo } from "./build.model"; import { Params } from "@angular/router"; export declare const defaultBuildIconStyle = "pficon-build"; export declare class BuildConfig extends KubernetesSpecResource { gitUrl: string; type: string; lastVersion: number; jenkinsJobUrl: string; editPipelineUrl: string; openInDEAUrl: string; openInCheUrl: string; lastBuildPath: string; lastBuildName: string; statusPhase: string; duration: number; iconStyle: string; private _builds; interestingBuilds: Array; private _lastBuild; readonly serviceUrls: Array; builds: Array; readonly lastBuild: Build; /** * When the builds are updated lets keep track of the interesting builds * and the last build */ private onBuildsUpdated(); readonly isPipeline: boolean; readonly interestingBuildsAverageDuration: number; /** * Returns the Jenkins test report URL of the last build if it is available */ readonly jenkinsTestReportUrl: string; readonly serviceEnvironmentMap: Map; /** * Returns a map indexed by the environment key of the app information */ readonly environmentApp: Map; updateValuesFromResource(): void; defaultKind(): string; defaultIconUrl(): string; } export declare class BuildConfigs extends Array { } export declare function findBuildConfigByID(buildConfigs: BuildConfigs, params: Params): BuildConfig; export declare function combineBuildConfigAndBuilds(buildConfigs: BuildConfigs, builds: Builds): BuildConfigs; export declare function filterPipelines(buildConfigs: BuildConfigs): BuildConfigs; /** * returns a map of all the environments with the apps in each environment */ export declare function appInfos(buildConfigs: BuildConfigs): Map; /** * Keeps track of all the apps in each environment along with its name */ export declare class EnvironmentApps { apps: Map; name: string; }