UNPKG

@kubernetes-models/flux-cd

Version:
34 lines (33 loc) 1.11 kB
import { ModelData, Model } from "@kubernetes-models/base"; /** * GitRepositoryRef defines the Git ref used for pull and checkout operations. */ export interface IGitRepositoryRef { /** * The Git branch to checkout, defaults to master. */ "branch"?: string; /** * The Git commit SHA to checkout, if specified Tag filters will be ignored. */ "commit"?: string; /** * The Git tag semver expression, takes precedence over Tag. */ "semver"?: string; /** * The Git tag to checkout, takes precedence over Branch. */ "tag"?: string; } /** * GitRepositoryRef defines the Git ref used for pull and checkout operations. */ export declare class GitRepositoryRef extends Model<IGitRepositoryRef> implements IGitRepositoryRef { "branch"?: string; "commit"?: string; "semver"?: string; "tag"?: string; constructor(data?: ModelData<IGitRepositoryRef>); } export type { IGitRepositoryRef as IComGithubFluxcdSourceControllerApiV1beta1GitRepositoryRef, GitRepositoryRef as ComGithubFluxcdSourceControllerApiV1beta1GitRepositoryRef };