mock_docker_api.go 76 KB

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