@@ -131,25 +131,25 @@ func newWrappedClient(ctrl *mock.Controller, wrapped moby.Client, withouts []str
131131
132132 if ! slices .Contains (withouts , "ContainerExecCreate" ) {
133133 rec .ContainerExecCreate (Any , Any , Any ).AnyTimes ().
134- DoAndReturn (func (ctx context.Context , container string , config types. ExecConfig ) (types. IDResponse , error ) {
134+ DoAndReturn (func (ctx context.Context , container string , config container. ExecOptions ) (container. ExecCreateResponse , error ) {
135135 return wrapped .ContainerExecCreate (ctx , container , config )
136136 })
137137 }
138138 if ! slices .Contains (withouts , "ContainerExecStart" ) {
139139 rec .ContainerExecStart (Any , Any , Any ).AnyTimes ().
140- DoAndReturn (func (ctx context.Context , execID string , config types. ExecStartCheck ) error {
140+ DoAndReturn (func (ctx context.Context , execID string , config container. ExecStartOptions ) error {
141141 return wrapped .ContainerExecStart (ctx , execID , config )
142142 })
143143 }
144144 if ! slices .Contains (withouts , "ContainerExecAttach" ) {
145145 rec .ContainerExecAttach (Any , Any , Any ).AnyTimes ().
146- DoAndReturn (func (ctx context.Context , execID string , config types. ExecStartCheck ) (types.HijackedResponse , error ) {
146+ DoAndReturn (func (ctx context.Context , execID string , config container. ExecAttachOptions ) (types.HijackedResponse , error ) {
147147 return wrapped .ContainerExecAttach (ctx , execID , config )
148148 })
149149 }
150150 if ! slices .Contains (withouts , "ContainerExecInspect" ) {
151151 rec .ContainerExecInspect (Any , Any ).AnyTimes ().
152- DoAndReturn (func (ctx context.Context , execID string ) (types. ContainerExecInspect , error ) {
152+ DoAndReturn (func (ctx context.Context , execID string ) (container. ExecInspect , error ) {
153153 return wrapped .ContainerExecInspect (ctx , execID )
154154 })
155155 }
@@ -193,19 +193,19 @@ func newWrappedClient(ctrl *mock.Controller, wrapped moby.Client, withouts []str
193193
194194 if ! slices .Contains (withouts , "NetworkCreate" ) {
195195 rec .NetworkCreate (Any , Any , Any ).AnyTimes ().
196- DoAndReturn (func (ctx context.Context , name string , options types. NetworkCreate ) (types. NetworkCreateResponse , error ) {
196+ DoAndReturn (func (ctx context.Context , name string , options network. CreateOptions ) (network. CreateResponse , error ) {
197197 return wrapped .NetworkCreate (ctx , name , options )
198198 })
199199 }
200200 if ! slices .Contains (withouts , "NetworkInspect" ) {
201201 rec .NetworkInspect (Any , Any , Any ).AnyTimes ().
202- DoAndReturn (func (ctx context.Context , networkID string , options types. NetworkInspectOptions ) (types. NetworkResource , error ) {
202+ DoAndReturn (func (ctx context.Context , networkID string , options network. InspectOptions ) (network. Summary , error ) {
203203 return wrapped .NetworkInspect (ctx , networkID , options )
204204 })
205205 }
206206 if ! slices .Contains (withouts , "NetworkList" ) {
207207 rec .NetworkList (Any , Any ).AnyTimes ().
208- DoAndReturn (func (ctx context.Context , options types. NetworkListOptions ) ([]types. NetworkResource , error ) {
208+ DoAndReturn (func (ctx context.Context , options network. ListOptions ) ([]network. Summary , error ) {
209209 return wrapped .NetworkList (ctx , options )
210210 })
211211 }
0 commit comments