MCPcopy
hub / github.com/docker/compose / dependenciesRecreateStrategy

Method dependenciesRecreateStrategy

cmd/compose/create.go:147–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145}
146
147func (opts createOptions) dependenciesRecreateStrategy() string {
148 if opts.noRecreate {
149 return api.RecreateNever
150 }
151 if opts.recreateDeps {
152 return api.RecreateForce
153 }
154 return api.RecreateDiverged
155}
156
157func (opts createOptions) GetTimeout() *time.Duration {
158 if opts.timeChanged {

Callers 2

runUpFunction · 0.80
runCreateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected