UNPKG

@kubernetes-models/flux-cd

Version:
33 lines (32 loc) 1.62 kB
import { IComGithubFluxcdSourceControllerApiV1GitVerificationMode } from "./GitVerificationMode.js"; import { IComGithubFluxcdPkgApisMetaLocalObjectReference } from "../../github.com/fluxcd/pkg/apis/meta/LocalObjectReference.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * GitRepositoryVerification specifies the Git commit signature verification * strategy. */ export interface IGitRepositoryVerification { /** * Mode specifies which Git object(s) should be verified. * * The variants "head" and "HEAD" both imply the same thing, i.e. verify * the commit that the HEAD of the Git repository points to. The variant * "head" solely exists to ensure backwards compatibility. */ "mode"?: IComGithubFluxcdSourceControllerApiV1GitVerificationMode; /** * SecretRef specifies the Secret containing the public keys of trusted Git * authors. */ "secretRef": IComGithubFluxcdPkgApisMetaLocalObjectReference; } /** * GitRepositoryVerification specifies the Git commit signature verification * strategy. */ export declare class GitRepositoryVerification extends Model<IGitRepositoryVerification> implements IGitRepositoryVerification { "mode"?: IComGithubFluxcdSourceControllerApiV1GitVerificationMode; "secretRef": IComGithubFluxcdPkgApisMetaLocalObjectReference; constructor(data?: ModelData<IGitRepositoryVerification>); } export type { IGitRepositoryVerification as IComGithubFluxcdSourceControllerApiV1GitRepositoryVerification, GitRepositoryVerification as ComGithubFluxcdSourceControllerApiV1GitRepositoryVerification };