Documentation ¶
Index ¶
- type FakeApplicationRepository
- func (repo *FakeApplicationRepository) Create(params models.AppParams) (resultApp models.Application, apiErr error)
- func (repo *FakeApplicationRepository) CreateRestageRequest(guid string) (apiErr error)
- func (repo *FakeApplicationRepository) CreatedAppParams() (params models.AppParams)
- func (repo *FakeApplicationRepository) Delete(appGuid string) (apiErr error)
- func (repo *FakeApplicationRepository) Read(name string) (app models.Application, apiErr error)
- 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 (repo *FakeApplicationRepository) Update(appGuid string, params models.AppParams) (updatedApp models.Application, apiErr error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeApplicationRepository ¶
type FakeApplicationRepository struct { FindAllApps []models.Application ReadArgs struct { Name string } ReadReturns struct { App models.Application Error error } CreateAppParams []models.AppParams UpdateParams models.AppParams UpdateAppGuid string UpdateAppResult models.Application UpdateErr bool DeletedAppGuid string CreateRestageRequestArgs struct { AppGuid string } ReadFromSpaceStub func(name string, spaceGuid string) (app models.Application, apiErr error) ReadEnvStub func(guid string) (*models.Environment, error) // contains filtered or unexported fields }
func (*FakeApplicationRepository) Create ¶
func (repo *FakeApplicationRepository) Create(params models.AppParams) (resultApp models.Application, apiErr error)
func (*FakeApplicationRepository) CreateRestageRequest ¶
func (repo *FakeApplicationRepository) CreateRestageRequest(guid string) (apiErr error)
func (*FakeApplicationRepository) CreatedAppParams ¶
func (repo *FakeApplicationRepository) CreatedAppParams() (params models.AppParams)
func (*FakeApplicationRepository) Delete ¶
func (repo *FakeApplicationRepository) Delete(appGuid string) (apiErr error)
func (*FakeApplicationRepository) Read ¶
func (repo *FakeApplicationRepository) Read(name string) (app models.Application, apiErr error)
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)
counterfeiter section
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) Update ¶
func (repo *FakeApplicationRepository) Update(appGuid string, params models.AppParams) (updatedApp models.Application, apiErr error)
Click to show internal directories.
Click to hide internal directories.