@kubernetes-models/argo-cd
Version:
58 lines (57 loc) • 2.69 kB
TypeScript
import { IIoK8sApimachineryPkgApisMetaV1Time } from "@kubernetes-models/apimachinery/apis/meta/v1/Time";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1OperationInitiator } from "./OperationInitiator.js";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationSource } from "./ApplicationSource.js";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationSources } from "./ApplicationSources.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* RevisionHistory contains history information about a previous sync
*/
export interface IRevisionHistory {
/**
* DeployStartedAt holds the time the sync operation started
*/
"deployStartedAt"?: IIoK8sApimachineryPkgApisMetaV1Time;
/**
* DeployedAt holds the time the sync operation completed
*/
"deployedAt": IIoK8sApimachineryPkgApisMetaV1Time;
/**
* ID is an auto incrementing identifier of the RevisionHistory
*/
"id": number;
/**
* InitiatedBy contains information about who initiated the operations
*/
"initiatedBy"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1OperationInitiator;
/**
* Revision holds the revision the sync was performed against
*/
"revision"?: string;
/**
* Revisions holds the revision of each source in sources field the sync was performed against
*/
"revisions"?: Array<string>;
/**
* Source is a reference to the application source used for the sync operation
*/
"source"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationSource;
/**
* Sources is a reference to the application sources used for the sync operation
*/
"sources"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationSources;
}
/**
* RevisionHistory contains history information about a previous sync
*/
export declare class RevisionHistory extends Model<IRevisionHistory> implements IRevisionHistory {
"deployStartedAt"?: IIoK8sApimachineryPkgApisMetaV1Time;
"deployedAt": IIoK8sApimachineryPkgApisMetaV1Time;
"id": number;
"initiatedBy"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1OperationInitiator;
"revision"?: string;
"revisions"?: Array<string>;
"source"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationSource;
"sources"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationSources;
constructor(data?: ModelData<IRevisionHistory>);
}
export type { IRevisionHistory as IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1RevisionHistory, RevisionHistory as ComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1RevisionHistory };