MCPcopy
hub / github.com/apecloud/kubeblocks / getInstanceUpdateStrategy

Function getInstanceUpdateStrategy

pkg/controller/factory/builder.go:187–190  ·  view source on GitHub ↗
(synthesizedComp *component.SynthesizedComponent)

Source from the content-addressed store, hash-verified

185}
186
187func getInstanceUpdateStrategy(synthesizedComp *component.SynthesizedComponent) *workloads.InstanceUpdateStrategy {
188 // TODO: on-delete if the member update strategy is not null?
189 return synthesizedComp.InstanceUpdateStrategy
190}
191
192func getMemberUpdateStrategy(synthesizedComp *component.SynthesizedComponent) *workloads.MemberUpdateStrategy {
193 if synthesizedComp.UpdateStrategy != nil {

Callers 1

BuildInstanceSetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…