UNPKG

@kubernetes-models/flux-cd

Version:
35 lines (34 loc) 1.5 kB
import { IComGithubFluxcdPkgApisMetaLocalObjectReference } from "../../github.com/fluxcd/pkg/apis/meta/LocalObjectReference.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * GitRepositoryInclude specifies a local reference to a GitRepository which * Artifact (sub-)contents must be included, and where they should be placed. */ export interface IGitRepositoryInclude { /** * FromPath specifies the path to copy contents from, defaults to the root * of the Artifact. */ "fromPath"?: string; /** * GitRepositoryRef specifies the GitRepository which Artifact contents * must be included. */ "repository": IComGithubFluxcdPkgApisMetaLocalObjectReference; /** * ToPath specifies the path to copy contents to, defaults to the name of * the GitRepositoryRef. */ "toPath"?: string; } /** * GitRepositoryInclude specifies a local reference to a GitRepository which * Artifact (sub-)contents must be included, and where they should be placed. */ export declare class GitRepositoryInclude extends Model<IGitRepositoryInclude> implements IGitRepositoryInclude { "fromPath"?: string; "repository": IComGithubFluxcdPkgApisMetaLocalObjectReference; "toPath"?: string; constructor(data?: ModelData<IGitRepositoryInclude>); } export type { IGitRepositoryInclude as IComGithubFluxcdSourceControllerApiV1GitRepositoryInclude, GitRepositoryInclude as ComGithubFluxcdSourceControllerApiV1GitRepositoryInclude };