Documentation ¶
Overview ¶
This file was generated by counterfeiter
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeAppInstancesRepository
- func (fake *FakeAppInstancesRepository) DeleteInstance(appGUID string, instance int) error
- func (fake *FakeAppInstancesRepository) DeleteInstanceArgsForCall(i int) (string, int)
- func (fake *FakeAppInstancesRepository) DeleteInstanceCallCount() int
- func (fake *FakeAppInstancesRepository) DeleteInstanceReturns(result1 error)
- func (fake *FakeAppInstancesRepository) GetInstances(appGUID string) (instances []models.AppInstanceFields, apiErr error)
- func (fake *FakeAppInstancesRepository) GetInstancesArgsForCall(i int) string
- func (fake *FakeAppInstancesRepository) GetInstancesCallCount() int
- func (fake *FakeAppInstancesRepository) GetInstancesReturns(result1 []models.AppInstanceFields, result2 error)
- type FakeRepository
- func (fake *FakeRepository) DeleteInstance(arg1 string, arg2 int) error
- func (fake *FakeRepository) DeleteInstanceArgsForCall(i int) (string, int)
- func (fake *FakeRepository) DeleteInstanceCallCount() int
- func (fake *FakeRepository) DeleteInstanceCalls(stub func(string, int) error)
- func (fake *FakeRepository) DeleteInstanceReturns(result1 error)
- func (fake *FakeRepository) DeleteInstanceReturnsOnCall(i int, result1 error)
- func (fake *FakeRepository) GetInstances(arg1 string) ([]models.AppInstanceFields, error)
- func (fake *FakeRepository) GetInstancesArgsForCall(i int) string
- func (fake *FakeRepository) GetInstancesCallCount() int
- func (fake *FakeRepository) GetInstancesCalls(stub func(string) ([]models.AppInstanceFields, error))
- func (fake *FakeRepository) GetInstancesReturns(result1 []models.AppInstanceFields, result2 error)
- func (fake *FakeRepository) GetInstancesReturnsOnCall(i int, result1 []models.AppInstanceFields, result2 error)
- func (fake *FakeRepository) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAppInstancesRepository ¶
type FakeAppInstancesRepository struct { GetInstancesStub func(appGUID string) (instances []models.AppInstanceFields, apiErr error) DeleteInstanceStub func(appGUID string, instance int) error // contains filtered or unexported fields }
func (*FakeAppInstancesRepository) DeleteInstance ¶
func (fake *FakeAppInstancesRepository) DeleteInstance(appGUID string, instance int) error
func (*FakeAppInstancesRepository) DeleteInstanceArgsForCall ¶
func (fake *FakeAppInstancesRepository) DeleteInstanceArgsForCall(i int) (string, int)
func (*FakeAppInstancesRepository) DeleteInstanceCallCount ¶
func (fake *FakeAppInstancesRepository) DeleteInstanceCallCount() int
func (*FakeAppInstancesRepository) DeleteInstanceReturns ¶
func (fake *FakeAppInstancesRepository) DeleteInstanceReturns(result1 error)
func (*FakeAppInstancesRepository) GetInstances ¶
func (fake *FakeAppInstancesRepository) GetInstances(appGUID string) (instances []models.AppInstanceFields, apiErr error)
func (*FakeAppInstancesRepository) GetInstancesArgsForCall ¶
func (fake *FakeAppInstancesRepository) GetInstancesArgsForCall(i int) string
func (*FakeAppInstancesRepository) GetInstancesCallCount ¶
func (fake *FakeAppInstancesRepository) GetInstancesCallCount() int
func (*FakeAppInstancesRepository) GetInstancesReturns ¶
func (fake *FakeAppInstancesRepository) GetInstancesReturns(result1 []models.AppInstanceFields, result2 error)
type FakeRepository ¶
type FakeRepository struct { DeleteInstanceStub func(string, int) error GetInstancesStub func(string) ([]models.AppInstanceFields, error) // contains filtered or unexported fields }
func (*FakeRepository) DeleteInstance ¶
func (fake *FakeRepository) DeleteInstance(arg1 string, arg2 int) error
func (*FakeRepository) DeleteInstanceArgsForCall ¶
func (fake *FakeRepository) DeleteInstanceArgsForCall(i int) (string, int)
func (*FakeRepository) DeleteInstanceCallCount ¶
func (fake *FakeRepository) DeleteInstanceCallCount() int
func (*FakeRepository) DeleteInstanceCalls ¶
func (fake *FakeRepository) DeleteInstanceCalls(stub func(string, int) error)
func (*FakeRepository) DeleteInstanceReturns ¶
func (fake *FakeRepository) DeleteInstanceReturns(result1 error)
func (*FakeRepository) DeleteInstanceReturnsOnCall ¶
func (fake *FakeRepository) DeleteInstanceReturnsOnCall(i int, result1 error)
func (*FakeRepository) GetInstances ¶
func (fake *FakeRepository) GetInstances(arg1 string) ([]models.AppInstanceFields, error)
func (*FakeRepository) GetInstancesArgsForCall ¶
func (fake *FakeRepository) GetInstancesArgsForCall(i int) string
func (*FakeRepository) GetInstancesCallCount ¶
func (fake *FakeRepository) GetInstancesCallCount() int
func (*FakeRepository) GetInstancesCalls ¶
func (fake *FakeRepository) GetInstancesCalls(stub func(string) ([]models.AppInstanceFields, error))
func (*FakeRepository) GetInstancesReturns ¶
func (fake *FakeRepository) GetInstancesReturns(result1 []models.AppInstanceFields, result2 error)
func (*FakeRepository) GetInstancesReturnsOnCall ¶
func (fake *FakeRepository) GetInstancesReturnsOnCall(i int, result1 []models.AppInstanceFields, result2 error)
func (*FakeRepository) Invocations ¶
func (fake *FakeRepository) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.