Documentation ¶
Index ¶
- func ConvertPatches(in ...jsonpatch.JsonPatchOperation) [][]byte
- func NewConditionError(err error) error
- func NewGlobalConditionError(err error) error
- func ProcessPatchJSON6902(logger logr.Logger, patchesJSON6902 []byte, resource resource) (resource, error)
- func ProcessStrategicMergePatch(logger logr.Logger, overlay interface{}, resource resource) (resource, error)
- type ConditionError
- type GlobalConditionError
- type Patcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertPatches ¶ added in v1.10.0
func ConvertPatches(in ...jsonpatch.JsonPatchOperation) [][]byte
func NewConditionError ¶
func NewGlobalConditionError ¶
func ProcessPatchJSON6902 ¶
func ProcessPatchJSON6902(logger logr.Logger, patchesJSON6902 []byte, resource resource) (resource, error)
ProcessPatchJSON6902 ...
func ProcessStrategicMergePatch ¶
func ProcessStrategicMergePatch(logger logr.Logger, overlay interface{}, resource resource) (resource, error)
ProcessStrategicMergePatch ...
Types ¶
type ConditionError ¶
type ConditionError struct {
// contains filtered or unexported fields
}
func (ConditionError) Error ¶
func (ce ConditionError) Error() string
type GlobalConditionError ¶
type GlobalConditionError struct {
// contains filtered or unexported fields
}
func (GlobalConditionError) Error ¶
func (ce GlobalConditionError) Error() string
type Patcher ¶
Patcher patches the resource
func NewPatchStrategicMerge ¶
func NewPatchStrategicMerge(patch apiextensions.JSON) Patcher
func NewPatchesJSON6902 ¶
Click to show internal directories.
Click to hide internal directories.