code: func (_m *Cluster) ListNetworks(ctx context.Context, podname string, driver string) ([]*enginetypes.Network, error) {
  	ret := _m.Called(ctx, podname, driver)
  
  	var r0 []*enginetypes.Network
  	if rf, ok := ret.Get(0).(func(context.Context, string, string) []*enginetypes.Network); ok {
  		r0 = rf(ctx, podname, driver)
  	} else {
  		if ret.Get(0) != nil {
  			r0 = ret.Get(0).([]*enginetypes.Network)
  		}
  	}
  
  	var r1 error
  	if rf, ok := ret.Get(1).(func(context.Context, string, string) error); ok {
  		r1 = rf(ctx, podname, driver)
  	} else {
  		r1 = ret.Error(1)
  	}
  
  	return r0, r1
  }
docs: // ListNetworks provides a mock function with given fields: ctx, podname, driver