Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeQuotaRepository
- func (fake *FakeQuotaRepository) AssignQuotaToOrg(orgGUID string, quotaGUID string) error
- func (fake *FakeQuotaRepository) AssignQuotaToOrgArgsForCall(i int) (string, string)
- func (fake *FakeQuotaRepository) AssignQuotaToOrgCallCount() int
- func (fake *FakeQuotaRepository) AssignQuotaToOrgReturns(result1 error)
- func (fake *FakeQuotaRepository) Create(quota models.QuotaFields) error
- func (fake *FakeQuotaRepository) CreateArgsForCall(i int) models.QuotaFields
- func (fake *FakeQuotaRepository) CreateCallCount() int
- func (fake *FakeQuotaRepository) CreateReturns(result1 error)
- func (fake *FakeQuotaRepository) Delete(quotaGUID string) error
- func (fake *FakeQuotaRepository) DeleteArgsForCall(i int) string
- func (fake *FakeQuotaRepository) DeleteCallCount() int
- func (fake *FakeQuotaRepository) DeleteReturns(result1 error)
- func (fake *FakeQuotaRepository) FindAll() (quotas []models.QuotaFields, apiErr error)
- func (fake *FakeQuotaRepository) FindAllCallCount() int
- func (fake *FakeQuotaRepository) FindAllReturns(result1 []models.QuotaFields, result2 error)
- func (fake *FakeQuotaRepository) FindByName(name string) (quota models.QuotaFields, apiErr error)
- func (fake *FakeQuotaRepository) FindByNameArgsForCall(i int) string
- func (fake *FakeQuotaRepository) FindByNameCallCount() int
- func (fake *FakeQuotaRepository) FindByNameReturns(result1 models.QuotaFields, result2 error)
- func (fake *FakeQuotaRepository) Update(quota models.QuotaFields) error
- func (fake *FakeQuotaRepository) UpdateArgsForCall(i int) models.QuotaFields
- func (fake *FakeQuotaRepository) UpdateCallCount() int
- func (fake *FakeQuotaRepository) UpdateReturns(result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeQuotaRepository ¶
type FakeQuotaRepository struct { FindAllStub func() (quotas []models.QuotaFields, apiErr error) FindByNameStub func(name string) (quota models.QuotaFields, apiErr error) AssignQuotaToOrgStub func(orgGUID, quotaGUID string) error CreateStub func(quota models.QuotaFields) error UpdateStub func(quota models.QuotaFields) error DeleteStub func(quotaGUID string) error // contains filtered or unexported fields }
func (*FakeQuotaRepository) AssignQuotaToOrg ¶
func (fake *FakeQuotaRepository) AssignQuotaToOrg(orgGUID string, quotaGUID string) error
func (*FakeQuotaRepository) AssignQuotaToOrgArgsForCall ¶
func (fake *FakeQuotaRepository) AssignQuotaToOrgArgsForCall(i int) (string, string)
func (*FakeQuotaRepository) AssignQuotaToOrgCallCount ¶
func (fake *FakeQuotaRepository) AssignQuotaToOrgCallCount() int
func (*FakeQuotaRepository) AssignQuotaToOrgReturns ¶
func (fake *FakeQuotaRepository) AssignQuotaToOrgReturns(result1 error)
func (*FakeQuotaRepository) Create ¶
func (fake *FakeQuotaRepository) Create(quota models.QuotaFields) error
func (*FakeQuotaRepository) CreateArgsForCall ¶
func (fake *FakeQuotaRepository) CreateArgsForCall(i int) models.QuotaFields
func (*FakeQuotaRepository) CreateCallCount ¶
func (fake *FakeQuotaRepository) CreateCallCount() int
func (*FakeQuotaRepository) CreateReturns ¶
func (fake *FakeQuotaRepository) CreateReturns(result1 error)
func (*FakeQuotaRepository) Delete ¶
func (fake *FakeQuotaRepository) Delete(quotaGUID string) error
func (*FakeQuotaRepository) DeleteArgsForCall ¶
func (fake *FakeQuotaRepository) DeleteArgsForCall(i int) string
func (*FakeQuotaRepository) DeleteCallCount ¶
func (fake *FakeQuotaRepository) DeleteCallCount() int
func (*FakeQuotaRepository) DeleteReturns ¶
func (fake *FakeQuotaRepository) DeleteReturns(result1 error)
func (*FakeQuotaRepository) FindAll ¶
func (fake *FakeQuotaRepository) FindAll() (quotas []models.QuotaFields, apiErr error)
func (*FakeQuotaRepository) FindAllCallCount ¶
func (fake *FakeQuotaRepository) FindAllCallCount() int
func (*FakeQuotaRepository) FindAllReturns ¶
func (fake *FakeQuotaRepository) FindAllReturns(result1 []models.QuotaFields, result2 error)
func (*FakeQuotaRepository) FindByName ¶
func (fake *FakeQuotaRepository) FindByName(name string) (quota models.QuotaFields, apiErr error)
func (*FakeQuotaRepository) FindByNameArgsForCall ¶
func (fake *FakeQuotaRepository) FindByNameArgsForCall(i int) string
func (*FakeQuotaRepository) FindByNameCallCount ¶
func (fake *FakeQuotaRepository) FindByNameCallCount() int
func (*FakeQuotaRepository) FindByNameReturns ¶
func (fake *FakeQuotaRepository) FindByNameReturns(result1 models.QuotaFields, result2 error)
func (*FakeQuotaRepository) Update ¶
func (fake *FakeQuotaRepository) Update(quota models.QuotaFields) error
func (*FakeQuotaRepository) UpdateArgsForCall ¶
func (fake *FakeQuotaRepository) UpdateArgsForCall(i int) models.QuotaFields
func (*FakeQuotaRepository) UpdateCallCount ¶
func (fake *FakeQuotaRepository) UpdateCallCount() int
func (*FakeQuotaRepository) UpdateReturns ¶
func (fake *FakeQuotaRepository) UpdateReturns(result1 error)
Click to show internal directories.
Click to hide internal directories.