@kubernetes-models/argo-cd
Version:
66 lines (65 loc) • 4.19 kB
TypeScript
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorAzureDevOps } from "./PullRequestGeneratorAzureDevOps.js";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorBitbucket } from "./PullRequestGeneratorBitbucket.js";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorBitbucketServer } from "./PullRequestGeneratorBitbucketServer.js";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorFilter } from "./PullRequestGeneratorFilter.js";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorGitea } from "./PullRequestGeneratorGitea.js";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorGithub } from "./PullRequestGeneratorGithub.js";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorGitLab } from "./PullRequestGeneratorGitLab.js";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationSetTemplate } from "./ApplicationSetTemplate.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* PullRequestGenerator defines a generator that scrapes a PullRequest API to find candidate pull requests.
*/
export interface IPullRequestGenerator {
/**
* Additional provider to use and config for it.
*/
"azuredevops"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorAzureDevOps;
"bitbucket"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorBitbucket;
"bitbucketServer"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorBitbucketServer;
/**
* ContinueOnRepoNotFoundError is a flag to continue the ApplicationSet Pull Request generator parameters generation even if the repository is not found.
*/
"continueOnRepoNotFoundError"?: boolean;
/**
* Filters for which pull requests should be considered.
*/
"filters"?: Array<IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorFilter>;
"gitea"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorGitea;
/**
* Which provider to use and config for it.
*/
"github"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorGithub;
"gitlab"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorGitLab;
/**
* Standard parameters.
*/
"requeueAfterSeconds"?: number;
"template"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationSetTemplate;
/**
* Values contains key/value pairs which are passed directly as parameters to the template
*/
"values"?: {
[key: string]: string;
};
}
/**
* PullRequestGenerator defines a generator that scrapes a PullRequest API to find candidate pull requests.
*/
export declare class PullRequestGenerator extends Model<IPullRequestGenerator> implements IPullRequestGenerator {
"azuredevops"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorAzureDevOps;
"bitbucket"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorBitbucket;
"bitbucketServer"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorBitbucketServer;
"continueOnRepoNotFoundError"?: boolean;
"filters"?: Array<IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorFilter>;
"gitea"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorGitea;
"github"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorGithub;
"gitlab"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorGitLab;
"requeueAfterSeconds"?: number;
"template"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationSetTemplate;
"values"?: {
[key: string]: string;
};
constructor(data?: ModelData<IPullRequestGenerator>);
}
export type { IPullRequestGenerator as IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGenerator, PullRequestGenerator as ComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGenerator };