Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tsuru/tsuru
/ ServicesCollection
Function
ServicesCollection
db/storagev2/collections.go:31–33 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
29
}
30
31
func
ServicesCollection() (*mongo.Collection, error) {
32
return
Collection(
"services"
)
33
}
34
35
func
ServiceInstancesCollection() (*mongo.Collection, error) {
36
return
Collection(
"service_instances"
)
Callers
15
TestDeleteService
Method · 0.92
TestUpdateService
Method · 0.92
TestProxy
Method · 0.92
TestRenameServiceTeam
Method · 0.92
TestNotifyCreateServiceInstanceForward
Method · 0.92
TestNotifyCreateServiceInstanceForwardInvalidParams
Method · 0.92
TestNotifyCreateServiceInstanceBackward
Method · 0.92
TestNotifyCreateServiceInstanceBackwardParams
Method · 0.92
TestNotifyUpdateServiceInstanceForward
Method · 0.92
TestNotifyUpdateServiceInstanceForwardParams
Method · 0.92
TestUnbindAppDBForward
Method · 0.92
TestUnbindAppDBBackward
Method · 0.92
Calls
1
Collection
Function · 0.85
Tested by
15
TestDeleteService
Method · 0.74
TestUpdateService
Method · 0.74
TestProxy
Method · 0.74
TestRenameServiceTeam
Method · 0.74
TestNotifyCreateServiceInstanceForward
Method · 0.74
TestNotifyCreateServiceInstanceForwardInvalidParams
Method · 0.74
TestNotifyCreateServiceInstanceBackward
Method · 0.74
TestNotifyCreateServiceInstanceBackwardParams
Method · 0.74
TestNotifyUpdateServiceInstanceForward
Method · 0.74
TestNotifyUpdateServiceInstanceForwardParams
Method · 0.74
TestUnbindAppDBForward
Method · 0.74
TestUnbindAppDBBackward
Method · 0.74