applicationsfakes

package
v7.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeRepository

type FakeRepository struct {
	CreateStub func(models.AppParams) (models.Application, error)

	CreateRestageRequestStub func(string) error

	DeleteStub func(string) error

	GetAppStub func(string) (models.Application, error)

	GetAppRoutesStub func(string) ([]models.Route, error)

	ReadStub func(string) (models.Application, error)

	ReadEnvStub func(string) (*models.Environment, error)

	ReadFromSpaceStub func(string, string) (models.Application, error)

	UpdateStub func(string, models.AppParams) (models.Application, error)
	// contains filtered or unexported fields
}

func (*FakeRepository) Create

func (fake *FakeRepository) Create(arg1 models.AppParams) (models.Application, error)

func (*FakeRepository) CreateArgsForCall

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

func (*FakeRepository) CreateCallCount

func (fake *FakeRepository) CreateCallCount() int

func (*FakeRepository) CreateCalls

func (fake *FakeRepository) CreateCalls(stub func(models.AppParams) (models.Application, error))

func (*FakeRepository) CreateRestageRequest

func (fake *FakeRepository) CreateRestageRequest(arg1 string) error

func (*FakeRepository) CreateRestageRequestArgsForCall

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

func (*FakeRepository) CreateRestageRequestCallCount

func (fake *FakeRepository) CreateRestageRequestCallCount() int

func (*FakeRepository) CreateRestageRequestCalls

func (fake *FakeRepository) CreateRestageRequestCalls(stub func(string) error)

func (*FakeRepository) CreateRestageRequestReturns

func (fake *FakeRepository) CreateRestageRequestReturns(result1 error)

func (*FakeRepository) CreateRestageRequestReturnsOnCall

func (fake *FakeRepository) CreateRestageRequestReturnsOnCall(i int, result1 error)

func (*FakeRepository) CreateReturns

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

func (*FakeRepository) CreateReturnsOnCall

func (fake *FakeRepository) CreateReturnsOnCall(i int, result1 models.Application, result2 error)

func (*FakeRepository) Delete

func (fake *FakeRepository) Delete(arg1 string) error

func (*FakeRepository) DeleteArgsForCall

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

func (*FakeRepository) DeleteCallCount

func (fake *FakeRepository) DeleteCallCount() int

func (*FakeRepository) DeleteCalls

func (fake *FakeRepository) DeleteCalls(stub func(string) error)

func (*FakeRepository) DeleteReturns

func (fake *FakeRepository) DeleteReturns(result1 error)

func (*FakeRepository) DeleteReturnsOnCall

func (fake *FakeRepository) DeleteReturnsOnCall(i int, result1 error)

func (*FakeRepository) GetApp

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

func (*FakeRepository) GetAppArgsForCall

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

func (*FakeRepository) GetAppCallCount

func (fake *FakeRepository) GetAppCallCount() int

func (*FakeRepository) GetAppCalls

func (fake *FakeRepository) GetAppCalls(stub func(string) (models.Application, error))

func (*FakeRepository) GetAppReturns

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

func (*FakeRepository) GetAppReturnsOnCall

func (fake *FakeRepository) GetAppReturnsOnCall(i int, result1 models.Application, result2 error)

func (*FakeRepository) GetAppRoutes

func (fake *FakeRepository) GetAppRoutes(arg1 string) ([]models.Route, error)

func (*FakeRepository) GetAppRoutesArgsForCall

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

func (*FakeRepository) GetAppRoutesCallCount

func (fake *FakeRepository) GetAppRoutesCallCount() int

func (*FakeRepository) GetAppRoutesCalls

func (fake *FakeRepository) GetAppRoutesCalls(stub func(string) ([]models.Route, error))

func (*FakeRepository) GetAppRoutesReturns

func (fake *FakeRepository) GetAppRoutesReturns(result1 []models.Route, result2 error)

func (*FakeRepository) GetAppRoutesReturnsOnCall

func (fake *FakeRepository) GetAppRoutesReturnsOnCall(i int, result1 []models.Route, result2 error)

func (*FakeRepository) Invocations

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

func (*FakeRepository) Read

func (fake *FakeRepository) Read(arg1 string) (models.Application, error)

func (*FakeRepository) ReadArgsForCall

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

func (*FakeRepository) ReadCallCount

func (fake *FakeRepository) ReadCallCount() int

func (*FakeRepository) ReadCalls

func (fake *FakeRepository) ReadCalls(stub func(string) (models.Application, error))

func (*FakeRepository) ReadEnv

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

func (*FakeRepository) ReadEnvArgsForCall

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

func (*FakeRepository) ReadEnvCallCount

func (fake *FakeRepository) ReadEnvCallCount() int

func (*FakeRepository) ReadEnvCalls

func (fake *FakeRepository) ReadEnvCalls(stub func(string) (*models.Environment, error))

func (*FakeRepository) ReadEnvReturns

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

func (*FakeRepository) ReadEnvReturnsOnCall

func (fake *FakeRepository) ReadEnvReturnsOnCall(i int, result1 *models.Environment, result2 error)

func (*FakeRepository) ReadFromSpace

func (fake *FakeRepository) ReadFromSpace(arg1 string, arg2 string) (models.Application, error)

func (*FakeRepository) ReadFromSpaceArgsForCall

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

func (*FakeRepository) ReadFromSpaceCallCount

func (fake *FakeRepository) ReadFromSpaceCallCount() int

func (*FakeRepository) ReadFromSpaceCalls

func (fake *FakeRepository) ReadFromSpaceCalls(stub func(string, string) (models.Application, error))

func (*FakeRepository) ReadFromSpaceReturns

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

func (*FakeRepository) ReadFromSpaceReturnsOnCall

func (fake *FakeRepository) ReadFromSpaceReturnsOnCall(i int, result1 models.Application, result2 error)

func (*FakeRepository) ReadReturns

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

func (*FakeRepository) ReadReturnsOnCall

func (fake *FakeRepository) ReadReturnsOnCall(i int, result1 models.Application, result2 error)

func (*FakeRepository) Update

func (fake *FakeRepository) Update(arg1 string, arg2 models.AppParams) (models.Application, error)

func (*FakeRepository) UpdateArgsForCall

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

func (*FakeRepository) UpdateCallCount

func (fake *FakeRepository) UpdateCallCount() int

func (*FakeRepository) UpdateCalls

func (fake *FakeRepository) UpdateCalls(stub func(string, models.AppParams) (models.Application, error))

func (*FakeRepository) UpdateReturns

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

func (*FakeRepository) UpdateReturnsOnCall

func (fake *FakeRepository) UpdateReturnsOnCall(i int, result1 models.Application, result2 error)

Jump to

Keyboard shortcuts

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