mock_docker_api.go 76 KB

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