UNPKG

@kubernetes-models/flux-cd

Version:
28 lines (27 loc) 1.02 kB
import { IComGithubFluxcdPkgApisKustomizeSelector } from "./Selector.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * Patch contains an inline StrategicMerge or JSON6902 patch, and the target the patch should * be applied to. */ export interface IPatch { /** * Patch contains an inline StrategicMerge patch or an inline JSON6902 patch with * an array of operation objects. */ "patch": string; /** * Target points to the resources that the patch document should be applied to. */ "target"?: IComGithubFluxcdPkgApisKustomizeSelector; } /** * Patch contains an inline StrategicMerge or JSON6902 patch, and the target the patch should * be applied to. */ export declare class Patch extends Model<IPatch> implements IPatch { "patch": string; "target"?: IComGithubFluxcdPkgApisKustomizeSelector; constructor(data?: ModelData<IPatch>); } export type { IPatch as IComGithubFluxcdPkgApisKustomizePatch, Patch as ComGithubFluxcdPkgApisKustomizePatch };