Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeStackRepository
- func (fake *FakeStackRepository) FindAll() (stacks []models.Stack, apiErr error)
- func (fake *FakeStackRepository) FindAllCallCount() int
- func (fake *FakeStackRepository) FindAllReturns(result1 []models.Stack, result2 error)
- func (fake *FakeStackRepository) FindByGUID(guid string) (models.Stack, error)
- func (fake *FakeStackRepository) FindByGUIDArgsForCall(i int) string
- func (fake *FakeStackRepository) FindByGUIDCallCount() int
- func (fake *FakeStackRepository) FindByGUIDReturns(result1 models.Stack, result2 error)
- func (fake *FakeStackRepository) FindByName(name string) (stack models.Stack, apiErr error)
- func (fake *FakeStackRepository) FindByNameArgsForCall(i int) string
- func (fake *FakeStackRepository) FindByNameCallCount() int
- func (fake *FakeStackRepository) FindByNameReturns(result1 models.Stack, result2 error)
- func (fake *FakeStackRepository) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeStackRepository ¶
type FakeStackRepository struct { FindByNameStub func(name string) (stack models.Stack, apiErr error) FindByGUIDStub func(guid string) (models.Stack, error) FindAllStub func() (stacks []models.Stack, apiErr error) // contains filtered or unexported fields }
func (*FakeStackRepository) FindAll ¶
func (fake *FakeStackRepository) FindAll() (stacks []models.Stack, apiErr error)
func (*FakeStackRepository) FindAllCallCount ¶
func (fake *FakeStackRepository) FindAllCallCount() int
func (*FakeStackRepository) FindAllReturns ¶
func (fake *FakeStackRepository) FindAllReturns(result1 []models.Stack, result2 error)
func (*FakeStackRepository) FindByGUID ¶
func (fake *FakeStackRepository) FindByGUID(guid string) (models.Stack, error)
func (*FakeStackRepository) FindByGUIDArgsForCall ¶
func (fake *FakeStackRepository) FindByGUIDArgsForCall(i int) string
func (*FakeStackRepository) FindByGUIDCallCount ¶
func (fake *FakeStackRepository) FindByGUIDCallCount() int
func (*FakeStackRepository) FindByGUIDReturns ¶
func (fake *FakeStackRepository) FindByGUIDReturns(result1 models.Stack, result2 error)
func (*FakeStackRepository) FindByName ¶
func (fake *FakeStackRepository) FindByName(name string) (stack models.Stack, apiErr error)
func (*FakeStackRepository) FindByNameArgsForCall ¶
func (fake *FakeStackRepository) FindByNameArgsForCall(i int) string
func (*FakeStackRepository) FindByNameCallCount ¶
func (fake *FakeStackRepository) FindByNameCallCount() int
func (*FakeStackRepository) FindByNameReturns ¶
func (fake *FakeStackRepository) FindByNameReturns(result1 models.Stack, result2 error)
func (*FakeStackRepository) Invocations ¶
func (fake *FakeStackRepository) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.