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

Function serviceFilter

pkg/compose/filters.go:37–39  ·  view source on GitHub ↗
(serviceName string)

Source from the content-addressed store, hash-verified

35}
36
37func serviceFilter(serviceName string) string {
38 return labelFilter(api.ServiceLabel, serviceName)
39}
40
41func networkFilter(name string) string {
42 return labelFilter(api.NetworkLabel, name)

Callers 4

imageCreatedTimeMethod · 0.85
TestServiceLinksFunction · 0.85
getDefaultFiltersFunction · 0.85
TestKillSignalFunction · 0.85

Calls 1

labelFilterFunction · 0.85

Tested by 2

TestServiceLinksFunction · 0.68
TestKillSignalFunction · 0.68