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

Function projectFilter

pkg/compose/filters.go:33–35  ·  view source on GitHub ↗
(projectName string)

Source from the content-addressed store, hash-verified

31}
32
33func projectFilter(projectName string) client.Filters {
34 return make(client.Filters).Add("label", labelFilter(api.ProjectLabel, projectName))
35}
36
37func serviceFilter(serviceName string) string {
38 return labelFilter(api.ServiceLabel, serviceName)

Callers 15

TestDownFunction · 0.85
TestDownRemoveOrphansFunction · 0.85
TestDownRemoveVolumesFunction · 0.85
TestDownRemoveImagesFunction · 0.85
startMethod · 0.85
TestImagesFunction · 0.85
TestStopTimeoutFunction · 0.85
StartMethod · 0.85
actualVolumesMethod · 0.85

Calls 2

labelFilterFunction · 0.85
AddMethod · 0.45

Tested by 15

TestDownFunction · 0.68
TestDownRemoveOrphansFunction · 0.68
TestDownRemoveVolumesFunction · 0.68
TestDownRemoveImagesFunction · 0.68
TestImagesFunction · 0.68
TestStopTimeoutFunction · 0.68
TestServiceLinksFunction · 0.68
TestPsFunction · 0.68
TestKillAllFunction · 0.68