@kubernetes-models/flux-cd
Version:
30 lines (29 loc) • 1.22 kB
TypeScript
import { IComGithubFluxcdPkgApisMetaLocalObjectReference } from "../../github.com/fluxcd/pkg/apis/meta/LocalObjectReference.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* GitRepositoryInclude defines a source with a from and to path.
*/
export interface IGitRepositoryInclude {
/**
* The path to copy contents from, defaults to the root directory.
*/
"fromPath"?: string;
/**
* Reference to a GitRepository to include.
*/
"repository": IComGithubFluxcdPkgApisMetaLocalObjectReference;
/**
* The path to copy contents to, defaults to the name of the source ref.
*/
"toPath"?: string;
}
/**
* GitRepositoryInclude defines a source with a from and to path.
*/
export declare class GitRepositoryInclude extends Model<IGitRepositoryInclude> implements IGitRepositoryInclude {
"fromPath"?: string;
"repository": IComGithubFluxcdPkgApisMetaLocalObjectReference;
"toPath"?: string;
constructor(data?: ModelData<IGitRepositoryInclude>);
}
export type { IGitRepositoryInclude as IComGithubFluxcdSourceControllerApiV1beta1GitRepositoryInclude, GitRepositoryInclude as ComGithubFluxcdSourceControllerApiV1beta1GitRepositoryInclude };