UNPKG

@kubernetes-models/argo-cd

Version:
52 lines (51 loc) 2.17 kB
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ConfigMapKeyRef } from "./ConfigMapKeyRef.js"; import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SecretRef } from "./SecretRef.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * PullRequestGeneratorGitLab defines connection info specific to GitLab. */ export interface IPullRequestGeneratorGitLab { /** * The GitLab API URL to talk to. If blank, uses https://gitlab.com/. */ "api"?: string; /** * ConfigMap key holding the trusted certificates */ "caRef"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ConfigMapKeyRef; /** * Skips validating the SCM provider's TLS certificate - useful for self-signed certificates.; default: false */ "insecure"?: boolean; /** * Labels is used to filter the MRs that you want to target */ "labels"?: Array<string>; /** * GitLab project to scan. Required. */ "project": string; /** * PullRequestState is an additional MRs filter to get only those with a certain state. Default: "" (all states). * Valid values: opened, closed, merged, locked". */ "pullRequestState"?: string; /** * Authentication token reference. */ "tokenRef"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SecretRef; } /** * PullRequestGeneratorGitLab defines connection info specific to GitLab. */ export declare class PullRequestGeneratorGitLab extends Model<IPullRequestGeneratorGitLab> implements IPullRequestGeneratorGitLab { "api"?: string; "caRef"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ConfigMapKeyRef; "insecure"?: boolean; "labels"?: Array<string>; "project": string; "pullRequestState"?: string; "tokenRef"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SecretRef; constructor(data?: ModelData<IPullRequestGeneratorGitLab>); } export type { IPullRequestGeneratorGitLab as IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorGitLab, PullRequestGeneratorGitLab as ComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorGitLab };