Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeApplicationRepository
- func (fake *FakeApplicationRepository) Create(params models.AppParams) (createdApp models.Application, apiErr error)
- func (fake *FakeApplicationRepository) CreateArgsForCall(i int) models.AppParams
- func (fake *FakeApplicationRepository) CreateCallCount() int
- func (fake *FakeApplicationRepository) CreateRestageRequest(guid string) (apiErr error)
- func (fake *FakeApplicationRepository) CreateRestageRequestArgsForCall(i int) string
- func (fake *FakeApplicationRepository) CreateRestageRequestCallCount() int
- func (fake *FakeApplicationRepository) CreateRestageRequestReturns(result1 error)
- func (fake *FakeApplicationRepository) CreateReturns(result1 models.Application, result2 error)
- func (fake *FakeApplicationRepository) Delete(appGuid string) (apiErr error)
- func (fake *FakeApplicationRepository) DeleteArgsForCall(i int) string
- func (fake *FakeApplicationRepository) DeleteCallCount() int
- func (fake *FakeApplicationRepository) DeleteReturns(result1 error)
- func (fake *FakeApplicationRepository) GetApp(appGuid string) (models.Application, error)
- func (fake *FakeApplicationRepository) GetAppArgsForCall(i int) string
- func (fake *FakeApplicationRepository) GetAppCallCount() int
- func (fake *FakeApplicationRepository) GetAppReturns(result1 models.Application, result2 error)
- func (fake *FakeApplicationRepository) Read(name string) (app models.Application, apiErr error)
- func (fake *FakeApplicationRepository) ReadArgsForCall(i int) string
- func (fake *FakeApplicationRepository) ReadCallCount() int
- func (fake *FakeApplicationRepository) ReadEnv(guid string) (*models.Environment, error)
- func (fake *FakeApplicationRepository) ReadEnvArgsForCall(i int) string
- func (fake *FakeApplicationRepository) ReadEnvCallCount() int
- func (fake *FakeApplicationRepository) ReadEnvReturns(result1 *models.Environment, result2 error)
- func (fake *FakeApplicationRepository) ReadFromSpace(name string, spaceGuid string) (app models.Application, apiErr error)
- func (fake *FakeApplicationRepository) ReadFromSpaceArgsForCall(i int) (string, string)
- func (fake *FakeApplicationRepository) ReadFromSpaceCallCount() int
- func (fake *FakeApplicationRepository) ReadFromSpaceReturns(result1 models.Application, result2 error)
- func (fake *FakeApplicationRepository) ReadReturns(result1 models.Application, result2 error)
- func (fake *FakeApplicationRepository) Update(appGuid string, params models.AppParams) (updatedApp models.Application, apiErr error)
- func (fake *FakeApplicationRepository) UpdateArgsForCall(i int) (string, models.AppParams)
- func (fake *FakeApplicationRepository) UpdateCallCount() int
- func (fake *FakeApplicationRepository) UpdateReturns(result1 models.Application, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeApplicationRepository ¶
type FakeApplicationRepository struct { CreateStub func(params models.AppParams) (createdApp models.Application, apiErr error) GetAppStub func(appGuid string) (models.Application, error) ReadStub func(name string) (app models.Application, apiErr error) ReadFromSpaceStub func(name string, spaceGuid string) (app models.Application, apiErr error) UpdateStub func(appGuid string, params models.AppParams) (updatedApp models.Application, apiErr error) DeleteStub func(appGuid string) (apiErr error) ReadEnvStub func(guid string) (*models.Environment, error) CreateRestageRequestStub func(guid string) (apiErr error) // contains filtered or unexported fields }
func (*FakeApplicationRepository) Create ¶
func (fake *FakeApplicationRepository) Create(params models.AppParams) (createdApp models.Application, apiErr error)
func (*FakeApplicationRepository) CreateArgsForCall ¶
func (fake *FakeApplicationRepository) CreateArgsForCall(i int) models.AppParams
func (*FakeApplicationRepository) CreateCallCount ¶
func (fake *FakeApplicationRepository) CreateCallCount() int
func (*FakeApplicationRepository) CreateRestageRequest ¶
func (fake *FakeApplicationRepository) CreateRestageRequest(guid string) (apiErr error)
func (*FakeApplicationRepository) CreateRestageRequestArgsForCall ¶
func (fake *FakeApplicationRepository) CreateRestageRequestArgsForCall(i int) string
func (*FakeApplicationRepository) CreateRestageRequestCallCount ¶
func (fake *FakeApplicationRepository) CreateRestageRequestCallCount() int
func (*FakeApplicationRepository) CreateRestageRequestReturns ¶
func (fake *FakeApplicationRepository) CreateRestageRequestReturns(result1 error)
func (*FakeApplicationRepository) CreateReturns ¶
func (fake *FakeApplicationRepository) CreateReturns(result1 models.Application, result2 error)
func (*FakeApplicationRepository) Delete ¶
func (fake *FakeApplicationRepository) Delete(appGuid string) (apiErr error)
func (*FakeApplicationRepository) DeleteArgsForCall ¶
func (fake *FakeApplicationRepository) DeleteArgsForCall(i int) string
func (*FakeApplicationRepository) DeleteCallCount ¶
func (fake *FakeApplicationRepository) DeleteCallCount() int
func (*FakeApplicationRepository) DeleteReturns ¶
func (fake *FakeApplicationRepository) DeleteReturns(result1 error)
func (*FakeApplicationRepository) GetApp ¶
func (fake *FakeApplicationRepository) GetApp(appGuid string) (models.Application, error)
func (*FakeApplicationRepository) GetAppArgsForCall ¶
func (fake *FakeApplicationRepository) GetAppArgsForCall(i int) string
func (*FakeApplicationRepository) GetAppCallCount ¶
func (fake *FakeApplicationRepository) GetAppCallCount() int
func (*FakeApplicationRepository) GetAppReturns ¶
func (fake *FakeApplicationRepository) GetAppReturns(result1 models.Application, result2 error)
func (*FakeApplicationRepository) Read ¶
func (fake *FakeApplicationRepository) Read(name string) (app models.Application, apiErr error)
func (*FakeApplicationRepository) ReadArgsForCall ¶
func (fake *FakeApplicationRepository) ReadArgsForCall(i int) string
func (*FakeApplicationRepository) ReadCallCount ¶
func (fake *FakeApplicationRepository) ReadCallCount() int
func (*FakeApplicationRepository) ReadEnv ¶
func (fake *FakeApplicationRepository) ReadEnv(guid string) (*models.Environment, error)
func (*FakeApplicationRepository) ReadEnvArgsForCall ¶
func (fake *FakeApplicationRepository) ReadEnvArgsForCall(i int) string
func (*FakeApplicationRepository) ReadEnvCallCount ¶
func (fake *FakeApplicationRepository) ReadEnvCallCount() int
func (*FakeApplicationRepository) ReadEnvReturns ¶
func (fake *FakeApplicationRepository) ReadEnvReturns(result1 *models.Environment, result2 error)
func (*FakeApplicationRepository) ReadFromSpace ¶
func (fake *FakeApplicationRepository) ReadFromSpace(name string, spaceGuid string) (app models.Application, apiErr error)
func (*FakeApplicationRepository) ReadFromSpaceArgsForCall ¶
func (fake *FakeApplicationRepository) ReadFromSpaceArgsForCall(i int) (string, string)
func (*FakeApplicationRepository) ReadFromSpaceCallCount ¶
func (fake *FakeApplicationRepository) ReadFromSpaceCallCount() int
func (*FakeApplicationRepository) ReadFromSpaceReturns ¶
func (fake *FakeApplicationRepository) ReadFromSpaceReturns(result1 models.Application, result2 error)
func (*FakeApplicationRepository) ReadReturns ¶
func (fake *FakeApplicationRepository) ReadReturns(result1 models.Application, result2 error)
func (*FakeApplicationRepository) Update ¶
func (fake *FakeApplicationRepository) Update(appGuid string, params models.AppParams) (updatedApp models.Application, apiErr error)
func (*FakeApplicationRepository) UpdateArgsForCall ¶
func (fake *FakeApplicationRepository) UpdateArgsForCall(i int) (string, models.AppParams)
func (*FakeApplicationRepository) UpdateCallCount ¶
func (fake *FakeApplicationRepository) UpdateCallCount() int
func (*FakeApplicationRepository) UpdateReturns ¶
func (fake *FakeApplicationRepository) UpdateReturns(result1 models.Application, result2 error)
Click to show internal directories.
Click to hide internal directories.