Method
ContainerLogs
(_ context.Context, containerID string, options client.ContainerLogsOptions)
Source from the content-addressed store, hash-verified
| 137 | } |
| 138 | |
| 139 | func (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 | |
| 146 | func (f *fakeClient) ClientVersion() string { |
| 147 | return f.Version |
Tested by
no test coverage detected