code: func (_m *APIClient) SwarmInspect(ctx context.Context) (swarm.Swarm, error) {
  	ret := _m.Called(ctx)
  
  	var r0 swarm.Swarm
  	if rf, ok := ret.Get(0).(func(context.Context) swarm.Swarm); ok {
  		r0 = rf(ctx)
  	} else {
  		r0 = ret.Get(0).(swarm.Swarm)
  	}
  
  	var r1 error
  	if rf, ok := ret.Get(1).(func(context.Context) error); ok {
  		r1 = rf(ctx)
  	} else {
  		r1 = ret.Error(1)
  	}
  
  	return r0, r1
  }
docs: // SwarmInspect provides a mock function with given fields: ctx