mock_docker_api.go 74 KB

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