actorsfakes

package
v6.20.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2016 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

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) ([]resources.AppFileResource, bool, error)

	ValidateAppParamsStub func(apps []models.AppParams) []error
	// contains filtered or unexported fields
}

func (*FakePushActor) GatherFiles

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

func (*FakePushActor) GatherFilesArgsForCall

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

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) 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 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