@kubernetes-models/argo-cd
Version:
45 lines (44 loc) • 1.59 kB
TypeScript
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SecretRef } from "./SecretRef.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* PullRequestGeneratorGitea defines connection info specific to Gitea.
*/
export interface IPullRequestGeneratorGitea {
/**
* The Gitea API URL to talk to. Required
*/
"api": string;
/**
* Allow insecure tls, for self-signed certificates; default: false.
*/
"insecure"?: boolean;
/**
* Labels is used to filter the PRs that you want to target
*/
"labels"?: Array<string>;
/**
* Gitea org or user to scan. Required.
*/
"owner": string;
/**
* Gitea repo name to scan. Required.
*/
"repo": string;
/**
* Authentication token reference.
*/
"tokenRef"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SecretRef;
}
/**
* PullRequestGeneratorGitea defines connection info specific to Gitea.
*/
export declare class PullRequestGeneratorGitea extends Model<IPullRequestGeneratorGitea> implements IPullRequestGeneratorGitea {
"api": string;
"insecure"?: boolean;
"labels"?: Array<string>;
"owner": string;
"repo": string;
"tokenRef"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SecretRef;
constructor(data?: ModelData<IPullRequestGeneratorGitea>);
}
export type { IPullRequestGeneratorGitea as IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorGitea, PullRequestGeneratorGitea as ComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorGitea };