applicationsfakes

package
v6.44.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeRepository

type FakeRepository 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 (*FakeRepository) Create

func (fake *FakeRepository) Create(params models.AppParams) (createdApp models.Application, apiErr error)

func (*FakeRepository) CreateArgsForCall

func (fake *FakeRepository) CreateArgsForCall(i int) models.AppParams

func (*FakeRepository) CreateCallCount

func (fake *FakeRepository) CreateCallCount() int

func (*FakeRepository) CreateRestageRequest

func (fake *FakeRepository) CreateRestageRequest(guid string) (apiErr error)

func (*FakeRepository) CreateRestageRequestArgsForCall

func (fake *FakeRepository) CreateRestageRequestArgsForCall(i int) string

func (*FakeRepository) CreateRestageRequestCallCount

func (fake *FakeRepository) CreateRestageRequestCallCount() int

func (*FakeRepository) CreateRestageRequestReturns

func (fake *FakeRepository) CreateRestageRequestReturns(result1 error)

func (*FakeRepository) CreateReturns

func (fake *FakeRepository) CreateReturns(result1 models.Application, result2 error)

func (*FakeRepository) Delete

func (fake *FakeRepository) Delete(appGUID string) (apiErr error)

func (*FakeRepository) DeleteArgsForCall

func (fake *FakeRepository) DeleteArgsForCall(i int) string

func (*FakeRepository) DeleteCallCount

func (fake *FakeRepository) DeleteCallCount() int

func (*FakeRepository) DeleteReturns

func (fake *FakeRepository) DeleteReturns(result1 error)

func (*FakeRepository) GetApp

func (fake *FakeRepository) GetApp(appGUID string) (models.Application, error)

func (*FakeRepository) GetAppArgsForCall

func (fake *FakeRepository) GetAppArgsForCall(i int) string

func (*FakeRepository) GetAppCallCount

func (fake *FakeRepository) GetAppCallCount() int

func (*FakeRepository) GetAppReturns

func (fake *FakeRepository) GetAppReturns(result1 models.Application, result2 error)

func (*FakeRepository) Invocations

func (fake *FakeRepository) Invocations() map[string][][]interface{}

func (*FakeRepository) Read

func (fake *FakeRepository) Read(name string) (app models.Application, apiErr error)

func (*FakeRepository) ReadArgsForCall

func (fake *FakeRepository) ReadArgsForCall(i int) string

func (*FakeRepository) ReadCallCount

func (fake *FakeRepository) ReadCallCount() int

func (*FakeRepository) ReadEnv

func (fake *FakeRepository) ReadEnv(guid string) (*models.Environment, error)

func (*FakeRepository) ReadEnvArgsForCall

func (fake *FakeRepository) ReadEnvArgsForCall(i int) string

func (*FakeRepository) ReadEnvCallCount

func (fake *FakeRepository) ReadEnvCallCount() int

func (*FakeRepository) ReadEnvReturns

func (fake *FakeRepository) ReadEnvReturns(result1 *models.Environment, result2 error)

func (*FakeRepository) ReadFromSpace

func (fake *FakeRepository) ReadFromSpace(name string, spaceGUID string) (app models.Application, apiErr error)

func (*FakeRepository) ReadFromSpaceArgsForCall

func (fake *FakeRepository) ReadFromSpaceArgsForCall(i int) (string, string)

func (*FakeRepository) ReadFromSpaceCallCount

func (fake *FakeRepository) ReadFromSpaceCallCount() int

func (*FakeRepository) ReadFromSpaceReturns

func (fake *FakeRepository) ReadFromSpaceReturns(result1 models.Application, result2 error)

func (*FakeRepository) ReadReturns

func (fake *FakeRepository) ReadReturns(result1 models.Application, result2 error)

func (*FakeRepository) Update

func (fake *FakeRepository) Update(appGUID string, params models.AppParams) (updatedApp models.Application, apiErr error)

func (*FakeRepository) UpdateArgsForCall

func (fake *FakeRepository) UpdateArgsForCall(i int) (string, models.AppParams)

func (*FakeRepository) UpdateCallCount

func (fake *FakeRepository) UpdateCallCount() int

func (*FakeRepository) UpdateReturns

func (fake *FakeRepository) UpdateReturns(result1 models.Application, result2 error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL