Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONPatch ¶
type JSONPatch struct {
// op defines patch operation to be performed on the Endpoints object
Op string `json:"op"`
// path defines the location of the patch
Path string `json:"path"`
// value defines the data to be patched
Value interface{} `json:"value,omitempty"`
}
JSONPatch describes a patch operation
func NewJSONPatch ¶
NewJSONPatch returns a pointer to a JSONPatch
Click to show internal directories.
Click to hide internal directories.