MCPcopy Index your code
hub / github.com/docker/cli / ContainerList

Method ContainerList

cli/command/completion/functions_test.go:37–42  ·  view source on GitHub ↗
(ctx context.Context, options client.ContainerListOptions)

Source from the content-addressed store, hash-verified

35}
36
37func (c *fakeClient) ContainerList(ctx context.Context, options client.ContainerListOptions) (client.ContainerListResult, error) {
38 if c.containerListFunc != nil {
39 return c.containerListFunc(ctx, options)
40 }
41 return client.ContainerListResult{}, nil
42}
43
44func (c *fakeClient) ImageList(ctx context.Context, options client.ImageListOptions) (client.ImageListResult, error) {
45 if c.imageListFunc != nil {

Callers 1

ContainerNamesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected