fakes

package
v6.7.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2014 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

	GatherFilesStub func(appDir string, uploadDir string) ([]resources.AppFileResource, error)
	// contains filtered or unexported fields
}

func (*FakePushActor) GatherFiles

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

func (*FakePushActor) GatherFilesArgsForCall

func (fake *FakePushActor) GatherFilesArgsForCall(i int) (string, string)

func (*FakePushActor) GatherFilesCallCount

func (fake *FakePushActor) GatherFilesCallCount() int

func (*FakePushActor) GatherFilesReturns

func (fake *FakePushActor) GatherFilesReturns(result1 []resources.AppFileResource, result2 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)

type FakeServiceActor

type FakeServiceActor struct {
	FilterBrokersStub func(brokerFlag string, serviceFlag string, orgFlag string) ([]models.ServiceBroker, error)

	AttachPlansToServiceStub func(models.ServiceOffering) (models.ServiceOffering, error)

	AttachOrgsToPlansStub func([]models.ServicePlanFields) ([]models.ServicePlanFields, error)
	// contains filtered or unexported fields
}

func (*FakeServiceActor) AttachOrgsToPlans

func (fake *FakeServiceActor) AttachOrgsToPlans(arg1 []models.ServicePlanFields) ([]models.ServicePlanFields, error)

func (*FakeServiceActor) AttachOrgsToPlansArgsForCall

func (fake *FakeServiceActor) AttachOrgsToPlansArgsForCall(i int) []models.ServicePlanFields

func (*FakeServiceActor) AttachOrgsToPlansCallCount

func (fake *FakeServiceActor) AttachOrgsToPlansCallCount() int

func (*FakeServiceActor) AttachOrgsToPlansReturns

func (fake *FakeServiceActor) AttachOrgsToPlansReturns(result1 []models.ServicePlanFields, result2 error)

func (*FakeServiceActor) AttachPlansToService

func (fake *FakeServiceActor) AttachPlansToService(arg1 models.ServiceOffering) (models.ServiceOffering, error)

func (*FakeServiceActor) AttachPlansToServiceArgsForCall

func (fake *FakeServiceActor) AttachPlansToServiceArgsForCall(i int) models.ServiceOffering

func (*FakeServiceActor) AttachPlansToServiceCallCount

func (fake *FakeServiceActor) AttachPlansToServiceCallCount() int

func (*FakeServiceActor) AttachPlansToServiceReturns

func (fake *FakeServiceActor) AttachPlansToServiceReturns(result1 models.ServiceOffering, result2 error)

func (*FakeServiceActor) FilterBrokers

func (fake *FakeServiceActor) FilterBrokers(arg1 string, arg2 string, arg3 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)

type FakeServicePlanActor

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

	UpdateAllPlansForServiceStub func(string, bool) (bool, error)

	UpdateOrgForServiceStub func(string, string, bool) (bool, error)

	UpdateSinglePlanForServiceStub func(string, string, bool) (actors.PlanAccess, error)

	UpdatePlanAndOrgForServiceStub func(string, string, string, bool) (actors.PlanAccess, 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) UpdateAllPlansForService

func (fake *FakeServicePlanActor) UpdateAllPlansForService(arg1 string, arg2 bool) (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 bool, result2 error)

func (*FakeServicePlanActor) UpdateOrgForService

func (fake *FakeServicePlanActor) UpdateOrgForService(arg1 string, arg2 string, arg3 bool) (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 bool, result2 error)

func (*FakeServicePlanActor) UpdatePlanAndOrgForService

func (fake *FakeServicePlanActor) UpdatePlanAndOrgForService(arg1 string, arg2 string, arg3 string, arg4 bool) (actors.PlanAccess, 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 actors.PlanAccess, result2 error)

func (*FakeServicePlanActor) UpdateSinglePlanForService

func (fake *FakeServicePlanActor) UpdateSinglePlanForService(arg1 string, arg2 string, arg3 bool) (actors.PlanAccess, 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 actors.PlanAccess, result2 error)

Jump to

Keyboard shortcuts

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