MCPcopy
hub / github.com/basecamp/once / ContainerList

Method ContainerList

internal/docker/scraper.go:36–36  ·  view source on GitHub ↗
(ctx context.Context, options container.ListOptions)

Source from the content-addressed store, hash-verified

34// statsClient defines the Docker API operations needed by the scraper
35type statsClient interface {
36 ContainerList(ctx context.Context, options container.ListOptions) ([]container.Summary, error)
37 ContainerStats(ctx context.Context, containerID string, stream bool) (container.StatsResponseReader, error)
38}
39

Callers 7

countContainersFunction · 0.65
ContainerNameMethod · 0.65
DestroyMethod · 0.65
findAppContainersMethod · 0.65
ApplicationExistsMethod · 0.65
restoreStateMethod · 0.65

Implementers 1

mockStatsClientinternal/docker/scraper_test.go

Calls

no outgoing calls

Tested by 1

countContainersFunction · 0.52