mock_docker_api.go 74 KB

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