mock_docker_api.go 76 KB

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