kubernetes/staging/src/k8s.io/apimachinery/pkg/util/mergepatch/errors.go

var ErrBadJSONDoc

var ErrNoListOfLists

var ErrBadPatchFormatForPrimitiveList

var ErrBadPatchFormatForRetainKeys

var ErrBadPatchFormatForSetElementOrderList

var ErrPatchContentNotMatchRetainKeys

var ErrUnsupportedStrategicMergePatchFormat

func ErrNoMergeKey(m map[string]interface{}

func ErrBadArgType(expected, actual interface{}

func ErrBadArgKind(expected, actual interface{}

func ErrBadPatchType(t interface{}

// IsPreconditionFailed returns true if the provided error indicates
// a precondition failed.
func IsPreconditionFailed(err error) bool {}

type ErrPreconditionFailed

func NewErrPreconditionFailed(target map[string]interface{}

func (err ErrPreconditionFailed) Error() string {}

type ErrConflict

func NewErrConflict(patch, current string) ErrConflict {}

func (err ErrConflict) Error() string {}

// IsConflict returns true if the provided error indicates
// a conflict between the patch and the current configuration.
func IsConflict(err error) bool {}