ClientUpdateOptionForceReplace forces objects to be replaced rather than updated via patch Must not be enabled when ClientUpdateOptionForceConflicts is enabled
(forceReplace bool)
| 740 | // ClientUpdateOptionForceReplace forces objects to be replaced rather than updated via patch |
| 741 | // Must not be enabled when ClientUpdateOptionForceConflicts is enabled |
| 742 | func ClientUpdateOptionForceReplace(forceReplace bool) ClientUpdateOption { |
| 743 | return func(o *clientUpdateOptions) error { |
| 744 | o.forceReplace = forceReplace |
| 745 | |
| 746 | return nil |
| 747 | } |
| 748 | } |
| 749 | |
| 750 | // ClientUpdateOptionDryRun requests the server to perform non-mutating operations only |
| 751 | func ClientUpdateOptionDryRun(dryRun bool) ClientUpdateOption { |
no outgoing calls
searching dependent graphs…