UNPKG

@kubernetes-models/flux-cd

Version:
33 lines (32 loc) 1.47 kB
import { IComGithubFluxcdImageAutomationControllerApiV1beta1CommitUser } from "./CommitUser.js"; import { IComGithubFluxcdImageAutomationControllerApiV1beta1SigningKey } from "./SigningKey.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * CommitSpec specifies how to commit changes to the git repository */ export interface ICommitSpec { /** * Author gives the email and optionally the name to use as the * author of commits. */ "author": IComGithubFluxcdImageAutomationControllerApiV1beta1CommitUser; /** * MessageTemplate provides a template for the commit message, * into which will be interpolated the details of the change made. */ "messageTemplate"?: string; /** * SigningKey provides the option to sign commits with a GPG key */ "signingKey"?: IComGithubFluxcdImageAutomationControllerApiV1beta1SigningKey; } /** * CommitSpec specifies how to commit changes to the git repository */ export declare class CommitSpec extends Model<ICommitSpec> implements ICommitSpec { "author": IComGithubFluxcdImageAutomationControllerApiV1beta1CommitUser; "messageTemplate"?: string; "signingKey"?: IComGithubFluxcdImageAutomationControllerApiV1beta1SigningKey; constructor(data?: ModelData<ICommitSpec>); } export type { ICommitSpec as IComGithubFluxcdImageAutomationControllerApiV1beta1CommitSpec, CommitSpec as ComGithubFluxcdImageAutomationControllerApiV1beta1CommitSpec };