@kubernetes-models/argo-cd
Version:
96 lines (95 loc) • 5.66 kB
TypeScript
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationCondition } from "./ApplicationCondition.js";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1AppHealthStatus } from "./AppHealthStatus.js";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1RevisionHistories } from "./RevisionHistories.js";
import { IIoK8sApimachineryPkgApisMetaV1Time } from "@kubernetes-models/apimachinery/apis/meta/v1/Time";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1OperationState } from "./OperationState.js";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ResourceHealthLocation } from "./ResourceHealthLocation.js";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ResourceStatus } from "./ResourceStatus.js";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SourceHydratorStatus } from "./SourceHydratorStatus.js";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationSourceType } from "./ApplicationSourceType.js";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationSummary } from "./ApplicationSummary.js";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SyncStatus } from "./SyncStatus.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* ApplicationStatus contains status information for the application
*/
export interface IApplicationStatus {
/**
* Conditions is a list of currently observed application conditions
*/
"conditions"?: Array<IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationCondition>;
/**
* ControllerNamespace indicates the namespace in which the application controller is located
*/
"controllerNamespace"?: string;
/**
* Health contains information about the application's current health status
*/
"health"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1AppHealthStatus;
/**
* History contains information about the application's sync history
*/
"history"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1RevisionHistories;
/**
* ObservedAt indicates when the application state was updated without querying latest git state
* Deprecated: controller no longer updates ObservedAt field
*/
"observedAt"?: IIoK8sApimachineryPkgApisMetaV1Time;
/**
* OperationState contains information about any ongoing operations, such as a sync
*/
"operationState"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1OperationState;
/**
* ReconciledAt indicates when the application state was reconciled using the latest git version
*/
"reconciledAt"?: IIoK8sApimachineryPkgApisMetaV1Time;
/**
* ResourceHealthSource indicates where the resource health status is stored: inline if not set or appTree
*/
"resourceHealthSource"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ResourceHealthLocation;
/**
* Resources is a list of Kubernetes resources managed by this application
*/
"resources"?: Array<IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ResourceStatus>;
/**
* SourceHydrator stores information about the current state of source hydration
*/
"sourceHydrator"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SourceHydratorStatus;
/**
* SourceType specifies the type of this application
*/
"sourceType"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationSourceType;
/**
* SourceTypes specifies the type of the sources included in the application
*/
"sourceTypes"?: Array<IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationSourceType>;
/**
* Summary contains a list of URLs and container images used by this application
*/
"summary"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationSummary;
/**
* Sync contains information about the application's current sync status
*/
"sync"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SyncStatus;
}
/**
* ApplicationStatus contains status information for the application
*/
export declare class ApplicationStatus extends Model<IApplicationStatus> implements IApplicationStatus {
"conditions"?: Array<IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationCondition>;
"controllerNamespace"?: string;
"health"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1AppHealthStatus;
"history"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1RevisionHistories;
"observedAt"?: IIoK8sApimachineryPkgApisMetaV1Time;
"operationState"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1OperationState;
"reconciledAt"?: IIoK8sApimachineryPkgApisMetaV1Time;
"resourceHealthSource"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ResourceHealthLocation;
"resources"?: Array<IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ResourceStatus>;
"sourceHydrator"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SourceHydratorStatus;
"sourceType"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationSourceType;
"sourceTypes"?: Array<IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationSourceType>;
"summary"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationSummary;
"sync"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SyncStatus;
constructor(data?: ModelData<IApplicationStatus>);
}
export type { IApplicationStatus as IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationStatus, ApplicationStatus as ComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationStatus };