| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826 |
- // Code generated by MockGen. DO NOT EDIT.
- // Source: github.com/docker/docker/client (interfaces: APIClient)
- // Package mocks is a generated GoMock package.
- package mocks
- import (
- context "context"
- io "io"
- net "net"
- http "net/http"
- reflect "reflect"
- 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"
- )
- // 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.CreateResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerCreate", arg0, arg1, arg2, arg3, arg4, arg5)
- ret0, _ := ret[0].(container.CreateResponse)
- 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 container.StopOptions) 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 container.StopOptions) 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.WaitResponse, <-chan error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "ContainerWait", arg0, arg1, arg2)
- ret0, _ := ret[0].(<-chan container.WaitResponse)
- 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, arg1 types.DiskUsageOptions) (types.DiskUsage, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "DiskUsage", arg0, arg1)
- ret0, _ := ret[0].(types.DiskUsage)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // DiskUsage indicates an expected call of DiskUsage.
- func (mr *MockAPIClientMockRecorder) DiskUsage(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiskUsage", reflect.TypeOf((*MockAPIClient)(nil).DiskUsage), arg0, arg1)
- }
- // 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.CreateOptions) (volume.Volume, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "VolumeCreate", arg0, arg1)
- ret0, _ := ret[0].(volume.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) (volume.Volume, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "VolumeInspect", arg0, arg1)
- ret0, _ := ret[0].(volume.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) (volume.Volume, []byte, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "VolumeInspectWithRaw", arg0, arg1)
- ret0, _ := ret[0].(volume.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.ListResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "VolumeList", arg0, arg1)
- ret0, _ := ret[0].(volume.ListResponse)
- 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)
- }
- // VolumeUpdate mocks base method.
- func (m *MockAPIClient) VolumeUpdate(arg0 context.Context, arg1 string, arg2 swarm.Version, arg3 volume.UpdateOptions) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "VolumeUpdate", arg0, arg1, arg2, arg3)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // VolumeUpdate indicates an expected call of VolumeUpdate.
- func (mr *MockAPIClientMockRecorder) VolumeUpdate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeUpdate", reflect.TypeOf((*MockAPIClient)(nil).VolumeUpdate), arg0, arg1, arg2, arg3)
- }
- // 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)
- }
|