- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for RequireKeyUnchanged (0.23 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/mergepatch/util.go
) // PreconditionFunc asserts that an incompatible change is not present within a patch. type PreconditionFunc func(interface{}) bool // RequireKeyUnchanged returns a precondition function that fails if the provided key // is present in the patch (indicating that its value has changed). func RequireKeyUnchanged(key string) PreconditionFunc { return func(patch interface{}) bool { patchMap, ok := patch.(map[string]interface{}) if !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 27 01:24:22 UTC 2023 - 3.6K bytes - Viewed (0)