code: func (_m *APIClient) ServiceUpdate(ctx context.Context, serviceID string, version swarm.Version, service swarm.ServiceSpec, options types.ServiceUpdateOptions) (types.ServiceUpdateResponse, error) {
  	ret := _m.Called(ctx, serviceID, version, service, options)
  
  	var r0 types.ServiceUpdateResponse
  	if rf, ok := ret.Get(0).(func(context.Context, string, swarm.Version, swarm.ServiceSpec, types.ServiceUpdateOptions) types.ServiceUpdateResponse); ok {
  		r0 = rf(ctx, serviceID, version, service, options)
  	} else {
  		r0 = ret.Get(0).(types.ServiceUpdateResponse)
  	}
  
  	var r1 error
  	if rf, ok := ret.Get(1).(func(context.Context, string, swarm.Version, swarm.ServiceSpec, types.ServiceUpdateOptions) error); ok {
  		r1 = rf(ctx, serviceID, version, service, options)
  	} else {
  		r1 = ret.Error(1)
  	}
  
  	return r0, r1
  }
docs: // ServiceUpdate provides a mock function with given fields: ctx, serviceID, version, service, options