@kubernetes-models/argo-cd
Version:
29 lines (28 loc) • 1.33 kB
TypeScript
import { ModelData, Model } from "@kubernetes-models/base";
/**
* SyncSource specifies a location from which hydrated manifests may be synced. RepoURL is assumed based on the
* associated DrySource config in the SourceHydrator.
*/
export interface ISyncSource {
/**
* Path is a directory path within the git repository where hydrated manifests should be committed to and synced
* from. The Path should never point to the root of the repo. If hydrateTo is set, this is just the path from which
* hydrated manifests will be synced.
*/
"path": string;
/**
* TargetBranch is the branch from which hydrated manifests will be synced.
* If HydrateTo is not set, this is also the branch to which hydrated manifests are committed.
*/
"targetBranch": string;
}
/**
* SyncSource specifies a location from which hydrated manifests may be synced. RepoURL is assumed based on the
* associated DrySource config in the SourceHydrator.
*/
export declare class SyncSource extends Model<ISyncSource> implements ISyncSource {
"path": string;
"targetBranch": string;
constructor(data?: ModelData<ISyncSource>);
}
export type { ISyncSource as IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SyncSource, SyncSource as ComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SyncSource };