@kubernetes-models/argo-cd
Version:
45 lines (44 loc) • 1.7 kB
TypeScript
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SecretRef } from "./SecretRef.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* PullRequestGeneratorAzureDevOps defines connection info specific to AzureDevOps.
*/
export interface IPullRequestGeneratorAzureDevOps {
/**
* The Azure DevOps API URL to talk to. If blank, use https://dev.azure.com/.
*/
"api"?: string;
/**
* Labels is used to filter the PRs that you want to target
*/
"labels"?: Array<string>;
/**
* Azure DevOps org to scan. Required.
*/
"organization": string;
/**
* Azure DevOps project name to scan. Required.
*/
"project": string;
/**
* Azure DevOps repo name to scan. Required.
*/
"repo": string;
/**
* Authentication token reference.
*/
"tokenRef"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SecretRef;
}
/**
* PullRequestGeneratorAzureDevOps defines connection info specific to AzureDevOps.
*/
export declare class PullRequestGeneratorAzureDevOps extends Model<IPullRequestGeneratorAzureDevOps> implements IPullRequestGeneratorAzureDevOps {
"api"?: string;
"labels"?: Array<string>;
"organization": string;
"project": string;
"repo": string;
"tokenRef"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SecretRef;
constructor(data?: ModelData<IPullRequestGeneratorAzureDevOps>);
}
export type { IPullRequestGeneratorAzureDevOps as IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorAzureDevOps, PullRequestGeneratorAzureDevOps as ComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorAzureDevOps };