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

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…