@kubernetes-models/argo-cd
Version:
40 lines (39 loc) • 1.54 kB
TypeScript
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SecretRef } from "./SecretRef.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* SCMProviderGeneratorGithub defines connection info specific to GitHub.
*/
export interface ISCMProviderGeneratorGithub {
/**
* Scan all branches instead of just the default branch.
*/
"allBranches"?: boolean;
/**
* The GitHub API URL to talk to. If blank, use https://api.github.com/.
*/
"api"?: string;
/**
* AppSecretName is a reference to a GitHub App repo-creds secret.
*/
"appSecretName"?: string;
/**
* GitHub org to scan. Required.
*/
"organization": string;
/**
* Authentication token reference.
*/
"tokenRef"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SecretRef;
}
/**
* SCMProviderGeneratorGithub defines connection info specific to GitHub.
*/
export declare class SCMProviderGeneratorGithub extends Model<ISCMProviderGeneratorGithub> implements ISCMProviderGeneratorGithub {
"allBranches"?: boolean;
"api"?: string;
"appSecretName"?: string;
"organization": string;
"tokenRef"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SecretRef;
constructor(data?: ModelData<ISCMProviderGeneratorGithub>);
}
export type { ISCMProviderGeneratorGithub as IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SCMProviderGeneratorGithub, SCMProviderGeneratorGithub as ComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SCMProviderGeneratorGithub };