Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeSpaceQuotaRepository
- func (fake *FakeSpaceQuotaRepository) AssociateSpaceWithQuota(arg1 string, arg2 string) error
- func (fake *FakeSpaceQuotaRepository) AssociateSpaceWithQuotaArgsForCall(i int) (string, string)
- func (fake *FakeSpaceQuotaRepository) AssociateSpaceWithQuotaCallCount() int
- func (fake *FakeSpaceQuotaRepository) AssociateSpaceWithQuotaReturns(result1 error)
- func (fake *FakeSpaceQuotaRepository) Create(arg1 models.SpaceQuota) error
- func (fake *FakeSpaceQuotaRepository) CreateArgsForCall(i int) models.SpaceQuota
- func (fake *FakeSpaceQuotaRepository) CreateCallCount() int
- func (fake *FakeSpaceQuotaRepository) CreateReturns(result1 error)
- func (fake *FakeSpaceQuotaRepository) Delete(arg1 string) error
- func (fake *FakeSpaceQuotaRepository) DeleteArgsForCall(i int) string
- func (fake *FakeSpaceQuotaRepository) DeleteCallCount() int
- func (fake *FakeSpaceQuotaRepository) DeleteReturns(result1 error)
- func (fake *FakeSpaceQuotaRepository) FindByGuid(arg1 string) (quota models.SpaceQuota, apiErr error)
- func (fake *FakeSpaceQuotaRepository) FindByGuidArgsForCall(i int) string
- func (fake *FakeSpaceQuotaRepository) FindByGuidCallCount() int
- func (fake *FakeSpaceQuotaRepository) FindByGuidReturns(result1 models.SpaceQuota, result2 error)
- func (fake *FakeSpaceQuotaRepository) FindByName(arg1 string) (quota models.SpaceQuota, apiErr error)
- func (fake *FakeSpaceQuotaRepository) FindByNameArgsForCall(i int) string
- func (fake *FakeSpaceQuotaRepository) FindByNameCallCount() int
- func (fake *FakeSpaceQuotaRepository) FindByNameReturns(result1 models.SpaceQuota, result2 error)
- func (fake *FakeSpaceQuotaRepository) FindByOrg(arg1 string) (quota []models.SpaceQuota, apiErr error)
- func (fake *FakeSpaceQuotaRepository) FindByOrgArgsForCall(i int) string
- func (fake *FakeSpaceQuotaRepository) FindByOrgCallCount() int
- func (fake *FakeSpaceQuotaRepository) FindByOrgReturns(result1 []models.SpaceQuota, result2 error)
- func (fake *FakeSpaceQuotaRepository) UnassignQuotaFromSpace(arg1 string, arg2 string) error
- func (fake *FakeSpaceQuotaRepository) UnassignQuotaFromSpaceArgsForCall(i int) (string, string)
- func (fake *FakeSpaceQuotaRepository) UnassignQuotaFromSpaceCallCount() int
- func (fake *FakeSpaceQuotaRepository) UnassignQuotaFromSpaceReturns(result1 error)
- func (fake *FakeSpaceQuotaRepository) Update(arg1 models.SpaceQuota) error
- func (fake *FakeSpaceQuotaRepository) UpdateArgsForCall(i int) models.SpaceQuota
- func (fake *FakeSpaceQuotaRepository) UpdateCallCount() int
- func (fake *FakeSpaceQuotaRepository) UpdateReturns(result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeSpaceQuotaRepository ¶
type FakeSpaceQuotaRepository struct { FindByNameStub func(name string) (quota models.SpaceQuota, apiErr error) FindByOrgStub func(guid string) (quota []models.SpaceQuota, apiErr error) FindByGuidStub func(guid string) (quota models.SpaceQuota, apiErr error) AssociateSpaceWithQuotaStub func(spaceGuid string, quotaGuid string) error UnassignQuotaFromSpaceStub func(spaceGuid string, quotaGuid string) error CreateStub func(quota models.SpaceQuota) error UpdateStub func(quota models.SpaceQuota) error DeleteStub func(quotaGuid string) error // contains filtered or unexported fields }
func (*FakeSpaceQuotaRepository) AssociateSpaceWithQuota ¶
func (fake *FakeSpaceQuotaRepository) AssociateSpaceWithQuota(arg1 string, arg2 string) error
func (*FakeSpaceQuotaRepository) AssociateSpaceWithQuotaArgsForCall ¶
func (fake *FakeSpaceQuotaRepository) AssociateSpaceWithQuotaArgsForCall(i int) (string, string)
func (*FakeSpaceQuotaRepository) AssociateSpaceWithQuotaCallCount ¶
func (fake *FakeSpaceQuotaRepository) AssociateSpaceWithQuotaCallCount() int
func (*FakeSpaceQuotaRepository) AssociateSpaceWithQuotaReturns ¶
func (fake *FakeSpaceQuotaRepository) AssociateSpaceWithQuotaReturns(result1 error)
func (*FakeSpaceQuotaRepository) Create ¶
func (fake *FakeSpaceQuotaRepository) Create(arg1 models.SpaceQuota) error
func (*FakeSpaceQuotaRepository) CreateArgsForCall ¶
func (fake *FakeSpaceQuotaRepository) CreateArgsForCall(i int) models.SpaceQuota
func (*FakeSpaceQuotaRepository) CreateCallCount ¶
func (fake *FakeSpaceQuotaRepository) CreateCallCount() int
func (*FakeSpaceQuotaRepository) CreateReturns ¶
func (fake *FakeSpaceQuotaRepository) CreateReturns(result1 error)
func (*FakeSpaceQuotaRepository) Delete ¶
func (fake *FakeSpaceQuotaRepository) Delete(arg1 string) error
func (*FakeSpaceQuotaRepository) DeleteArgsForCall ¶
func (fake *FakeSpaceQuotaRepository) DeleteArgsForCall(i int) string
func (*FakeSpaceQuotaRepository) DeleteCallCount ¶
func (fake *FakeSpaceQuotaRepository) DeleteCallCount() int
func (*FakeSpaceQuotaRepository) DeleteReturns ¶
func (fake *FakeSpaceQuotaRepository) DeleteReturns(result1 error)
func (*FakeSpaceQuotaRepository) FindByGuid ¶
func (fake *FakeSpaceQuotaRepository) FindByGuid(arg1 string) (quota models.SpaceQuota, apiErr error)
func (*FakeSpaceQuotaRepository) FindByGuidArgsForCall ¶
func (fake *FakeSpaceQuotaRepository) FindByGuidArgsForCall(i int) string
func (*FakeSpaceQuotaRepository) FindByGuidCallCount ¶
func (fake *FakeSpaceQuotaRepository) FindByGuidCallCount() int
func (*FakeSpaceQuotaRepository) FindByGuidReturns ¶
func (fake *FakeSpaceQuotaRepository) FindByGuidReturns(result1 models.SpaceQuota, result2 error)
func (*FakeSpaceQuotaRepository) FindByName ¶
func (fake *FakeSpaceQuotaRepository) FindByName(arg1 string) (quota models.SpaceQuota, apiErr error)
func (*FakeSpaceQuotaRepository) FindByNameArgsForCall ¶
func (fake *FakeSpaceQuotaRepository) FindByNameArgsForCall(i int) string
func (*FakeSpaceQuotaRepository) FindByNameCallCount ¶
func (fake *FakeSpaceQuotaRepository) FindByNameCallCount() int
func (*FakeSpaceQuotaRepository) FindByNameReturns ¶
func (fake *FakeSpaceQuotaRepository) FindByNameReturns(result1 models.SpaceQuota, result2 error)
func (*FakeSpaceQuotaRepository) FindByOrg ¶
func (fake *FakeSpaceQuotaRepository) FindByOrg(arg1 string) (quota []models.SpaceQuota, apiErr error)
func (*FakeSpaceQuotaRepository) FindByOrgArgsForCall ¶
func (fake *FakeSpaceQuotaRepository) FindByOrgArgsForCall(i int) string
func (*FakeSpaceQuotaRepository) FindByOrgCallCount ¶
func (fake *FakeSpaceQuotaRepository) FindByOrgCallCount() int
func (*FakeSpaceQuotaRepository) FindByOrgReturns ¶
func (fake *FakeSpaceQuotaRepository) FindByOrgReturns(result1 []models.SpaceQuota, result2 error)
func (*FakeSpaceQuotaRepository) UnassignQuotaFromSpace ¶
func (fake *FakeSpaceQuotaRepository) UnassignQuotaFromSpace(arg1 string, arg2 string) error
func (*FakeSpaceQuotaRepository) UnassignQuotaFromSpaceArgsForCall ¶
func (fake *FakeSpaceQuotaRepository) UnassignQuotaFromSpaceArgsForCall(i int) (string, string)
func (*FakeSpaceQuotaRepository) UnassignQuotaFromSpaceCallCount ¶
func (fake *FakeSpaceQuotaRepository) UnassignQuotaFromSpaceCallCount() int
func (*FakeSpaceQuotaRepository) UnassignQuotaFromSpaceReturns ¶
func (fake *FakeSpaceQuotaRepository) UnassignQuotaFromSpaceReturns(result1 error)
func (*FakeSpaceQuotaRepository) Update ¶
func (fake *FakeSpaceQuotaRepository) Update(arg1 models.SpaceQuota) error
func (*FakeSpaceQuotaRepository) UpdateArgsForCall ¶
func (fake *FakeSpaceQuotaRepository) UpdateArgsForCall(i int) models.SpaceQuota
func (*FakeSpaceQuotaRepository) UpdateCallCount ¶
func (fake *FakeSpaceQuotaRepository) UpdateCallCount() int
func (*FakeSpaceQuotaRepository) UpdateReturns ¶
func (fake *FakeSpaceQuotaRepository) UpdateReturns(result1 error)
Click to show internal directories.
Click to hide internal directories.