Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/docker/compose
/ serviceConfig
Function
serviceConfig
pkg/compose/hash_test.go:34–43 ·
view source on GitHub ↗
(replicas int)
Source
from the content-addressed store, hash-verified
32
}
33
34
func
serviceConfig(replicas int) types.ServiceConfig {
35
return
types.ServiceConfig{
36
Scale: &replicas,
37
Deploy: &types.DeployConfig{
38
Replicas: &replicas,
39
},
40
Name:
"foo"
,
41
Image:
"bar"
,
42
}
43
}
Callers
1
TestServiceHash
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected