mock_docker_api.go 75 KB

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