github.com/buildpacks/pack@v0.33.3-0.20240516162812-884dd1837311/pkg/testmocks/mock_docker_client.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/docker/docker/client (interfaces: CommonAPIClient)
     3  
     4  // Package testmocks is a generated GoMock package.
     5  package testmocks
     6  
     7  import (
     8  	context "context"
     9  	io "io"
    10  	net "net"
    11  	http "net/http"
    12  	reflect "reflect"
    13  
    14  	types "github.com/docker/docker/api/types"
    15  	container "github.com/docker/docker/api/types/container"
    16  	events "github.com/docker/docker/api/types/events"
    17  	filters "github.com/docker/docker/api/types/filters"
    18  	image "github.com/docker/docker/api/types/image"
    19  	network "github.com/docker/docker/api/types/network"
    20  	registry "github.com/docker/docker/api/types/registry"
    21  	swarm "github.com/docker/docker/api/types/swarm"
    22  	system "github.com/docker/docker/api/types/system"
    23  	volume "github.com/docker/docker/api/types/volume"
    24  	gomock "github.com/golang/mock/gomock"
    25  	v1 "github.com/opencontainers/image-spec/specs-go/v1"
    26  )
    27  
    28  // MockCommonAPIClient is a mock of CommonAPIClient interface.
    29  type MockCommonAPIClient struct {
    30  	ctrl     *gomock.Controller
    31  	recorder *MockCommonAPIClientMockRecorder
    32  }
    33  
    34  // MockCommonAPIClientMockRecorder is the mock recorder for MockCommonAPIClient.
    35  type MockCommonAPIClientMockRecorder struct {
    36  	mock *MockCommonAPIClient
    37  }
    38  
    39  // NewMockCommonAPIClient creates a new mock instance.
    40  func NewMockCommonAPIClient(ctrl *gomock.Controller) *MockCommonAPIClient {
    41  	mock := &MockCommonAPIClient{ctrl: ctrl}
    42  	mock.recorder = &MockCommonAPIClientMockRecorder{mock}
    43  	return mock
    44  }
    45  
    46  // EXPECT returns an object that allows the caller to indicate expected use.
    47  func (m *MockCommonAPIClient) EXPECT() *MockCommonAPIClientMockRecorder {
    48  	return m.recorder
    49  }
    50  
    51  // BuildCachePrune mocks base method.
    52  func (m *MockCommonAPIClient) BuildCachePrune(arg0 context.Context, arg1 types.BuildCachePruneOptions) (*types.BuildCachePruneReport, error) {
    53  	m.ctrl.T.Helper()
    54  	ret := m.ctrl.Call(m, "BuildCachePrune", arg0, arg1)
    55  	ret0, _ := ret[0].(*types.BuildCachePruneReport)
    56  	ret1, _ := ret[1].(error)
    57  	return ret0, ret1
    58  }
    59  
    60  // BuildCachePrune indicates an expected call of BuildCachePrune.
    61  func (mr *MockCommonAPIClientMockRecorder) BuildCachePrune(arg0, arg1 interface{}) *gomock.Call {
    62  	mr.mock.ctrl.T.Helper()
    63  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BuildCachePrune", reflect.TypeOf((*MockCommonAPIClient)(nil).BuildCachePrune), arg0, arg1)
    64  }
    65  
    66  // BuildCancel mocks base method.
    67  func (m *MockCommonAPIClient) BuildCancel(arg0 context.Context, arg1 string) error {
    68  	m.ctrl.T.Helper()
    69  	ret := m.ctrl.Call(m, "BuildCancel", arg0, arg1)
    70  	ret0, _ := ret[0].(error)
    71  	return ret0
    72  }
    73  
    74  // BuildCancel indicates an expected call of BuildCancel.
    75  func (mr *MockCommonAPIClientMockRecorder) BuildCancel(arg0, arg1 interface{}) *gomock.Call {
    76  	mr.mock.ctrl.T.Helper()
    77  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BuildCancel", reflect.TypeOf((*MockCommonAPIClient)(nil).BuildCancel), arg0, arg1)
    78  }
    79  
    80  // ClientVersion mocks base method.
    81  func (m *MockCommonAPIClient) ClientVersion() string {
    82  	m.ctrl.T.Helper()
    83  	ret := m.ctrl.Call(m, "ClientVersion")
    84  	ret0, _ := ret[0].(string)
    85  	return ret0
    86  }
    87  
    88  // ClientVersion indicates an expected call of ClientVersion.
    89  func (mr *MockCommonAPIClientMockRecorder) ClientVersion() *gomock.Call {
    90  	mr.mock.ctrl.T.Helper()
    91  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientVersion", reflect.TypeOf((*MockCommonAPIClient)(nil).ClientVersion))
    92  }
    93  
    94  // Close mocks base method.
    95  func (m *MockCommonAPIClient) Close() error {
    96  	m.ctrl.T.Helper()
    97  	ret := m.ctrl.Call(m, "Close")
    98  	ret0, _ := ret[0].(error)
    99  	return ret0
   100  }
   101  
   102  // Close indicates an expected call of Close.
   103  func (mr *MockCommonAPIClientMockRecorder) Close() *gomock.Call {
   104  	mr.mock.ctrl.T.Helper()
   105  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockCommonAPIClient)(nil).Close))
   106  }
   107  
   108  // ConfigCreate mocks base method.
   109  func (m *MockCommonAPIClient) ConfigCreate(arg0 context.Context, arg1 swarm.ConfigSpec) (types.ConfigCreateResponse, error) {
   110  	m.ctrl.T.Helper()
   111  	ret := m.ctrl.Call(m, "ConfigCreate", arg0, arg1)
   112  	ret0, _ := ret[0].(types.ConfigCreateResponse)
   113  	ret1, _ := ret[1].(error)
   114  	return ret0, ret1
   115  }
   116  
   117  // ConfigCreate indicates an expected call of ConfigCreate.
   118  func (mr *MockCommonAPIClientMockRecorder) ConfigCreate(arg0, arg1 interface{}) *gomock.Call {
   119  	mr.mock.ctrl.T.Helper()
   120  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConfigCreate", reflect.TypeOf((*MockCommonAPIClient)(nil).ConfigCreate), arg0, arg1)
   121  }
   122  
   123  // ConfigInspectWithRaw mocks base method.
   124  func (m *MockCommonAPIClient) ConfigInspectWithRaw(arg0 context.Context, arg1 string) (swarm.Config, []byte, error) {
   125  	m.ctrl.T.Helper()
   126  	ret := m.ctrl.Call(m, "ConfigInspectWithRaw", arg0, arg1)
   127  	ret0, _ := ret[0].(swarm.Config)
   128  	ret1, _ := ret[1].([]byte)
   129  	ret2, _ := ret[2].(error)
   130  	return ret0, ret1, ret2
   131  }
   132  
   133  // ConfigInspectWithRaw indicates an expected call of ConfigInspectWithRaw.
   134  func (mr *MockCommonAPIClientMockRecorder) ConfigInspectWithRaw(arg0, arg1 interface{}) *gomock.Call {
   135  	mr.mock.ctrl.T.Helper()
   136  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConfigInspectWithRaw", reflect.TypeOf((*MockCommonAPIClient)(nil).ConfigInspectWithRaw), arg0, arg1)
   137  }
   138  
   139  // ConfigList mocks base method.
   140  func (m *MockCommonAPIClient) ConfigList(arg0 context.Context, arg1 types.ConfigListOptions) ([]swarm.Config, error) {
   141  	m.ctrl.T.Helper()
   142  	ret := m.ctrl.Call(m, "ConfigList", arg0, arg1)
   143  	ret0, _ := ret[0].([]swarm.Config)
   144  	ret1, _ := ret[1].(error)
   145  	return ret0, ret1
   146  }
   147  
   148  // ConfigList indicates an expected call of ConfigList.
   149  func (mr *MockCommonAPIClientMockRecorder) ConfigList(arg0, arg1 interface{}) *gomock.Call {
   150  	mr.mock.ctrl.T.Helper()
   151  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConfigList", reflect.TypeOf((*MockCommonAPIClient)(nil).ConfigList), arg0, arg1)
   152  }
   153  
   154  // ConfigRemove mocks base method.
   155  func (m *MockCommonAPIClient) ConfigRemove(arg0 context.Context, arg1 string) error {
   156  	m.ctrl.T.Helper()
   157  	ret := m.ctrl.Call(m, "ConfigRemove", arg0, arg1)
   158  	ret0, _ := ret[0].(error)
   159  	return ret0
   160  }
   161  
   162  // ConfigRemove indicates an expected call of ConfigRemove.
   163  func (mr *MockCommonAPIClientMockRecorder) ConfigRemove(arg0, arg1 interface{}) *gomock.Call {
   164  	mr.mock.ctrl.T.Helper()
   165  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConfigRemove", reflect.TypeOf((*MockCommonAPIClient)(nil).ConfigRemove), arg0, arg1)
   166  }
   167  
   168  // ConfigUpdate mocks base method.
   169  func (m *MockCommonAPIClient) ConfigUpdate(arg0 context.Context, arg1 string, arg2 swarm.Version, arg3 swarm.ConfigSpec) error {
   170  	m.ctrl.T.Helper()
   171  	ret := m.ctrl.Call(m, "ConfigUpdate", arg0, arg1, arg2, arg3)
   172  	ret0, _ := ret[0].(error)
   173  	return ret0
   174  }
   175  
   176  // ConfigUpdate indicates an expected call of ConfigUpdate.
   177  func (mr *MockCommonAPIClientMockRecorder) ConfigUpdate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
   178  	mr.mock.ctrl.T.Helper()
   179  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConfigUpdate", reflect.TypeOf((*MockCommonAPIClient)(nil).ConfigUpdate), arg0, arg1, arg2, arg3)
   180  }
   181  
   182  // ContainerAttach mocks base method.
   183  func (m *MockCommonAPIClient) ContainerAttach(arg0 context.Context, arg1 string, arg2 container.AttachOptions) (types.HijackedResponse, error) {
   184  	m.ctrl.T.Helper()
   185  	ret := m.ctrl.Call(m, "ContainerAttach", arg0, arg1, arg2)
   186  	ret0, _ := ret[0].(types.HijackedResponse)
   187  	ret1, _ := ret[1].(error)
   188  	return ret0, ret1
   189  }
   190  
   191  // ContainerAttach indicates an expected call of ContainerAttach.
   192  func (mr *MockCommonAPIClientMockRecorder) ContainerAttach(arg0, arg1, arg2 interface{}) *gomock.Call {
   193  	mr.mock.ctrl.T.Helper()
   194  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerAttach", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerAttach), arg0, arg1, arg2)
   195  }
   196  
   197  // ContainerCommit mocks base method.
   198  func (m *MockCommonAPIClient) ContainerCommit(arg0 context.Context, arg1 string, arg2 container.CommitOptions) (types.IDResponse, error) {
   199  	m.ctrl.T.Helper()
   200  	ret := m.ctrl.Call(m, "ContainerCommit", arg0, arg1, arg2)
   201  	ret0, _ := ret[0].(types.IDResponse)
   202  	ret1, _ := ret[1].(error)
   203  	return ret0, ret1
   204  }
   205  
   206  // ContainerCommit indicates an expected call of ContainerCommit.
   207  func (mr *MockCommonAPIClientMockRecorder) ContainerCommit(arg0, arg1, arg2 interface{}) *gomock.Call {
   208  	mr.mock.ctrl.T.Helper()
   209  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerCommit", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerCommit), arg0, arg1, arg2)
   210  }
   211  
   212  // ContainerCreate mocks base method.
   213  func (m *MockCommonAPIClient) ContainerCreate(arg0 context.Context, arg1 *container.Config, arg2 *container.HostConfig, arg3 *network.NetworkingConfig, arg4 *v1.Platform, arg5 string) (container.CreateResponse, error) {
   214  	m.ctrl.T.Helper()
   215  	ret := m.ctrl.Call(m, "ContainerCreate", arg0, arg1, arg2, arg3, arg4, arg5)
   216  	ret0, _ := ret[0].(container.CreateResponse)
   217  	ret1, _ := ret[1].(error)
   218  	return ret0, ret1
   219  }
   220  
   221  // ContainerCreate indicates an expected call of ContainerCreate.
   222  func (mr *MockCommonAPIClientMockRecorder) ContainerCreate(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call {
   223  	mr.mock.ctrl.T.Helper()
   224  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerCreate", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerCreate), arg0, arg1, arg2, arg3, arg4, arg5)
   225  }
   226  
   227  // ContainerDiff mocks base method.
   228  func (m *MockCommonAPIClient) ContainerDiff(arg0 context.Context, arg1 string) ([]container.FilesystemChange, error) {
   229  	m.ctrl.T.Helper()
   230  	ret := m.ctrl.Call(m, "ContainerDiff", arg0, arg1)
   231  	ret0, _ := ret[0].([]container.FilesystemChange)
   232  	ret1, _ := ret[1].(error)
   233  	return ret0, ret1
   234  }
   235  
   236  // ContainerDiff indicates an expected call of ContainerDiff.
   237  func (mr *MockCommonAPIClientMockRecorder) ContainerDiff(arg0, arg1 interface{}) *gomock.Call {
   238  	mr.mock.ctrl.T.Helper()
   239  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerDiff", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerDiff), arg0, arg1)
   240  }
   241  
   242  // ContainerExecAttach mocks base method.
   243  func (m *MockCommonAPIClient) ContainerExecAttach(arg0 context.Context, arg1 string, arg2 types.ExecStartCheck) (types.HijackedResponse, error) {
   244  	m.ctrl.T.Helper()
   245  	ret := m.ctrl.Call(m, "ContainerExecAttach", arg0, arg1, arg2)
   246  	ret0, _ := ret[0].(types.HijackedResponse)
   247  	ret1, _ := ret[1].(error)
   248  	return ret0, ret1
   249  }
   250  
   251  // ContainerExecAttach indicates an expected call of ContainerExecAttach.
   252  func (mr *MockCommonAPIClientMockRecorder) ContainerExecAttach(arg0, arg1, arg2 interface{}) *gomock.Call {
   253  	mr.mock.ctrl.T.Helper()
   254  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerExecAttach", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerExecAttach), arg0, arg1, arg2)
   255  }
   256  
   257  // ContainerExecCreate mocks base method.
   258  func (m *MockCommonAPIClient) ContainerExecCreate(arg0 context.Context, arg1 string, arg2 types.ExecConfig) (types.IDResponse, error) {
   259  	m.ctrl.T.Helper()
   260  	ret := m.ctrl.Call(m, "ContainerExecCreate", arg0, arg1, arg2)
   261  	ret0, _ := ret[0].(types.IDResponse)
   262  	ret1, _ := ret[1].(error)
   263  	return ret0, ret1
   264  }
   265  
   266  // ContainerExecCreate indicates an expected call of ContainerExecCreate.
   267  func (mr *MockCommonAPIClientMockRecorder) ContainerExecCreate(arg0, arg1, arg2 interface{}) *gomock.Call {
   268  	mr.mock.ctrl.T.Helper()
   269  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerExecCreate", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerExecCreate), arg0, arg1, arg2)
   270  }
   271  
   272  // ContainerExecInspect mocks base method.
   273  func (m *MockCommonAPIClient) ContainerExecInspect(arg0 context.Context, arg1 string) (types.ContainerExecInspect, error) {
   274  	m.ctrl.T.Helper()
   275  	ret := m.ctrl.Call(m, "ContainerExecInspect", arg0, arg1)
   276  	ret0, _ := ret[0].(types.ContainerExecInspect)
   277  	ret1, _ := ret[1].(error)
   278  	return ret0, ret1
   279  }
   280  
   281  // ContainerExecInspect indicates an expected call of ContainerExecInspect.
   282  func (mr *MockCommonAPIClientMockRecorder) ContainerExecInspect(arg0, arg1 interface{}) *gomock.Call {
   283  	mr.mock.ctrl.T.Helper()
   284  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerExecInspect", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerExecInspect), arg0, arg1)
   285  }
   286  
   287  // ContainerExecResize mocks base method.
   288  func (m *MockCommonAPIClient) ContainerExecResize(arg0 context.Context, arg1 string, arg2 container.ResizeOptions) error {
   289  	m.ctrl.T.Helper()
   290  	ret := m.ctrl.Call(m, "ContainerExecResize", arg0, arg1, arg2)
   291  	ret0, _ := ret[0].(error)
   292  	return ret0
   293  }
   294  
   295  // ContainerExecResize indicates an expected call of ContainerExecResize.
   296  func (mr *MockCommonAPIClientMockRecorder) ContainerExecResize(arg0, arg1, arg2 interface{}) *gomock.Call {
   297  	mr.mock.ctrl.T.Helper()
   298  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerExecResize", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerExecResize), arg0, arg1, arg2)
   299  }
   300  
   301  // ContainerExecStart mocks base method.
   302  func (m *MockCommonAPIClient) ContainerExecStart(arg0 context.Context, arg1 string, arg2 types.ExecStartCheck) error {
   303  	m.ctrl.T.Helper()
   304  	ret := m.ctrl.Call(m, "ContainerExecStart", arg0, arg1, arg2)
   305  	ret0, _ := ret[0].(error)
   306  	return ret0
   307  }
   308  
   309  // ContainerExecStart indicates an expected call of ContainerExecStart.
   310  func (mr *MockCommonAPIClientMockRecorder) ContainerExecStart(arg0, arg1, arg2 interface{}) *gomock.Call {
   311  	mr.mock.ctrl.T.Helper()
   312  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerExecStart", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerExecStart), arg0, arg1, arg2)
   313  }
   314  
   315  // ContainerExport mocks base method.
   316  func (m *MockCommonAPIClient) ContainerExport(arg0 context.Context, arg1 string) (io.ReadCloser, error) {
   317  	m.ctrl.T.Helper()
   318  	ret := m.ctrl.Call(m, "ContainerExport", arg0, arg1)
   319  	ret0, _ := ret[0].(io.ReadCloser)
   320  	ret1, _ := ret[1].(error)
   321  	return ret0, ret1
   322  }
   323  
   324  // ContainerExport indicates an expected call of ContainerExport.
   325  func (mr *MockCommonAPIClientMockRecorder) ContainerExport(arg0, arg1 interface{}) *gomock.Call {
   326  	mr.mock.ctrl.T.Helper()
   327  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerExport", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerExport), arg0, arg1)
   328  }
   329  
   330  // ContainerInspect mocks base method.
   331  func (m *MockCommonAPIClient) ContainerInspect(arg0 context.Context, arg1 string) (types.ContainerJSON, error) {
   332  	m.ctrl.T.Helper()
   333  	ret := m.ctrl.Call(m, "ContainerInspect", arg0, arg1)
   334  	ret0, _ := ret[0].(types.ContainerJSON)
   335  	ret1, _ := ret[1].(error)
   336  	return ret0, ret1
   337  }
   338  
   339  // ContainerInspect indicates an expected call of ContainerInspect.
   340  func (mr *MockCommonAPIClientMockRecorder) ContainerInspect(arg0, arg1 interface{}) *gomock.Call {
   341  	mr.mock.ctrl.T.Helper()
   342  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerInspect", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerInspect), arg0, arg1)
   343  }
   344  
   345  // ContainerInspectWithRaw mocks base method.
   346  func (m *MockCommonAPIClient) ContainerInspectWithRaw(arg0 context.Context, arg1 string, arg2 bool) (types.ContainerJSON, []byte, error) {
   347  	m.ctrl.T.Helper()
   348  	ret := m.ctrl.Call(m, "ContainerInspectWithRaw", arg0, arg1, arg2)
   349  	ret0, _ := ret[0].(types.ContainerJSON)
   350  	ret1, _ := ret[1].([]byte)
   351  	ret2, _ := ret[2].(error)
   352  	return ret0, ret1, ret2
   353  }
   354  
   355  // ContainerInspectWithRaw indicates an expected call of ContainerInspectWithRaw.
   356  func (mr *MockCommonAPIClientMockRecorder) ContainerInspectWithRaw(arg0, arg1, arg2 interface{}) *gomock.Call {
   357  	mr.mock.ctrl.T.Helper()
   358  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerInspectWithRaw", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerInspectWithRaw), arg0, arg1, arg2)
   359  }
   360  
   361  // ContainerKill mocks base method.
   362  func (m *MockCommonAPIClient) ContainerKill(arg0 context.Context, arg1, arg2 string) error {
   363  	m.ctrl.T.Helper()
   364  	ret := m.ctrl.Call(m, "ContainerKill", arg0, arg1, arg2)
   365  	ret0, _ := ret[0].(error)
   366  	return ret0
   367  }
   368  
   369  // ContainerKill indicates an expected call of ContainerKill.
   370  func (mr *MockCommonAPIClientMockRecorder) ContainerKill(arg0, arg1, arg2 interface{}) *gomock.Call {
   371  	mr.mock.ctrl.T.Helper()
   372  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerKill", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerKill), arg0, arg1, arg2)
   373  }
   374  
   375  // ContainerList mocks base method.
   376  func (m *MockCommonAPIClient) ContainerList(arg0 context.Context, arg1 container.ListOptions) ([]types.Container, error) {
   377  	m.ctrl.T.Helper()
   378  	ret := m.ctrl.Call(m, "ContainerList", arg0, arg1)
   379  	ret0, _ := ret[0].([]types.Container)
   380  	ret1, _ := ret[1].(error)
   381  	return ret0, ret1
   382  }
   383  
   384  // ContainerList indicates an expected call of ContainerList.
   385  func (mr *MockCommonAPIClientMockRecorder) ContainerList(arg0, arg1 interface{}) *gomock.Call {
   386  	mr.mock.ctrl.T.Helper()
   387  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerList", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerList), arg0, arg1)
   388  }
   389  
   390  // ContainerLogs mocks base method.
   391  func (m *MockCommonAPIClient) ContainerLogs(arg0 context.Context, arg1 string, arg2 container.LogsOptions) (io.ReadCloser, error) {
   392  	m.ctrl.T.Helper()
   393  	ret := m.ctrl.Call(m, "ContainerLogs", arg0, arg1, arg2)
   394  	ret0, _ := ret[0].(io.ReadCloser)
   395  	ret1, _ := ret[1].(error)
   396  	return ret0, ret1
   397  }
   398  
   399  // ContainerLogs indicates an expected call of ContainerLogs.
   400  func (mr *MockCommonAPIClientMockRecorder) ContainerLogs(arg0, arg1, arg2 interface{}) *gomock.Call {
   401  	mr.mock.ctrl.T.Helper()
   402  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerLogs", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerLogs), arg0, arg1, arg2)
   403  }
   404  
   405  // ContainerPause mocks base method.
   406  func (m *MockCommonAPIClient) ContainerPause(arg0 context.Context, arg1 string) error {
   407  	m.ctrl.T.Helper()
   408  	ret := m.ctrl.Call(m, "ContainerPause", arg0, arg1)
   409  	ret0, _ := ret[0].(error)
   410  	return ret0
   411  }
   412  
   413  // ContainerPause indicates an expected call of ContainerPause.
   414  func (mr *MockCommonAPIClientMockRecorder) ContainerPause(arg0, arg1 interface{}) *gomock.Call {
   415  	mr.mock.ctrl.T.Helper()
   416  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerPause", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerPause), arg0, arg1)
   417  }
   418  
   419  // ContainerRemove mocks base method.
   420  func (m *MockCommonAPIClient) ContainerRemove(arg0 context.Context, arg1 string, arg2 container.RemoveOptions) error {
   421  	m.ctrl.T.Helper()
   422  	ret := m.ctrl.Call(m, "ContainerRemove", arg0, arg1, arg2)
   423  	ret0, _ := ret[0].(error)
   424  	return ret0
   425  }
   426  
   427  // ContainerRemove indicates an expected call of ContainerRemove.
   428  func (mr *MockCommonAPIClientMockRecorder) ContainerRemove(arg0, arg1, arg2 interface{}) *gomock.Call {
   429  	mr.mock.ctrl.T.Helper()
   430  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerRemove", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerRemove), arg0, arg1, arg2)
   431  }
   432  
   433  // ContainerRename mocks base method.
   434  func (m *MockCommonAPIClient) ContainerRename(arg0 context.Context, arg1, arg2 string) error {
   435  	m.ctrl.T.Helper()
   436  	ret := m.ctrl.Call(m, "ContainerRename", arg0, arg1, arg2)
   437  	ret0, _ := ret[0].(error)
   438  	return ret0
   439  }
   440  
   441  // ContainerRename indicates an expected call of ContainerRename.
   442  func (mr *MockCommonAPIClientMockRecorder) ContainerRename(arg0, arg1, arg2 interface{}) *gomock.Call {
   443  	mr.mock.ctrl.T.Helper()
   444  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerRename", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerRename), arg0, arg1, arg2)
   445  }
   446  
   447  // ContainerResize mocks base method.
   448  func (m *MockCommonAPIClient) ContainerResize(arg0 context.Context, arg1 string, arg2 container.ResizeOptions) error {
   449  	m.ctrl.T.Helper()
   450  	ret := m.ctrl.Call(m, "ContainerResize", arg0, arg1, arg2)
   451  	ret0, _ := ret[0].(error)
   452  	return ret0
   453  }
   454  
   455  // ContainerResize indicates an expected call of ContainerResize.
   456  func (mr *MockCommonAPIClientMockRecorder) ContainerResize(arg0, arg1, arg2 interface{}) *gomock.Call {
   457  	mr.mock.ctrl.T.Helper()
   458  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerResize", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerResize), arg0, arg1, arg2)
   459  }
   460  
   461  // ContainerRestart mocks base method.
   462  func (m *MockCommonAPIClient) ContainerRestart(arg0 context.Context, arg1 string, arg2 container.StopOptions) error {
   463  	m.ctrl.T.Helper()
   464  	ret := m.ctrl.Call(m, "ContainerRestart", arg0, arg1, arg2)
   465  	ret0, _ := ret[0].(error)
   466  	return ret0
   467  }
   468  
   469  // ContainerRestart indicates an expected call of ContainerRestart.
   470  func (mr *MockCommonAPIClientMockRecorder) ContainerRestart(arg0, arg1, arg2 interface{}) *gomock.Call {
   471  	mr.mock.ctrl.T.Helper()
   472  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerRestart", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerRestart), arg0, arg1, arg2)
   473  }
   474  
   475  // ContainerStart mocks base method.
   476  func (m *MockCommonAPIClient) ContainerStart(arg0 context.Context, arg1 string, arg2 container.StartOptions) error {
   477  	m.ctrl.T.Helper()
   478  	ret := m.ctrl.Call(m, "ContainerStart", arg0, arg1, arg2)
   479  	ret0, _ := ret[0].(error)
   480  	return ret0
   481  }
   482  
   483  // ContainerStart indicates an expected call of ContainerStart.
   484  func (mr *MockCommonAPIClientMockRecorder) ContainerStart(arg0, arg1, arg2 interface{}) *gomock.Call {
   485  	mr.mock.ctrl.T.Helper()
   486  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerStart", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerStart), arg0, arg1, arg2)
   487  }
   488  
   489  // ContainerStatPath mocks base method.
   490  func (m *MockCommonAPIClient) ContainerStatPath(arg0 context.Context, arg1, arg2 string) (types.ContainerPathStat, error) {
   491  	m.ctrl.T.Helper()
   492  	ret := m.ctrl.Call(m, "ContainerStatPath", arg0, arg1, arg2)
   493  	ret0, _ := ret[0].(types.ContainerPathStat)
   494  	ret1, _ := ret[1].(error)
   495  	return ret0, ret1
   496  }
   497  
   498  // ContainerStatPath indicates an expected call of ContainerStatPath.
   499  func (mr *MockCommonAPIClientMockRecorder) ContainerStatPath(arg0, arg1, arg2 interface{}) *gomock.Call {
   500  	mr.mock.ctrl.T.Helper()
   501  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerStatPath", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerStatPath), arg0, arg1, arg2)
   502  }
   503  
   504  // ContainerStats mocks base method.
   505  func (m *MockCommonAPIClient) ContainerStats(arg0 context.Context, arg1 string, arg2 bool) (types.ContainerStats, error) {
   506  	m.ctrl.T.Helper()
   507  	ret := m.ctrl.Call(m, "ContainerStats", arg0, arg1, arg2)
   508  	ret0, _ := ret[0].(types.ContainerStats)
   509  	ret1, _ := ret[1].(error)
   510  	return ret0, ret1
   511  }
   512  
   513  // ContainerStats indicates an expected call of ContainerStats.
   514  func (mr *MockCommonAPIClientMockRecorder) ContainerStats(arg0, arg1, arg2 interface{}) *gomock.Call {
   515  	mr.mock.ctrl.T.Helper()
   516  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerStats", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerStats), arg0, arg1, arg2)
   517  }
   518  
   519  // ContainerStatsOneShot mocks base method.
   520  func (m *MockCommonAPIClient) ContainerStatsOneShot(arg0 context.Context, arg1 string) (types.ContainerStats, error) {
   521  	m.ctrl.T.Helper()
   522  	ret := m.ctrl.Call(m, "ContainerStatsOneShot", arg0, arg1)
   523  	ret0, _ := ret[0].(types.ContainerStats)
   524  	ret1, _ := ret[1].(error)
   525  	return ret0, ret1
   526  }
   527  
   528  // ContainerStatsOneShot indicates an expected call of ContainerStatsOneShot.
   529  func (mr *MockCommonAPIClientMockRecorder) ContainerStatsOneShot(arg0, arg1 interface{}) *gomock.Call {
   530  	mr.mock.ctrl.T.Helper()
   531  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerStatsOneShot", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerStatsOneShot), arg0, arg1)
   532  }
   533  
   534  // ContainerStop mocks base method.
   535  func (m *MockCommonAPIClient) ContainerStop(arg0 context.Context, arg1 string, arg2 container.StopOptions) error {
   536  	m.ctrl.T.Helper()
   537  	ret := m.ctrl.Call(m, "ContainerStop", arg0, arg1, arg2)
   538  	ret0, _ := ret[0].(error)
   539  	return ret0
   540  }
   541  
   542  // ContainerStop indicates an expected call of ContainerStop.
   543  func (mr *MockCommonAPIClientMockRecorder) ContainerStop(arg0, arg1, arg2 interface{}) *gomock.Call {
   544  	mr.mock.ctrl.T.Helper()
   545  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerStop", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerStop), arg0, arg1, arg2)
   546  }
   547  
   548  // ContainerTop mocks base method.
   549  func (m *MockCommonAPIClient) ContainerTop(arg0 context.Context, arg1 string, arg2 []string) (container.ContainerTopOKBody, error) {
   550  	m.ctrl.T.Helper()
   551  	ret := m.ctrl.Call(m, "ContainerTop", arg0, arg1, arg2)
   552  	ret0, _ := ret[0].(container.ContainerTopOKBody)
   553  	ret1, _ := ret[1].(error)
   554  	return ret0, ret1
   555  }
   556  
   557  // ContainerTop indicates an expected call of ContainerTop.
   558  func (mr *MockCommonAPIClientMockRecorder) ContainerTop(arg0, arg1, arg2 interface{}) *gomock.Call {
   559  	mr.mock.ctrl.T.Helper()
   560  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerTop", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerTop), arg0, arg1, arg2)
   561  }
   562  
   563  // ContainerUnpause mocks base method.
   564  func (m *MockCommonAPIClient) ContainerUnpause(arg0 context.Context, arg1 string) error {
   565  	m.ctrl.T.Helper()
   566  	ret := m.ctrl.Call(m, "ContainerUnpause", arg0, arg1)
   567  	ret0, _ := ret[0].(error)
   568  	return ret0
   569  }
   570  
   571  // ContainerUnpause indicates an expected call of ContainerUnpause.
   572  func (mr *MockCommonAPIClientMockRecorder) ContainerUnpause(arg0, arg1 interface{}) *gomock.Call {
   573  	mr.mock.ctrl.T.Helper()
   574  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerUnpause", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerUnpause), arg0, arg1)
   575  }
   576  
   577  // ContainerUpdate mocks base method.
   578  func (m *MockCommonAPIClient) ContainerUpdate(arg0 context.Context, arg1 string, arg2 container.UpdateConfig) (container.ContainerUpdateOKBody, error) {
   579  	m.ctrl.T.Helper()
   580  	ret := m.ctrl.Call(m, "ContainerUpdate", arg0, arg1, arg2)
   581  	ret0, _ := ret[0].(container.ContainerUpdateOKBody)
   582  	ret1, _ := ret[1].(error)
   583  	return ret0, ret1
   584  }
   585  
   586  // ContainerUpdate indicates an expected call of ContainerUpdate.
   587  func (mr *MockCommonAPIClientMockRecorder) ContainerUpdate(arg0, arg1, arg2 interface{}) *gomock.Call {
   588  	mr.mock.ctrl.T.Helper()
   589  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerUpdate", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerUpdate), arg0, arg1, arg2)
   590  }
   591  
   592  // ContainerWait mocks base method.
   593  func (m *MockCommonAPIClient) ContainerWait(arg0 context.Context, arg1 string, arg2 container.WaitCondition) (<-chan container.WaitResponse, <-chan error) {
   594  	m.ctrl.T.Helper()
   595  	ret := m.ctrl.Call(m, "ContainerWait", arg0, arg1, arg2)
   596  	ret0, _ := ret[0].(<-chan container.WaitResponse)
   597  	ret1, _ := ret[1].(<-chan error)
   598  	return ret0, ret1
   599  }
   600  
   601  // ContainerWait indicates an expected call of ContainerWait.
   602  func (mr *MockCommonAPIClientMockRecorder) ContainerWait(arg0, arg1, arg2 interface{}) *gomock.Call {
   603  	mr.mock.ctrl.T.Helper()
   604  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerWait", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainerWait), arg0, arg1, arg2)
   605  }
   606  
   607  // ContainersPrune mocks base method.
   608  func (m *MockCommonAPIClient) ContainersPrune(arg0 context.Context, arg1 filters.Args) (types.ContainersPruneReport, error) {
   609  	m.ctrl.T.Helper()
   610  	ret := m.ctrl.Call(m, "ContainersPrune", arg0, arg1)
   611  	ret0, _ := ret[0].(types.ContainersPruneReport)
   612  	ret1, _ := ret[1].(error)
   613  	return ret0, ret1
   614  }
   615  
   616  // ContainersPrune indicates an expected call of ContainersPrune.
   617  func (mr *MockCommonAPIClientMockRecorder) ContainersPrune(arg0, arg1 interface{}) *gomock.Call {
   618  	mr.mock.ctrl.T.Helper()
   619  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainersPrune", reflect.TypeOf((*MockCommonAPIClient)(nil).ContainersPrune), arg0, arg1)
   620  }
   621  
   622  // CopyFromContainer mocks base method.
   623  func (m *MockCommonAPIClient) CopyFromContainer(arg0 context.Context, arg1, arg2 string) (io.ReadCloser, types.ContainerPathStat, error) {
   624  	m.ctrl.T.Helper()
   625  	ret := m.ctrl.Call(m, "CopyFromContainer", arg0, arg1, arg2)
   626  	ret0, _ := ret[0].(io.ReadCloser)
   627  	ret1, _ := ret[1].(types.ContainerPathStat)
   628  	ret2, _ := ret[2].(error)
   629  	return ret0, ret1, ret2
   630  }
   631  
   632  // CopyFromContainer indicates an expected call of CopyFromContainer.
   633  func (mr *MockCommonAPIClientMockRecorder) CopyFromContainer(arg0, arg1, arg2 interface{}) *gomock.Call {
   634  	mr.mock.ctrl.T.Helper()
   635  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CopyFromContainer", reflect.TypeOf((*MockCommonAPIClient)(nil).CopyFromContainer), arg0, arg1, arg2)
   636  }
   637  
   638  // CopyToContainer mocks base method.
   639  func (m *MockCommonAPIClient) CopyToContainer(arg0 context.Context, arg1, arg2 string, arg3 io.Reader, arg4 types.CopyToContainerOptions) error {
   640  	m.ctrl.T.Helper()
   641  	ret := m.ctrl.Call(m, "CopyToContainer", arg0, arg1, arg2, arg3, arg4)
   642  	ret0, _ := ret[0].(error)
   643  	return ret0
   644  }
   645  
   646  // CopyToContainer indicates an expected call of CopyToContainer.
   647  func (mr *MockCommonAPIClientMockRecorder) CopyToContainer(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
   648  	mr.mock.ctrl.T.Helper()
   649  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CopyToContainer", reflect.TypeOf((*MockCommonAPIClient)(nil).CopyToContainer), arg0, arg1, arg2, arg3, arg4)
   650  }
   651  
   652  // DaemonHost mocks base method.
   653  func (m *MockCommonAPIClient) DaemonHost() string {
   654  	m.ctrl.T.Helper()
   655  	ret := m.ctrl.Call(m, "DaemonHost")
   656  	ret0, _ := ret[0].(string)
   657  	return ret0
   658  }
   659  
   660  // DaemonHost indicates an expected call of DaemonHost.
   661  func (mr *MockCommonAPIClientMockRecorder) DaemonHost() *gomock.Call {
   662  	mr.mock.ctrl.T.Helper()
   663  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DaemonHost", reflect.TypeOf((*MockCommonAPIClient)(nil).DaemonHost))
   664  }
   665  
   666  // DialHijack mocks base method.
   667  func (m *MockCommonAPIClient) DialHijack(arg0 context.Context, arg1, arg2 string, arg3 map[string][]string) (net.Conn, error) {
   668  	m.ctrl.T.Helper()
   669  	ret := m.ctrl.Call(m, "DialHijack", arg0, arg1, arg2, arg3)
   670  	ret0, _ := ret[0].(net.Conn)
   671  	ret1, _ := ret[1].(error)
   672  	return ret0, ret1
   673  }
   674  
   675  // DialHijack indicates an expected call of DialHijack.
   676  func (mr *MockCommonAPIClientMockRecorder) DialHijack(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
   677  	mr.mock.ctrl.T.Helper()
   678  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DialHijack", reflect.TypeOf((*MockCommonAPIClient)(nil).DialHijack), arg0, arg1, arg2, arg3)
   679  }
   680  
   681  // Dialer mocks base method.
   682  func (m *MockCommonAPIClient) Dialer() func(context.Context) (net.Conn, error) {
   683  	m.ctrl.T.Helper()
   684  	ret := m.ctrl.Call(m, "Dialer")
   685  	ret0, _ := ret[0].(func(context.Context) (net.Conn, error))
   686  	return ret0
   687  }
   688  
   689  // Dialer indicates an expected call of Dialer.
   690  func (mr *MockCommonAPIClientMockRecorder) Dialer() *gomock.Call {
   691  	mr.mock.ctrl.T.Helper()
   692  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Dialer", reflect.TypeOf((*MockCommonAPIClient)(nil).Dialer))
   693  }
   694  
   695  // DiskUsage mocks base method.
   696  func (m *MockCommonAPIClient) DiskUsage(arg0 context.Context, arg1 types.DiskUsageOptions) (types.DiskUsage, error) {
   697  	m.ctrl.T.Helper()
   698  	ret := m.ctrl.Call(m, "DiskUsage", arg0, arg1)
   699  	ret0, _ := ret[0].(types.DiskUsage)
   700  	ret1, _ := ret[1].(error)
   701  	return ret0, ret1
   702  }
   703  
   704  // DiskUsage indicates an expected call of DiskUsage.
   705  func (mr *MockCommonAPIClientMockRecorder) DiskUsage(arg0, arg1 interface{}) *gomock.Call {
   706  	mr.mock.ctrl.T.Helper()
   707  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiskUsage", reflect.TypeOf((*MockCommonAPIClient)(nil).DiskUsage), arg0, arg1)
   708  }
   709  
   710  // DistributionInspect mocks base method.
   711  func (m *MockCommonAPIClient) DistributionInspect(arg0 context.Context, arg1, arg2 string) (registry.DistributionInspect, error) {
   712  	m.ctrl.T.Helper()
   713  	ret := m.ctrl.Call(m, "DistributionInspect", arg0, arg1, arg2)
   714  	ret0, _ := ret[0].(registry.DistributionInspect)
   715  	ret1, _ := ret[1].(error)
   716  	return ret0, ret1
   717  }
   718  
   719  // DistributionInspect indicates an expected call of DistributionInspect.
   720  func (mr *MockCommonAPIClientMockRecorder) DistributionInspect(arg0, arg1, arg2 interface{}) *gomock.Call {
   721  	mr.mock.ctrl.T.Helper()
   722  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DistributionInspect", reflect.TypeOf((*MockCommonAPIClient)(nil).DistributionInspect), arg0, arg1, arg2)
   723  }
   724  
   725  // Events mocks base method.
   726  func (m *MockCommonAPIClient) Events(arg0 context.Context, arg1 types.EventsOptions) (<-chan events.Message, <-chan error) {
   727  	m.ctrl.T.Helper()
   728  	ret := m.ctrl.Call(m, "Events", arg0, arg1)
   729  	ret0, _ := ret[0].(<-chan events.Message)
   730  	ret1, _ := ret[1].(<-chan error)
   731  	return ret0, ret1
   732  }
   733  
   734  // Events indicates an expected call of Events.
   735  func (mr *MockCommonAPIClientMockRecorder) Events(arg0, arg1 interface{}) *gomock.Call {
   736  	mr.mock.ctrl.T.Helper()
   737  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Events", reflect.TypeOf((*MockCommonAPIClient)(nil).Events), arg0, arg1)
   738  }
   739  
   740  // HTTPClient mocks base method.
   741  func (m *MockCommonAPIClient) HTTPClient() *http.Client {
   742  	m.ctrl.T.Helper()
   743  	ret := m.ctrl.Call(m, "HTTPClient")
   744  	ret0, _ := ret[0].(*http.Client)
   745  	return ret0
   746  }
   747  
   748  // HTTPClient indicates an expected call of HTTPClient.
   749  func (mr *MockCommonAPIClientMockRecorder) HTTPClient() *gomock.Call {
   750  	mr.mock.ctrl.T.Helper()
   751  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HTTPClient", reflect.TypeOf((*MockCommonAPIClient)(nil).HTTPClient))
   752  }
   753  
   754  // ImageBuild mocks base method.
   755  func (m *MockCommonAPIClient) ImageBuild(arg0 context.Context, arg1 io.Reader, arg2 types.ImageBuildOptions) (types.ImageBuildResponse, error) {
   756  	m.ctrl.T.Helper()
   757  	ret := m.ctrl.Call(m, "ImageBuild", arg0, arg1, arg2)
   758  	ret0, _ := ret[0].(types.ImageBuildResponse)
   759  	ret1, _ := ret[1].(error)
   760  	return ret0, ret1
   761  }
   762  
   763  // ImageBuild indicates an expected call of ImageBuild.
   764  func (mr *MockCommonAPIClientMockRecorder) ImageBuild(arg0, arg1, arg2 interface{}) *gomock.Call {
   765  	mr.mock.ctrl.T.Helper()
   766  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImageBuild", reflect.TypeOf((*MockCommonAPIClient)(nil).ImageBuild), arg0, arg1, arg2)
   767  }
   768  
   769  // ImageCreate mocks base method.
   770  func (m *MockCommonAPIClient) ImageCreate(arg0 context.Context, arg1 string, arg2 image.CreateOptions) (io.ReadCloser, error) {
   771  	m.ctrl.T.Helper()
   772  	ret := m.ctrl.Call(m, "ImageCreate", arg0, arg1, arg2)
   773  	ret0, _ := ret[0].(io.ReadCloser)
   774  	ret1, _ := ret[1].(error)
   775  	return ret0, ret1
   776  }
   777  
   778  // ImageCreate indicates an expected call of ImageCreate.
   779  func (mr *MockCommonAPIClientMockRecorder) ImageCreate(arg0, arg1, arg2 interface{}) *gomock.Call {
   780  	mr.mock.ctrl.T.Helper()
   781  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImageCreate", reflect.TypeOf((*MockCommonAPIClient)(nil).ImageCreate), arg0, arg1, arg2)
   782  }
   783  
   784  // ImageHistory mocks base method.
   785  func (m *MockCommonAPIClient) ImageHistory(arg0 context.Context, arg1 string) ([]image.HistoryResponseItem, error) {
   786  	m.ctrl.T.Helper()
   787  	ret := m.ctrl.Call(m, "ImageHistory", arg0, arg1)
   788  	ret0, _ := ret[0].([]image.HistoryResponseItem)
   789  	ret1, _ := ret[1].(error)
   790  	return ret0, ret1
   791  }
   792  
   793  // ImageHistory indicates an expected call of ImageHistory.
   794  func (mr *MockCommonAPIClientMockRecorder) ImageHistory(arg0, arg1 interface{}) *gomock.Call {
   795  	mr.mock.ctrl.T.Helper()
   796  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImageHistory", reflect.TypeOf((*MockCommonAPIClient)(nil).ImageHistory), arg0, arg1)
   797  }
   798  
   799  // ImageImport mocks base method.
   800  func (m *MockCommonAPIClient) ImageImport(arg0 context.Context, arg1 types.ImageImportSource, arg2 string, arg3 image.ImportOptions) (io.ReadCloser, error) {
   801  	m.ctrl.T.Helper()
   802  	ret := m.ctrl.Call(m, "ImageImport", arg0, arg1, arg2, arg3)
   803  	ret0, _ := ret[0].(io.ReadCloser)
   804  	ret1, _ := ret[1].(error)
   805  	return ret0, ret1
   806  }
   807  
   808  // ImageImport indicates an expected call of ImageImport.
   809  func (mr *MockCommonAPIClientMockRecorder) ImageImport(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
   810  	mr.mock.ctrl.T.Helper()
   811  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImageImport", reflect.TypeOf((*MockCommonAPIClient)(nil).ImageImport), arg0, arg1, arg2, arg3)
   812  }
   813  
   814  // ImageInspectWithRaw mocks base method.
   815  func (m *MockCommonAPIClient) ImageInspectWithRaw(arg0 context.Context, arg1 string) (types.ImageInspect, []byte, error) {
   816  	m.ctrl.T.Helper()
   817  	ret := m.ctrl.Call(m, "ImageInspectWithRaw", arg0, arg1)
   818  	ret0, _ := ret[0].(types.ImageInspect)
   819  	ret1, _ := ret[1].([]byte)
   820  	ret2, _ := ret[2].(error)
   821  	return ret0, ret1, ret2
   822  }
   823  
   824  // ImageInspectWithRaw indicates an expected call of ImageInspectWithRaw.
   825  func (mr *MockCommonAPIClientMockRecorder) ImageInspectWithRaw(arg0, arg1 interface{}) *gomock.Call {
   826  	mr.mock.ctrl.T.Helper()
   827  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImageInspectWithRaw", reflect.TypeOf((*MockCommonAPIClient)(nil).ImageInspectWithRaw), arg0, arg1)
   828  }
   829  
   830  // ImageList mocks base method.
   831  func (m *MockCommonAPIClient) ImageList(arg0 context.Context, arg1 image.ListOptions) ([]image.Summary, error) {
   832  	m.ctrl.T.Helper()
   833  	ret := m.ctrl.Call(m, "ImageList", arg0, arg1)
   834  	ret0, _ := ret[0].([]image.Summary)
   835  	ret1, _ := ret[1].(error)
   836  	return ret0, ret1
   837  }
   838  
   839  // ImageList indicates an expected call of ImageList.
   840  func (mr *MockCommonAPIClientMockRecorder) ImageList(arg0, arg1 interface{}) *gomock.Call {
   841  	mr.mock.ctrl.T.Helper()
   842  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImageList", reflect.TypeOf((*MockCommonAPIClient)(nil).ImageList), arg0, arg1)
   843  }
   844  
   845  // ImageLoad mocks base method.
   846  func (m *MockCommonAPIClient) ImageLoad(arg0 context.Context, arg1 io.Reader, arg2 bool) (types.ImageLoadResponse, error) {
   847  	m.ctrl.T.Helper()
   848  	ret := m.ctrl.Call(m, "ImageLoad", arg0, arg1, arg2)
   849  	ret0, _ := ret[0].(types.ImageLoadResponse)
   850  	ret1, _ := ret[1].(error)
   851  	return ret0, ret1
   852  }
   853  
   854  // ImageLoad indicates an expected call of ImageLoad.
   855  func (mr *MockCommonAPIClientMockRecorder) ImageLoad(arg0, arg1, arg2 interface{}) *gomock.Call {
   856  	mr.mock.ctrl.T.Helper()
   857  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImageLoad", reflect.TypeOf((*MockCommonAPIClient)(nil).ImageLoad), arg0, arg1, arg2)
   858  }
   859  
   860  // ImagePull mocks base method.
   861  func (m *MockCommonAPIClient) ImagePull(arg0 context.Context, arg1 string, arg2 image.PullOptions) (io.ReadCloser, error) {
   862  	m.ctrl.T.Helper()
   863  	ret := m.ctrl.Call(m, "ImagePull", arg0, arg1, arg2)
   864  	ret0, _ := ret[0].(io.ReadCloser)
   865  	ret1, _ := ret[1].(error)
   866  	return ret0, ret1
   867  }
   868  
   869  // ImagePull indicates an expected call of ImagePull.
   870  func (mr *MockCommonAPIClientMockRecorder) ImagePull(arg0, arg1, arg2 interface{}) *gomock.Call {
   871  	mr.mock.ctrl.T.Helper()
   872  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImagePull", reflect.TypeOf((*MockCommonAPIClient)(nil).ImagePull), arg0, arg1, arg2)
   873  }
   874  
   875  // ImagePush mocks base method.
   876  func (m *MockCommonAPIClient) ImagePush(arg0 context.Context, arg1 string, arg2 image.PushOptions) (io.ReadCloser, error) {
   877  	m.ctrl.T.Helper()
   878  	ret := m.ctrl.Call(m, "ImagePush", arg0, arg1, arg2)
   879  	ret0, _ := ret[0].(io.ReadCloser)
   880  	ret1, _ := ret[1].(error)
   881  	return ret0, ret1
   882  }
   883  
   884  // ImagePush indicates an expected call of ImagePush.
   885  func (mr *MockCommonAPIClientMockRecorder) ImagePush(arg0, arg1, arg2 interface{}) *gomock.Call {
   886  	mr.mock.ctrl.T.Helper()
   887  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImagePush", reflect.TypeOf((*MockCommonAPIClient)(nil).ImagePush), arg0, arg1, arg2)
   888  }
   889  
   890  // ImageRemove mocks base method.
   891  func (m *MockCommonAPIClient) ImageRemove(arg0 context.Context, arg1 string, arg2 image.RemoveOptions) ([]image.DeleteResponse, error) {
   892  	m.ctrl.T.Helper()
   893  	ret := m.ctrl.Call(m, "ImageRemove", arg0, arg1, arg2)
   894  	ret0, _ := ret[0].([]image.DeleteResponse)
   895  	ret1, _ := ret[1].(error)
   896  	return ret0, ret1
   897  }
   898  
   899  // ImageRemove indicates an expected call of ImageRemove.
   900  func (mr *MockCommonAPIClientMockRecorder) ImageRemove(arg0, arg1, arg2 interface{}) *gomock.Call {
   901  	mr.mock.ctrl.T.Helper()
   902  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImageRemove", reflect.TypeOf((*MockCommonAPIClient)(nil).ImageRemove), arg0, arg1, arg2)
   903  }
   904  
   905  // ImageSave mocks base method.
   906  func (m *MockCommonAPIClient) ImageSave(arg0 context.Context, arg1 []string) (io.ReadCloser, error) {
   907  	m.ctrl.T.Helper()
   908  	ret := m.ctrl.Call(m, "ImageSave", arg0, arg1)
   909  	ret0, _ := ret[0].(io.ReadCloser)
   910  	ret1, _ := ret[1].(error)
   911  	return ret0, ret1
   912  }
   913  
   914  // ImageSave indicates an expected call of ImageSave.
   915  func (mr *MockCommonAPIClientMockRecorder) ImageSave(arg0, arg1 interface{}) *gomock.Call {
   916  	mr.mock.ctrl.T.Helper()
   917  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImageSave", reflect.TypeOf((*MockCommonAPIClient)(nil).ImageSave), arg0, arg1)
   918  }
   919  
   920  // ImageSearch mocks base method.
   921  func (m *MockCommonAPIClient) ImageSearch(arg0 context.Context, arg1 string, arg2 types.ImageSearchOptions) ([]registry.SearchResult, error) {
   922  	m.ctrl.T.Helper()
   923  	ret := m.ctrl.Call(m, "ImageSearch", arg0, arg1, arg2)
   924  	ret0, _ := ret[0].([]registry.SearchResult)
   925  	ret1, _ := ret[1].(error)
   926  	return ret0, ret1
   927  }
   928  
   929  // ImageSearch indicates an expected call of ImageSearch.
   930  func (mr *MockCommonAPIClientMockRecorder) ImageSearch(arg0, arg1, arg2 interface{}) *gomock.Call {
   931  	mr.mock.ctrl.T.Helper()
   932  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImageSearch", reflect.TypeOf((*MockCommonAPIClient)(nil).ImageSearch), arg0, arg1, arg2)
   933  }
   934  
   935  // ImageTag mocks base method.
   936  func (m *MockCommonAPIClient) ImageTag(arg0 context.Context, arg1, arg2 string) error {
   937  	m.ctrl.T.Helper()
   938  	ret := m.ctrl.Call(m, "ImageTag", arg0, arg1, arg2)
   939  	ret0, _ := ret[0].(error)
   940  	return ret0
   941  }
   942  
   943  // ImageTag indicates an expected call of ImageTag.
   944  func (mr *MockCommonAPIClientMockRecorder) ImageTag(arg0, arg1, arg2 interface{}) *gomock.Call {
   945  	mr.mock.ctrl.T.Helper()
   946  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImageTag", reflect.TypeOf((*MockCommonAPIClient)(nil).ImageTag), arg0, arg1, arg2)
   947  }
   948  
   949  // ImagesPrune mocks base method.
   950  func (m *MockCommonAPIClient) ImagesPrune(arg0 context.Context, arg1 filters.Args) (types.ImagesPruneReport, error) {
   951  	m.ctrl.T.Helper()
   952  	ret := m.ctrl.Call(m, "ImagesPrune", arg0, arg1)
   953  	ret0, _ := ret[0].(types.ImagesPruneReport)
   954  	ret1, _ := ret[1].(error)
   955  	return ret0, ret1
   956  }
   957  
   958  // ImagesPrune indicates an expected call of ImagesPrune.
   959  func (mr *MockCommonAPIClientMockRecorder) ImagesPrune(arg0, arg1 interface{}) *gomock.Call {
   960  	mr.mock.ctrl.T.Helper()
   961  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImagesPrune", reflect.TypeOf((*MockCommonAPIClient)(nil).ImagesPrune), arg0, arg1)
   962  }
   963  
   964  // Info mocks base method.
   965  func (m *MockCommonAPIClient) Info(arg0 context.Context) (system.Info, error) {
   966  	m.ctrl.T.Helper()
   967  	ret := m.ctrl.Call(m, "Info", arg0)
   968  	ret0, _ := ret[0].(system.Info)
   969  	ret1, _ := ret[1].(error)
   970  	return ret0, ret1
   971  }
   972  
   973  // Info indicates an expected call of Info.
   974  func (mr *MockCommonAPIClientMockRecorder) Info(arg0 interface{}) *gomock.Call {
   975  	mr.mock.ctrl.T.Helper()
   976  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Info", reflect.TypeOf((*MockCommonAPIClient)(nil).Info), arg0)
   977  }
   978  
   979  // NegotiateAPIVersion mocks base method.
   980  func (m *MockCommonAPIClient) NegotiateAPIVersion(arg0 context.Context) {
   981  	m.ctrl.T.Helper()
   982  	m.ctrl.Call(m, "NegotiateAPIVersion", arg0)
   983  }
   984  
   985  // NegotiateAPIVersion indicates an expected call of NegotiateAPIVersion.
   986  func (mr *MockCommonAPIClientMockRecorder) NegotiateAPIVersion(arg0 interface{}) *gomock.Call {
   987  	mr.mock.ctrl.T.Helper()
   988  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NegotiateAPIVersion", reflect.TypeOf((*MockCommonAPIClient)(nil).NegotiateAPIVersion), arg0)
   989  }
   990  
   991  // NegotiateAPIVersionPing mocks base method.
   992  func (m *MockCommonAPIClient) NegotiateAPIVersionPing(arg0 types.Ping) {
   993  	m.ctrl.T.Helper()
   994  	m.ctrl.Call(m, "NegotiateAPIVersionPing", arg0)
   995  }
   996  
   997  // NegotiateAPIVersionPing indicates an expected call of NegotiateAPIVersionPing.
   998  func (mr *MockCommonAPIClientMockRecorder) NegotiateAPIVersionPing(arg0 interface{}) *gomock.Call {
   999  	mr.mock.ctrl.T.Helper()
  1000  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NegotiateAPIVersionPing", reflect.TypeOf((*MockCommonAPIClient)(nil).NegotiateAPIVersionPing), arg0)
  1001  }
  1002  
  1003  // NetworkConnect mocks base method.
  1004  func (m *MockCommonAPIClient) NetworkConnect(arg0 context.Context, arg1, arg2 string, arg3 *network.EndpointSettings) error {
  1005  	m.ctrl.T.Helper()
  1006  	ret := m.ctrl.Call(m, "NetworkConnect", arg0, arg1, arg2, arg3)
  1007  	ret0, _ := ret[0].(error)
  1008  	return ret0
  1009  }
  1010  
  1011  // NetworkConnect indicates an expected call of NetworkConnect.
  1012  func (mr *MockCommonAPIClientMockRecorder) NetworkConnect(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  1013  	mr.mock.ctrl.T.Helper()
  1014  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetworkConnect", reflect.TypeOf((*MockCommonAPIClient)(nil).NetworkConnect), arg0, arg1, arg2, arg3)
  1015  }
  1016  
  1017  // NetworkCreate mocks base method.
  1018  func (m *MockCommonAPIClient) NetworkCreate(arg0 context.Context, arg1 string, arg2 types.NetworkCreate) (types.NetworkCreateResponse, error) {
  1019  	m.ctrl.T.Helper()
  1020  	ret := m.ctrl.Call(m, "NetworkCreate", arg0, arg1, arg2)
  1021  	ret0, _ := ret[0].(types.NetworkCreateResponse)
  1022  	ret1, _ := ret[1].(error)
  1023  	return ret0, ret1
  1024  }
  1025  
  1026  // NetworkCreate indicates an expected call of NetworkCreate.
  1027  func (mr *MockCommonAPIClientMockRecorder) NetworkCreate(arg0, arg1, arg2 interface{}) *gomock.Call {
  1028  	mr.mock.ctrl.T.Helper()
  1029  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetworkCreate", reflect.TypeOf((*MockCommonAPIClient)(nil).NetworkCreate), arg0, arg1, arg2)
  1030  }
  1031  
  1032  // NetworkDisconnect mocks base method.
  1033  func (m *MockCommonAPIClient) NetworkDisconnect(arg0 context.Context, arg1, arg2 string, arg3 bool) error {
  1034  	m.ctrl.T.Helper()
  1035  	ret := m.ctrl.Call(m, "NetworkDisconnect", arg0, arg1, arg2, arg3)
  1036  	ret0, _ := ret[0].(error)
  1037  	return ret0
  1038  }
  1039  
  1040  // NetworkDisconnect indicates an expected call of NetworkDisconnect.
  1041  func (mr *MockCommonAPIClientMockRecorder) NetworkDisconnect(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  1042  	mr.mock.ctrl.T.Helper()
  1043  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetworkDisconnect", reflect.TypeOf((*MockCommonAPIClient)(nil).NetworkDisconnect), arg0, arg1, arg2, arg3)
  1044  }
  1045  
  1046  // NetworkInspect mocks base method.
  1047  func (m *MockCommonAPIClient) NetworkInspect(arg0 context.Context, arg1 string, arg2 types.NetworkInspectOptions) (types.NetworkResource, error) {
  1048  	m.ctrl.T.Helper()
  1049  	ret := m.ctrl.Call(m, "NetworkInspect", arg0, arg1, arg2)
  1050  	ret0, _ := ret[0].(types.NetworkResource)
  1051  	ret1, _ := ret[1].(error)
  1052  	return ret0, ret1
  1053  }
  1054  
  1055  // NetworkInspect indicates an expected call of NetworkInspect.
  1056  func (mr *MockCommonAPIClientMockRecorder) NetworkInspect(arg0, arg1, arg2 interface{}) *gomock.Call {
  1057  	mr.mock.ctrl.T.Helper()
  1058  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetworkInspect", reflect.TypeOf((*MockCommonAPIClient)(nil).NetworkInspect), arg0, arg1, arg2)
  1059  }
  1060  
  1061  // NetworkInspectWithRaw mocks base method.
  1062  func (m *MockCommonAPIClient) NetworkInspectWithRaw(arg0 context.Context, arg1 string, arg2 types.NetworkInspectOptions) (types.NetworkResource, []byte, error) {
  1063  	m.ctrl.T.Helper()
  1064  	ret := m.ctrl.Call(m, "NetworkInspectWithRaw", arg0, arg1, arg2)
  1065  	ret0, _ := ret[0].(types.NetworkResource)
  1066  	ret1, _ := ret[1].([]byte)
  1067  	ret2, _ := ret[2].(error)
  1068  	return ret0, ret1, ret2
  1069  }
  1070  
  1071  // NetworkInspectWithRaw indicates an expected call of NetworkInspectWithRaw.
  1072  func (mr *MockCommonAPIClientMockRecorder) NetworkInspectWithRaw(arg0, arg1, arg2 interface{}) *gomock.Call {
  1073  	mr.mock.ctrl.T.Helper()
  1074  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetworkInspectWithRaw", reflect.TypeOf((*MockCommonAPIClient)(nil).NetworkInspectWithRaw), arg0, arg1, arg2)
  1075  }
  1076  
  1077  // NetworkList mocks base method.
  1078  func (m *MockCommonAPIClient) NetworkList(arg0 context.Context, arg1 types.NetworkListOptions) ([]types.NetworkResource, error) {
  1079  	m.ctrl.T.Helper()
  1080  	ret := m.ctrl.Call(m, "NetworkList", arg0, arg1)
  1081  	ret0, _ := ret[0].([]types.NetworkResource)
  1082  	ret1, _ := ret[1].(error)
  1083  	return ret0, ret1
  1084  }
  1085  
  1086  // NetworkList indicates an expected call of NetworkList.
  1087  func (mr *MockCommonAPIClientMockRecorder) NetworkList(arg0, arg1 interface{}) *gomock.Call {
  1088  	mr.mock.ctrl.T.Helper()
  1089  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetworkList", reflect.TypeOf((*MockCommonAPIClient)(nil).NetworkList), arg0, arg1)
  1090  }
  1091  
  1092  // NetworkRemove mocks base method.
  1093  func (m *MockCommonAPIClient) NetworkRemove(arg0 context.Context, arg1 string) error {
  1094  	m.ctrl.T.Helper()
  1095  	ret := m.ctrl.Call(m, "NetworkRemove", arg0, arg1)
  1096  	ret0, _ := ret[0].(error)
  1097  	return ret0
  1098  }
  1099  
  1100  // NetworkRemove indicates an expected call of NetworkRemove.
  1101  func (mr *MockCommonAPIClientMockRecorder) NetworkRemove(arg0, arg1 interface{}) *gomock.Call {
  1102  	mr.mock.ctrl.T.Helper()
  1103  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetworkRemove", reflect.TypeOf((*MockCommonAPIClient)(nil).NetworkRemove), arg0, arg1)
  1104  }
  1105  
  1106  // NetworksPrune mocks base method.
  1107  func (m *MockCommonAPIClient) NetworksPrune(arg0 context.Context, arg1 filters.Args) (types.NetworksPruneReport, error) {
  1108  	m.ctrl.T.Helper()
  1109  	ret := m.ctrl.Call(m, "NetworksPrune", arg0, arg1)
  1110  	ret0, _ := ret[0].(types.NetworksPruneReport)
  1111  	ret1, _ := ret[1].(error)
  1112  	return ret0, ret1
  1113  }
  1114  
  1115  // NetworksPrune indicates an expected call of NetworksPrune.
  1116  func (mr *MockCommonAPIClientMockRecorder) NetworksPrune(arg0, arg1 interface{}) *gomock.Call {
  1117  	mr.mock.ctrl.T.Helper()
  1118  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetworksPrune", reflect.TypeOf((*MockCommonAPIClient)(nil).NetworksPrune), arg0, arg1)
  1119  }
  1120  
  1121  // NodeInspectWithRaw mocks base method.
  1122  func (m *MockCommonAPIClient) NodeInspectWithRaw(arg0 context.Context, arg1 string) (swarm.Node, []byte, error) {
  1123  	m.ctrl.T.Helper()
  1124  	ret := m.ctrl.Call(m, "NodeInspectWithRaw", arg0, arg1)
  1125  	ret0, _ := ret[0].(swarm.Node)
  1126  	ret1, _ := ret[1].([]byte)
  1127  	ret2, _ := ret[2].(error)
  1128  	return ret0, ret1, ret2
  1129  }
  1130  
  1131  // NodeInspectWithRaw indicates an expected call of NodeInspectWithRaw.
  1132  func (mr *MockCommonAPIClientMockRecorder) NodeInspectWithRaw(arg0, arg1 interface{}) *gomock.Call {
  1133  	mr.mock.ctrl.T.Helper()
  1134  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NodeInspectWithRaw", reflect.TypeOf((*MockCommonAPIClient)(nil).NodeInspectWithRaw), arg0, arg1)
  1135  }
  1136  
  1137  // NodeList mocks base method.
  1138  func (m *MockCommonAPIClient) NodeList(arg0 context.Context, arg1 types.NodeListOptions) ([]swarm.Node, error) {
  1139  	m.ctrl.T.Helper()
  1140  	ret := m.ctrl.Call(m, "NodeList", arg0, arg1)
  1141  	ret0, _ := ret[0].([]swarm.Node)
  1142  	ret1, _ := ret[1].(error)
  1143  	return ret0, ret1
  1144  }
  1145  
  1146  // NodeList indicates an expected call of NodeList.
  1147  func (mr *MockCommonAPIClientMockRecorder) NodeList(arg0, arg1 interface{}) *gomock.Call {
  1148  	mr.mock.ctrl.T.Helper()
  1149  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NodeList", reflect.TypeOf((*MockCommonAPIClient)(nil).NodeList), arg0, arg1)
  1150  }
  1151  
  1152  // NodeRemove mocks base method.
  1153  func (m *MockCommonAPIClient) NodeRemove(arg0 context.Context, arg1 string, arg2 types.NodeRemoveOptions) error {
  1154  	m.ctrl.T.Helper()
  1155  	ret := m.ctrl.Call(m, "NodeRemove", arg0, arg1, arg2)
  1156  	ret0, _ := ret[0].(error)
  1157  	return ret0
  1158  }
  1159  
  1160  // NodeRemove indicates an expected call of NodeRemove.
  1161  func (mr *MockCommonAPIClientMockRecorder) NodeRemove(arg0, arg1, arg2 interface{}) *gomock.Call {
  1162  	mr.mock.ctrl.T.Helper()
  1163  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NodeRemove", reflect.TypeOf((*MockCommonAPIClient)(nil).NodeRemove), arg0, arg1, arg2)
  1164  }
  1165  
  1166  // NodeUpdate mocks base method.
  1167  func (m *MockCommonAPIClient) NodeUpdate(arg0 context.Context, arg1 string, arg2 swarm.Version, arg3 swarm.NodeSpec) error {
  1168  	m.ctrl.T.Helper()
  1169  	ret := m.ctrl.Call(m, "NodeUpdate", arg0, arg1, arg2, arg3)
  1170  	ret0, _ := ret[0].(error)
  1171  	return ret0
  1172  }
  1173  
  1174  // NodeUpdate indicates an expected call of NodeUpdate.
  1175  func (mr *MockCommonAPIClientMockRecorder) NodeUpdate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  1176  	mr.mock.ctrl.T.Helper()
  1177  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NodeUpdate", reflect.TypeOf((*MockCommonAPIClient)(nil).NodeUpdate), arg0, arg1, arg2, arg3)
  1178  }
  1179  
  1180  // Ping mocks base method.
  1181  func (m *MockCommonAPIClient) Ping(arg0 context.Context) (types.Ping, error) {
  1182  	m.ctrl.T.Helper()
  1183  	ret := m.ctrl.Call(m, "Ping", arg0)
  1184  	ret0, _ := ret[0].(types.Ping)
  1185  	ret1, _ := ret[1].(error)
  1186  	return ret0, ret1
  1187  }
  1188  
  1189  // Ping indicates an expected call of Ping.
  1190  func (mr *MockCommonAPIClientMockRecorder) Ping(arg0 interface{}) *gomock.Call {
  1191  	mr.mock.ctrl.T.Helper()
  1192  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Ping", reflect.TypeOf((*MockCommonAPIClient)(nil).Ping), arg0)
  1193  }
  1194  
  1195  // PluginCreate mocks base method.
  1196  func (m *MockCommonAPIClient) PluginCreate(arg0 context.Context, arg1 io.Reader, arg2 types.PluginCreateOptions) error {
  1197  	m.ctrl.T.Helper()
  1198  	ret := m.ctrl.Call(m, "PluginCreate", arg0, arg1, arg2)
  1199  	ret0, _ := ret[0].(error)
  1200  	return ret0
  1201  }
  1202  
  1203  // PluginCreate indicates an expected call of PluginCreate.
  1204  func (mr *MockCommonAPIClientMockRecorder) PluginCreate(arg0, arg1, arg2 interface{}) *gomock.Call {
  1205  	mr.mock.ctrl.T.Helper()
  1206  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PluginCreate", reflect.TypeOf((*MockCommonAPIClient)(nil).PluginCreate), arg0, arg1, arg2)
  1207  }
  1208  
  1209  // PluginDisable mocks base method.
  1210  func (m *MockCommonAPIClient) PluginDisable(arg0 context.Context, arg1 string, arg2 types.PluginDisableOptions) error {
  1211  	m.ctrl.T.Helper()
  1212  	ret := m.ctrl.Call(m, "PluginDisable", arg0, arg1, arg2)
  1213  	ret0, _ := ret[0].(error)
  1214  	return ret0
  1215  }
  1216  
  1217  // PluginDisable indicates an expected call of PluginDisable.
  1218  func (mr *MockCommonAPIClientMockRecorder) PluginDisable(arg0, arg1, arg2 interface{}) *gomock.Call {
  1219  	mr.mock.ctrl.T.Helper()
  1220  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PluginDisable", reflect.TypeOf((*MockCommonAPIClient)(nil).PluginDisable), arg0, arg1, arg2)
  1221  }
  1222  
  1223  // PluginEnable mocks base method.
  1224  func (m *MockCommonAPIClient) PluginEnable(arg0 context.Context, arg1 string, arg2 types.PluginEnableOptions) error {
  1225  	m.ctrl.T.Helper()
  1226  	ret := m.ctrl.Call(m, "PluginEnable", arg0, arg1, arg2)
  1227  	ret0, _ := ret[0].(error)
  1228  	return ret0
  1229  }
  1230  
  1231  // PluginEnable indicates an expected call of PluginEnable.
  1232  func (mr *MockCommonAPIClientMockRecorder) PluginEnable(arg0, arg1, arg2 interface{}) *gomock.Call {
  1233  	mr.mock.ctrl.T.Helper()
  1234  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PluginEnable", reflect.TypeOf((*MockCommonAPIClient)(nil).PluginEnable), arg0, arg1, arg2)
  1235  }
  1236  
  1237  // PluginInspectWithRaw mocks base method.
  1238  func (m *MockCommonAPIClient) PluginInspectWithRaw(arg0 context.Context, arg1 string) (*types.Plugin, []byte, error) {
  1239  	m.ctrl.T.Helper()
  1240  	ret := m.ctrl.Call(m, "PluginInspectWithRaw", arg0, arg1)
  1241  	ret0, _ := ret[0].(*types.Plugin)
  1242  	ret1, _ := ret[1].([]byte)
  1243  	ret2, _ := ret[2].(error)
  1244  	return ret0, ret1, ret2
  1245  }
  1246  
  1247  // PluginInspectWithRaw indicates an expected call of PluginInspectWithRaw.
  1248  func (mr *MockCommonAPIClientMockRecorder) PluginInspectWithRaw(arg0, arg1 interface{}) *gomock.Call {
  1249  	mr.mock.ctrl.T.Helper()
  1250  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PluginInspectWithRaw", reflect.TypeOf((*MockCommonAPIClient)(nil).PluginInspectWithRaw), arg0, arg1)
  1251  }
  1252  
  1253  // PluginInstall mocks base method.
  1254  func (m *MockCommonAPIClient) PluginInstall(arg0 context.Context, arg1 string, arg2 types.PluginInstallOptions) (io.ReadCloser, error) {
  1255  	m.ctrl.T.Helper()
  1256  	ret := m.ctrl.Call(m, "PluginInstall", arg0, arg1, arg2)
  1257  	ret0, _ := ret[0].(io.ReadCloser)
  1258  	ret1, _ := ret[1].(error)
  1259  	return ret0, ret1
  1260  }
  1261  
  1262  // PluginInstall indicates an expected call of PluginInstall.
  1263  func (mr *MockCommonAPIClientMockRecorder) PluginInstall(arg0, arg1, arg2 interface{}) *gomock.Call {
  1264  	mr.mock.ctrl.T.Helper()
  1265  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PluginInstall", reflect.TypeOf((*MockCommonAPIClient)(nil).PluginInstall), arg0, arg1, arg2)
  1266  }
  1267  
  1268  // PluginList mocks base method.
  1269  func (m *MockCommonAPIClient) PluginList(arg0 context.Context, arg1 filters.Args) (types.PluginsListResponse, error) {
  1270  	m.ctrl.T.Helper()
  1271  	ret := m.ctrl.Call(m, "PluginList", arg0, arg1)
  1272  	ret0, _ := ret[0].(types.PluginsListResponse)
  1273  	ret1, _ := ret[1].(error)
  1274  	return ret0, ret1
  1275  }
  1276  
  1277  // PluginList indicates an expected call of PluginList.
  1278  func (mr *MockCommonAPIClientMockRecorder) PluginList(arg0, arg1 interface{}) *gomock.Call {
  1279  	mr.mock.ctrl.T.Helper()
  1280  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PluginList", reflect.TypeOf((*MockCommonAPIClient)(nil).PluginList), arg0, arg1)
  1281  }
  1282  
  1283  // PluginPush mocks base method.
  1284  func (m *MockCommonAPIClient) PluginPush(arg0 context.Context, arg1, arg2 string) (io.ReadCloser, error) {
  1285  	m.ctrl.T.Helper()
  1286  	ret := m.ctrl.Call(m, "PluginPush", arg0, arg1, arg2)
  1287  	ret0, _ := ret[0].(io.ReadCloser)
  1288  	ret1, _ := ret[1].(error)
  1289  	return ret0, ret1
  1290  }
  1291  
  1292  // PluginPush indicates an expected call of PluginPush.
  1293  func (mr *MockCommonAPIClientMockRecorder) PluginPush(arg0, arg1, arg2 interface{}) *gomock.Call {
  1294  	mr.mock.ctrl.T.Helper()
  1295  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PluginPush", reflect.TypeOf((*MockCommonAPIClient)(nil).PluginPush), arg0, arg1, arg2)
  1296  }
  1297  
  1298  // PluginRemove mocks base method.
  1299  func (m *MockCommonAPIClient) PluginRemove(arg0 context.Context, arg1 string, arg2 types.PluginRemoveOptions) error {
  1300  	m.ctrl.T.Helper()
  1301  	ret := m.ctrl.Call(m, "PluginRemove", arg0, arg1, arg2)
  1302  	ret0, _ := ret[0].(error)
  1303  	return ret0
  1304  }
  1305  
  1306  // PluginRemove indicates an expected call of PluginRemove.
  1307  func (mr *MockCommonAPIClientMockRecorder) PluginRemove(arg0, arg1, arg2 interface{}) *gomock.Call {
  1308  	mr.mock.ctrl.T.Helper()
  1309  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PluginRemove", reflect.TypeOf((*MockCommonAPIClient)(nil).PluginRemove), arg0, arg1, arg2)
  1310  }
  1311  
  1312  // PluginSet mocks base method.
  1313  func (m *MockCommonAPIClient) PluginSet(arg0 context.Context, arg1 string, arg2 []string) error {
  1314  	m.ctrl.T.Helper()
  1315  	ret := m.ctrl.Call(m, "PluginSet", arg0, arg1, arg2)
  1316  	ret0, _ := ret[0].(error)
  1317  	return ret0
  1318  }
  1319  
  1320  // PluginSet indicates an expected call of PluginSet.
  1321  func (mr *MockCommonAPIClientMockRecorder) PluginSet(arg0, arg1, arg2 interface{}) *gomock.Call {
  1322  	mr.mock.ctrl.T.Helper()
  1323  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PluginSet", reflect.TypeOf((*MockCommonAPIClient)(nil).PluginSet), arg0, arg1, arg2)
  1324  }
  1325  
  1326  // PluginUpgrade mocks base method.
  1327  func (m *MockCommonAPIClient) PluginUpgrade(arg0 context.Context, arg1 string, arg2 types.PluginInstallOptions) (io.ReadCloser, error) {
  1328  	m.ctrl.T.Helper()
  1329  	ret := m.ctrl.Call(m, "PluginUpgrade", arg0, arg1, arg2)
  1330  	ret0, _ := ret[0].(io.ReadCloser)
  1331  	ret1, _ := ret[1].(error)
  1332  	return ret0, ret1
  1333  }
  1334  
  1335  // PluginUpgrade indicates an expected call of PluginUpgrade.
  1336  func (mr *MockCommonAPIClientMockRecorder) PluginUpgrade(arg0, arg1, arg2 interface{}) *gomock.Call {
  1337  	mr.mock.ctrl.T.Helper()
  1338  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PluginUpgrade", reflect.TypeOf((*MockCommonAPIClient)(nil).PluginUpgrade), arg0, arg1, arg2)
  1339  }
  1340  
  1341  // RegistryLogin mocks base method.
  1342  func (m *MockCommonAPIClient) RegistryLogin(arg0 context.Context, arg1 registry.AuthConfig) (registry.AuthenticateOKBody, error) {
  1343  	m.ctrl.T.Helper()
  1344  	ret := m.ctrl.Call(m, "RegistryLogin", arg0, arg1)
  1345  	ret0, _ := ret[0].(registry.AuthenticateOKBody)
  1346  	ret1, _ := ret[1].(error)
  1347  	return ret0, ret1
  1348  }
  1349  
  1350  // RegistryLogin indicates an expected call of RegistryLogin.
  1351  func (mr *MockCommonAPIClientMockRecorder) RegistryLogin(arg0, arg1 interface{}) *gomock.Call {
  1352  	mr.mock.ctrl.T.Helper()
  1353  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegistryLogin", reflect.TypeOf((*MockCommonAPIClient)(nil).RegistryLogin), arg0, arg1)
  1354  }
  1355  
  1356  // SecretCreate mocks base method.
  1357  func (m *MockCommonAPIClient) SecretCreate(arg0 context.Context, arg1 swarm.SecretSpec) (types.SecretCreateResponse, error) {
  1358  	m.ctrl.T.Helper()
  1359  	ret := m.ctrl.Call(m, "SecretCreate", arg0, arg1)
  1360  	ret0, _ := ret[0].(types.SecretCreateResponse)
  1361  	ret1, _ := ret[1].(error)
  1362  	return ret0, ret1
  1363  }
  1364  
  1365  // SecretCreate indicates an expected call of SecretCreate.
  1366  func (mr *MockCommonAPIClientMockRecorder) SecretCreate(arg0, arg1 interface{}) *gomock.Call {
  1367  	mr.mock.ctrl.T.Helper()
  1368  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecretCreate", reflect.TypeOf((*MockCommonAPIClient)(nil).SecretCreate), arg0, arg1)
  1369  }
  1370  
  1371  // SecretInspectWithRaw mocks base method.
  1372  func (m *MockCommonAPIClient) SecretInspectWithRaw(arg0 context.Context, arg1 string) (swarm.Secret, []byte, error) {
  1373  	m.ctrl.T.Helper()
  1374  	ret := m.ctrl.Call(m, "SecretInspectWithRaw", arg0, arg1)
  1375  	ret0, _ := ret[0].(swarm.Secret)
  1376  	ret1, _ := ret[1].([]byte)
  1377  	ret2, _ := ret[2].(error)
  1378  	return ret0, ret1, ret2
  1379  }
  1380  
  1381  // SecretInspectWithRaw indicates an expected call of SecretInspectWithRaw.
  1382  func (mr *MockCommonAPIClientMockRecorder) SecretInspectWithRaw(arg0, arg1 interface{}) *gomock.Call {
  1383  	mr.mock.ctrl.T.Helper()
  1384  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecretInspectWithRaw", reflect.TypeOf((*MockCommonAPIClient)(nil).SecretInspectWithRaw), arg0, arg1)
  1385  }
  1386  
  1387  // SecretList mocks base method.
  1388  func (m *MockCommonAPIClient) SecretList(arg0 context.Context, arg1 types.SecretListOptions) ([]swarm.Secret, error) {
  1389  	m.ctrl.T.Helper()
  1390  	ret := m.ctrl.Call(m, "SecretList", arg0, arg1)
  1391  	ret0, _ := ret[0].([]swarm.Secret)
  1392  	ret1, _ := ret[1].(error)
  1393  	return ret0, ret1
  1394  }
  1395  
  1396  // SecretList indicates an expected call of SecretList.
  1397  func (mr *MockCommonAPIClientMockRecorder) SecretList(arg0, arg1 interface{}) *gomock.Call {
  1398  	mr.mock.ctrl.T.Helper()
  1399  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecretList", reflect.TypeOf((*MockCommonAPIClient)(nil).SecretList), arg0, arg1)
  1400  }
  1401  
  1402  // SecretRemove mocks base method.
  1403  func (m *MockCommonAPIClient) SecretRemove(arg0 context.Context, arg1 string) error {
  1404  	m.ctrl.T.Helper()
  1405  	ret := m.ctrl.Call(m, "SecretRemove", arg0, arg1)
  1406  	ret0, _ := ret[0].(error)
  1407  	return ret0
  1408  }
  1409  
  1410  // SecretRemove indicates an expected call of SecretRemove.
  1411  func (mr *MockCommonAPIClientMockRecorder) SecretRemove(arg0, arg1 interface{}) *gomock.Call {
  1412  	mr.mock.ctrl.T.Helper()
  1413  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecretRemove", reflect.TypeOf((*MockCommonAPIClient)(nil).SecretRemove), arg0, arg1)
  1414  }
  1415  
  1416  // SecretUpdate mocks base method.
  1417  func (m *MockCommonAPIClient) SecretUpdate(arg0 context.Context, arg1 string, arg2 swarm.Version, arg3 swarm.SecretSpec) error {
  1418  	m.ctrl.T.Helper()
  1419  	ret := m.ctrl.Call(m, "SecretUpdate", arg0, arg1, arg2, arg3)
  1420  	ret0, _ := ret[0].(error)
  1421  	return ret0
  1422  }
  1423  
  1424  // SecretUpdate indicates an expected call of SecretUpdate.
  1425  func (mr *MockCommonAPIClientMockRecorder) SecretUpdate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  1426  	mr.mock.ctrl.T.Helper()
  1427  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecretUpdate", reflect.TypeOf((*MockCommonAPIClient)(nil).SecretUpdate), arg0, arg1, arg2, arg3)
  1428  }
  1429  
  1430  // ServerVersion mocks base method.
  1431  func (m *MockCommonAPIClient) ServerVersion(arg0 context.Context) (types.Version, error) {
  1432  	m.ctrl.T.Helper()
  1433  	ret := m.ctrl.Call(m, "ServerVersion", arg0)
  1434  	ret0, _ := ret[0].(types.Version)
  1435  	ret1, _ := ret[1].(error)
  1436  	return ret0, ret1
  1437  }
  1438  
  1439  // ServerVersion indicates an expected call of ServerVersion.
  1440  func (mr *MockCommonAPIClientMockRecorder) ServerVersion(arg0 interface{}) *gomock.Call {
  1441  	mr.mock.ctrl.T.Helper()
  1442  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServerVersion", reflect.TypeOf((*MockCommonAPIClient)(nil).ServerVersion), arg0)
  1443  }
  1444  
  1445  // ServiceCreate mocks base method.
  1446  func (m *MockCommonAPIClient) ServiceCreate(arg0 context.Context, arg1 swarm.ServiceSpec, arg2 types.ServiceCreateOptions) (swarm.ServiceCreateResponse, error) {
  1447  	m.ctrl.T.Helper()
  1448  	ret := m.ctrl.Call(m, "ServiceCreate", arg0, arg1, arg2)
  1449  	ret0, _ := ret[0].(swarm.ServiceCreateResponse)
  1450  	ret1, _ := ret[1].(error)
  1451  	return ret0, ret1
  1452  }
  1453  
  1454  // ServiceCreate indicates an expected call of ServiceCreate.
  1455  func (mr *MockCommonAPIClientMockRecorder) ServiceCreate(arg0, arg1, arg2 interface{}) *gomock.Call {
  1456  	mr.mock.ctrl.T.Helper()
  1457  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServiceCreate", reflect.TypeOf((*MockCommonAPIClient)(nil).ServiceCreate), arg0, arg1, arg2)
  1458  }
  1459  
  1460  // ServiceInspectWithRaw mocks base method.
  1461  func (m *MockCommonAPIClient) ServiceInspectWithRaw(arg0 context.Context, arg1 string, arg2 types.ServiceInspectOptions) (swarm.Service, []byte, error) {
  1462  	m.ctrl.T.Helper()
  1463  	ret := m.ctrl.Call(m, "ServiceInspectWithRaw", arg0, arg1, arg2)
  1464  	ret0, _ := ret[0].(swarm.Service)
  1465  	ret1, _ := ret[1].([]byte)
  1466  	ret2, _ := ret[2].(error)
  1467  	return ret0, ret1, ret2
  1468  }
  1469  
  1470  // ServiceInspectWithRaw indicates an expected call of ServiceInspectWithRaw.
  1471  func (mr *MockCommonAPIClientMockRecorder) ServiceInspectWithRaw(arg0, arg1, arg2 interface{}) *gomock.Call {
  1472  	mr.mock.ctrl.T.Helper()
  1473  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServiceInspectWithRaw", reflect.TypeOf((*MockCommonAPIClient)(nil).ServiceInspectWithRaw), arg0, arg1, arg2)
  1474  }
  1475  
  1476  // ServiceList mocks base method.
  1477  func (m *MockCommonAPIClient) ServiceList(arg0 context.Context, arg1 types.ServiceListOptions) ([]swarm.Service, error) {
  1478  	m.ctrl.T.Helper()
  1479  	ret := m.ctrl.Call(m, "ServiceList", arg0, arg1)
  1480  	ret0, _ := ret[0].([]swarm.Service)
  1481  	ret1, _ := ret[1].(error)
  1482  	return ret0, ret1
  1483  }
  1484  
  1485  // ServiceList indicates an expected call of ServiceList.
  1486  func (mr *MockCommonAPIClientMockRecorder) ServiceList(arg0, arg1 interface{}) *gomock.Call {
  1487  	mr.mock.ctrl.T.Helper()
  1488  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServiceList", reflect.TypeOf((*MockCommonAPIClient)(nil).ServiceList), arg0, arg1)
  1489  }
  1490  
  1491  // ServiceLogs mocks base method.
  1492  func (m *MockCommonAPIClient) ServiceLogs(arg0 context.Context, arg1 string, arg2 container.LogsOptions) (io.ReadCloser, error) {
  1493  	m.ctrl.T.Helper()
  1494  	ret := m.ctrl.Call(m, "ServiceLogs", arg0, arg1, arg2)
  1495  	ret0, _ := ret[0].(io.ReadCloser)
  1496  	ret1, _ := ret[1].(error)
  1497  	return ret0, ret1
  1498  }
  1499  
  1500  // ServiceLogs indicates an expected call of ServiceLogs.
  1501  func (mr *MockCommonAPIClientMockRecorder) ServiceLogs(arg0, arg1, arg2 interface{}) *gomock.Call {
  1502  	mr.mock.ctrl.T.Helper()
  1503  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServiceLogs", reflect.TypeOf((*MockCommonAPIClient)(nil).ServiceLogs), arg0, arg1, arg2)
  1504  }
  1505  
  1506  // ServiceRemove mocks base method.
  1507  func (m *MockCommonAPIClient) ServiceRemove(arg0 context.Context, arg1 string) error {
  1508  	m.ctrl.T.Helper()
  1509  	ret := m.ctrl.Call(m, "ServiceRemove", arg0, arg1)
  1510  	ret0, _ := ret[0].(error)
  1511  	return ret0
  1512  }
  1513  
  1514  // ServiceRemove indicates an expected call of ServiceRemove.
  1515  func (mr *MockCommonAPIClientMockRecorder) ServiceRemove(arg0, arg1 interface{}) *gomock.Call {
  1516  	mr.mock.ctrl.T.Helper()
  1517  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServiceRemove", reflect.TypeOf((*MockCommonAPIClient)(nil).ServiceRemove), arg0, arg1)
  1518  }
  1519  
  1520  // ServiceUpdate mocks base method.
  1521  func (m *MockCommonAPIClient) ServiceUpdate(arg0 context.Context, arg1 string, arg2 swarm.Version, arg3 swarm.ServiceSpec, arg4 types.ServiceUpdateOptions) (swarm.ServiceUpdateResponse, error) {
  1522  	m.ctrl.T.Helper()
  1523  	ret := m.ctrl.Call(m, "ServiceUpdate", arg0, arg1, arg2, arg3, arg4)
  1524  	ret0, _ := ret[0].(swarm.ServiceUpdateResponse)
  1525  	ret1, _ := ret[1].(error)
  1526  	return ret0, ret1
  1527  }
  1528  
  1529  // ServiceUpdate indicates an expected call of ServiceUpdate.
  1530  func (mr *MockCommonAPIClientMockRecorder) ServiceUpdate(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
  1531  	mr.mock.ctrl.T.Helper()
  1532  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServiceUpdate", reflect.TypeOf((*MockCommonAPIClient)(nil).ServiceUpdate), arg0, arg1, arg2, arg3, arg4)
  1533  }
  1534  
  1535  // SwarmGetUnlockKey mocks base method.
  1536  func (m *MockCommonAPIClient) SwarmGetUnlockKey(arg0 context.Context) (types.SwarmUnlockKeyResponse, error) {
  1537  	m.ctrl.T.Helper()
  1538  	ret := m.ctrl.Call(m, "SwarmGetUnlockKey", arg0)
  1539  	ret0, _ := ret[0].(types.SwarmUnlockKeyResponse)
  1540  	ret1, _ := ret[1].(error)
  1541  	return ret0, ret1
  1542  }
  1543  
  1544  // SwarmGetUnlockKey indicates an expected call of SwarmGetUnlockKey.
  1545  func (mr *MockCommonAPIClientMockRecorder) SwarmGetUnlockKey(arg0 interface{}) *gomock.Call {
  1546  	mr.mock.ctrl.T.Helper()
  1547  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SwarmGetUnlockKey", reflect.TypeOf((*MockCommonAPIClient)(nil).SwarmGetUnlockKey), arg0)
  1548  }
  1549  
  1550  // SwarmInit mocks base method.
  1551  func (m *MockCommonAPIClient) SwarmInit(arg0 context.Context, arg1 swarm.InitRequest) (string, error) {
  1552  	m.ctrl.T.Helper()
  1553  	ret := m.ctrl.Call(m, "SwarmInit", arg0, arg1)
  1554  	ret0, _ := ret[0].(string)
  1555  	ret1, _ := ret[1].(error)
  1556  	return ret0, ret1
  1557  }
  1558  
  1559  // SwarmInit indicates an expected call of SwarmInit.
  1560  func (mr *MockCommonAPIClientMockRecorder) SwarmInit(arg0, arg1 interface{}) *gomock.Call {
  1561  	mr.mock.ctrl.T.Helper()
  1562  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SwarmInit", reflect.TypeOf((*MockCommonAPIClient)(nil).SwarmInit), arg0, arg1)
  1563  }
  1564  
  1565  // SwarmInspect mocks base method.
  1566  func (m *MockCommonAPIClient) SwarmInspect(arg0 context.Context) (swarm.Swarm, error) {
  1567  	m.ctrl.T.Helper()
  1568  	ret := m.ctrl.Call(m, "SwarmInspect", arg0)
  1569  	ret0, _ := ret[0].(swarm.Swarm)
  1570  	ret1, _ := ret[1].(error)
  1571  	return ret0, ret1
  1572  }
  1573  
  1574  // SwarmInspect indicates an expected call of SwarmInspect.
  1575  func (mr *MockCommonAPIClientMockRecorder) SwarmInspect(arg0 interface{}) *gomock.Call {
  1576  	mr.mock.ctrl.T.Helper()
  1577  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SwarmInspect", reflect.TypeOf((*MockCommonAPIClient)(nil).SwarmInspect), arg0)
  1578  }
  1579  
  1580  // SwarmJoin mocks base method.
  1581  func (m *MockCommonAPIClient) SwarmJoin(arg0 context.Context, arg1 swarm.JoinRequest) error {
  1582  	m.ctrl.T.Helper()
  1583  	ret := m.ctrl.Call(m, "SwarmJoin", arg0, arg1)
  1584  	ret0, _ := ret[0].(error)
  1585  	return ret0
  1586  }
  1587  
  1588  // SwarmJoin indicates an expected call of SwarmJoin.
  1589  func (mr *MockCommonAPIClientMockRecorder) SwarmJoin(arg0, arg1 interface{}) *gomock.Call {
  1590  	mr.mock.ctrl.T.Helper()
  1591  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SwarmJoin", reflect.TypeOf((*MockCommonAPIClient)(nil).SwarmJoin), arg0, arg1)
  1592  }
  1593  
  1594  // SwarmLeave mocks base method.
  1595  func (m *MockCommonAPIClient) SwarmLeave(arg0 context.Context, arg1 bool) error {
  1596  	m.ctrl.T.Helper()
  1597  	ret := m.ctrl.Call(m, "SwarmLeave", arg0, arg1)
  1598  	ret0, _ := ret[0].(error)
  1599  	return ret0
  1600  }
  1601  
  1602  // SwarmLeave indicates an expected call of SwarmLeave.
  1603  func (mr *MockCommonAPIClientMockRecorder) SwarmLeave(arg0, arg1 interface{}) *gomock.Call {
  1604  	mr.mock.ctrl.T.Helper()
  1605  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SwarmLeave", reflect.TypeOf((*MockCommonAPIClient)(nil).SwarmLeave), arg0, arg1)
  1606  }
  1607  
  1608  // SwarmUnlock mocks base method.
  1609  func (m *MockCommonAPIClient) SwarmUnlock(arg0 context.Context, arg1 swarm.UnlockRequest) error {
  1610  	m.ctrl.T.Helper()
  1611  	ret := m.ctrl.Call(m, "SwarmUnlock", arg0, arg1)
  1612  	ret0, _ := ret[0].(error)
  1613  	return ret0
  1614  }
  1615  
  1616  // SwarmUnlock indicates an expected call of SwarmUnlock.
  1617  func (mr *MockCommonAPIClientMockRecorder) SwarmUnlock(arg0, arg1 interface{}) *gomock.Call {
  1618  	mr.mock.ctrl.T.Helper()
  1619  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SwarmUnlock", reflect.TypeOf((*MockCommonAPIClient)(nil).SwarmUnlock), arg0, arg1)
  1620  }
  1621  
  1622  // SwarmUpdate mocks base method.
  1623  func (m *MockCommonAPIClient) SwarmUpdate(arg0 context.Context, arg1 swarm.Version, arg2 swarm.Spec, arg3 swarm.UpdateFlags) error {
  1624  	m.ctrl.T.Helper()
  1625  	ret := m.ctrl.Call(m, "SwarmUpdate", arg0, arg1, arg2, arg3)
  1626  	ret0, _ := ret[0].(error)
  1627  	return ret0
  1628  }
  1629  
  1630  // SwarmUpdate indicates an expected call of SwarmUpdate.
  1631  func (mr *MockCommonAPIClientMockRecorder) SwarmUpdate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  1632  	mr.mock.ctrl.T.Helper()
  1633  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SwarmUpdate", reflect.TypeOf((*MockCommonAPIClient)(nil).SwarmUpdate), arg0, arg1, arg2, arg3)
  1634  }
  1635  
  1636  // TaskInspectWithRaw mocks base method.
  1637  func (m *MockCommonAPIClient) TaskInspectWithRaw(arg0 context.Context, arg1 string) (swarm.Task, []byte, error) {
  1638  	m.ctrl.T.Helper()
  1639  	ret := m.ctrl.Call(m, "TaskInspectWithRaw", arg0, arg1)
  1640  	ret0, _ := ret[0].(swarm.Task)
  1641  	ret1, _ := ret[1].([]byte)
  1642  	ret2, _ := ret[2].(error)
  1643  	return ret0, ret1, ret2
  1644  }
  1645  
  1646  // TaskInspectWithRaw indicates an expected call of TaskInspectWithRaw.
  1647  func (mr *MockCommonAPIClientMockRecorder) TaskInspectWithRaw(arg0, arg1 interface{}) *gomock.Call {
  1648  	mr.mock.ctrl.T.Helper()
  1649  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TaskInspectWithRaw", reflect.TypeOf((*MockCommonAPIClient)(nil).TaskInspectWithRaw), arg0, arg1)
  1650  }
  1651  
  1652  // TaskList mocks base method.
  1653  func (m *MockCommonAPIClient) TaskList(arg0 context.Context, arg1 types.TaskListOptions) ([]swarm.Task, error) {
  1654  	m.ctrl.T.Helper()
  1655  	ret := m.ctrl.Call(m, "TaskList", arg0, arg1)
  1656  	ret0, _ := ret[0].([]swarm.Task)
  1657  	ret1, _ := ret[1].(error)
  1658  	return ret0, ret1
  1659  }
  1660  
  1661  // TaskList indicates an expected call of TaskList.
  1662  func (mr *MockCommonAPIClientMockRecorder) TaskList(arg0, arg1 interface{}) *gomock.Call {
  1663  	mr.mock.ctrl.T.Helper()
  1664  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TaskList", reflect.TypeOf((*MockCommonAPIClient)(nil).TaskList), arg0, arg1)
  1665  }
  1666  
  1667  // TaskLogs mocks base method.
  1668  func (m *MockCommonAPIClient) TaskLogs(arg0 context.Context, arg1 string, arg2 container.LogsOptions) (io.ReadCloser, error) {
  1669  	m.ctrl.T.Helper()
  1670  	ret := m.ctrl.Call(m, "TaskLogs", arg0, arg1, arg2)
  1671  	ret0, _ := ret[0].(io.ReadCloser)
  1672  	ret1, _ := ret[1].(error)
  1673  	return ret0, ret1
  1674  }
  1675  
  1676  // TaskLogs indicates an expected call of TaskLogs.
  1677  func (mr *MockCommonAPIClientMockRecorder) TaskLogs(arg0, arg1, arg2 interface{}) *gomock.Call {
  1678  	mr.mock.ctrl.T.Helper()
  1679  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TaskLogs", reflect.TypeOf((*MockCommonAPIClient)(nil).TaskLogs), arg0, arg1, arg2)
  1680  }
  1681  
  1682  // VolumeCreate mocks base method.
  1683  func (m *MockCommonAPIClient) VolumeCreate(arg0 context.Context, arg1 volume.CreateOptions) (volume.Volume, error) {
  1684  	m.ctrl.T.Helper()
  1685  	ret := m.ctrl.Call(m, "VolumeCreate", arg0, arg1)
  1686  	ret0, _ := ret[0].(volume.Volume)
  1687  	ret1, _ := ret[1].(error)
  1688  	return ret0, ret1
  1689  }
  1690  
  1691  // VolumeCreate indicates an expected call of VolumeCreate.
  1692  func (mr *MockCommonAPIClientMockRecorder) VolumeCreate(arg0, arg1 interface{}) *gomock.Call {
  1693  	mr.mock.ctrl.T.Helper()
  1694  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeCreate", reflect.TypeOf((*MockCommonAPIClient)(nil).VolumeCreate), arg0, arg1)
  1695  }
  1696  
  1697  // VolumeInspect mocks base method.
  1698  func (m *MockCommonAPIClient) VolumeInspect(arg0 context.Context, arg1 string) (volume.Volume, error) {
  1699  	m.ctrl.T.Helper()
  1700  	ret := m.ctrl.Call(m, "VolumeInspect", arg0, arg1)
  1701  	ret0, _ := ret[0].(volume.Volume)
  1702  	ret1, _ := ret[1].(error)
  1703  	return ret0, ret1
  1704  }
  1705  
  1706  // VolumeInspect indicates an expected call of VolumeInspect.
  1707  func (mr *MockCommonAPIClientMockRecorder) VolumeInspect(arg0, arg1 interface{}) *gomock.Call {
  1708  	mr.mock.ctrl.T.Helper()
  1709  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeInspect", reflect.TypeOf((*MockCommonAPIClient)(nil).VolumeInspect), arg0, arg1)
  1710  }
  1711  
  1712  // VolumeInspectWithRaw mocks base method.
  1713  func (m *MockCommonAPIClient) VolumeInspectWithRaw(arg0 context.Context, arg1 string) (volume.Volume, []byte, error) {
  1714  	m.ctrl.T.Helper()
  1715  	ret := m.ctrl.Call(m, "VolumeInspectWithRaw", arg0, arg1)
  1716  	ret0, _ := ret[0].(volume.Volume)
  1717  	ret1, _ := ret[1].([]byte)
  1718  	ret2, _ := ret[2].(error)
  1719  	return ret0, ret1, ret2
  1720  }
  1721  
  1722  // VolumeInspectWithRaw indicates an expected call of VolumeInspectWithRaw.
  1723  func (mr *MockCommonAPIClientMockRecorder) VolumeInspectWithRaw(arg0, arg1 interface{}) *gomock.Call {
  1724  	mr.mock.ctrl.T.Helper()
  1725  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeInspectWithRaw", reflect.TypeOf((*MockCommonAPIClient)(nil).VolumeInspectWithRaw), arg0, arg1)
  1726  }
  1727  
  1728  // VolumeList mocks base method.
  1729  func (m *MockCommonAPIClient) VolumeList(arg0 context.Context, arg1 volume.ListOptions) (volume.ListResponse, error) {
  1730  	m.ctrl.T.Helper()
  1731  	ret := m.ctrl.Call(m, "VolumeList", arg0, arg1)
  1732  	ret0, _ := ret[0].(volume.ListResponse)
  1733  	ret1, _ := ret[1].(error)
  1734  	return ret0, ret1
  1735  }
  1736  
  1737  // VolumeList indicates an expected call of VolumeList.
  1738  func (mr *MockCommonAPIClientMockRecorder) VolumeList(arg0, arg1 interface{}) *gomock.Call {
  1739  	mr.mock.ctrl.T.Helper()
  1740  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeList", reflect.TypeOf((*MockCommonAPIClient)(nil).VolumeList), arg0, arg1)
  1741  }
  1742  
  1743  // VolumeRemove mocks base method.
  1744  func (m *MockCommonAPIClient) VolumeRemove(arg0 context.Context, arg1 string, arg2 bool) error {
  1745  	m.ctrl.T.Helper()
  1746  	ret := m.ctrl.Call(m, "VolumeRemove", arg0, arg1, arg2)
  1747  	ret0, _ := ret[0].(error)
  1748  	return ret0
  1749  }
  1750  
  1751  // VolumeRemove indicates an expected call of VolumeRemove.
  1752  func (mr *MockCommonAPIClientMockRecorder) VolumeRemove(arg0, arg1, arg2 interface{}) *gomock.Call {
  1753  	mr.mock.ctrl.T.Helper()
  1754  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeRemove", reflect.TypeOf((*MockCommonAPIClient)(nil).VolumeRemove), arg0, arg1, arg2)
  1755  }
  1756  
  1757  // VolumeUpdate mocks base method.
  1758  func (m *MockCommonAPIClient) VolumeUpdate(arg0 context.Context, arg1 string, arg2 swarm.Version, arg3 volume.UpdateOptions) error {
  1759  	m.ctrl.T.Helper()
  1760  	ret := m.ctrl.Call(m, "VolumeUpdate", arg0, arg1, arg2, arg3)
  1761  	ret0, _ := ret[0].(error)
  1762  	return ret0
  1763  }
  1764  
  1765  // VolumeUpdate indicates an expected call of VolumeUpdate.
  1766  func (mr *MockCommonAPIClientMockRecorder) VolumeUpdate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  1767  	mr.mock.ctrl.T.Helper()
  1768  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeUpdate", reflect.TypeOf((*MockCommonAPIClient)(nil).VolumeUpdate), arg0, arg1, arg2, arg3)
  1769  }
  1770  
  1771  // VolumesPrune mocks base method.
  1772  func (m *MockCommonAPIClient) VolumesPrune(arg0 context.Context, arg1 filters.Args) (types.VolumesPruneReport, error) {
  1773  	m.ctrl.T.Helper()
  1774  	ret := m.ctrl.Call(m, "VolumesPrune", arg0, arg1)
  1775  	ret0, _ := ret[0].(types.VolumesPruneReport)
  1776  	ret1, _ := ret[1].(error)
  1777  	return ret0, ret1
  1778  }
  1779  
  1780  // VolumesPrune indicates an expected call of VolumesPrune.
  1781  func (mr *MockCommonAPIClientMockRecorder) VolumesPrune(arg0, arg1 interface{}) *gomock.Call {
  1782  	mr.mock.ctrl.T.Helper()
  1783  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumesPrune", reflect.TypeOf((*MockCommonAPIClient)(nil).VolumesPrune), arg0, arg1)
  1784  }