mock_docker_api.go 74 KB

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