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 ¶
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.
Click to show internal directories.
Click to hide internal directories.