Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetPatchStrategies (0.12 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go

    		if reflect.DeepEqual(originalValue, modifiedValue) {
    			return nil
    		}
    		// Otherwise, return the error
    		return err
    	}
    	retainKeys, patchStrategy, err := extractRetainKeysPatchStrategy(patchMeta.GetPatchStrategies())
    	if err != nil {
    		return err
    	}
    	diffOptions.BuildRetainKeysDirective = retainKeys
    	switch patchStrategy {
    	// The patch strategic from metadata tells us to replace the entire object instead of diffing it
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 23:34:23 UTC 2023
    - 75.5K bytes
    - Viewed (0)
Back to top