| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812 |
- // Code generated by MockGen. DO NOT EDIT.
- // Container: github.com/docker/docker/client (interfaces: APIClient)
- // Package mocks is a generated GoMock package.
- package mocks
- import (
- context "context"
- types "github.com/docker/docker/api/types"
- container "github.com/docker/docker/api/types/container"
- events "github.com/docker/docker/api/types/events"
- filters "github.com/docker/docker/api/types/filters"
- image "github.com/docker/docker/api/types/image"
- network "github.com/docker/docker/api/types/network"
- registry "github.com/docker/docker/api/types/registry"
- swarm "github.com/docker/docker/api/types/swarm"
- volume "github.com/docker/docker/api/types/volume"
- gomock "github.com/golang/mock/gomock"
- v1 "github.com/opencontainers/image-spec/specs-go/v1"
- io "io"
- net "net"
- http "net/http"
- reflect "reflect"
- time "time"
- )
- // MockAPIClient is a mock of APIClient interface
- type MockAPIClient struct {
- ctrl *gomock.Controller
- recorder *MockAPIClientMockRecorder
- }
- // MockAPIClientMockRecorder is the mock recorder for MockAPIClient
- type MockAPIClientMockRecorder struct {
- mock *MockAPIClient
- }
- // NewMockAPIClient creates a new mock instance
- func NewMockAPIClient(ctrl *gomock.Controller) *MockAPIClient {
- mock := &MockAPIClient{ctrl: ctrl}
- mock.recorder = &MockAPIClientMockRecorder{mock}
- return mock
- }
- // EXPECT returns an object that allows the caller to indicate expected use
- func (m *MockAPIClient) EXPECT() *MockAPIClientMockRecorder {
- return m.recorder
- }
- // BuildCachePrune mocks base method
- func (m *MockAPIClient) BuildCachePrune(arg0 context.Context, arg1 types.BuildCachePruneOptions) (*types.BuildCachePruneReport, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "BuildCachePrune", arg0, arg1)
- ret0, _ := ret[0].(*types.BuildCachePruneReport)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // BuildCachePrune indicates an expected call of BuildCachePrune
- func (mr *MockAPIClientMockRecorder) BuildCachePrune(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BuildCachePrune", reflect.TypeOf((*MockAPIClient)(nil).BuildCachePrune), arg0, arg1)
- }
- // BuildCancel mocks base method
- func (m *MockAPIClient) BuildCancel(arg0 context.Context, arg1 string) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "BuildCancel", arg0, arg1)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // BuildCancel indicates an expected call of BuildCancel
- func (mr *MockAPIClientMockRecorder) BuildCancel(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BuildCancel", reflect.TypeOf((*MockAPIClient)(nil).BuildCancel), arg0, arg1)
- }
- // CheckpointCreate mocks base method
- func (m *MockAPIClient) CheckpointCreate(arg0 context.Context, arg1 string, arg2 types.CheckpointCreateOptions) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "CheckpointCreate", arg0, arg1, arg2)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // CheckpointCreate indicates an expected call of CheckpointCreate
- func (mr *MockAPIClientMockRecorder) CheckpointCreate(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckpointCreate", reflect.TypeOf((*MockAPIClient)(nil).CheckpointCreate), arg0, arg1, arg2)
- }
- // CheckpointDelete mocks base method
- func (m *MockAPIClient) CheckpointDelete(arg0 context.Context, arg1 string, arg2 types.CheckpointDeleteOptions) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "CheckpointDelete", arg0, arg1, arg2)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // CheckpointDelete indicates an expected call of CheckpointDelete
- func (mr *MockAPIClientMockRecorder) CheckpointDelete(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckpointDelete", reflect.TypeOf((*MockAPIClient)(nil).CheckpointDelete), arg0, arg1, arg2)
- }
- // CheckpointList mocks base method
- func (m *MockAPIClient) CheckpointList(arg0 context.Context, arg1 string, arg2 types.CheckpointListOptions) ([]types.Checkpoint, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "CheckpointList", arg0, arg1, arg2)
- ret0, _ := ret[0].([]types.Checkpoint)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // CheckpointList indicates an expected call of CheckpointList
- func (mr *MockAPIClientMockRecorder) CheckpointList(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckpointList", reflect.TypeOf((*MockAPIClient)(nil).CheckpointList), arg0, arg1, arg2)
- }
- // ClientVersion mocks base method
- func (m *MockAPIClient) ClientVersion() string {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ClientVersion")
- ret0, _ := ret[0].(string)
- return ret0
- }
- // ClientVersion indicates an expected call of ClientVersion
- func (mr *MockAPIClientMockRecorder) ClientVersion() *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClientVersion", reflect.TypeOf((*MockAPIClient)(nil).ClientVersion))
- }
- // Close mocks base method
- func (m *MockAPIClient) Close() error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "Close")
- ret0, _ := ret[0].(error)
- return ret0
- }
- // Close indicates an expected call of Close
- func (mr *MockAPIClientMockRecorder) Close() *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockAPIClient)(nil).Close))
- }
- // ConfigCreate mocks base method
- func (m *MockAPIClient) ConfigCreate(arg0 context.Context, arg1 swarm.ConfigSpec) (types.ConfigCreateResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ConfigCreate", arg0, arg1)
- ret0, _ := ret[0].(types.ConfigCreateResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ConfigCreate indicates an expected call of ConfigCreate
- func (mr *MockAPIClientMockRecorder) ConfigCreate(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConfigCreate", reflect.TypeOf((*MockAPIClient)(nil).ConfigCreate), arg0, arg1)
- }
- // ConfigInspectWithRaw mocks base method
- func (m *MockAPIClient) ConfigInspectWithRaw(arg0 context.Context, arg1 string) (swarm.Config, []byte, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ConfigInspectWithRaw", arg0, arg1)
- ret0, _ := ret[0].(swarm.Config)
- ret1, _ := ret[1].([]byte)
- ret2, _ := ret[2].(error)
- return ret0, ret1, ret2
- }
- // ConfigInspectWithRaw indicates an expected call of ConfigInspectWithRaw
- func (mr *MockAPIClientMockRecorder) ConfigInspectWithRaw(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConfigInspectWithRaw", reflect.TypeOf((*MockAPIClient)(nil).ConfigInspectWithRaw), arg0, arg1)
- }
- // ConfigList mocks base method
- func (m *MockAPIClient) ConfigList(arg0 context.Context, arg1 types.ConfigListOptions) ([]swarm.Config, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ConfigList", arg0, arg1)
- ret0, _ := ret[0].([]swarm.Config)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ConfigList indicates an expected call of ConfigList
- func (mr *MockAPIClientMockRecorder) ConfigList(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConfigList", reflect.TypeOf((*MockAPIClient)(nil).ConfigList), arg0, arg1)
- }
- // ConfigRemove mocks base method
- func (m *MockAPIClient) ConfigRemove(arg0 context.Context, arg1 string) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ConfigRemove", arg0, arg1)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // ConfigRemove indicates an expected call of ConfigRemove
- func (mr *MockAPIClientMockRecorder) ConfigRemove(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConfigRemove", reflect.TypeOf((*MockAPIClient)(nil).ConfigRemove), arg0, arg1)
- }
- // ConfigUpdate mocks base method
- func (m *MockAPIClient) ConfigUpdate(arg0 context.Context, arg1 string, arg2 swarm.Version, arg3 swarm.ConfigSpec) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ConfigUpdate", arg0, arg1, arg2, arg3)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // ConfigUpdate indicates an expected call of ConfigUpdate
- func (mr *MockAPIClientMockRecorder) ConfigUpdate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConfigUpdate", reflect.TypeOf((*MockAPIClient)(nil).ConfigUpdate), arg0, arg1, arg2, arg3)
- }
- // ContainerAttach mocks base method
- func (m *MockAPIClient) ContainerAttach(arg0 context.Context, arg1 string, arg2 types.ContainerAttachOptions) (types.HijackedResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerAttach", arg0, arg1, arg2)
- ret0, _ := ret[0].(types.HijackedResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ContainerAttach indicates an expected call of ContainerAttach
- func (mr *MockAPIClientMockRecorder) ContainerAttach(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerAttach", reflect.TypeOf((*MockAPIClient)(nil).ContainerAttach), arg0, arg1, arg2)
- }
- // ContainerCommit mocks base method
- func (m *MockAPIClient) ContainerCommit(arg0 context.Context, arg1 string, arg2 types.ContainerCommitOptions) (types.IDResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerCommit", arg0, arg1, arg2)
- ret0, _ := ret[0].(types.IDResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ContainerCommit indicates an expected call of ContainerCommit
- func (mr *MockAPIClientMockRecorder) ContainerCommit(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerCommit", reflect.TypeOf((*MockAPIClient)(nil).ContainerCommit), arg0, arg1, arg2)
- }
- // ContainerCreate mocks base method
- func (m *MockAPIClient) ContainerCreate(arg0 context.Context, arg1 *container.Config, arg2 *container.HostConfig, arg3 *network.NetworkingConfig, arg4 *v1.Platform, arg5 string) (container.ContainerCreateCreatedBody, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerCreate", arg0, arg1, arg2, arg3, arg4, arg5)
- ret0, _ := ret[0].(container.ContainerCreateCreatedBody)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ContainerCreate indicates an expected call of ContainerCreate
- func (mr *MockAPIClientMockRecorder) ContainerCreate(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerCreate", reflect.TypeOf((*MockAPIClient)(nil).ContainerCreate), arg0, arg1, arg2, arg3, arg4, arg5)
- }
- // ContainerDiff mocks base method
- func (m *MockAPIClient) ContainerDiff(arg0 context.Context, arg1 string) ([]container.ContainerChangeResponseItem, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerDiff", arg0, arg1)
- ret0, _ := ret[0].([]container.ContainerChangeResponseItem)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ContainerDiff indicates an expected call of ContainerDiff
- func (mr *MockAPIClientMockRecorder) ContainerDiff(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerDiff", reflect.TypeOf((*MockAPIClient)(nil).ContainerDiff), arg0, arg1)
- }
- // ContainerExecAttach mocks base method
- func (m *MockAPIClient) ContainerExecAttach(arg0 context.Context, arg1 string, arg2 types.ExecStartCheck) (types.HijackedResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerExecAttach", arg0, arg1, arg2)
- ret0, _ := ret[0].(types.HijackedResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ContainerExecAttach indicates an expected call of ContainerExecAttach
- func (mr *MockAPIClientMockRecorder) ContainerExecAttach(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerExecAttach", reflect.TypeOf((*MockAPIClient)(nil).ContainerExecAttach), arg0, arg1, arg2)
- }
- // ContainerExecCreate mocks base method
- func (m *MockAPIClient) ContainerExecCreate(arg0 context.Context, arg1 string, arg2 types.ExecConfig) (types.IDResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerExecCreate", arg0, arg1, arg2)
- ret0, _ := ret[0].(types.IDResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ContainerExecCreate indicates an expected call of ContainerExecCreate
- func (mr *MockAPIClientMockRecorder) ContainerExecCreate(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerExecCreate", reflect.TypeOf((*MockAPIClient)(nil).ContainerExecCreate), arg0, arg1, arg2)
- }
- // ContainerExecInspect mocks base method
- func (m *MockAPIClient) ContainerExecInspect(arg0 context.Context, arg1 string) (types.ContainerExecInspect, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerExecInspect", arg0, arg1)
- ret0, _ := ret[0].(types.ContainerExecInspect)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ContainerExecInspect indicates an expected call of ContainerExecInspect
- func (mr *MockAPIClientMockRecorder) ContainerExecInspect(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerExecInspect", reflect.TypeOf((*MockAPIClient)(nil).ContainerExecInspect), arg0, arg1)
- }
- // ContainerExecResize mocks base method
- func (m *MockAPIClient) ContainerExecResize(arg0 context.Context, arg1 string, arg2 types.ResizeOptions) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerExecResize", arg0, arg1, arg2)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // ContainerExecResize indicates an expected call of ContainerExecResize
- func (mr *MockAPIClientMockRecorder) ContainerExecResize(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerExecResize", reflect.TypeOf((*MockAPIClient)(nil).ContainerExecResize), arg0, arg1, arg2)
- }
- // ContainerExecStart mocks base method
- func (m *MockAPIClient) ContainerExecStart(arg0 context.Context, arg1 string, arg2 types.ExecStartCheck) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerExecStart", arg0, arg1, arg2)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // ContainerExecStart indicates an expected call of ContainerExecStart
- func (mr *MockAPIClientMockRecorder) ContainerExecStart(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerExecStart", reflect.TypeOf((*MockAPIClient)(nil).ContainerExecStart), arg0, arg1, arg2)
- }
- // ContainerExport mocks base method
- func (m *MockAPIClient) ContainerExport(arg0 context.Context, arg1 string) (io.ReadCloser, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerExport", arg0, arg1)
- ret0, _ := ret[0].(io.ReadCloser)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ContainerExport indicates an expected call of ContainerExport
- func (mr *MockAPIClientMockRecorder) ContainerExport(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerExport", reflect.TypeOf((*MockAPIClient)(nil).ContainerExport), arg0, arg1)
- }
- // ContainerInspect mocks base method
- func (m *MockAPIClient) ContainerInspect(arg0 context.Context, arg1 string) (types.ContainerJSON, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerInspect", arg0, arg1)
- ret0, _ := ret[0].(types.ContainerJSON)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ContainerInspect indicates an expected call of ContainerInspect
- func (mr *MockAPIClientMockRecorder) ContainerInspect(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerInspect", reflect.TypeOf((*MockAPIClient)(nil).ContainerInspect), arg0, arg1)
- }
- // ContainerInspectWithRaw mocks base method
- func (m *MockAPIClient) ContainerInspectWithRaw(arg0 context.Context, arg1 string, arg2 bool) (types.ContainerJSON, []byte, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerInspectWithRaw", arg0, arg1, arg2)
- ret0, _ := ret[0].(types.ContainerJSON)
- ret1, _ := ret[1].([]byte)
- ret2, _ := ret[2].(error)
- return ret0, ret1, ret2
- }
- // ContainerInspectWithRaw indicates an expected call of ContainerInspectWithRaw
- func (mr *MockAPIClientMockRecorder) ContainerInspectWithRaw(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerInspectWithRaw", reflect.TypeOf((*MockAPIClient)(nil).ContainerInspectWithRaw), arg0, arg1, arg2)
- }
- // ContainerKill mocks base method
- func (m *MockAPIClient) ContainerKill(arg0 context.Context, arg1, arg2 string) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerKill", arg0, arg1, arg2)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // ContainerKill indicates an expected call of ContainerKill
- func (mr *MockAPIClientMockRecorder) ContainerKill(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerKill", reflect.TypeOf((*MockAPIClient)(nil).ContainerKill), arg0, arg1, arg2)
- }
- // ContainerList mocks base method
- func (m *MockAPIClient) ContainerList(arg0 context.Context, arg1 types.ContainerListOptions) ([]types.Container, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerList", arg0, arg1)
- ret0, _ := ret[0].([]types.Container)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ContainerList indicates an expected call of ContainerList
- func (mr *MockAPIClientMockRecorder) ContainerList(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerList", reflect.TypeOf((*MockAPIClient)(nil).ContainerList), arg0, arg1)
- }
- // ContainerLogs mocks base method
- func (m *MockAPIClient) ContainerLogs(arg0 context.Context, arg1 string, arg2 types.ContainerLogsOptions) (io.ReadCloser, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerLogs", arg0, arg1, arg2)
- ret0, _ := ret[0].(io.ReadCloser)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ContainerLogs indicates an expected call of ContainerLogs
- func (mr *MockAPIClientMockRecorder) ContainerLogs(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerLogs", reflect.TypeOf((*MockAPIClient)(nil).ContainerLogs), arg0, arg1, arg2)
- }
- // ContainerPause mocks base method
- func (m *MockAPIClient) ContainerPause(arg0 context.Context, arg1 string) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerPause", arg0, arg1)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // ContainerPause indicates an expected call of ContainerPause
- func (mr *MockAPIClientMockRecorder) ContainerPause(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerPause", reflect.TypeOf((*MockAPIClient)(nil).ContainerPause), arg0, arg1)
- }
- // ContainerRemove mocks base method
- func (m *MockAPIClient) ContainerRemove(arg0 context.Context, arg1 string, arg2 types.ContainerRemoveOptions) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerRemove", arg0, arg1, arg2)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // ContainerRemove indicates an expected call of ContainerRemove
- func (mr *MockAPIClientMockRecorder) ContainerRemove(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerRemove", reflect.TypeOf((*MockAPIClient)(nil).ContainerRemove), arg0, arg1, arg2)
- }
- // ContainerRename mocks base method
- func (m *MockAPIClient) ContainerRename(arg0 context.Context, arg1, arg2 string) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerRename", arg0, arg1, arg2)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // ContainerRename indicates an expected call of ContainerRename
- func (mr *MockAPIClientMockRecorder) ContainerRename(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerRename", reflect.TypeOf((*MockAPIClient)(nil).ContainerRename), arg0, arg1, arg2)
- }
- // ContainerResize mocks base method
- func (m *MockAPIClient) ContainerResize(arg0 context.Context, arg1 string, arg2 types.ResizeOptions) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerResize", arg0, arg1, arg2)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // ContainerResize indicates an expected call of ContainerResize
- func (mr *MockAPIClientMockRecorder) ContainerResize(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerResize", reflect.TypeOf((*MockAPIClient)(nil).ContainerResize), arg0, arg1, arg2)
- }
- // ContainerRestart mocks base method
- func (m *MockAPIClient) ContainerRestart(arg0 context.Context, arg1 string, arg2 *time.Duration) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerRestart", arg0, arg1, arg2)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // ContainerRestart indicates an expected call of ContainerRestart
- func (mr *MockAPIClientMockRecorder) ContainerRestart(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerRestart", reflect.TypeOf((*MockAPIClient)(nil).ContainerRestart), arg0, arg1, arg2)
- }
- // ContainerStart mocks base method
- func (m *MockAPIClient) ContainerStart(arg0 context.Context, arg1 string, arg2 types.ContainerStartOptions) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerStart", arg0, arg1, arg2)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // ContainerStart indicates an expected call of ContainerStart
- func (mr *MockAPIClientMockRecorder) ContainerStart(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerStart", reflect.TypeOf((*MockAPIClient)(nil).ContainerStart), arg0, arg1, arg2)
- }
- // ContainerStatPath mocks base method
- func (m *MockAPIClient) ContainerStatPath(arg0 context.Context, arg1, arg2 string) (types.ContainerPathStat, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerStatPath", arg0, arg1, arg2)
- ret0, _ := ret[0].(types.ContainerPathStat)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ContainerStatPath indicates an expected call of ContainerStatPath
- func (mr *MockAPIClientMockRecorder) ContainerStatPath(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerStatPath", reflect.TypeOf((*MockAPIClient)(nil).ContainerStatPath), arg0, arg1, arg2)
- }
- // ContainerStats mocks base method
- func (m *MockAPIClient) ContainerStats(arg0 context.Context, arg1 string, arg2 bool) (types.ContainerStats, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerStats", arg0, arg1, arg2)
- ret0, _ := ret[0].(types.ContainerStats)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ContainerStats indicates an expected call of ContainerStats
- func (mr *MockAPIClientMockRecorder) ContainerStats(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerStats", reflect.TypeOf((*MockAPIClient)(nil).ContainerStats), arg0, arg1, arg2)
- }
- // ContainerStatsOneShot mocks base method
- func (m *MockAPIClient) ContainerStatsOneShot(arg0 context.Context, arg1 string) (types.ContainerStats, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerStatsOneShot", arg0, arg1)
- ret0, _ := ret[0].(types.ContainerStats)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ContainerStatsOneShot indicates an expected call of ContainerStatsOneShot
- func (mr *MockAPIClientMockRecorder) ContainerStatsOneShot(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerStatsOneShot", reflect.TypeOf((*MockAPIClient)(nil).ContainerStatsOneShot), arg0, arg1)
- }
- // ContainerStop mocks base method
- func (m *MockAPIClient) ContainerStop(arg0 context.Context, arg1 string, arg2 *time.Duration) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerStop", arg0, arg1, arg2)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // ContainerStop indicates an expected call of ContainerStop
- func (mr *MockAPIClientMockRecorder) ContainerStop(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerStop", reflect.TypeOf((*MockAPIClient)(nil).ContainerStop), arg0, arg1, arg2)
- }
- // ContainerTop mocks base method
- func (m *MockAPIClient) ContainerTop(arg0 context.Context, arg1 string, arg2 []string) (container.ContainerTopOKBody, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerTop", arg0, arg1, arg2)
- ret0, _ := ret[0].(container.ContainerTopOKBody)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ContainerTop indicates an expected call of ContainerTop
- func (mr *MockAPIClientMockRecorder) ContainerTop(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerTop", reflect.TypeOf((*MockAPIClient)(nil).ContainerTop), arg0, arg1, arg2)
- }
- // ContainerUnpause mocks base method
- func (m *MockAPIClient) ContainerUnpause(arg0 context.Context, arg1 string) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerUnpause", arg0, arg1)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // ContainerUnpause indicates an expected call of ContainerUnpause
- func (mr *MockAPIClientMockRecorder) ContainerUnpause(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerUnpause", reflect.TypeOf((*MockAPIClient)(nil).ContainerUnpause), arg0, arg1)
- }
- // ContainerUpdate mocks base method
- func (m *MockAPIClient) ContainerUpdate(arg0 context.Context, arg1 string, arg2 container.UpdateConfig) (container.ContainerUpdateOKBody, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerUpdate", arg0, arg1, arg2)
- ret0, _ := ret[0].(container.ContainerUpdateOKBody)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ContainerUpdate indicates an expected call of ContainerUpdate
- func (mr *MockAPIClientMockRecorder) ContainerUpdate(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerUpdate", reflect.TypeOf((*MockAPIClient)(nil).ContainerUpdate), arg0, arg1, arg2)
- }
- // ContainerWait mocks base method
- func (m *MockAPIClient) ContainerWait(arg0 context.Context, arg1 string, arg2 container.WaitCondition) (<-chan container.ContainerWaitOKBody, <-chan error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerWait", arg0, arg1, arg2)
- ret0, _ := ret[0].(<-chan container.ContainerWaitOKBody)
- ret1, _ := ret[1].(<-chan error)
- return ret0, ret1
- }
- // ContainerWait indicates an expected call of ContainerWait
- func (mr *MockAPIClientMockRecorder) ContainerWait(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerWait", reflect.TypeOf((*MockAPIClient)(nil).ContainerWait), arg0, arg1, arg2)
- }
- // ContainersPrune mocks base method
- func (m *MockAPIClient) ContainersPrune(arg0 context.Context, arg1 filters.Args) (types.ContainersPruneReport, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainersPrune", arg0, arg1)
- ret0, _ := ret[0].(types.ContainersPruneReport)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ContainersPrune indicates an expected call of ContainersPrune
- func (mr *MockAPIClientMockRecorder) ContainersPrune(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainersPrune", reflect.TypeOf((*MockAPIClient)(nil).ContainersPrune), arg0, arg1)
- }
- // CopyFromContainer mocks base method
- func (m *MockAPIClient) CopyFromContainer(arg0 context.Context, arg1, arg2 string) (io.ReadCloser, types.ContainerPathStat, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "CopyFromContainer", arg0, arg1, arg2)
- ret0, _ := ret[0].(io.ReadCloser)
- ret1, _ := ret[1].(types.ContainerPathStat)
- ret2, _ := ret[2].(error)
- return ret0, ret1, ret2
- }
- // CopyFromContainer indicates an expected call of CopyFromContainer
- func (mr *MockAPIClientMockRecorder) CopyFromContainer(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CopyFromContainer", reflect.TypeOf((*MockAPIClient)(nil).CopyFromContainer), arg0, arg1, arg2)
- }
- // CopyToContainer mocks base method
- func (m *MockAPIClient) CopyToContainer(arg0 context.Context, arg1, arg2 string, arg3 io.Reader, arg4 types.CopyToContainerOptions) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "CopyToContainer", arg0, arg1, arg2, arg3, arg4)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // CopyToContainer indicates an expected call of CopyToContainer
- func (mr *MockAPIClientMockRecorder) CopyToContainer(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CopyToContainer", reflect.TypeOf((*MockAPIClient)(nil).CopyToContainer), arg0, arg1, arg2, arg3, arg4)
- }
- // DaemonHost mocks base method
- func (m *MockAPIClient) DaemonHost() string {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "DaemonHost")
- ret0, _ := ret[0].(string)
- return ret0
- }
- // DaemonHost indicates an expected call of DaemonHost
- func (mr *MockAPIClientMockRecorder) DaemonHost() *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DaemonHost", reflect.TypeOf((*MockAPIClient)(nil).DaemonHost))
- }
- // DialHijack mocks base method
- func (m *MockAPIClient) DialHijack(arg0 context.Context, arg1, arg2 string, arg3 map[string][]string) (net.Conn, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "DialHijack", arg0, arg1, arg2, arg3)
- ret0, _ := ret[0].(net.Conn)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // DialHijack indicates an expected call of DialHijack
- func (mr *MockAPIClientMockRecorder) DialHijack(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DialHijack", reflect.TypeOf((*MockAPIClient)(nil).DialHijack), arg0, arg1, arg2, arg3)
- }
- // Dialer mocks base method
- func (m *MockAPIClient) Dialer() func(context.Context) (net.Conn, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "Dialer")
- ret0, _ := ret[0].(func(context.Context) (net.Conn, error))
- return ret0
- }
- // Dialer indicates an expected call of Dialer
- func (mr *MockAPIClientMockRecorder) Dialer() *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Dialer", reflect.TypeOf((*MockAPIClient)(nil).Dialer))
- }
- // DiskUsage mocks base method
- func (m *MockAPIClient) DiskUsage(arg0 context.Context) (types.DiskUsage, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "DiskUsage", arg0)
- ret0, _ := ret[0].(types.DiskUsage)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // DiskUsage indicates an expected call of DiskUsage
- func (mr *MockAPIClientMockRecorder) DiskUsage(arg0 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiskUsage", reflect.TypeOf((*MockAPIClient)(nil).DiskUsage), arg0)
- }
- // DistributionInspect mocks base method
- func (m *MockAPIClient) DistributionInspect(arg0 context.Context, arg1, arg2 string) (registry.DistributionInspect, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "DistributionInspect", arg0, arg1, arg2)
- ret0, _ := ret[0].(registry.DistributionInspect)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // DistributionInspect indicates an expected call of DistributionInspect
- func (mr *MockAPIClientMockRecorder) DistributionInspect(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DistributionInspect", reflect.TypeOf((*MockAPIClient)(nil).DistributionInspect), arg0, arg1, arg2)
- }
- // Events mocks base method
- func (m *MockAPIClient) Events(arg0 context.Context, arg1 types.EventsOptions) (<-chan events.Message, <-chan error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "Events", arg0, arg1)
- ret0, _ := ret[0].(<-chan events.Message)
- ret1, _ := ret[1].(<-chan error)
- return ret0, ret1
- }
- // Events indicates an expected call of Events
- func (mr *MockAPIClientMockRecorder) Events(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Events", reflect.TypeOf((*MockAPIClient)(nil).Events), arg0, arg1)
- }
- // HTTPClient mocks base method
- func (m *MockAPIClient) HTTPClient() *http.Client {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "HTTPClient")
- ret0, _ := ret[0].(*http.Client)
- return ret0
- }
- // HTTPClient indicates an expected call of HTTPClient
- func (mr *MockAPIClientMockRecorder) HTTPClient() *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HTTPClient", reflect.TypeOf((*MockAPIClient)(nil).HTTPClient))
- }
- // ImageBuild mocks base method
- func (m *MockAPIClient) ImageBuild(arg0 context.Context, arg1 io.Reader, arg2 types.ImageBuildOptions) (types.ImageBuildResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ImageBuild", arg0, arg1, arg2)
- ret0, _ := ret[0].(types.ImageBuildResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ImageBuild indicates an expected call of ImageBuild
- func (mr *MockAPIClientMockRecorder) ImageBuild(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImageBuild", reflect.TypeOf((*MockAPIClient)(nil).ImageBuild), arg0, arg1, arg2)
- }
- // ImageCreate mocks base method
- func (m *MockAPIClient) ImageCreate(arg0 context.Context, arg1 string, arg2 types.ImageCreateOptions) (io.ReadCloser, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ImageCreate", arg0, arg1, arg2)
- ret0, _ := ret[0].(io.ReadCloser)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ImageCreate indicates an expected call of ImageCreate
- func (mr *MockAPIClientMockRecorder) ImageCreate(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImageCreate", reflect.TypeOf((*MockAPIClient)(nil).ImageCreate), arg0, arg1, arg2)
- }
- // ImageHistory mocks base method
- func (m *MockAPIClient) ImageHistory(arg0 context.Context, arg1 string) ([]image.HistoryResponseItem, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ImageHistory", arg0, arg1)
- ret0, _ := ret[0].([]image.HistoryResponseItem)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ImageHistory indicates an expected call of ImageHistory
- func (mr *MockAPIClientMockRecorder) ImageHistory(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImageHistory", reflect.TypeOf((*MockAPIClient)(nil).ImageHistory), arg0, arg1)
- }
- // ImageImport mocks base method
- func (m *MockAPIClient) ImageImport(arg0 context.Context, arg1 types.ImageImportSource, arg2 string, arg3 types.ImageImportOptions) (io.ReadCloser, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ImageImport", arg0, arg1, arg2, arg3)
- ret0, _ := ret[0].(io.ReadCloser)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ImageImport indicates an expected call of ImageImport
- func (mr *MockAPIClientMockRecorder) ImageImport(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImageImport", reflect.TypeOf((*MockAPIClient)(nil).ImageImport), arg0, arg1, arg2, arg3)
- }
- // ImageInspectWithRaw mocks base method
- func (m *MockAPIClient) ImageInspectWithRaw(arg0 context.Context, arg1 string) (types.ImageInspect, []byte, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ImageInspectWithRaw", arg0, arg1)
- ret0, _ := ret[0].(types.ImageInspect)
- ret1, _ := ret[1].([]byte)
- ret2, _ := ret[2].(error)
- return ret0, ret1, ret2
- }
- // ImageInspectWithRaw indicates an expected call of ImageInspectWithRaw
- func (mr *MockAPIClientMockRecorder) ImageInspectWithRaw(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImageInspectWithRaw", reflect.TypeOf((*MockAPIClient)(nil).ImageInspectWithRaw), arg0, arg1)
- }
- // ImageList mocks base method
- func (m *MockAPIClient) ImageList(arg0 context.Context, arg1 types.ImageListOptions) ([]types.ImageSummary, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ImageList", arg0, arg1)
- ret0, _ := ret[0].([]types.ImageSummary)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ImageList indicates an expected call of ImageList
- func (mr *MockAPIClientMockRecorder) ImageList(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImageList", reflect.TypeOf((*MockAPIClient)(nil).ImageList), arg0, arg1)
- }
- // ImageLoad mocks base method
- func (m *MockAPIClient) ImageLoad(arg0 context.Context, arg1 io.Reader, arg2 bool) (types.ImageLoadResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ImageLoad", arg0, arg1, arg2)
- ret0, _ := ret[0].(types.ImageLoadResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ImageLoad indicates an expected call of ImageLoad
- func (mr *MockAPIClientMockRecorder) ImageLoad(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImageLoad", reflect.TypeOf((*MockAPIClient)(nil).ImageLoad), arg0, arg1, arg2)
- }
- // ImagePull mocks base method
- func (m *MockAPIClient) ImagePull(arg0 context.Context, arg1 string, arg2 types.ImagePullOptions) (io.ReadCloser, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ImagePull", arg0, arg1, arg2)
- ret0, _ := ret[0].(io.ReadCloser)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ImagePull indicates an expected call of ImagePull
- func (mr *MockAPIClientMockRecorder) ImagePull(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImagePull", reflect.TypeOf((*MockAPIClient)(nil).ImagePull), arg0, arg1, arg2)
- }
- // ImagePush mocks base method
- func (m *MockAPIClient) ImagePush(arg0 context.Context, arg1 string, arg2 types.ImagePushOptions) (io.ReadCloser, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ImagePush", arg0, arg1, arg2)
- ret0, _ := ret[0].(io.ReadCloser)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ImagePush indicates an expected call of ImagePush
- func (mr *MockAPIClientMockRecorder) ImagePush(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImagePush", reflect.TypeOf((*MockAPIClient)(nil).ImagePush), arg0, arg1, arg2)
- }
- // ImageRemove mocks base method
- func (m *MockAPIClient) ImageRemove(arg0 context.Context, arg1 string, arg2 types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ImageRemove", arg0, arg1, arg2)
- ret0, _ := ret[0].([]types.ImageDeleteResponseItem)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ImageRemove indicates an expected call of ImageRemove
- func (mr *MockAPIClientMockRecorder) ImageRemove(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImageRemove", reflect.TypeOf((*MockAPIClient)(nil).ImageRemove), arg0, arg1, arg2)
- }
- // ImageSave mocks base method
- func (m *MockAPIClient) ImageSave(arg0 context.Context, arg1 []string) (io.ReadCloser, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ImageSave", arg0, arg1)
- ret0, _ := ret[0].(io.ReadCloser)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ImageSave indicates an expected call of ImageSave
- func (mr *MockAPIClientMockRecorder) ImageSave(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImageSave", reflect.TypeOf((*MockAPIClient)(nil).ImageSave), arg0, arg1)
- }
- // ImageSearch mocks base method
- func (m *MockAPIClient) ImageSearch(arg0 context.Context, arg1 string, arg2 types.ImageSearchOptions) ([]registry.SearchResult, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ImageSearch", arg0, arg1, arg2)
- ret0, _ := ret[0].([]registry.SearchResult)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ImageSearch indicates an expected call of ImageSearch
- func (mr *MockAPIClientMockRecorder) ImageSearch(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImageSearch", reflect.TypeOf((*MockAPIClient)(nil).ImageSearch), arg0, arg1, arg2)
- }
- // ImageTag mocks base method
- func (m *MockAPIClient) ImageTag(arg0 context.Context, arg1, arg2 string) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ImageTag", arg0, arg1, arg2)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // ImageTag indicates an expected call of ImageTag
- func (mr *MockAPIClientMockRecorder) ImageTag(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImageTag", reflect.TypeOf((*MockAPIClient)(nil).ImageTag), arg0, arg1, arg2)
- }
- // ImagesPrune mocks base method
- func (m *MockAPIClient) ImagesPrune(arg0 context.Context, arg1 filters.Args) (types.ImagesPruneReport, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ImagesPrune", arg0, arg1)
- ret0, _ := ret[0].(types.ImagesPruneReport)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ImagesPrune indicates an expected call of ImagesPrune
- func (mr *MockAPIClientMockRecorder) ImagesPrune(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImagesPrune", reflect.TypeOf((*MockAPIClient)(nil).ImagesPrune), arg0, arg1)
- }
- // Info mocks base method
- func (m *MockAPIClient) Info(arg0 context.Context) (types.Info, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "Info", arg0)
- ret0, _ := ret[0].(types.Info)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // Info indicates an expected call of Info
- func (mr *MockAPIClientMockRecorder) Info(arg0 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Info", reflect.TypeOf((*MockAPIClient)(nil).Info), arg0)
- }
- // NegotiateAPIVersion mocks base method
- func (m *MockAPIClient) NegotiateAPIVersion(arg0 context.Context) {
- m.ctrl.T.Helper()
- m.ctrl.Call(m, "NegotiateAPIVersion", arg0)
- }
- // NegotiateAPIVersion indicates an expected call of NegotiateAPIVersion
- func (mr *MockAPIClientMockRecorder) NegotiateAPIVersion(arg0 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NegotiateAPIVersion", reflect.TypeOf((*MockAPIClient)(nil).NegotiateAPIVersion), arg0)
- }
- // NegotiateAPIVersionPing mocks base method
- func (m *MockAPIClient) NegotiateAPIVersionPing(arg0 types.Ping) {
- m.ctrl.T.Helper()
- m.ctrl.Call(m, "NegotiateAPIVersionPing", arg0)
- }
- // NegotiateAPIVersionPing indicates an expected call of NegotiateAPIVersionPing
- func (mr *MockAPIClientMockRecorder) NegotiateAPIVersionPing(arg0 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NegotiateAPIVersionPing", reflect.TypeOf((*MockAPIClient)(nil).NegotiateAPIVersionPing), arg0)
- }
- // NetworkConnect mocks base method
- func (m *MockAPIClient) NetworkConnect(arg0 context.Context, arg1, arg2 string, arg3 *network.EndpointSettings) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "NetworkConnect", arg0, arg1, arg2, arg3)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // NetworkConnect indicates an expected call of NetworkConnect
- func (mr *MockAPIClientMockRecorder) NetworkConnect(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetworkConnect", reflect.TypeOf((*MockAPIClient)(nil).NetworkConnect), arg0, arg1, arg2, arg3)
- }
- // NetworkCreate mocks base method
- func (m *MockAPIClient) NetworkCreate(arg0 context.Context, arg1 string, arg2 types.NetworkCreate) (types.NetworkCreateResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "NetworkCreate", arg0, arg1, arg2)
- ret0, _ := ret[0].(types.NetworkCreateResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // NetworkCreate indicates an expected call of NetworkCreate
- func (mr *MockAPIClientMockRecorder) NetworkCreate(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetworkCreate", reflect.TypeOf((*MockAPIClient)(nil).NetworkCreate), arg0, arg1, arg2)
- }
- // NetworkDisconnect mocks base method
- func (m *MockAPIClient) NetworkDisconnect(arg0 context.Context, arg1, arg2 string, arg3 bool) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "NetworkDisconnect", arg0, arg1, arg2, arg3)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // NetworkDisconnect indicates an expected call of NetworkDisconnect
- func (mr *MockAPIClientMockRecorder) NetworkDisconnect(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetworkDisconnect", reflect.TypeOf((*MockAPIClient)(nil).NetworkDisconnect), arg0, arg1, arg2, arg3)
- }
- // NetworkInspect mocks base method
- func (m *MockAPIClient) NetworkInspect(arg0 context.Context, arg1 string, arg2 types.NetworkInspectOptions) (types.NetworkResource, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "NetworkInspect", arg0, arg1, arg2)
- ret0, _ := ret[0].(types.NetworkResource)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // NetworkInspect indicates an expected call of NetworkInspect
- func (mr *MockAPIClientMockRecorder) NetworkInspect(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetworkInspect", reflect.TypeOf((*MockAPIClient)(nil).NetworkInspect), arg0, arg1, arg2)
- }
- // NetworkInspectWithRaw mocks base method
- func (m *MockAPIClient) NetworkInspectWithRaw(arg0 context.Context, arg1 string, arg2 types.NetworkInspectOptions) (types.NetworkResource, []byte, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "NetworkInspectWithRaw", arg0, arg1, arg2)
- ret0, _ := ret[0].(types.NetworkResource)
- ret1, _ := ret[1].([]byte)
- ret2, _ := ret[2].(error)
- return ret0, ret1, ret2
- }
- // NetworkInspectWithRaw indicates an expected call of NetworkInspectWithRaw
- func (mr *MockAPIClientMockRecorder) NetworkInspectWithRaw(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetworkInspectWithRaw", reflect.TypeOf((*MockAPIClient)(nil).NetworkInspectWithRaw), arg0, arg1, arg2)
- }
- // NetworkList mocks base method
- func (m *MockAPIClient) NetworkList(arg0 context.Context, arg1 types.NetworkListOptions) ([]types.NetworkResource, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "NetworkList", arg0, arg1)
- ret0, _ := ret[0].([]types.NetworkResource)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // NetworkList indicates an expected call of NetworkList
- func (mr *MockAPIClientMockRecorder) NetworkList(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetworkList", reflect.TypeOf((*MockAPIClient)(nil).NetworkList), arg0, arg1)
- }
- // NetworkRemove mocks base method
- func (m *MockAPIClient) NetworkRemove(arg0 context.Context, arg1 string) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "NetworkRemove", arg0, arg1)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // NetworkRemove indicates an expected call of NetworkRemove
- func (mr *MockAPIClientMockRecorder) NetworkRemove(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetworkRemove", reflect.TypeOf((*MockAPIClient)(nil).NetworkRemove), arg0, arg1)
- }
- // NetworksPrune mocks base method
- func (m *MockAPIClient) NetworksPrune(arg0 context.Context, arg1 filters.Args) (types.NetworksPruneReport, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "NetworksPrune", arg0, arg1)
- ret0, _ := ret[0].(types.NetworksPruneReport)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // NetworksPrune indicates an expected call of NetworksPrune
- func (mr *MockAPIClientMockRecorder) NetworksPrune(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetworksPrune", reflect.TypeOf((*MockAPIClient)(nil).NetworksPrune), arg0, arg1)
- }
- // NodeInspectWithRaw mocks base method
- func (m *MockAPIClient) NodeInspectWithRaw(arg0 context.Context, arg1 string) (swarm.Node, []byte, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "NodeInspectWithRaw", arg0, arg1)
- ret0, _ := ret[0].(swarm.Node)
- ret1, _ := ret[1].([]byte)
- ret2, _ := ret[2].(error)
- return ret0, ret1, ret2
- }
- // NodeInspectWithRaw indicates an expected call of NodeInspectWithRaw
- func (mr *MockAPIClientMockRecorder) NodeInspectWithRaw(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NodeInspectWithRaw", reflect.TypeOf((*MockAPIClient)(nil).NodeInspectWithRaw), arg0, arg1)
- }
- // NodeList mocks base method
- func (m *MockAPIClient) NodeList(arg0 context.Context, arg1 types.NodeListOptions) ([]swarm.Node, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "NodeList", arg0, arg1)
- ret0, _ := ret[0].([]swarm.Node)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // NodeList indicates an expected call of NodeList
- func (mr *MockAPIClientMockRecorder) NodeList(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NodeList", reflect.TypeOf((*MockAPIClient)(nil).NodeList), arg0, arg1)
- }
- // NodeRemove mocks base method
- func (m *MockAPIClient) NodeRemove(arg0 context.Context, arg1 string, arg2 types.NodeRemoveOptions) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "NodeRemove", arg0, arg1, arg2)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // NodeRemove indicates an expected call of NodeRemove
- func (mr *MockAPIClientMockRecorder) NodeRemove(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NodeRemove", reflect.TypeOf((*MockAPIClient)(nil).NodeRemove), arg0, arg1, arg2)
- }
- // NodeUpdate mocks base method
- func (m *MockAPIClient) NodeUpdate(arg0 context.Context, arg1 string, arg2 swarm.Version, arg3 swarm.NodeSpec) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "NodeUpdate", arg0, arg1, arg2, arg3)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // NodeUpdate indicates an expected call of NodeUpdate
- func (mr *MockAPIClientMockRecorder) NodeUpdate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NodeUpdate", reflect.TypeOf((*MockAPIClient)(nil).NodeUpdate), arg0, arg1, arg2, arg3)
- }
- // Ping mocks base method
- func (m *MockAPIClient) Ping(arg0 context.Context) (types.Ping, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "Ping", arg0)
- ret0, _ := ret[0].(types.Ping)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // Ping indicates an expected call of Ping
- func (mr *MockAPIClientMockRecorder) Ping(arg0 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Ping", reflect.TypeOf((*MockAPIClient)(nil).Ping), arg0)
- }
- // PluginCreate mocks base method
- func (m *MockAPIClient) PluginCreate(arg0 context.Context, arg1 io.Reader, arg2 types.PluginCreateOptions) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "PluginCreate", arg0, arg1, arg2)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // PluginCreate indicates an expected call of PluginCreate
- func (mr *MockAPIClientMockRecorder) PluginCreate(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PluginCreate", reflect.TypeOf((*MockAPIClient)(nil).PluginCreate), arg0, arg1, arg2)
- }
- // PluginDisable mocks base method
- func (m *MockAPIClient) PluginDisable(arg0 context.Context, arg1 string, arg2 types.PluginDisableOptions) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "PluginDisable", arg0, arg1, arg2)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // PluginDisable indicates an expected call of PluginDisable
- func (mr *MockAPIClientMockRecorder) PluginDisable(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PluginDisable", reflect.TypeOf((*MockAPIClient)(nil).PluginDisable), arg0, arg1, arg2)
- }
- // PluginEnable mocks base method
- func (m *MockAPIClient) PluginEnable(arg0 context.Context, arg1 string, arg2 types.PluginEnableOptions) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "PluginEnable", arg0, arg1, arg2)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // PluginEnable indicates an expected call of PluginEnable
- func (mr *MockAPIClientMockRecorder) PluginEnable(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PluginEnable", reflect.TypeOf((*MockAPIClient)(nil).PluginEnable), arg0, arg1, arg2)
- }
- // PluginInspectWithRaw mocks base method
- func (m *MockAPIClient) PluginInspectWithRaw(arg0 context.Context, arg1 string) (*types.Plugin, []byte, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "PluginInspectWithRaw", arg0, arg1)
- ret0, _ := ret[0].(*types.Plugin)
- ret1, _ := ret[1].([]byte)
- ret2, _ := ret[2].(error)
- return ret0, ret1, ret2
- }
- // PluginInspectWithRaw indicates an expected call of PluginInspectWithRaw
- func (mr *MockAPIClientMockRecorder) PluginInspectWithRaw(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PluginInspectWithRaw", reflect.TypeOf((*MockAPIClient)(nil).PluginInspectWithRaw), arg0, arg1)
- }
- // PluginInstall mocks base method
- func (m *MockAPIClient) PluginInstall(arg0 context.Context, arg1 string, arg2 types.PluginInstallOptions) (io.ReadCloser, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "PluginInstall", arg0, arg1, arg2)
- ret0, _ := ret[0].(io.ReadCloser)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // PluginInstall indicates an expected call of PluginInstall
- func (mr *MockAPIClientMockRecorder) PluginInstall(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PluginInstall", reflect.TypeOf((*MockAPIClient)(nil).PluginInstall), arg0, arg1, arg2)
- }
- // PluginList mocks base method
- func (m *MockAPIClient) PluginList(arg0 context.Context, arg1 filters.Args) (types.PluginsListResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "PluginList", arg0, arg1)
- ret0, _ := ret[0].(types.PluginsListResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // PluginList indicates an expected call of PluginList
- func (mr *MockAPIClientMockRecorder) PluginList(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PluginList", reflect.TypeOf((*MockAPIClient)(nil).PluginList), arg0, arg1)
- }
- // PluginPush mocks base method
- func (m *MockAPIClient) PluginPush(arg0 context.Context, arg1, arg2 string) (io.ReadCloser, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "PluginPush", arg0, arg1, arg2)
- ret0, _ := ret[0].(io.ReadCloser)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // PluginPush indicates an expected call of PluginPush
- func (mr *MockAPIClientMockRecorder) PluginPush(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PluginPush", reflect.TypeOf((*MockAPIClient)(nil).PluginPush), arg0, arg1, arg2)
- }
- // PluginRemove mocks base method
- func (m *MockAPIClient) PluginRemove(arg0 context.Context, arg1 string, arg2 types.PluginRemoveOptions) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "PluginRemove", arg0, arg1, arg2)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // PluginRemove indicates an expected call of PluginRemove
- func (mr *MockAPIClientMockRecorder) PluginRemove(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PluginRemove", reflect.TypeOf((*MockAPIClient)(nil).PluginRemove), arg0, arg1, arg2)
- }
- // PluginSet mocks base method
- func (m *MockAPIClient) PluginSet(arg0 context.Context, arg1 string, arg2 []string) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "PluginSet", arg0, arg1, arg2)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // PluginSet indicates an expected call of PluginSet
- func (mr *MockAPIClientMockRecorder) PluginSet(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PluginSet", reflect.TypeOf((*MockAPIClient)(nil).PluginSet), arg0, arg1, arg2)
- }
- // PluginUpgrade mocks base method
- func (m *MockAPIClient) PluginUpgrade(arg0 context.Context, arg1 string, arg2 types.PluginInstallOptions) (io.ReadCloser, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "PluginUpgrade", arg0, arg1, arg2)
- ret0, _ := ret[0].(io.ReadCloser)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // PluginUpgrade indicates an expected call of PluginUpgrade
- func (mr *MockAPIClientMockRecorder) PluginUpgrade(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PluginUpgrade", reflect.TypeOf((*MockAPIClient)(nil).PluginUpgrade), arg0, arg1, arg2)
- }
- // RegistryLogin mocks base method
- func (m *MockAPIClient) RegistryLogin(arg0 context.Context, arg1 types.AuthConfig) (registry.AuthenticateOKBody, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "RegistryLogin", arg0, arg1)
- ret0, _ := ret[0].(registry.AuthenticateOKBody)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // RegistryLogin indicates an expected call of RegistryLogin
- func (mr *MockAPIClientMockRecorder) RegistryLogin(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegistryLogin", reflect.TypeOf((*MockAPIClient)(nil).RegistryLogin), arg0, arg1)
- }
- // SecretCreate mocks base method
- func (m *MockAPIClient) SecretCreate(arg0 context.Context, arg1 swarm.SecretSpec) (types.SecretCreateResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "SecretCreate", arg0, arg1)
- ret0, _ := ret[0].(types.SecretCreateResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // SecretCreate indicates an expected call of SecretCreate
- func (mr *MockAPIClientMockRecorder) SecretCreate(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecretCreate", reflect.TypeOf((*MockAPIClient)(nil).SecretCreate), arg0, arg1)
- }
- // SecretInspectWithRaw mocks base method
- func (m *MockAPIClient) SecretInspectWithRaw(arg0 context.Context, arg1 string) (swarm.Secret, []byte, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "SecretInspectWithRaw", arg0, arg1)
- ret0, _ := ret[0].(swarm.Secret)
- ret1, _ := ret[1].([]byte)
- ret2, _ := ret[2].(error)
- return ret0, ret1, ret2
- }
- // SecretInspectWithRaw indicates an expected call of SecretInspectWithRaw
- func (mr *MockAPIClientMockRecorder) SecretInspectWithRaw(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecretInspectWithRaw", reflect.TypeOf((*MockAPIClient)(nil).SecretInspectWithRaw), arg0, arg1)
- }
- // SecretList mocks base method
- func (m *MockAPIClient) SecretList(arg0 context.Context, arg1 types.SecretListOptions) ([]swarm.Secret, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "SecretList", arg0, arg1)
- ret0, _ := ret[0].([]swarm.Secret)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // SecretList indicates an expected call of SecretList
- func (mr *MockAPIClientMockRecorder) SecretList(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecretList", reflect.TypeOf((*MockAPIClient)(nil).SecretList), arg0, arg1)
- }
- // SecretRemove mocks base method
- func (m *MockAPIClient) SecretRemove(arg0 context.Context, arg1 string) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "SecretRemove", arg0, arg1)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // SecretRemove indicates an expected call of SecretRemove
- func (mr *MockAPIClientMockRecorder) SecretRemove(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecretRemove", reflect.TypeOf((*MockAPIClient)(nil).SecretRemove), arg0, arg1)
- }
- // SecretUpdate mocks base method
- func (m *MockAPIClient) SecretUpdate(arg0 context.Context, arg1 string, arg2 swarm.Version, arg3 swarm.SecretSpec) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "SecretUpdate", arg0, arg1, arg2, arg3)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // SecretUpdate indicates an expected call of SecretUpdate
- func (mr *MockAPIClientMockRecorder) SecretUpdate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecretUpdate", reflect.TypeOf((*MockAPIClient)(nil).SecretUpdate), arg0, arg1, arg2, arg3)
- }
- // ServerVersion mocks base method
- func (m *MockAPIClient) ServerVersion(arg0 context.Context) (types.Version, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ServerVersion", arg0)
- ret0, _ := ret[0].(types.Version)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ServerVersion indicates an expected call of ServerVersion
- func (mr *MockAPIClientMockRecorder) ServerVersion(arg0 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServerVersion", reflect.TypeOf((*MockAPIClient)(nil).ServerVersion), arg0)
- }
- // ServiceCreate mocks base method
- func (m *MockAPIClient) ServiceCreate(arg0 context.Context, arg1 swarm.ServiceSpec, arg2 types.ServiceCreateOptions) (types.ServiceCreateResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ServiceCreate", arg0, arg1, arg2)
- ret0, _ := ret[0].(types.ServiceCreateResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ServiceCreate indicates an expected call of ServiceCreate
- func (mr *MockAPIClientMockRecorder) ServiceCreate(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServiceCreate", reflect.TypeOf((*MockAPIClient)(nil).ServiceCreate), arg0, arg1, arg2)
- }
- // ServiceInspectWithRaw mocks base method
- func (m *MockAPIClient) ServiceInspectWithRaw(arg0 context.Context, arg1 string, arg2 types.ServiceInspectOptions) (swarm.Service, []byte, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ServiceInspectWithRaw", arg0, arg1, arg2)
- ret0, _ := ret[0].(swarm.Service)
- ret1, _ := ret[1].([]byte)
- ret2, _ := ret[2].(error)
- return ret0, ret1, ret2
- }
- // ServiceInspectWithRaw indicates an expected call of ServiceInspectWithRaw
- func (mr *MockAPIClientMockRecorder) ServiceInspectWithRaw(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServiceInspectWithRaw", reflect.TypeOf((*MockAPIClient)(nil).ServiceInspectWithRaw), arg0, arg1, arg2)
- }
- // ServiceList mocks base method
- func (m *MockAPIClient) ServiceList(arg0 context.Context, arg1 types.ServiceListOptions) ([]swarm.Service, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ServiceList", arg0, arg1)
- ret0, _ := ret[0].([]swarm.Service)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ServiceList indicates an expected call of ServiceList
- func (mr *MockAPIClientMockRecorder) ServiceList(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServiceList", reflect.TypeOf((*MockAPIClient)(nil).ServiceList), arg0, arg1)
- }
- // ServiceLogs mocks base method
- func (m *MockAPIClient) ServiceLogs(arg0 context.Context, arg1 string, arg2 types.ContainerLogsOptions) (io.ReadCloser, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ServiceLogs", arg0, arg1, arg2)
- ret0, _ := ret[0].(io.ReadCloser)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ServiceLogs indicates an expected call of ServiceLogs
- func (mr *MockAPIClientMockRecorder) ServiceLogs(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServiceLogs", reflect.TypeOf((*MockAPIClient)(nil).ServiceLogs), arg0, arg1, arg2)
- }
- // ServiceRemove mocks base method
- func (m *MockAPIClient) ServiceRemove(arg0 context.Context, arg1 string) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ServiceRemove", arg0, arg1)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // ServiceRemove indicates an expected call of ServiceRemove
- func (mr *MockAPIClientMockRecorder) ServiceRemove(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServiceRemove", reflect.TypeOf((*MockAPIClient)(nil).ServiceRemove), arg0, arg1)
- }
- // ServiceUpdate mocks base method
- func (m *MockAPIClient) ServiceUpdate(arg0 context.Context, arg1 string, arg2 swarm.Version, arg3 swarm.ServiceSpec, arg4 types.ServiceUpdateOptions) (types.ServiceUpdateResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ServiceUpdate", arg0, arg1, arg2, arg3, arg4)
- ret0, _ := ret[0].(types.ServiceUpdateResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // ServiceUpdate indicates an expected call of ServiceUpdate
- func (mr *MockAPIClientMockRecorder) ServiceUpdate(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServiceUpdate", reflect.TypeOf((*MockAPIClient)(nil).ServiceUpdate), arg0, arg1, arg2, arg3, arg4)
- }
- // SwarmGetUnlockKey mocks base method
- func (m *MockAPIClient) SwarmGetUnlockKey(arg0 context.Context) (types.SwarmUnlockKeyResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "SwarmGetUnlockKey", arg0)
- ret0, _ := ret[0].(types.SwarmUnlockKeyResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // SwarmGetUnlockKey indicates an expected call of SwarmGetUnlockKey
- func (mr *MockAPIClientMockRecorder) SwarmGetUnlockKey(arg0 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SwarmGetUnlockKey", reflect.TypeOf((*MockAPIClient)(nil).SwarmGetUnlockKey), arg0)
- }
- // SwarmInit mocks base method
- func (m *MockAPIClient) SwarmInit(arg0 context.Context, arg1 swarm.InitRequest) (string, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "SwarmInit", arg0, arg1)
- ret0, _ := ret[0].(string)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // SwarmInit indicates an expected call of SwarmInit
- func (mr *MockAPIClientMockRecorder) SwarmInit(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SwarmInit", reflect.TypeOf((*MockAPIClient)(nil).SwarmInit), arg0, arg1)
- }
- // SwarmInspect mocks base method
- func (m *MockAPIClient) SwarmInspect(arg0 context.Context) (swarm.Swarm, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "SwarmInspect", arg0)
- ret0, _ := ret[0].(swarm.Swarm)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // SwarmInspect indicates an expected call of SwarmInspect
- func (mr *MockAPIClientMockRecorder) SwarmInspect(arg0 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SwarmInspect", reflect.TypeOf((*MockAPIClient)(nil).SwarmInspect), arg0)
- }
- // SwarmJoin mocks base method
- func (m *MockAPIClient) SwarmJoin(arg0 context.Context, arg1 swarm.JoinRequest) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "SwarmJoin", arg0, arg1)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // SwarmJoin indicates an expected call of SwarmJoin
- func (mr *MockAPIClientMockRecorder) SwarmJoin(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SwarmJoin", reflect.TypeOf((*MockAPIClient)(nil).SwarmJoin), arg0, arg1)
- }
- // SwarmLeave mocks base method
- func (m *MockAPIClient) SwarmLeave(arg0 context.Context, arg1 bool) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "SwarmLeave", arg0, arg1)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // SwarmLeave indicates an expected call of SwarmLeave
- func (mr *MockAPIClientMockRecorder) SwarmLeave(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SwarmLeave", reflect.TypeOf((*MockAPIClient)(nil).SwarmLeave), arg0, arg1)
- }
- // SwarmUnlock mocks base method
- func (m *MockAPIClient) SwarmUnlock(arg0 context.Context, arg1 swarm.UnlockRequest) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "SwarmUnlock", arg0, arg1)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // SwarmUnlock indicates an expected call of SwarmUnlock
- func (mr *MockAPIClientMockRecorder) SwarmUnlock(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SwarmUnlock", reflect.TypeOf((*MockAPIClient)(nil).SwarmUnlock), arg0, arg1)
- }
- // SwarmUpdate mocks base method
- func (m *MockAPIClient) SwarmUpdate(arg0 context.Context, arg1 swarm.Version, arg2 swarm.Spec, arg3 swarm.UpdateFlags) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "SwarmUpdate", arg0, arg1, arg2, arg3)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // SwarmUpdate indicates an expected call of SwarmUpdate
- func (mr *MockAPIClientMockRecorder) SwarmUpdate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SwarmUpdate", reflect.TypeOf((*MockAPIClient)(nil).SwarmUpdate), arg0, arg1, arg2, arg3)
- }
- // TaskInspectWithRaw mocks base method
- func (m *MockAPIClient) TaskInspectWithRaw(arg0 context.Context, arg1 string) (swarm.Task, []byte, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "TaskInspectWithRaw", arg0, arg1)
- ret0, _ := ret[0].(swarm.Task)
- ret1, _ := ret[1].([]byte)
- ret2, _ := ret[2].(error)
- return ret0, ret1, ret2
- }
- // TaskInspectWithRaw indicates an expected call of TaskInspectWithRaw
- func (mr *MockAPIClientMockRecorder) TaskInspectWithRaw(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TaskInspectWithRaw", reflect.TypeOf((*MockAPIClient)(nil).TaskInspectWithRaw), arg0, arg1)
- }
- // TaskList mocks base method
- func (m *MockAPIClient) TaskList(arg0 context.Context, arg1 types.TaskListOptions) ([]swarm.Task, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "TaskList", arg0, arg1)
- ret0, _ := ret[0].([]swarm.Task)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // TaskList indicates an expected call of TaskList
- func (mr *MockAPIClientMockRecorder) TaskList(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TaskList", reflect.TypeOf((*MockAPIClient)(nil).TaskList), arg0, arg1)
- }
- // TaskLogs mocks base method
- func (m *MockAPIClient) TaskLogs(arg0 context.Context, arg1 string, arg2 types.ContainerLogsOptions) (io.ReadCloser, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "TaskLogs", arg0, arg1, arg2)
- ret0, _ := ret[0].(io.ReadCloser)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // TaskLogs indicates an expected call of TaskLogs
- func (mr *MockAPIClientMockRecorder) TaskLogs(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TaskLogs", reflect.TypeOf((*MockAPIClient)(nil).TaskLogs), arg0, arg1, arg2)
- }
- // VolumeCreate mocks base method
- func (m *MockAPIClient) VolumeCreate(arg0 context.Context, arg1 volume.VolumeCreateBody) (types.Volume, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "VolumeCreate", arg0, arg1)
- ret0, _ := ret[0].(types.Volume)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // VolumeCreate indicates an expected call of VolumeCreate
- func (mr *MockAPIClientMockRecorder) VolumeCreate(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeCreate", reflect.TypeOf((*MockAPIClient)(nil).VolumeCreate), arg0, arg1)
- }
- // VolumeInspect mocks base method
- func (m *MockAPIClient) VolumeInspect(arg0 context.Context, arg1 string) (types.Volume, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "VolumeInspect", arg0, arg1)
- ret0, _ := ret[0].(types.Volume)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // VolumeInspect indicates an expected call of VolumeInspect
- func (mr *MockAPIClientMockRecorder) VolumeInspect(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeInspect", reflect.TypeOf((*MockAPIClient)(nil).VolumeInspect), arg0, arg1)
- }
- // VolumeInspectWithRaw mocks base method
- func (m *MockAPIClient) VolumeInspectWithRaw(arg0 context.Context, arg1 string) (types.Volume, []byte, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "VolumeInspectWithRaw", arg0, arg1)
- ret0, _ := ret[0].(types.Volume)
- ret1, _ := ret[1].([]byte)
- ret2, _ := ret[2].(error)
- return ret0, ret1, ret2
- }
- // VolumeInspectWithRaw indicates an expected call of VolumeInspectWithRaw
- func (mr *MockAPIClientMockRecorder) VolumeInspectWithRaw(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeInspectWithRaw", reflect.TypeOf((*MockAPIClient)(nil).VolumeInspectWithRaw), arg0, arg1)
- }
- // VolumeList mocks base method
- func (m *MockAPIClient) VolumeList(arg0 context.Context, arg1 filters.Args) (volume.VolumeListOKBody, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "VolumeList", arg0, arg1)
- ret0, _ := ret[0].(volume.VolumeListOKBody)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // VolumeList indicates an expected call of VolumeList
- func (mr *MockAPIClientMockRecorder) VolumeList(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeList", reflect.TypeOf((*MockAPIClient)(nil).VolumeList), arg0, arg1)
- }
- // VolumeRemove mocks base method
- func (m *MockAPIClient) VolumeRemove(arg0 context.Context, arg1 string, arg2 bool) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "VolumeRemove", arg0, arg1, arg2)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // VolumeRemove indicates an expected call of VolumeRemove
- func (mr *MockAPIClientMockRecorder) VolumeRemove(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeRemove", reflect.TypeOf((*MockAPIClient)(nil).VolumeRemove), arg0, arg1, arg2)
- }
- // VolumesPrune mocks base method
- func (m *MockAPIClient) VolumesPrune(arg0 context.Context, arg1 filters.Args) (types.VolumesPruneReport, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "VolumesPrune", arg0, arg1)
- ret0, _ := ret[0].(types.VolumesPruneReport)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // VolumesPrune indicates an expected call of VolumesPrune
- func (mr *MockAPIClientMockRecorder) VolumesPrune(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumesPrune", reflect.TypeOf((*MockAPIClient)(nil).VolumesPrune), arg0, arg1)
- }
|