MCPcopy
hub / github.com/helm/helm / ClientUpdateOptionForceReplace

Function ClientUpdateOptionForceReplace

pkg/kube/client.go:742–748  ·  view source on GitHub ↗

ClientUpdateOptionForceReplace forces objects to be replaced rather than updated via patch Must not be enabled when ClientUpdateOptionForceConflicts is enabled

(forceReplace bool)

Source from the content-addressed store, hash-verified

740// ClientUpdateOptionForceReplace forces objects to be replaced rather than updated via patch
741// Must not be enabled when ClientUpdateOptionForceConflicts is enabled
742func 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
751func ClientUpdateOptionDryRun(dryRun bool) ClientUpdateOption {

Callers 4

performInstallMethod · 0.92
releasingUpgradeMethod · 0.92
performRollbackMethod · 0.92
TestUpdateFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestUpdateFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…