github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/pkg/configuration/container/mocks/dockerclient_mocks.go (about) 1 // /* 2 // Copyright (C) 2022-2023 ApeCloud Co., Ltd 3 // 4 // This file is part of KubeBlocks project 5 // 6 // This program is free software: you can redistribute it and/or modify 7 // it under the terms of the GNU Affero General Public License as published by 8 // the Free Software Foundation, either version 3 of the License, or 9 // (at your option) any later version. 10 // 11 // This program is distributed in the hope that it will be useful 12 // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 // GNU Affero General Public License for more details. 15 // 16 // You should have received a copy of the GNU Affero General Public License 17 // along with this program. If not, see <http://www.gnu.org/licenses/>. 18 // */ 19 // 20 // 21 22 // Code generated by MockGen. DO NOT EDIT. 23 // Source: github.com/docker/docker/client (interfaces: ContainerAPIClient) 24 25 // Package mocks is a generated GoMock package. 26 package mocks 27 28 import ( 29 context "context" 30 io "io" 31 reflect "reflect" 32 33 types "github.com/docker/docker/api/types" 34 container "github.com/docker/docker/api/types/container" 35 filters "github.com/docker/docker/api/types/filters" 36 network "github.com/docker/docker/api/types/network" 37 gomock "github.com/golang/mock/gomock" 38 v1 "github.com/opencontainers/image-spec/specs-go/v1" 39 ) 40 41 // MockContainerAPIClient is a mock of ContainerAPIClient interface. 42 type MockContainerAPIClient struct { 43 ctrl *gomock.Controller 44 recorder *MockContainerAPIClientMockRecorder 45 } 46 47 // MockContainerAPIClientMockRecorder is the mock recorder for MockContainerAPIClient. 48 type MockContainerAPIClientMockRecorder struct { 49 mock *MockContainerAPIClient 50 } 51 52 // NewMockContainerAPIClient creates a new mock instance. 53 func NewMockContainerAPIClient(ctrl *gomock.Controller) *MockContainerAPIClient { 54 mock := &MockContainerAPIClient{ctrl: ctrl} 55 mock.recorder = &MockContainerAPIClientMockRecorder{mock} 56 return mock 57 } 58 59 // EXPECT returns an object that allows the caller to indicate expected use. 60 func (m *MockContainerAPIClient) EXPECT() *MockContainerAPIClientMockRecorder { 61 return m.recorder 62 } 63 64 // ContainerAttach mocks base method. 65 func (m *MockContainerAPIClient) ContainerAttach(arg0 context.Context, arg1 string, arg2 types.ContainerAttachOptions) (types.HijackedResponse, error) { 66 m.ctrl.T.Helper() 67 ret := m.ctrl.Call(m, "ContainerAttach", arg0, arg1, arg2) 68 ret0, _ := ret[0].(types.HijackedResponse) 69 ret1, _ := ret[1].(error) 70 return ret0, ret1 71 } 72 73 // ContainerAttach indicates an expected call of ContainerAttach. 74 func (mr *MockContainerAPIClientMockRecorder) ContainerAttach(arg0, arg1, arg2 interface{}) *gomock.Call { 75 mr.mock.ctrl.T.Helper() 76 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerAttach", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerAttach), arg0, arg1, arg2) 77 } 78 79 // ContainerCommit mocks base method. 80 func (m *MockContainerAPIClient) ContainerCommit(arg0 context.Context, arg1 string, arg2 types.ContainerCommitOptions) (types.IDResponse, error) { 81 m.ctrl.T.Helper() 82 ret := m.ctrl.Call(m, "ContainerCommit", arg0, arg1, arg2) 83 ret0, _ := ret[0].(types.IDResponse) 84 ret1, _ := ret[1].(error) 85 return ret0, ret1 86 } 87 88 // ContainerCommit indicates an expected call of ContainerCommit. 89 func (mr *MockContainerAPIClientMockRecorder) ContainerCommit(arg0, arg1, arg2 interface{}) *gomock.Call { 90 mr.mock.ctrl.T.Helper() 91 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerCommit", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerCommit), arg0, arg1, arg2) 92 } 93 94 // ContainerCreate mocks base method. 95 func (m *MockContainerAPIClient) ContainerCreate(arg0 context.Context, arg1 *container.Config, arg2 *container.HostConfig, arg3 *network.NetworkingConfig, arg4 *v1.Platform, arg5 string) (container.CreateResponse, error) { 96 m.ctrl.T.Helper() 97 ret := m.ctrl.Call(m, "ContainerCreate", arg0, arg1, arg2, arg3, arg4, arg5) 98 ret0, _ := ret[0].(container.CreateResponse) 99 ret1, _ := ret[1].(error) 100 return ret0, ret1 101 } 102 103 // ContainerCreate indicates an expected call of ContainerCreate. 104 func (mr *MockContainerAPIClientMockRecorder) ContainerCreate(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call { 105 mr.mock.ctrl.T.Helper() 106 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerCreate", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerCreate), arg0, arg1, arg2, arg3, arg4, arg5) 107 } 108 109 // ContainerDiff mocks base method. 110 func (m *MockContainerAPIClient) ContainerDiff(arg0 context.Context, arg1 string) ([]container.FilesystemChange, error) { 111 m.ctrl.T.Helper() 112 ret := m.ctrl.Call(m, "ContainerDiff", arg0, arg1) 113 ret0, _ := ret[0].([]container.FilesystemChange) 114 ret1, _ := ret[1].(error) 115 return ret0, ret1 116 } 117 118 // ContainerDiff indicates an expected call of ContainerDiff. 119 func (mr *MockContainerAPIClientMockRecorder) ContainerDiff(arg0, arg1 interface{}) *gomock.Call { 120 mr.mock.ctrl.T.Helper() 121 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerDiff", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerDiff), arg0, arg1) 122 } 123 124 // ContainerExecAttach mocks base method. 125 func (m *MockContainerAPIClient) ContainerExecAttach(arg0 context.Context, arg1 string, arg2 types.ExecStartCheck) (types.HijackedResponse, error) { 126 m.ctrl.T.Helper() 127 ret := m.ctrl.Call(m, "ContainerExecAttach", arg0, arg1, arg2) 128 ret0, _ := ret[0].(types.HijackedResponse) 129 ret1, _ := ret[1].(error) 130 return ret0, ret1 131 } 132 133 // ContainerExecAttach indicates an expected call of ContainerExecAttach. 134 func (mr *MockContainerAPIClientMockRecorder) ContainerExecAttach(arg0, arg1, arg2 interface{}) *gomock.Call { 135 mr.mock.ctrl.T.Helper() 136 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerExecAttach", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerExecAttach), arg0, arg1, arg2) 137 } 138 139 // ContainerExecCreate mocks base method. 140 func (m *MockContainerAPIClient) ContainerExecCreate(arg0 context.Context, arg1 string, arg2 types.ExecConfig) (types.IDResponse, error) { 141 m.ctrl.T.Helper() 142 ret := m.ctrl.Call(m, "ContainerExecCreate", arg0, arg1, arg2) 143 ret0, _ := ret[0].(types.IDResponse) 144 ret1, _ := ret[1].(error) 145 return ret0, ret1 146 } 147 148 // ContainerExecCreate indicates an expected call of ContainerExecCreate. 149 func (mr *MockContainerAPIClientMockRecorder) ContainerExecCreate(arg0, arg1, arg2 interface{}) *gomock.Call { 150 mr.mock.ctrl.T.Helper() 151 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerExecCreate", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerExecCreate), arg0, arg1, arg2) 152 } 153 154 // ContainerExecInspect mocks base method. 155 func (m *MockContainerAPIClient) ContainerExecInspect(arg0 context.Context, arg1 string) (types.ContainerExecInspect, error) { 156 m.ctrl.T.Helper() 157 ret := m.ctrl.Call(m, "ContainerExecInspect", arg0, arg1) 158 ret0, _ := ret[0].(types.ContainerExecInspect) 159 ret1, _ := ret[1].(error) 160 return ret0, ret1 161 } 162 163 // ContainerExecInspect indicates an expected call of ContainerExecInspect. 164 func (mr *MockContainerAPIClientMockRecorder) ContainerExecInspect(arg0, arg1 interface{}) *gomock.Call { 165 mr.mock.ctrl.T.Helper() 166 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerExecInspect", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerExecInspect), arg0, arg1) 167 } 168 169 // ContainerExecResize mocks base method. 170 func (m *MockContainerAPIClient) ContainerExecResize(arg0 context.Context, arg1 string, arg2 types.ResizeOptions) error { 171 m.ctrl.T.Helper() 172 ret := m.ctrl.Call(m, "ContainerExecResize", arg0, arg1, arg2) 173 ret0, _ := ret[0].(error) 174 return ret0 175 } 176 177 // ContainerExecResize indicates an expected call of ContainerExecResize. 178 func (mr *MockContainerAPIClientMockRecorder) ContainerExecResize(arg0, arg1, arg2 interface{}) *gomock.Call { 179 mr.mock.ctrl.T.Helper() 180 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerExecResize", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerExecResize), arg0, arg1, arg2) 181 } 182 183 // ContainerExecStart mocks base method. 184 func (m *MockContainerAPIClient) ContainerExecStart(arg0 context.Context, arg1 string, arg2 types.ExecStartCheck) error { 185 m.ctrl.T.Helper() 186 ret := m.ctrl.Call(m, "ContainerExecStart", arg0, arg1, arg2) 187 ret0, _ := ret[0].(error) 188 return ret0 189 } 190 191 // ContainerExecStart indicates an expected call of ContainerExecStart. 192 func (mr *MockContainerAPIClientMockRecorder) ContainerExecStart(arg0, arg1, arg2 interface{}) *gomock.Call { 193 mr.mock.ctrl.T.Helper() 194 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerExecStart", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerExecStart), arg0, arg1, arg2) 195 } 196 197 // ContainerExport mocks base method. 198 func (m *MockContainerAPIClient) ContainerExport(arg0 context.Context, arg1 string) (io.ReadCloser, error) { 199 m.ctrl.T.Helper() 200 ret := m.ctrl.Call(m, "ContainerExport", arg0, arg1) 201 ret0, _ := ret[0].(io.ReadCloser) 202 ret1, _ := ret[1].(error) 203 return ret0, ret1 204 } 205 206 // ContainerExport indicates an expected call of ContainerExport. 207 func (mr *MockContainerAPIClientMockRecorder) ContainerExport(arg0, arg1 interface{}) *gomock.Call { 208 mr.mock.ctrl.T.Helper() 209 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerExport", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerExport), arg0, arg1) 210 } 211 212 // ContainerInspect mocks base method. 213 func (m *MockContainerAPIClient) ContainerInspect(arg0 context.Context, arg1 string) (types.ContainerJSON, error) { 214 m.ctrl.T.Helper() 215 ret := m.ctrl.Call(m, "ContainerInspect", arg0, arg1) 216 ret0, _ := ret[0].(types.ContainerJSON) 217 ret1, _ := ret[1].(error) 218 return ret0, ret1 219 } 220 221 // ContainerInspect indicates an expected call of ContainerInspect. 222 func (mr *MockContainerAPIClientMockRecorder) ContainerInspect(arg0, arg1 interface{}) *gomock.Call { 223 mr.mock.ctrl.T.Helper() 224 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerInspect", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerInspect), arg0, arg1) 225 } 226 227 // ContainerInspectWithRaw mocks base method. 228 func (m *MockContainerAPIClient) ContainerInspectWithRaw(arg0 context.Context, arg1 string, arg2 bool) (types.ContainerJSON, []byte, error) { 229 m.ctrl.T.Helper() 230 ret := m.ctrl.Call(m, "ContainerInspectWithRaw", arg0, arg1, arg2) 231 ret0, _ := ret[0].(types.ContainerJSON) 232 ret1, _ := ret[1].([]byte) 233 ret2, _ := ret[2].(error) 234 return ret0, ret1, ret2 235 } 236 237 // ContainerInspectWithRaw indicates an expected call of ContainerInspectWithRaw. 238 func (mr *MockContainerAPIClientMockRecorder) ContainerInspectWithRaw(arg0, arg1, arg2 interface{}) *gomock.Call { 239 mr.mock.ctrl.T.Helper() 240 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerInspectWithRaw", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerInspectWithRaw), arg0, arg1, arg2) 241 } 242 243 // ContainerKill mocks base method. 244 func (m *MockContainerAPIClient) ContainerKill(arg0 context.Context, arg1, arg2 string) error { 245 m.ctrl.T.Helper() 246 ret := m.ctrl.Call(m, "ContainerKill", arg0, arg1, arg2) 247 ret0, _ := ret[0].(error) 248 return ret0 249 } 250 251 // ContainerKill indicates an expected call of ContainerKill. 252 func (mr *MockContainerAPIClientMockRecorder) ContainerKill(arg0, arg1, arg2 interface{}) *gomock.Call { 253 mr.mock.ctrl.T.Helper() 254 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerKill", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerKill), arg0, arg1, arg2) 255 } 256 257 // ContainerList mocks base method. 258 func (m *MockContainerAPIClient) ContainerList(arg0 context.Context, arg1 types.ContainerListOptions) ([]types.Container, error) { 259 m.ctrl.T.Helper() 260 ret := m.ctrl.Call(m, "ContainerList", arg0, arg1) 261 ret0, _ := ret[0].([]types.Container) 262 ret1, _ := ret[1].(error) 263 return ret0, ret1 264 } 265 266 // ContainerList indicates an expected call of ContainerList. 267 func (mr *MockContainerAPIClientMockRecorder) ContainerList(arg0, arg1 interface{}) *gomock.Call { 268 mr.mock.ctrl.T.Helper() 269 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerList", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerList), arg0, arg1) 270 } 271 272 // ContainerLogs mocks base method. 273 func (m *MockContainerAPIClient) ContainerLogs(arg0 context.Context, arg1 string, arg2 types.ContainerLogsOptions) (io.ReadCloser, error) { 274 m.ctrl.T.Helper() 275 ret := m.ctrl.Call(m, "ContainerLogs", arg0, arg1, arg2) 276 ret0, _ := ret[0].(io.ReadCloser) 277 ret1, _ := ret[1].(error) 278 return ret0, ret1 279 } 280 281 // ContainerLogs indicates an expected call of ContainerLogs. 282 func (mr *MockContainerAPIClientMockRecorder) ContainerLogs(arg0, arg1, arg2 interface{}) *gomock.Call { 283 mr.mock.ctrl.T.Helper() 284 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerLogs", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerLogs), arg0, arg1, arg2) 285 } 286 287 // ContainerPause mocks base method. 288 func (m *MockContainerAPIClient) ContainerPause(arg0 context.Context, arg1 string) error { 289 m.ctrl.T.Helper() 290 ret := m.ctrl.Call(m, "ContainerPause", arg0, arg1) 291 ret0, _ := ret[0].(error) 292 return ret0 293 } 294 295 // ContainerPause indicates an expected call of ContainerPause. 296 func (mr *MockContainerAPIClientMockRecorder) ContainerPause(arg0, arg1 interface{}) *gomock.Call { 297 mr.mock.ctrl.T.Helper() 298 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerPause", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerPause), arg0, arg1) 299 } 300 301 // ContainerRemove mocks base method. 302 func (m *MockContainerAPIClient) ContainerRemove(arg0 context.Context, arg1 string, arg2 types.ContainerRemoveOptions) error { 303 m.ctrl.T.Helper() 304 ret := m.ctrl.Call(m, "ContainerRemove", arg0, arg1, arg2) 305 ret0, _ := ret[0].(error) 306 return ret0 307 } 308 309 // ContainerRemove indicates an expected call of ContainerRemove. 310 func (mr *MockContainerAPIClientMockRecorder) ContainerRemove(arg0, arg1, arg2 interface{}) *gomock.Call { 311 mr.mock.ctrl.T.Helper() 312 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerRemove", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerRemove), arg0, arg1, arg2) 313 } 314 315 // ContainerRename mocks base method. 316 func (m *MockContainerAPIClient) ContainerRename(arg0 context.Context, arg1, arg2 string) error { 317 m.ctrl.T.Helper() 318 ret := m.ctrl.Call(m, "ContainerRename", arg0, arg1, arg2) 319 ret0, _ := ret[0].(error) 320 return ret0 321 } 322 323 // ContainerRename indicates an expected call of ContainerRename. 324 func (mr *MockContainerAPIClientMockRecorder) ContainerRename(arg0, arg1, arg2 interface{}) *gomock.Call { 325 mr.mock.ctrl.T.Helper() 326 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerRename", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerRename), arg0, arg1, arg2) 327 } 328 329 // ContainerResize mocks base method. 330 func (m *MockContainerAPIClient) ContainerResize(arg0 context.Context, arg1 string, arg2 types.ResizeOptions) error { 331 m.ctrl.T.Helper() 332 ret := m.ctrl.Call(m, "ContainerResize", arg0, arg1, arg2) 333 ret0, _ := ret[0].(error) 334 return ret0 335 } 336 337 // ContainerResize indicates an expected call of ContainerResize. 338 func (mr *MockContainerAPIClientMockRecorder) ContainerResize(arg0, arg1, arg2 interface{}) *gomock.Call { 339 mr.mock.ctrl.T.Helper() 340 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerResize", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerResize), arg0, arg1, arg2) 341 } 342 343 // ContainerRestart mocks base method. 344 func (m *MockContainerAPIClient) ContainerRestart(arg0 context.Context, arg1 string, arg2 container.StopOptions) error { 345 m.ctrl.T.Helper() 346 ret := m.ctrl.Call(m, "ContainerRestart", arg0, arg1, arg2) 347 ret0, _ := ret[0].(error) 348 return ret0 349 } 350 351 // ContainerRestart indicates an expected call of ContainerRestart. 352 func (mr *MockContainerAPIClientMockRecorder) ContainerRestart(arg0, arg1, arg2 interface{}) *gomock.Call { 353 mr.mock.ctrl.T.Helper() 354 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerRestart", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerRestart), arg0, arg1, arg2) 355 } 356 357 // ContainerStart mocks base method. 358 func (m *MockContainerAPIClient) ContainerStart(arg0 context.Context, arg1 string, arg2 types.ContainerStartOptions) error { 359 m.ctrl.T.Helper() 360 ret := m.ctrl.Call(m, "ContainerStart", arg0, arg1, arg2) 361 ret0, _ := ret[0].(error) 362 return ret0 363 } 364 365 // ContainerStart indicates an expected call of ContainerStart. 366 func (mr *MockContainerAPIClientMockRecorder) ContainerStart(arg0, arg1, arg2 interface{}) *gomock.Call { 367 mr.mock.ctrl.T.Helper() 368 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerStart", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerStart), arg0, arg1, arg2) 369 } 370 371 // ContainerStatPath mocks base method. 372 func (m *MockContainerAPIClient) ContainerStatPath(arg0 context.Context, arg1, arg2 string) (types.ContainerPathStat, error) { 373 m.ctrl.T.Helper() 374 ret := m.ctrl.Call(m, "ContainerStatPath", arg0, arg1, arg2) 375 ret0, _ := ret[0].(types.ContainerPathStat) 376 ret1, _ := ret[1].(error) 377 return ret0, ret1 378 } 379 380 // ContainerStatPath indicates an expected call of ContainerStatPath. 381 func (mr *MockContainerAPIClientMockRecorder) ContainerStatPath(arg0, arg1, arg2 interface{}) *gomock.Call { 382 mr.mock.ctrl.T.Helper() 383 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerStatPath", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerStatPath), arg0, arg1, arg2) 384 } 385 386 // ContainerStats mocks base method. 387 func (m *MockContainerAPIClient) ContainerStats(arg0 context.Context, arg1 string, arg2 bool) (types.ContainerStats, error) { 388 m.ctrl.T.Helper() 389 ret := m.ctrl.Call(m, "ContainerStats", arg0, arg1, arg2) 390 ret0, _ := ret[0].(types.ContainerStats) 391 ret1, _ := ret[1].(error) 392 return ret0, ret1 393 } 394 395 // ContainerStats indicates an expected call of ContainerStats. 396 func (mr *MockContainerAPIClientMockRecorder) ContainerStats(arg0, arg1, arg2 interface{}) *gomock.Call { 397 mr.mock.ctrl.T.Helper() 398 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerStats", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerStats), arg0, arg1, arg2) 399 } 400 401 // ContainerStatsOneShot mocks base method. 402 func (m *MockContainerAPIClient) ContainerStatsOneShot(arg0 context.Context, arg1 string) (types.ContainerStats, error) { 403 m.ctrl.T.Helper() 404 ret := m.ctrl.Call(m, "ContainerStatsOneShot", arg0, arg1) 405 ret0, _ := ret[0].(types.ContainerStats) 406 ret1, _ := ret[1].(error) 407 return ret0, ret1 408 } 409 410 // ContainerStatsOneShot indicates an expected call of ContainerStatsOneShot. 411 func (mr *MockContainerAPIClientMockRecorder) ContainerStatsOneShot(arg0, arg1 interface{}) *gomock.Call { 412 mr.mock.ctrl.T.Helper() 413 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerStatsOneShot", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerStatsOneShot), arg0, arg1) 414 } 415 416 // ContainerStop mocks base method. 417 func (m *MockContainerAPIClient) ContainerStop(arg0 context.Context, arg1 string, arg2 container.StopOptions) error { 418 m.ctrl.T.Helper() 419 ret := m.ctrl.Call(m, "ContainerStop", arg0, arg1, arg2) 420 ret0, _ := ret[0].(error) 421 return ret0 422 } 423 424 // ContainerStop indicates an expected call of ContainerStop. 425 func (mr *MockContainerAPIClientMockRecorder) ContainerStop(arg0, arg1, arg2 interface{}) *gomock.Call { 426 mr.mock.ctrl.T.Helper() 427 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerStop", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerStop), arg0, arg1, arg2) 428 } 429 430 // ContainerTop mocks base method. 431 func (m *MockContainerAPIClient) ContainerTop(arg0 context.Context, arg1 string, arg2 []string) (container.ContainerTopOKBody, error) { 432 m.ctrl.T.Helper() 433 ret := m.ctrl.Call(m, "ContainerTop", arg0, arg1, arg2) 434 ret0, _ := ret[0].(container.ContainerTopOKBody) 435 ret1, _ := ret[1].(error) 436 return ret0, ret1 437 } 438 439 // ContainerTop indicates an expected call of ContainerTop. 440 func (mr *MockContainerAPIClientMockRecorder) ContainerTop(arg0, arg1, arg2 interface{}) *gomock.Call { 441 mr.mock.ctrl.T.Helper() 442 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerTop", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerTop), arg0, arg1, arg2) 443 } 444 445 // ContainerUnpause mocks base method. 446 func (m *MockContainerAPIClient) ContainerUnpause(arg0 context.Context, arg1 string) error { 447 m.ctrl.T.Helper() 448 ret := m.ctrl.Call(m, "ContainerUnpause", arg0, arg1) 449 ret0, _ := ret[0].(error) 450 return ret0 451 } 452 453 // ContainerUnpause indicates an expected call of ContainerUnpause. 454 func (mr *MockContainerAPIClientMockRecorder) ContainerUnpause(arg0, arg1 interface{}) *gomock.Call { 455 mr.mock.ctrl.T.Helper() 456 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerUnpause", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerUnpause), arg0, arg1) 457 } 458 459 // ContainerUpdate mocks base method. 460 func (m *MockContainerAPIClient) ContainerUpdate(arg0 context.Context, arg1 string, arg2 container.UpdateConfig) (container.ContainerUpdateOKBody, error) { 461 m.ctrl.T.Helper() 462 ret := m.ctrl.Call(m, "ContainerUpdate", arg0, arg1, arg2) 463 ret0, _ := ret[0].(container.ContainerUpdateOKBody) 464 ret1, _ := ret[1].(error) 465 return ret0, ret1 466 } 467 468 // ContainerUpdate indicates an expected call of ContainerUpdate. 469 func (mr *MockContainerAPIClientMockRecorder) ContainerUpdate(arg0, arg1, arg2 interface{}) *gomock.Call { 470 mr.mock.ctrl.T.Helper() 471 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerUpdate", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerUpdate), arg0, arg1, arg2) 472 } 473 474 // ContainerWait mocks base method. 475 func (m *MockContainerAPIClient) ContainerWait(arg0 context.Context, arg1 string, arg2 container.WaitCondition) (<-chan container.WaitResponse, <-chan error) { 476 m.ctrl.T.Helper() 477 ret := m.ctrl.Call(m, "ContainerWait", arg0, arg1, arg2) 478 ret0, _ := ret[0].(<-chan container.WaitResponse) 479 ret1, _ := ret[1].(<-chan error) 480 return ret0, ret1 481 } 482 483 // ContainerWait indicates an expected call of ContainerWait. 484 func (mr *MockContainerAPIClientMockRecorder) ContainerWait(arg0, arg1, arg2 interface{}) *gomock.Call { 485 mr.mock.ctrl.T.Helper() 486 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerWait", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainerWait), arg0, arg1, arg2) 487 } 488 489 // ContainersPrune mocks base method. 490 func (m *MockContainerAPIClient) ContainersPrune(arg0 context.Context, arg1 filters.Args) (types.ContainersPruneReport, error) { 491 m.ctrl.T.Helper() 492 ret := m.ctrl.Call(m, "ContainersPrune", arg0, arg1) 493 ret0, _ := ret[0].(types.ContainersPruneReport) 494 ret1, _ := ret[1].(error) 495 return ret0, ret1 496 } 497 498 // ContainersPrune indicates an expected call of ContainersPrune. 499 func (mr *MockContainerAPIClientMockRecorder) ContainersPrune(arg0, arg1 interface{}) *gomock.Call { 500 mr.mock.ctrl.T.Helper() 501 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainersPrune", reflect.TypeOf((*MockContainerAPIClient)(nil).ContainersPrune), arg0, arg1) 502 } 503 504 // CopyFromContainer mocks base method. 505 func (m *MockContainerAPIClient) CopyFromContainer(arg0 context.Context, arg1, arg2 string) (io.ReadCloser, types.ContainerPathStat, error) { 506 m.ctrl.T.Helper() 507 ret := m.ctrl.Call(m, "CopyFromContainer", arg0, arg1, arg2) 508 ret0, _ := ret[0].(io.ReadCloser) 509 ret1, _ := ret[1].(types.ContainerPathStat) 510 ret2, _ := ret[2].(error) 511 return ret0, ret1, ret2 512 } 513 514 // CopyFromContainer indicates an expected call of CopyFromContainer. 515 func (mr *MockContainerAPIClientMockRecorder) CopyFromContainer(arg0, arg1, arg2 interface{}) *gomock.Call { 516 mr.mock.ctrl.T.Helper() 517 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CopyFromContainer", reflect.TypeOf((*MockContainerAPIClient)(nil).CopyFromContainer), arg0, arg1, arg2) 518 } 519 520 // CopyToContainer mocks base method. 521 func (m *MockContainerAPIClient) CopyToContainer(arg0 context.Context, arg1, arg2 string, arg3 io.Reader, arg4 types.CopyToContainerOptions) error { 522 m.ctrl.T.Helper() 523 ret := m.ctrl.Call(m, "CopyToContainer", arg0, arg1, arg2, arg3, arg4) 524 ret0, _ := ret[0].(error) 525 return ret0 526 } 527 528 // CopyToContainer indicates an expected call of CopyToContainer. 529 func (mr *MockContainerAPIClientMockRecorder) CopyToContainer(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call { 530 mr.mock.ctrl.T.Helper() 531 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CopyToContainer", reflect.TypeOf((*MockContainerAPIClient)(nil).CopyToContainer), arg0, arg1, arg2, arg3, arg4) 532 }