@kubernetes-models/argo-cd
Version:
48 lines (47 loc) • 2.61 kB
TypeScript
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ManagedNamespaceMetadata } from "./ManagedNamespaceMetadata.js";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ResourceResults } from "./ResourceResults.js";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationSource } from "./ApplicationSource.js";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationSources } from "./ApplicationSources.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* SyncOperationResult represent result of sync operation
*/
export interface ISyncOperationResult {
/**
* ManagedNamespaceMetadata contains the current sync state of managed namespace metadata
*/
"managedNamespaceMetadata"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ManagedNamespaceMetadata;
/**
* Resources contains a list of sync result items for each individual resource in a sync operation
*/
"resources"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ResourceResults;
/**
* Revision holds the revision this sync operation was performed to
*/
"revision": string;
/**
* Revisions holds the revision this sync operation was performed for respective indexed source in sources field
*/
"revisions"?: Array<string>;
/**
* Source records the application source information of the sync, used for comparing auto-sync
*/
"source"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationSource;
/**
* Source records the application source information of the sync, used for comparing auto-sync
*/
"sources"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationSources;
}
/**
* SyncOperationResult represent result of sync operation
*/
export declare class SyncOperationResult extends Model<ISyncOperationResult> implements ISyncOperationResult {
"managedNamespaceMetadata"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ManagedNamespaceMetadata;
"resources"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ResourceResults;
"revision": string;
"revisions"?: Array<string>;
"source"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationSource;
"sources"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationSources;
constructor(data?: ModelData<ISyncOperationResult>);
}
export type { ISyncOperationResult as IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SyncOperationResult, SyncOperationResult as ComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SyncOperationResult };