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