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

Method ContainerLogs

cli/command/container/client_test.go:139–144  ·  view source on GitHub ↗
(_ context.Context, containerID string, options client.ContainerLogsOptions)

Source from the content-addressed store, hash-verified

137}
138
139func (f *fakeClient) ContainerLogs(_ context.Context, containerID string, options client.ContainerLogsOptions) (client.ContainerLogsResult, error) {
140 if f.logFunc != nil {
141 return f.logFunc(containerID, options)
142 }
143 return http.NoBody, nil
144}
145
146func (f *fakeClient) ClientVersion() string {
147 return f.Version

Callers 1

runLogsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected