UNPKG

@kubernetes-models/argo-cd

Version:
35 lines (34 loc) 1.63 kB
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SecretRef } from "./SecretRef.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * SCMProviderGeneratorBitbucket defines connection info specific to Bitbucket Cloud (API version 2). */ export interface ISCMProviderGeneratorBitbucket { /** * Scan all branches instead of just the main branch. */ "allBranches"?: boolean; /** * The app password to use for the user. Required. See: https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/ */ "appPasswordRef": IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SecretRef; /** * Bitbucket workspace to scan. Required. */ "owner": string; /** * Bitbucket user to use when authenticating. Should have a "member" role to be able to read all repositories and branches. Required */ "user": string; } /** * SCMProviderGeneratorBitbucket defines connection info specific to Bitbucket Cloud (API version 2). */ export declare class SCMProviderGeneratorBitbucket extends Model<ISCMProviderGeneratorBitbucket> implements ISCMProviderGeneratorBitbucket { "allBranches"?: boolean; "appPasswordRef": IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SecretRef; "owner": string; "user": string; constructor(data?: ModelData<ISCMProviderGeneratorBitbucket>); } export type { ISCMProviderGeneratorBitbucket as IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SCMProviderGeneratorBitbucket, SCMProviderGeneratorBitbucket as ComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SCMProviderGeneratorBitbucket };