@kubernetes-models/argo-cd
Version:
45 lines (44 loc) • 1.68 kB
TypeScript
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SecretRef } from "./SecretRef.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* PullRequestGeneratorGithub defines connection info specific to GitHub.
*/
export interface IPullRequestGeneratorGithub {
/**
* The GitHub API URL to talk to. If blank, use https://api.github.com/.
*/
"api"?: string;
/**
* AppSecretName is a reference to a GitHub App repo-creds secret with permission to access pull requests.
*/
"appSecretName"?: string;
/**
* Labels is used to filter the PRs that you want to target
*/
"labels"?: Array<string>;
/**
* GitHub org or user to scan. Required.
*/
"owner": string;
/**
* GitHub repo name to scan. Required.
*/
"repo": string;
/**
* Authentication token reference.
*/
"tokenRef"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SecretRef;
}
/**
* PullRequestGeneratorGithub defines connection info specific to GitHub.
*/
export declare class PullRequestGeneratorGithub extends Model<IPullRequestGeneratorGithub> implements IPullRequestGeneratorGithub {
"api"?: string;
"appSecretName"?: string;
"labels"?: Array<string>;
"owner": string;
"repo": string;
"tokenRef"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SecretRef;
constructor(data?: ModelData<IPullRequestGeneratorGithub>);
}
export type { IPullRequestGeneratorGithub as IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorGithub, PullRequestGeneratorGithub as ComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorGithub };