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

Method GetTimeout

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

Source from the content-addressed store, hash-verified

155}
156
157func (opts createOptions) GetTimeout() *time.Duration {
158 if opts.timeChanged {
159 t := time.Duration(opts.timeout) * time.Second
160 return &t
161 }
162 return nil
163}
164
165func (opts createOptions) Apply(project *types.Project) error {
166 if opts.pullChanged {

Callers 2

runUpFunction · 0.80
runCreateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected