@@ -196,6 +196,11 @@ func (client *NopClient) ContainerWait(ctx context.Context, container string) (i
196196 return 0 , errNoEngine
197197}
198198
199+ // ContainersPrune requests the daemon to delete unused data
200+ func (client * NopClient ) ContainersPrune (ctx context.Context , cfg types.ContainersPruneConfig ) (types.ContainersPruneReport , error ) {
201+ return types.ContainersPruneReport {}, errNoEngine
202+ }
203+
199204// CopyFromContainer gets the content from the container and returns it as a Reader to manipulate it in the host
200205func (client * NopClient ) CopyFromContainer (ctx context.Context , container , srcPath string ) (io.ReadCloser , types.ContainerPathStat , error ) {
201206 return nil , types.ContainerPathStat {}, errNoEngine
@@ -206,6 +211,11 @@ func (client *NopClient) CopyToContainer(ctx context.Context, container, path st
206211 return errNoEngine
207212}
208213
214+ // DiskUsage requests the current data usage from the daemon
215+ func (client * NopClient ) DiskUsage (ctx context.Context ) (types.DiskUsage , error ) {
216+ return types.DiskUsage {}, errNoEngine
217+ }
218+
209219// Events returns a stream of events in the daemon in a ReadCloser
210220func (client * NopClient ) Events (ctx context.Context , options types.EventsOptions ) (<- chan events.Message , <- chan error ) {
211221 return nil , nil
@@ -276,6 +286,11 @@ func (client *NopClient) ImageTag(ctx context.Context, image, ref string) error
276286 return errNoEngine
277287}
278288
289+ // ImagesPrune requests the daemon to delete unused data
290+ func (client * NopClient ) ImagesPrune (ctx context.Context , cfg types.ImagesPruneConfig ) (types.ImagesPruneReport , error ) {
291+ return types.ImagesPruneReport {}, errNoEngine
292+ }
293+
279294// Info returns information about the docker server
280295func (client * NopClient ) Info (ctx context.Context ) (types.Info , error ) {
281296 return types.Info {}, errNoEngine
@@ -354,3 +369,8 @@ func (client *NopClient) VolumeList(ctx context.Context, filter filters.Args) (t
354369func (client * NopClient ) VolumeRemove (ctx context.Context , volumeID string , force bool ) error {
355370 return errNoEngine
356371}
372+
373+ // VolumesPrune requests the daemon to delete unused data
374+ func (client * NopClient ) VolumesPrune (ctx context.Context , cfg types.VolumesPruneConfig ) (types.VolumesPruneReport , error ) {
375+ return types.VolumesPruneReport {}, errNoEngine
376+ }
0 commit comments