@kubernetes-models/argo-cd
Version:
41 lines (40 loc) • 1.84 kB
TypeScript
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1BasicAuthBitbucketServer } from "./BasicAuthBitbucketServer.js";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1BearerTokenBitbucketCloud } from "./BearerTokenBitbucketCloud.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* PullRequestGeneratorBitbucket defines connection info specific to Bitbucket.
*/
export interface IPullRequestGeneratorBitbucket {
/**
* The Bitbucket REST API URL to talk to. If blank, uses https://api.bitbucket.org/2.0.
*/
"api"?: string;
/**
* Credentials for Basic auth
*/
"basicAuth"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1BasicAuthBitbucketServer;
/**
* Credentials for AppToken (Bearer auth)
*/
"bearerToken"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1BearerTokenBitbucketCloud;
/**
* Workspace to scan. Required.
*/
"owner": string;
/**
* Repo name to scan. Required.
*/
"repo": string;
}
/**
* PullRequestGeneratorBitbucket defines connection info specific to Bitbucket.
*/
export declare class PullRequestGeneratorBitbucket extends Model<IPullRequestGeneratorBitbucket> implements IPullRequestGeneratorBitbucket {
"api"?: string;
"basicAuth"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1BasicAuthBitbucketServer;
"bearerToken"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1BearerTokenBitbucketCloud;
"owner": string;
"repo": string;
constructor(data?: ModelData<IPullRequestGeneratorBitbucket>);
}
export type { IPullRequestGeneratorBitbucket as IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorBitbucket, PullRequestGeneratorBitbucket as ComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1PullRequestGeneratorBitbucket };