mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
make the mocks generator happy
Seems like it resolves the alias, and uses that instead, instead of the actual type. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
cf2fc2005c
commit
20f780e95a
@ -18,6 +18,7 @@ import (
|
||||
|
||||
types "github.com/docker/docker/api/types"
|
||||
checkpoint "github.com/docker/docker/api/types/checkpoint"
|
||||
common "github.com/docker/docker/api/types/common"
|
||||
container "github.com/docker/docker/api/types/container"
|
||||
events "github.com/docker/docker/api/types/events"
|
||||
filters "github.com/docker/docker/api/types/filters"
|
||||
@ -245,10 +246,10 @@ func (mr *MockAPIClientMockRecorder) ContainerAttach(arg0, arg1, arg2 any) *gomo
|
||||
}
|
||||
|
||||
// ContainerCommit mocks base method.
|
||||
func (m *MockAPIClient) ContainerCommit(arg0 context.Context, arg1 string, arg2 container.CommitOptions) (container.CommitResponse, error) {
|
||||
func (m *MockAPIClient) ContainerCommit(arg0 context.Context, arg1 string, arg2 container.CommitOptions) (common.IDResponse, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "ContainerCommit", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(container.CommitResponse)
|
||||
ret0, _ := ret[0].(common.IDResponse)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
@ -305,10 +306,10 @@ func (mr *MockAPIClientMockRecorder) ContainerExecAttach(arg0, arg1, arg2 any) *
|
||||
}
|
||||
|
||||
// ContainerExecCreate mocks base method.
|
||||
func (m *MockAPIClient) ContainerExecCreate(arg0 context.Context, arg1 string, arg2 container.ExecOptions) (container.ExecCreateResponse, error) {
|
||||
func (m *MockAPIClient) ContainerExecCreate(arg0 context.Context, arg1 string, arg2 container.ExecOptions) (common.IDResponse, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "ContainerExecCreate", arg0, arg1, arg2)
|
||||
ret0, _ := ret[0].(container.ExecCreateResponse)
|
||||
ret0, _ := ret[0].(common.IDResponse)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user