@kubernetes-models/argo-cd
Version:
40 lines (39 loc) • 1.51 kB
TypeScript
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SecretRef } from "./SecretRef.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* SCMProviderGeneratorGitea defines a connection info specific to Gitea.
*/
export interface ISCMProviderGeneratorGitea {
/**
* Scan all branches instead of just the default branch.
*/
"allBranches"?: boolean;
/**
* The Gitea URL to talk to. For example https://gitea.mydomain.com/.
*/
"api": string;
/**
* Allow self-signed TLS / Certificates; default: false
*/
"insecure"?: boolean;
/**
* Gitea organization or user to scan. Required.
*/
"owner": string;
/**
* Authentication token reference.
*/
"tokenRef"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SecretRef;
}
/**
* SCMProviderGeneratorGitea defines a connection info specific to Gitea.
*/
export declare class SCMProviderGeneratorGitea extends Model<ISCMProviderGeneratorGitea> implements ISCMProviderGeneratorGitea {
"allBranches"?: boolean;
"api": string;
"insecure"?: boolean;
"owner": string;
"tokenRef"?: IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SecretRef;
constructor(data?: ModelData<ISCMProviderGeneratorGitea>);
}
export type { ISCMProviderGeneratorGitea as IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SCMProviderGeneratorGitea, SCMProviderGeneratorGitea as ComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SCMProviderGeneratorGitea };