func (_m *DockerClient) BuildCachePrune(ctx context.Context, opts types.BuildCachePruneOptions) (*types.BuildCachePruneReport, error) {
	ret := _m.Called(ctx, opts)

	var r0 *types.BuildCachePruneReport
	if rf, ok := ret.Get(0).(func(context.Context, types.BuildCachePruneOptions) *types.BuildCachePruneReport); ok {
		r0 = rf(ctx, opts)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*types.BuildCachePruneReport)
		}
	}

	var r1 error
	if rf, ok := ret.Get(1).(func(context.Context, types.BuildCachePruneOptions) error); ok {
		r1 = rf(ctx, opts)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}
// BuildCachePrune provides a mock function with given fields: ctx, opts
BuildCachePrune provides a mock function with given fields: ctx, opts
// BuildCachePrune provides a mock function with given fields : ctx opts
func (_m *DockerClient) BuildCachePrune(ctx context.Context, opts types.BuildCachePruneOptions) (*types.BuildCachePruneReport, error) {
	ret := _m.Called(ctx, opts)
	var r0 *types.BuildCachePruneReport
	if rf, ok := ret.Get(0).(func(context.Context, types.BuildCachePruneOptions) *types.BuildCachePruneReport); ok {
		r0 = rf(ctx, opts)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*types.BuildCachePruneReport)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(context.Context, types.BuildCachePruneOptions) error); ok {
		r1 = rf(ctx, opts)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func ( _m * DockerClient ) BuildCachePrune ( ctx context . Context , opts types . BuildCachePruneOptions ) ( * types . BuildCachePruneReport , error ) { ret := _m . Called ( ctx , opts ) var r0 * types . BuildCachePruneReport if rf , ok := ret . Get ( 0 ) . ( func ( context . Context , types . BuildCachePruneOptions ) * types . BuildCachePruneReport ) ; ok { r0 = rf ( ctx , opts ) } else { if ret . Get ( 0 ) != nil { r0 = ret . Get ( 0 ) . ( * types . BuildCachePruneReport ) } } var r1 error if rf , ok := ret . Get ( 1 ) . ( func ( context . Context , types . BuildCachePruneOptions ) error ) ; ok { r1 = rf ( ctx , opts ) } else { r1 = ret . Error ( 1 ) } return r0 , r1 }
BuildCachePrune provides a mock function with given fields: ctx, opts
BuildCachePrune provides a mock function with given fields : ctx opts