actorsfakes

package
v6.41.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakePushActor

type FakePushActor struct {
	UploadAppStub func(appGUID string, zipFile *os.File, presentFiles []resources.AppFileResource) error

	ProcessPathStub func(dirOrZipFile string, f func(string) error) error

	GatherFilesStub func(localFiles []models.AppFileFields, appDir string, uploadDir string, useCache bool) ([]resources.AppFileResource, bool, error)

	ValidateAppParamsStub func(apps []models.AppParams) []error

	MapManifestRouteStub func(routeName string, app models.Application, appParamsFromContext models.AppParams) error
	// contains filtered or unexported fields
}

func (*FakePushActor) GatherFiles

func (fake *FakePushActor) GatherFiles(localFiles []models.AppFileFields, appDir string, uploadDir string, useCache bool) ([]resources.AppFileResource, bool, error)

func (*FakePushActor) GatherFilesArgsForCall

func (fake *FakePushActor) GatherFilesArgsForCall(i int) ([]models.AppFileFields, string, string, bool)

func (*FakePushActor) GatherFilesCallCount

func (fake *FakePushActor) GatherFilesCallCount() int

func (*FakePushActor) GatherFilesReturns

func (fake *FakePushActor) GatherFilesReturns(result1 []resources.AppFileResource, result2 bool, result3 error)

func (*FakePushActor) Invocations

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

func (*FakePushActor) MapManifestRoute

func (fake *FakePushActor) MapManifestRoute(routeName string, app models.Application, appParamsFromContext models.AppParams) error

func (*FakePushActor) MapManifestRouteArgsForCall

func (fake *FakePushActor) MapManifestRouteArgsForCall(i int) (string, models.Application, models.AppParams)

func (*FakePushActor) MapManifestRouteCallCount

func (fake *FakePushActor) MapManifestRouteCallCount() int

func (*FakePushActor) MapManifestRouteReturns

func (fake *FakePushActor) MapManifestRouteReturns(result1 error)

func (*FakePushActor) ProcessPath

func (fake *FakePushActor) ProcessPath(dirOrZipFile string, f func(string) error) error

func (*FakePushActor) ProcessPathArgsForCall

func (fake *FakePushActor) ProcessPathArgsForCall(i int) (string, func(string) error)

func (*FakePushActor) ProcessPathCallCount

func (fake *FakePushActor) ProcessPathCallCount() int

func (*FakePushActor) ProcessPathReturns

func (fake *FakePushActor) ProcessPathReturns(result1 error)

func (*FakePushActor) UploadApp

func (fake *FakePushActor) UploadApp(appGUID string, zipFile *os.File, presentFiles []resources.AppFileResource) error

func (*FakePushActor) UploadAppArgsForCall

func (fake *FakePushActor) UploadAppArgsForCall(i int) (string, *os.File, []resources.AppFileResource)

func (*FakePushActor) UploadAppCallCount

func (fake *FakePushActor) UploadAppCallCount() int

func (*FakePushActor) UploadAppReturns

func (fake *FakePushActor) UploadAppReturns(result1 error)

func (*FakePushActor) ValidateAppParams

func (fake *FakePushActor) ValidateAppParams(apps []models.AppParams) []error

func (*FakePushActor) ValidateAppParamsArgsForCall

func (fake *FakePushActor) ValidateAppParamsArgsForCall(i int) []models.AppParams

func (*FakePushActor) ValidateAppParamsCallCount

func (fake *FakePushActor) ValidateAppParamsCallCount() int

func (*FakePushActor) ValidateAppParamsReturns

func (fake *FakePushActor) ValidateAppParamsReturns(result1 []error)

type FakeRouteActor

type FakeRouteActor struct {
	CreateRandomTCPRouteStub func(domain models.DomainFields) (models.Route, error)

	FindOrCreateRouteStub func(hostname string, domain models.DomainFields, path string, port int, useRandomPort bool) (models.Route, error)

	BindRouteStub func(app models.Application, route models.Route) error

	UnbindAllStub func(app models.Application) error

	FindDomainStub func(routeName string) (string, models.DomainFields, error)

	FindPathStub func(routeName string) (string, string)

	FindPortStub func(routeName string) (string, int, error)

	FindAndBindRouteStub func(routeName string, app models.Application, appParamsFromContext models.AppParams) error
	// contains filtered or unexported fields
}

func (*FakeRouteActor) BindRoute

func (fake *FakeRouteActor) BindRoute(app models.Application, route models.Route) error

func (*FakeRouteActor) BindRouteArgsForCall

func (fake *FakeRouteActor) BindRouteArgsForCall(i int) (models.Application, models.Route)

func (*FakeRouteActor) BindRouteCallCount

func (fake *FakeRouteActor) BindRouteCallCount() int

func (*FakeRouteActor) BindRouteReturns

func (fake *FakeRouteActor) BindRouteReturns(result1 error)

func (*FakeRouteActor) CreateRandomTCPRoute

func (fake *FakeRouteActor) CreateRandomTCPRoute(domain models.DomainFields) (models.Route, error)

func (*FakeRouteActor) CreateRandomTCPRouteArgsForCall

func (fake *FakeRouteActor) CreateRandomTCPRouteArgsForCall(i int) models.DomainFields

func (*FakeRouteActor) CreateRandomTCPRouteCallCount

func (fake *FakeRouteActor) CreateRandomTCPRouteCallCount() int

func (*FakeRouteActor) CreateRandomTCPRouteReturns

func (fake *FakeRouteActor) CreateRandomTCPRouteReturns(result1 models.Route, result2 error)

func (*FakeRouteActor) FindAndBindRoute

func (fake *FakeRouteActor) FindAndBindRoute(routeName string, app models.Application, appParamsFromContext models.AppParams) error

func (*FakeRouteActor) FindAndBindRouteArgsForCall

func (fake *FakeRouteActor) FindAndBindRouteArgsForCall(i int) (string, models.Application, models.AppParams)

func (*FakeRouteActor) FindAndBindRouteCallCount

func (fake *FakeRouteActor) FindAndBindRouteCallCount() int

func (*FakeRouteActor) FindAndBindRouteReturns

func (fake *FakeRouteActor) FindAndBindRouteReturns(result1 error)

func (*FakeRouteActor) FindDomain

func (fake *FakeRouteActor) FindDomain(routeName string) (string, models.DomainFields, error)

func (*FakeRouteActor) FindDomainArgsForCall

func (fake *FakeRouteActor) FindDomainArgsForCall(i int) string

func (*FakeRouteActor) FindDomainCallCount

func (fake *FakeRouteActor) FindDomainCallCount() int

func (*FakeRouteActor) FindDomainReturns

func (fake *FakeRouteActor) FindDomainReturns(result1 string, result2 models.DomainFields, result3 error)

func (*FakeRouteActor) FindOrCreateRoute

func (fake *FakeRouteActor) FindOrCreateRoute(hostname string, domain models.DomainFields, path string, port int, useRandomPort bool) (models.Route, error)

func (*FakeRouteActor) FindOrCreateRouteArgsForCall

func (fake *FakeRouteActor) FindOrCreateRouteArgsForCall(i int) (string, models.DomainFields, string, int, bool)

func (*FakeRouteActor) FindOrCreateRouteCallCount

func (fake *FakeRouteActor) FindOrCreateRouteCallCount() int

func (*FakeRouteActor) FindOrCreateRouteReturns

func (fake *FakeRouteActor) FindOrCreateRouteReturns(result1 models.Route, result2 error)

func (*FakeRouteActor) FindPath

func (fake *FakeRouteActor) FindPath(routeName string) (string, string)

func (*FakeRouteActor) FindPathArgsForCall

func (fake *FakeRouteActor) FindPathArgsForCall(i int) string

func (*FakeRouteActor) FindPathCallCount

func (fake *FakeRouteActor) FindPathCallCount() int

func (*FakeRouteActor) FindPathReturns

func (fake *FakeRouteActor) FindPathReturns(result1 string, result2 string)

func (*FakeRouteActor) FindPort

func (fake *FakeRouteActor) FindPort(routeName string) (string, int, error)

func (*FakeRouteActor) FindPortArgsForCall

func (fake *FakeRouteActor) FindPortArgsForCall(i int) string

func (*FakeRouteActor) FindPortCallCount

func (fake *FakeRouteActor) FindPortCallCount() int

func (*FakeRouteActor) FindPortReturns

func (fake *FakeRouteActor) FindPortReturns(result1 string, result2 int, result3 error)

func (*FakeRouteActor) Invocations

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

func (*FakeRouteActor) UnbindAll

func (fake *FakeRouteActor) UnbindAll(app models.Application) error

func (*FakeRouteActor) UnbindAllArgsForCall

func (fake *FakeRouteActor) UnbindAllArgsForCall(i int) models.Application

func (*FakeRouteActor) UnbindAllCallCount

func (fake *FakeRouteActor) UnbindAllCallCount() int

func (*FakeRouteActor) UnbindAllReturns

func (fake *FakeRouteActor) UnbindAllReturns(result1 error)

type FakeServiceActor

type FakeServiceActor struct {
	FilterBrokersStub func(brokerFlag string, serviceFlag string, orgFlag string) ([]models.ServiceBroker, error)
	// contains filtered or unexported fields
}

func (*FakeServiceActor) FilterBrokers

func (fake *FakeServiceActor) FilterBrokers(brokerFlag string, serviceFlag string, orgFlag string) ([]models.ServiceBroker, error)

func (*FakeServiceActor) FilterBrokersArgsForCall

func (fake *FakeServiceActor) FilterBrokersArgsForCall(i int) (string, string, string)

func (*FakeServiceActor) FilterBrokersCallCount

func (fake *FakeServiceActor) FilterBrokersCallCount() int

func (*FakeServiceActor) FilterBrokersReturns

func (fake *FakeServiceActor) FilterBrokersReturns(result1 []models.ServiceBroker, result2 error)

func (*FakeServiceActor) Invocations

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

type FakeServicePlanActor

type FakeServicePlanActor struct {
	FindServiceAccessStub func(string, string) (actors.ServiceAccess, error)

	UpdateAllPlansForServiceStub func(string, bool) error

	UpdateOrgForServiceStub func(string, string, bool) error

	UpdateSinglePlanForServiceStub func(string, string, bool) error

	UpdatePlanAndOrgForServiceStub func(string, string, string, bool) error
	// contains filtered or unexported fields
}

func (*FakeServicePlanActor) FindServiceAccess

func (fake *FakeServicePlanActor) FindServiceAccess(arg1 string, arg2 string) (actors.ServiceAccess, error)

func (*FakeServicePlanActor) FindServiceAccessArgsForCall

func (fake *FakeServicePlanActor) FindServiceAccessArgsForCall(i int) (string, string)

func (*FakeServicePlanActor) FindServiceAccessCallCount

func (fake *FakeServicePlanActor) FindServiceAccessCallCount() int

func (*FakeServicePlanActor) FindServiceAccessReturns

func (fake *FakeServicePlanActor) FindServiceAccessReturns(result1 actors.ServiceAccess, result2 error)

func (*FakeServicePlanActor) Invocations

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

func (*FakeServicePlanActor) UpdateAllPlansForService

func (fake *FakeServicePlanActor) UpdateAllPlansForService(arg1 string, arg2 bool) error

func (*FakeServicePlanActor) UpdateAllPlansForServiceArgsForCall

func (fake *FakeServicePlanActor) UpdateAllPlansForServiceArgsForCall(i int) (string, bool)

func (*FakeServicePlanActor) UpdateAllPlansForServiceCallCount

func (fake *FakeServicePlanActor) UpdateAllPlansForServiceCallCount() int

func (*FakeServicePlanActor) UpdateAllPlansForServiceReturns

func (fake *FakeServicePlanActor) UpdateAllPlansForServiceReturns(result1 error)

func (*FakeServicePlanActor) UpdateOrgForService

func (fake *FakeServicePlanActor) UpdateOrgForService(arg1 string, arg2 string, arg3 bool) error

func (*FakeServicePlanActor) UpdateOrgForServiceArgsForCall

func (fake *FakeServicePlanActor) UpdateOrgForServiceArgsForCall(i int) (string, string, bool)

func (*FakeServicePlanActor) UpdateOrgForServiceCallCount

func (fake *FakeServicePlanActor) UpdateOrgForServiceCallCount() int

func (*FakeServicePlanActor) UpdateOrgForServiceReturns

func (fake *FakeServicePlanActor) UpdateOrgForServiceReturns(result1 error)

func (*FakeServicePlanActor) UpdatePlanAndOrgForService

func (fake *FakeServicePlanActor) UpdatePlanAndOrgForService(arg1 string, arg2 string, arg3 string, arg4 bool) error

func (*FakeServicePlanActor) UpdatePlanAndOrgForServiceArgsForCall

func (fake *FakeServicePlanActor) UpdatePlanAndOrgForServiceArgsForCall(i int) (string, string, string, bool)

func (*FakeServicePlanActor) UpdatePlanAndOrgForServiceCallCount

func (fake *FakeServicePlanActor) UpdatePlanAndOrgForServiceCallCount() int

func (*FakeServicePlanActor) UpdatePlanAndOrgForServiceReturns

func (fake *FakeServicePlanActor) UpdatePlanAndOrgForServiceReturns(result1 error)

func (*FakeServicePlanActor) UpdateSinglePlanForService

func (fake *FakeServicePlanActor) UpdateSinglePlanForService(arg1 string, arg2 string, arg3 bool) error

func (*FakeServicePlanActor) UpdateSinglePlanForServiceArgsForCall

func (fake *FakeServicePlanActor) UpdateSinglePlanForServiceArgsForCall(i int) (string, string, bool)

func (*FakeServicePlanActor) UpdateSinglePlanForServiceCallCount

func (fake *FakeServicePlanActor) UpdateSinglePlanForServiceCallCount() int

func (*FakeServicePlanActor) UpdateSinglePlanForServiceReturns

func (fake *FakeServicePlanActor) UpdateSinglePlanForServiceReturns(result1 error)

Jump to

Keyboard shortcuts

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