jsonpatch

package
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2025 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Overview

+kubebuilder:object:generate=true

Index

Constants

View Source
const (
	// ADD is the constant for the JSONPatch 'add' operation.
	ADD = "add"
	// REMOVE is the constant for the JSONPatch 'remove' operation.
	REMOVE = "remove"
	// REPLACE is the constant for the JSONPatch 'replace' operation.
	REPLACE = "replace"
	// MOVE is the constant for the JSONPatch 'move' operation.
	MOVE = "move"
	// COPY is the constant for the JSONPatch 'copy' operation.
	COPY = "copy"
	// TEST is the constant for the JSONPatch 'test' operation.
	TEST = "test"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONPatch

type JSONPatch = kustomize.JSON6902

JSONPatch represents a JSON patch operation. Technically, a single JSON patch (as defined by RFC 6902) is a list of patch operations. Opposed to that, this type represents a single operation. Use the JSONPatches type for a list of operations instead.

type JSONPatches

type JSONPatches []JSONPatch

JSONPatches is a list of JSON patch operations. This is technically a 'JSON patch' as defined in RFC 6902.

func (JSONPatches) DeepCopy

func (in JSONPatches) DeepCopy() JSONPatches

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONPatches.

func (JSONPatches) DeepCopyInto

func (in JSONPatches) DeepCopyInto(out *JSONPatches)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL