UNPKG

@kubernetes-models/flux-cd

Version:
42 lines (41 loc) 1.89 kB
import { IIoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON } from "kubernetes-models/apiextensions.k8s.io/v1/JSON"; import { ModelData, Model } from "@kubernetes-models/base"; /** * JSON6902 is a JSON6902 operation object. * https://datatracker.ietf.org/doc/html/rfc6902#section-4 */ export interface IJSON6902 { /** * From contains a JSON-pointer value that references a location within the target document where the operation is * performed. The meaning of the value depends on the value of Op, and is NOT taken into account by all operations. */ "from"?: string; /** * Op indicates the operation to perform. Its value MUST be one of "add", "remove", "replace", "move", "copy", or * "test". * https://datatracker.ietf.org/doc/html/rfc6902#section-4 */ "op": "test" | "remove" | "add" | "replace" | "move" | "copy"; /** * Path contains the JSON-pointer value that references a location within the target document where the operation * is performed. The meaning of the value depends on the value of Op. */ "path": string; /** * Value contains a valid JSON structure. The meaning of the value depends on the value of Op, and is NOT taken into * account by all operations. */ "value"?: IIoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON; } /** * JSON6902 is a JSON6902 operation object. * https://datatracker.ietf.org/doc/html/rfc6902#section-4 */ export declare class JSON6902 extends Model<IJSON6902> implements IJSON6902 { "from"?: string; "op": "test" | "remove" | "add" | "replace" | "move" | "copy"; "path": string; "value"?: IIoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON; constructor(data?: ModelData<IJSON6902>); } export type { IJSON6902 as IComGithubFluxcdPkgApisKustomizeJSON6902, JSON6902 as ComGithubFluxcdPkgApisKustomizeJSON6902 };