apifakes

package
v6.47.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2019 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCloudControllerTestRequest

func NewCloudControllerTestRequest(request testnet.TestRequest) testnet.TestRequest

Types

type CreateServiceKeyType

type CreateServiceKeyType struct {
	InstanceGUID string
	KeyName      string
	Params       map[string]interface{}

	Error error
}

type DeleteServiceKeyType

type DeleteServiceKeyType struct {
	GUID string

	Error error
}

type FakeAppSummaryRepository

type FakeAppSummaryRepository struct {
	GetSummariesInCurrentSpaceStub func() ([]models.Application, error)

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

func (*FakeAppSummaryRepository) GetSummariesInCurrentSpace

func (fake *FakeAppSummaryRepository) GetSummariesInCurrentSpace() ([]models.Application, error)

func (*FakeAppSummaryRepository) GetSummariesInCurrentSpaceCallCount

func (fake *FakeAppSummaryRepository) GetSummariesInCurrentSpaceCallCount() int

func (*FakeAppSummaryRepository) GetSummariesInCurrentSpaceCalls

func (fake *FakeAppSummaryRepository) GetSummariesInCurrentSpaceCalls(stub func() ([]models.Application, error))

func (*FakeAppSummaryRepository) GetSummariesInCurrentSpaceReturns

func (fake *FakeAppSummaryRepository) GetSummariesInCurrentSpaceReturns(result1 []models.Application, result2 error)

func (*FakeAppSummaryRepository) GetSummariesInCurrentSpaceReturnsOnCall

func (fake *FakeAppSummaryRepository) GetSummariesInCurrentSpaceReturnsOnCall(i int, result1 []models.Application, result2 error)

func (*FakeAppSummaryRepository) GetSummary

func (fake *FakeAppSummaryRepository) GetSummary(arg1 string) (models.Application, error)

func (*FakeAppSummaryRepository) GetSummaryArgsForCall

func (fake *FakeAppSummaryRepository) GetSummaryArgsForCall(i int) string

func (*FakeAppSummaryRepository) GetSummaryCallCount

func (fake *FakeAppSummaryRepository) GetSummaryCallCount() int

func (*FakeAppSummaryRepository) GetSummaryCalls

func (fake *FakeAppSummaryRepository) GetSummaryCalls(stub func(string) (models.Application, error))

func (*FakeAppSummaryRepository) GetSummaryReturns

func (fake *FakeAppSummaryRepository) GetSummaryReturns(result1 models.Application, result2 error)

func (*FakeAppSummaryRepository) GetSummaryReturnsOnCall

func (fake *FakeAppSummaryRepository) GetSummaryReturnsOnCall(i int, result1 models.Application, result2 error)

func (*FakeAppSummaryRepository) Invocations

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

type FakeBuildpackBitsRepository

type FakeBuildpackBitsRepository struct {
	CreateBuildpackZipFileStub func(string) (*os.File, string, error)

	UploadBuildpackStub func(models.Buildpack, *os.File, string) error
	// contains filtered or unexported fields
}

func (*FakeBuildpackBitsRepository) CreateBuildpackZipFile

func (fake *FakeBuildpackBitsRepository) CreateBuildpackZipFile(arg1 string) (*os.File, string, error)

func (*FakeBuildpackBitsRepository) CreateBuildpackZipFileArgsForCall

func (fake *FakeBuildpackBitsRepository) CreateBuildpackZipFileArgsForCall(i int) string

func (*FakeBuildpackBitsRepository) CreateBuildpackZipFileCallCount

func (fake *FakeBuildpackBitsRepository) CreateBuildpackZipFileCallCount() int

func (*FakeBuildpackBitsRepository) CreateBuildpackZipFileCalls

func (fake *FakeBuildpackBitsRepository) CreateBuildpackZipFileCalls(stub func(string) (*os.File, string, error))

func (*FakeBuildpackBitsRepository) CreateBuildpackZipFileReturns

func (fake *FakeBuildpackBitsRepository) CreateBuildpackZipFileReturns(result1 *os.File, result2 string, result3 error)

func (*FakeBuildpackBitsRepository) CreateBuildpackZipFileReturnsOnCall

func (fake *FakeBuildpackBitsRepository) CreateBuildpackZipFileReturnsOnCall(i int, result1 *os.File, result2 string, result3 error)

func (*FakeBuildpackBitsRepository) Invocations

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

func (*FakeBuildpackBitsRepository) UploadBuildpack

func (fake *FakeBuildpackBitsRepository) UploadBuildpack(arg1 models.Buildpack, arg2 *os.File, arg3 string) error

func (*FakeBuildpackBitsRepository) UploadBuildpackArgsForCall

func (fake *FakeBuildpackBitsRepository) UploadBuildpackArgsForCall(i int) (models.Buildpack, *os.File, string)

func (*FakeBuildpackBitsRepository) UploadBuildpackCallCount

func (fake *FakeBuildpackBitsRepository) UploadBuildpackCallCount() int

func (*FakeBuildpackBitsRepository) UploadBuildpackCalls

func (fake *FakeBuildpackBitsRepository) UploadBuildpackCalls(stub func(models.Buildpack, *os.File, string) error)

func (*FakeBuildpackBitsRepository) UploadBuildpackReturns

func (fake *FakeBuildpackBitsRepository) UploadBuildpackReturns(result1 error)

func (*FakeBuildpackBitsRepository) UploadBuildpackReturnsOnCall

func (fake *FakeBuildpackBitsRepository) UploadBuildpackReturnsOnCall(i int, result1 error)

type FakeBuildpackRepository

type FakeBuildpackRepository struct {
	CreateStub func(string, *int, *bool, *bool) (models.Buildpack, error)

	DeleteStub func(string) error

	FindByNameStub func(string) (models.Buildpack, error)

	FindByNameAndStackStub func(string, string) (models.Buildpack, error)

	FindByNameWithNilStackStub func(string) (models.Buildpack, error)

	ListBuildpacksStub func(func(models.Buildpack) bool) error

	UpdateStub func(models.Buildpack) (models.Buildpack, error)
	// contains filtered or unexported fields
}

func (*FakeBuildpackRepository) Create

func (fake *FakeBuildpackRepository) Create(arg1 string, arg2 *int, arg3 *bool, arg4 *bool) (models.Buildpack, error)

func (*FakeBuildpackRepository) CreateArgsForCall

func (fake *FakeBuildpackRepository) CreateArgsForCall(i int) (string, *int, *bool, *bool)

func (*FakeBuildpackRepository) CreateCallCount

func (fake *FakeBuildpackRepository) CreateCallCount() int

func (*FakeBuildpackRepository) CreateCalls

func (fake *FakeBuildpackRepository) CreateCalls(stub func(string, *int, *bool, *bool) (models.Buildpack, error))

func (*FakeBuildpackRepository) CreateReturns

func (fake *FakeBuildpackRepository) CreateReturns(result1 models.Buildpack, result2 error)

func (*FakeBuildpackRepository) CreateReturnsOnCall

func (fake *FakeBuildpackRepository) CreateReturnsOnCall(i int, result1 models.Buildpack, result2 error)

func (*FakeBuildpackRepository) Delete

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

func (*FakeBuildpackRepository) DeleteArgsForCall

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

func (*FakeBuildpackRepository) DeleteCallCount

func (fake *FakeBuildpackRepository) DeleteCallCount() int

func (*FakeBuildpackRepository) DeleteCalls

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

func (*FakeBuildpackRepository) DeleteReturns

func (fake *FakeBuildpackRepository) DeleteReturns(result1 error)

func (*FakeBuildpackRepository) DeleteReturnsOnCall

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

func (*FakeBuildpackRepository) FindByName

func (fake *FakeBuildpackRepository) FindByName(arg1 string) (models.Buildpack, error)

func (*FakeBuildpackRepository) FindByNameAndStack

func (fake *FakeBuildpackRepository) FindByNameAndStack(arg1 string, arg2 string) (models.Buildpack, error)

func (*FakeBuildpackRepository) FindByNameAndStackArgsForCall

func (fake *FakeBuildpackRepository) FindByNameAndStackArgsForCall(i int) (string, string)

func (*FakeBuildpackRepository) FindByNameAndStackCallCount

func (fake *FakeBuildpackRepository) FindByNameAndStackCallCount() int

func (*FakeBuildpackRepository) FindByNameAndStackCalls

func (fake *FakeBuildpackRepository) FindByNameAndStackCalls(stub func(string, string) (models.Buildpack, error))

func (*FakeBuildpackRepository) FindByNameAndStackReturns

func (fake *FakeBuildpackRepository) FindByNameAndStackReturns(result1 models.Buildpack, result2 error)

func (*FakeBuildpackRepository) FindByNameAndStackReturnsOnCall

func (fake *FakeBuildpackRepository) FindByNameAndStackReturnsOnCall(i int, result1 models.Buildpack, result2 error)

func (*FakeBuildpackRepository) FindByNameArgsForCall

func (fake *FakeBuildpackRepository) FindByNameArgsForCall(i int) string

func (*FakeBuildpackRepository) FindByNameCallCount

func (fake *FakeBuildpackRepository) FindByNameCallCount() int

func (*FakeBuildpackRepository) FindByNameCalls

func (fake *FakeBuildpackRepository) FindByNameCalls(stub func(string) (models.Buildpack, error))

func (*FakeBuildpackRepository) FindByNameReturns

func (fake *FakeBuildpackRepository) FindByNameReturns(result1 models.Buildpack, result2 error)

func (*FakeBuildpackRepository) FindByNameReturnsOnCall

func (fake *FakeBuildpackRepository) FindByNameReturnsOnCall(i int, result1 models.Buildpack, result2 error)

func (*FakeBuildpackRepository) FindByNameWithNilStack

func (fake *FakeBuildpackRepository) FindByNameWithNilStack(arg1 string) (models.Buildpack, error)

func (*FakeBuildpackRepository) FindByNameWithNilStackArgsForCall

func (fake *FakeBuildpackRepository) FindByNameWithNilStackArgsForCall(i int) string

func (*FakeBuildpackRepository) FindByNameWithNilStackCallCount

func (fake *FakeBuildpackRepository) FindByNameWithNilStackCallCount() int

func (*FakeBuildpackRepository) FindByNameWithNilStackCalls

func (fake *FakeBuildpackRepository) FindByNameWithNilStackCalls(stub func(string) (models.Buildpack, error))

func (*FakeBuildpackRepository) FindByNameWithNilStackReturns

func (fake *FakeBuildpackRepository) FindByNameWithNilStackReturns(result1 models.Buildpack, result2 error)

func (*FakeBuildpackRepository) FindByNameWithNilStackReturnsOnCall

func (fake *FakeBuildpackRepository) FindByNameWithNilStackReturnsOnCall(i int, result1 models.Buildpack, result2 error)

func (*FakeBuildpackRepository) Invocations

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

func (*FakeBuildpackRepository) ListBuildpacks

func (fake *FakeBuildpackRepository) ListBuildpacks(arg1 func(models.Buildpack) bool) error

func (*FakeBuildpackRepository) ListBuildpacksArgsForCall

func (fake *FakeBuildpackRepository) ListBuildpacksArgsForCall(i int) func(models.Buildpack) bool

func (*FakeBuildpackRepository) ListBuildpacksCallCount

func (fake *FakeBuildpackRepository) ListBuildpacksCallCount() int

func (*FakeBuildpackRepository) ListBuildpacksCalls

func (fake *FakeBuildpackRepository) ListBuildpacksCalls(stub func(func(models.Buildpack) bool) error)

func (*FakeBuildpackRepository) ListBuildpacksReturns

func (fake *FakeBuildpackRepository) ListBuildpacksReturns(result1 error)

func (*FakeBuildpackRepository) ListBuildpacksReturnsOnCall

func (fake *FakeBuildpackRepository) ListBuildpacksReturnsOnCall(i int, result1 error)

func (*FakeBuildpackRepository) Update

func (*FakeBuildpackRepository) UpdateArgsForCall

func (fake *FakeBuildpackRepository) UpdateArgsForCall(i int) models.Buildpack

func (*FakeBuildpackRepository) UpdateCallCount

func (fake *FakeBuildpackRepository) UpdateCallCount() int

func (*FakeBuildpackRepository) UpdateCalls

func (fake *FakeBuildpackRepository) UpdateCalls(stub func(models.Buildpack) (models.Buildpack, error))

func (*FakeBuildpackRepository) UpdateReturns

func (fake *FakeBuildpackRepository) UpdateReturns(result1 models.Buildpack, result2 error)

func (*FakeBuildpackRepository) UpdateReturnsOnCall

func (fake *FakeBuildpackRepository) UpdateReturnsOnCall(i int, result1 models.Buildpack, result2 error)

type FakeClientRepository

type FakeClientRepository struct {
	ClientExistsStub func(string) (bool, error)
	// contains filtered or unexported fields
}

func (*FakeClientRepository) ClientExists

func (fake *FakeClientRepository) ClientExists(arg1 string) (bool, error)

func (*FakeClientRepository) ClientExistsArgsForCall

func (fake *FakeClientRepository) ClientExistsArgsForCall(i int) string

func (*FakeClientRepository) ClientExistsCallCount

func (fake *FakeClientRepository) ClientExistsCallCount() int

func (*FakeClientRepository) ClientExistsCalls

func (fake *FakeClientRepository) ClientExistsCalls(stub func(string) (bool, error))

func (*FakeClientRepository) ClientExistsReturns

func (fake *FakeClientRepository) ClientExistsReturns(result1 bool, result2 error)

func (*FakeClientRepository) ClientExistsReturnsOnCall

func (fake *FakeClientRepository) ClientExistsReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeClientRepository) Invocations

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

type FakeCurlRepository

type FakeCurlRepository struct {
	RequestStub func(string, string, string, string, bool) (string, string, error)
	// contains filtered or unexported fields
}

func (*FakeCurlRepository) Invocations

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

func (*FakeCurlRepository) Request

func (fake *FakeCurlRepository) Request(arg1 string, arg2 string, arg3 string, arg4 string, arg5 bool) (string, string, error)

func (*FakeCurlRepository) RequestArgsForCall

func (fake *FakeCurlRepository) RequestArgsForCall(i int) (string, string, string, string, bool)

func (*FakeCurlRepository) RequestCallCount

func (fake *FakeCurlRepository) RequestCallCount() int

func (*FakeCurlRepository) RequestCalls

func (fake *FakeCurlRepository) RequestCalls(stub func(string, string, string, string, bool) (string, string, error))

func (*FakeCurlRepository) RequestReturns

func (fake *FakeCurlRepository) RequestReturns(result1 string, result2 string, result3 error)

func (*FakeCurlRepository) RequestReturnsOnCall

func (fake *FakeCurlRepository) RequestReturnsOnCall(i int, result1 string, result2 string, result3 error)

type FakeDomainRepository

type FakeDomainRepository struct {
	CreateStub func(string, string) (models.DomainFields, error)

	CreateSharedDomainStub func(string, string) error

	DeleteStub func(string) error

	DeleteSharedDomainStub func(string) error

	FindByNameInOrgStub func(string, string) (models.DomainFields, error)

	FindPrivateByNameStub func(string) (models.DomainFields, error)

	FindSharedByNameStub func(string) (models.DomainFields, error)

	FirstOrDefaultStub func(string, *string) (models.DomainFields, error)

	ListDomainsForOrgStub func(string, func(models.DomainFields) bool) error
	// contains filtered or unexported fields
}

func (*FakeDomainRepository) Create

func (fake *FakeDomainRepository) Create(arg1 string, arg2 string) (models.DomainFields, error)

func (*FakeDomainRepository) CreateArgsForCall

func (fake *FakeDomainRepository) CreateArgsForCall(i int) (string, string)

func (*FakeDomainRepository) CreateCallCount

func (fake *FakeDomainRepository) CreateCallCount() int

func (*FakeDomainRepository) CreateCalls

func (fake *FakeDomainRepository) CreateCalls(stub func(string, string) (models.DomainFields, error))

func (*FakeDomainRepository) CreateReturns

func (fake *FakeDomainRepository) CreateReturns(result1 models.DomainFields, result2 error)

func (*FakeDomainRepository) CreateReturnsOnCall

func (fake *FakeDomainRepository) CreateReturnsOnCall(i int, result1 models.DomainFields, result2 error)

func (*FakeDomainRepository) CreateSharedDomain

func (fake *FakeDomainRepository) CreateSharedDomain(arg1 string, arg2 string) error

func (*FakeDomainRepository) CreateSharedDomainArgsForCall

func (fake *FakeDomainRepository) CreateSharedDomainArgsForCall(i int) (string, string)

func (*FakeDomainRepository) CreateSharedDomainCallCount

func (fake *FakeDomainRepository) CreateSharedDomainCallCount() int

func (*FakeDomainRepository) CreateSharedDomainCalls

func (fake *FakeDomainRepository) CreateSharedDomainCalls(stub func(string, string) error)

func (*FakeDomainRepository) CreateSharedDomainReturns

func (fake *FakeDomainRepository) CreateSharedDomainReturns(result1 error)

func (*FakeDomainRepository) CreateSharedDomainReturnsOnCall

func (fake *FakeDomainRepository) CreateSharedDomainReturnsOnCall(i int, result1 error)

func (*FakeDomainRepository) Delete

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

func (*FakeDomainRepository) DeleteArgsForCall

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

func (*FakeDomainRepository) DeleteCallCount

func (fake *FakeDomainRepository) DeleteCallCount() int

func (*FakeDomainRepository) DeleteCalls

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

func (*FakeDomainRepository) DeleteReturns

func (fake *FakeDomainRepository) DeleteReturns(result1 error)

func (*FakeDomainRepository) DeleteReturnsOnCall

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

func (*FakeDomainRepository) DeleteSharedDomain

func (fake *FakeDomainRepository) DeleteSharedDomain(arg1 string) error

func (*FakeDomainRepository) DeleteSharedDomainArgsForCall

func (fake *FakeDomainRepository) DeleteSharedDomainArgsForCall(i int) string

func (*FakeDomainRepository) DeleteSharedDomainCallCount

func (fake *FakeDomainRepository) DeleteSharedDomainCallCount() int

func (*FakeDomainRepository) DeleteSharedDomainCalls

func (fake *FakeDomainRepository) DeleteSharedDomainCalls(stub func(string) error)

func (*FakeDomainRepository) DeleteSharedDomainReturns

func (fake *FakeDomainRepository) DeleteSharedDomainReturns(result1 error)

func (*FakeDomainRepository) DeleteSharedDomainReturnsOnCall

func (fake *FakeDomainRepository) DeleteSharedDomainReturnsOnCall(i int, result1 error)

func (*FakeDomainRepository) FindByNameInOrg

func (fake *FakeDomainRepository) FindByNameInOrg(arg1 string, arg2 string) (models.DomainFields, error)

func (*FakeDomainRepository) FindByNameInOrgArgsForCall

func (fake *FakeDomainRepository) FindByNameInOrgArgsForCall(i int) (string, string)

func (*FakeDomainRepository) FindByNameInOrgCallCount

func (fake *FakeDomainRepository) FindByNameInOrgCallCount() int

func (*FakeDomainRepository) FindByNameInOrgCalls

func (fake *FakeDomainRepository) FindByNameInOrgCalls(stub func(string, string) (models.DomainFields, error))

func (*FakeDomainRepository) FindByNameInOrgReturns

func (fake *FakeDomainRepository) FindByNameInOrgReturns(result1 models.DomainFields, result2 error)

func (*FakeDomainRepository) FindByNameInOrgReturnsOnCall

func (fake *FakeDomainRepository) FindByNameInOrgReturnsOnCall(i int, result1 models.DomainFields, result2 error)

func (*FakeDomainRepository) FindPrivateByName

func (fake *FakeDomainRepository) FindPrivateByName(arg1 string) (models.DomainFields, error)

func (*FakeDomainRepository) FindPrivateByNameArgsForCall

func (fake *FakeDomainRepository) FindPrivateByNameArgsForCall(i int) string

func (*FakeDomainRepository) FindPrivateByNameCallCount

func (fake *FakeDomainRepository) FindPrivateByNameCallCount() int

func (*FakeDomainRepository) FindPrivateByNameCalls

func (fake *FakeDomainRepository) FindPrivateByNameCalls(stub func(string) (models.DomainFields, error))

func (*FakeDomainRepository) FindPrivateByNameReturns

func (fake *FakeDomainRepository) FindPrivateByNameReturns(result1 models.DomainFields, result2 error)

func (*FakeDomainRepository) FindPrivateByNameReturnsOnCall

func (fake *FakeDomainRepository) FindPrivateByNameReturnsOnCall(i int, result1 models.DomainFields, result2 error)

func (*FakeDomainRepository) FindSharedByName

func (fake *FakeDomainRepository) FindSharedByName(arg1 string) (models.DomainFields, error)

func (*FakeDomainRepository) FindSharedByNameArgsForCall

func (fake *FakeDomainRepository) FindSharedByNameArgsForCall(i int) string

func (*FakeDomainRepository) FindSharedByNameCallCount

func (fake *FakeDomainRepository) FindSharedByNameCallCount() int

func (*FakeDomainRepository) FindSharedByNameCalls

func (fake *FakeDomainRepository) FindSharedByNameCalls(stub func(string) (models.DomainFields, error))

func (*FakeDomainRepository) FindSharedByNameReturns

func (fake *FakeDomainRepository) FindSharedByNameReturns(result1 models.DomainFields, result2 error)

func (*FakeDomainRepository) FindSharedByNameReturnsOnCall

func (fake *FakeDomainRepository) FindSharedByNameReturnsOnCall(i int, result1 models.DomainFields, result2 error)

func (*FakeDomainRepository) FirstOrDefault

func (fake *FakeDomainRepository) FirstOrDefault(arg1 string, arg2 *string) (models.DomainFields, error)

func (*FakeDomainRepository) FirstOrDefaultArgsForCall

func (fake *FakeDomainRepository) FirstOrDefaultArgsForCall(i int) (string, *string)

func (*FakeDomainRepository) FirstOrDefaultCallCount

func (fake *FakeDomainRepository) FirstOrDefaultCallCount() int

func (*FakeDomainRepository) FirstOrDefaultCalls

func (fake *FakeDomainRepository) FirstOrDefaultCalls(stub func(string, *string) (models.DomainFields, error))

func (*FakeDomainRepository) FirstOrDefaultReturns

func (fake *FakeDomainRepository) FirstOrDefaultReturns(result1 models.DomainFields, result2 error)

func (*FakeDomainRepository) FirstOrDefaultReturnsOnCall

func (fake *FakeDomainRepository) FirstOrDefaultReturnsOnCall(i int, result1 models.DomainFields, result2 error)

func (*FakeDomainRepository) Invocations

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

func (*FakeDomainRepository) ListDomainsForOrg

func (fake *FakeDomainRepository) ListDomainsForOrg(arg1 string, arg2 func(models.DomainFields) bool) error

func (*FakeDomainRepository) ListDomainsForOrgArgsForCall

func (fake *FakeDomainRepository) ListDomainsForOrgArgsForCall(i int) (string, func(models.DomainFields) bool)

func (*FakeDomainRepository) ListDomainsForOrgCallCount

func (fake *FakeDomainRepository) ListDomainsForOrgCallCount() int

func (*FakeDomainRepository) ListDomainsForOrgCalls

func (fake *FakeDomainRepository) ListDomainsForOrgCalls(stub func(string, func(models.DomainFields) bool) error)

func (*FakeDomainRepository) ListDomainsForOrgReturns

func (fake *FakeDomainRepository) ListDomainsForOrgReturns(result1 error)

func (*FakeDomainRepository) ListDomainsForOrgReturnsOnCall

func (fake *FakeDomainRepository) ListDomainsForOrgReturnsOnCall(i int, result1 error)

type FakeRouteRepository

type FakeRouteRepository struct {
	BindStub func(string, string) error

	CheckIfExistsStub func(string, models.DomainFields, string) (bool, error)

	CreateStub func(string, models.DomainFields, string, int, bool) (models.Route, error)

	CreateInSpaceStub func(string, string, string, string, int, bool) (models.Route, error)

	DeleteStub func(string) error

	FindStub func(string, models.DomainFields, string, int) (models.Route, error)

	ListAllRoutesStub func(func(models.Route) bool) error

	ListRoutesStub func(func(models.Route) bool) error

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

func (*FakeRouteRepository) Bind

func (fake *FakeRouteRepository) Bind(arg1 string, arg2 string) error

func (*FakeRouteRepository) BindArgsForCall

func (fake *FakeRouteRepository) BindArgsForCall(i int) (string, string)

func (*FakeRouteRepository) BindCallCount

func (fake *FakeRouteRepository) BindCallCount() int

func (*FakeRouteRepository) BindCalls

func (fake *FakeRouteRepository) BindCalls(stub func(string, string) error)

func (*FakeRouteRepository) BindReturns

func (fake *FakeRouteRepository) BindReturns(result1 error)

func (*FakeRouteRepository) BindReturnsOnCall

func (fake *FakeRouteRepository) BindReturnsOnCall(i int, result1 error)

func (*FakeRouteRepository) CheckIfExists

func (fake *FakeRouteRepository) CheckIfExists(arg1 string, arg2 models.DomainFields, arg3 string) (bool, error)

func (*FakeRouteRepository) CheckIfExistsArgsForCall

func (fake *FakeRouteRepository) CheckIfExistsArgsForCall(i int) (string, models.DomainFields, string)

func (*FakeRouteRepository) CheckIfExistsCallCount

func (fake *FakeRouteRepository) CheckIfExistsCallCount() int

func (*FakeRouteRepository) CheckIfExistsCalls

func (fake *FakeRouteRepository) CheckIfExistsCalls(stub func(string, models.DomainFields, string) (bool, error))

func (*FakeRouteRepository) CheckIfExistsReturns

func (fake *FakeRouteRepository) CheckIfExistsReturns(result1 bool, result2 error)

func (*FakeRouteRepository) CheckIfExistsReturnsOnCall

func (fake *FakeRouteRepository) CheckIfExistsReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeRouteRepository) Create

func (fake *FakeRouteRepository) Create(arg1 string, arg2 models.DomainFields, arg3 string, arg4 int, arg5 bool) (models.Route, error)

func (*FakeRouteRepository) CreateArgsForCall

func (fake *FakeRouteRepository) CreateArgsForCall(i int) (string, models.DomainFields, string, int, bool)

func (*FakeRouteRepository) CreateCallCount

func (fake *FakeRouteRepository) CreateCallCount() int

func (*FakeRouteRepository) CreateCalls

func (fake *FakeRouteRepository) CreateCalls(stub func(string, models.DomainFields, string, int, bool) (models.Route, error))

func (*FakeRouteRepository) CreateInSpace

func (fake *FakeRouteRepository) CreateInSpace(arg1 string, arg2 string, arg3 string, arg4 string, arg5 int, arg6 bool) (models.Route, error)

func (*FakeRouteRepository) CreateInSpaceArgsForCall

func (fake *FakeRouteRepository) CreateInSpaceArgsForCall(i int) (string, string, string, string, int, bool)

func (*FakeRouteRepository) CreateInSpaceCallCount

func (fake *FakeRouteRepository) CreateInSpaceCallCount() int

func (*FakeRouteRepository) CreateInSpaceCalls

func (fake *FakeRouteRepository) CreateInSpaceCalls(stub func(string, string, string, string, int, bool) (models.Route, error))

func (*FakeRouteRepository) CreateInSpaceReturns

func (fake *FakeRouteRepository) CreateInSpaceReturns(result1 models.Route, result2 error)

func (*FakeRouteRepository) CreateInSpaceReturnsOnCall

func (fake *FakeRouteRepository) CreateInSpaceReturnsOnCall(i int, result1 models.Route, result2 error)

func (*FakeRouteRepository) CreateReturns

func (fake *FakeRouteRepository) CreateReturns(result1 models.Route, result2 error)

func (*FakeRouteRepository) CreateReturnsOnCall

func (fake *FakeRouteRepository) CreateReturnsOnCall(i int, result1 models.Route, result2 error)

func (*FakeRouteRepository) Delete

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

func (*FakeRouteRepository) DeleteArgsForCall

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

func (*FakeRouteRepository) DeleteCallCount

func (fake *FakeRouteRepository) DeleteCallCount() int

func (*FakeRouteRepository) DeleteCalls

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

func (*FakeRouteRepository) DeleteReturns

func (fake *FakeRouteRepository) DeleteReturns(result1 error)

func (*FakeRouteRepository) DeleteReturnsOnCall

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

func (*FakeRouteRepository) Find

func (fake *FakeRouteRepository) Find(arg1 string, arg2 models.DomainFields, arg3 string, arg4 int) (models.Route, error)

func (*FakeRouteRepository) FindArgsForCall

func (fake *FakeRouteRepository) FindArgsForCall(i int) (string, models.DomainFields, string, int)

func (*FakeRouteRepository) FindCallCount

func (fake *FakeRouteRepository) FindCallCount() int

func (*FakeRouteRepository) FindCalls

func (fake *FakeRouteRepository) FindCalls(stub func(string, models.DomainFields, string, int) (models.Route, error))

func (*FakeRouteRepository) FindReturns

func (fake *FakeRouteRepository) FindReturns(result1 models.Route, result2 error)

func (*FakeRouteRepository) FindReturnsOnCall

func (fake *FakeRouteRepository) FindReturnsOnCall(i int, result1 models.Route, result2 error)

func (*FakeRouteRepository) Invocations

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

func (*FakeRouteRepository) ListAllRoutes

func (fake *FakeRouteRepository) ListAllRoutes(arg1 func(models.Route) bool) error

func (*FakeRouteRepository) ListAllRoutesArgsForCall

func (fake *FakeRouteRepository) ListAllRoutesArgsForCall(i int) func(models.Route) bool

func (*FakeRouteRepository) ListAllRoutesCallCount

func (fake *FakeRouteRepository) ListAllRoutesCallCount() int

func (*FakeRouteRepository) ListAllRoutesCalls

func (fake *FakeRouteRepository) ListAllRoutesCalls(stub func(func(models.Route) bool) error)

func (*FakeRouteRepository) ListAllRoutesReturns

func (fake *FakeRouteRepository) ListAllRoutesReturns(result1 error)

func (*FakeRouteRepository) ListAllRoutesReturnsOnCall

func (fake *FakeRouteRepository) ListAllRoutesReturnsOnCall(i int, result1 error)

func (*FakeRouteRepository) ListRoutes

func (fake *FakeRouteRepository) ListRoutes(arg1 func(models.Route) bool) error

func (*FakeRouteRepository) ListRoutesArgsForCall

func (fake *FakeRouteRepository) ListRoutesArgsForCall(i int) func(models.Route) bool

func (*FakeRouteRepository) ListRoutesCallCount

func (fake *FakeRouteRepository) ListRoutesCallCount() int

func (*FakeRouteRepository) ListRoutesCalls

func (fake *FakeRouteRepository) ListRoutesCalls(stub func(func(models.Route) bool) error)

func (*FakeRouteRepository) ListRoutesReturns

func (fake *FakeRouteRepository) ListRoutesReturns(result1 error)

func (*FakeRouteRepository) ListRoutesReturnsOnCall

func (fake *FakeRouteRepository) ListRoutesReturnsOnCall(i int, result1 error)

func (*FakeRouteRepository) Unbind

func (fake *FakeRouteRepository) Unbind(arg1 string, arg2 string) error

func (*FakeRouteRepository) UnbindArgsForCall

func (fake *FakeRouteRepository) UnbindArgsForCall(i int) (string, string)

func (*FakeRouteRepository) UnbindCallCount

func (fake *FakeRouteRepository) UnbindCallCount() int

func (*FakeRouteRepository) UnbindCalls

func (fake *FakeRouteRepository) UnbindCalls(stub func(string, string) error)

func (*FakeRouteRepository) UnbindReturns

func (fake *FakeRouteRepository) UnbindReturns(result1 error)

func (*FakeRouteRepository) UnbindReturnsOnCall

func (fake *FakeRouteRepository) UnbindReturnsOnCall(i int, result1 error)

type FakeRouteServiceBindingRepository

type FakeRouteServiceBindingRepository struct {
	BindStub func(string, string, bool, string) error

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

func (*FakeRouteServiceBindingRepository) Bind

func (fake *FakeRouteServiceBindingRepository) Bind(arg1 string, arg2 string, arg3 bool, arg4 string) error

func (*FakeRouteServiceBindingRepository) BindArgsForCall

func (fake *FakeRouteServiceBindingRepository) BindArgsForCall(i int) (string, string, bool, string)

func (*FakeRouteServiceBindingRepository) BindCallCount

func (fake *FakeRouteServiceBindingRepository) BindCallCount() int

func (*FakeRouteServiceBindingRepository) BindCalls

func (fake *FakeRouteServiceBindingRepository) BindCalls(stub func(string, string, bool, string) error)

func (*FakeRouteServiceBindingRepository) BindReturns

func (fake *FakeRouteServiceBindingRepository) BindReturns(result1 error)

func (*FakeRouteServiceBindingRepository) BindReturnsOnCall

func (fake *FakeRouteServiceBindingRepository) BindReturnsOnCall(i int, result1 error)

func (*FakeRouteServiceBindingRepository) Invocations

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

func (*FakeRouteServiceBindingRepository) Unbind

func (fake *FakeRouteServiceBindingRepository) Unbind(arg1 string, arg2 string, arg3 bool) error

func (*FakeRouteServiceBindingRepository) UnbindArgsForCall

func (fake *FakeRouteServiceBindingRepository) UnbindArgsForCall(i int) (string, string, bool)

func (*FakeRouteServiceBindingRepository) UnbindCallCount

func (fake *FakeRouteServiceBindingRepository) UnbindCallCount() int

func (*FakeRouteServiceBindingRepository) UnbindCalls

func (fake *FakeRouteServiceBindingRepository) UnbindCalls(stub func(string, string, bool) error)

func (*FakeRouteServiceBindingRepository) UnbindReturns

func (fake *FakeRouteServiceBindingRepository) UnbindReturns(result1 error)

func (*FakeRouteServiceBindingRepository) UnbindReturnsOnCall

func (fake *FakeRouteServiceBindingRepository) UnbindReturnsOnCall(i int, result1 error)

type FakeRoutingAPIRepository

type FakeRoutingAPIRepository struct {
	ListRouterGroupsStub func(func(models.RouterGroup) bool) error
	// contains filtered or unexported fields
}

func (*FakeRoutingAPIRepository) Invocations

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

func (*FakeRoutingAPIRepository) ListRouterGroups

func (fake *FakeRoutingAPIRepository) ListRouterGroups(arg1 func(models.RouterGroup) bool) error

func (*FakeRoutingAPIRepository) ListRouterGroupsArgsForCall

func (fake *FakeRoutingAPIRepository) ListRouterGroupsArgsForCall(i int) func(models.RouterGroup) bool

func (*FakeRoutingAPIRepository) ListRouterGroupsCallCount

func (fake *FakeRoutingAPIRepository) ListRouterGroupsCallCount() int

func (*FakeRoutingAPIRepository) ListRouterGroupsCalls

func (fake *FakeRoutingAPIRepository) ListRouterGroupsCalls(stub func(func(models.RouterGroup) bool) error)

func (*FakeRoutingAPIRepository) ListRouterGroupsReturns

func (fake *FakeRoutingAPIRepository) ListRouterGroupsReturns(result1 error)

func (*FakeRoutingAPIRepository) ListRouterGroupsReturnsOnCall

func (fake *FakeRoutingAPIRepository) ListRouterGroupsReturnsOnCall(i int, result1 error)

type FakeServiceAuthTokenRepository

type FakeServiceAuthTokenRepository struct {
	CreateStub func(models.ServiceAuthTokenFields) error

	DeleteStub func(models.ServiceAuthTokenFields) error

	FindAllStub func() ([]models.ServiceAuthTokenFields, error)

	FindByLabelAndProviderStub func(string, string) (models.ServiceAuthTokenFields, error)

	UpdateStub func(models.ServiceAuthTokenFields) error
	// contains filtered or unexported fields
}

func (*FakeServiceAuthTokenRepository) Create

func (*FakeServiceAuthTokenRepository) CreateArgsForCall

func (*FakeServiceAuthTokenRepository) CreateCallCount

func (fake *FakeServiceAuthTokenRepository) CreateCallCount() int

func (*FakeServiceAuthTokenRepository) CreateCalls

func (fake *FakeServiceAuthTokenRepository) CreateCalls(stub func(models.ServiceAuthTokenFields) error)

func (*FakeServiceAuthTokenRepository) CreateReturns

func (fake *FakeServiceAuthTokenRepository) CreateReturns(result1 error)

func (*FakeServiceAuthTokenRepository) CreateReturnsOnCall

func (fake *FakeServiceAuthTokenRepository) CreateReturnsOnCall(i int, result1 error)

func (*FakeServiceAuthTokenRepository) Delete

func (*FakeServiceAuthTokenRepository) DeleteArgsForCall

func (*FakeServiceAuthTokenRepository) DeleteCallCount

func (fake *FakeServiceAuthTokenRepository) DeleteCallCount() int

func (*FakeServiceAuthTokenRepository) DeleteCalls

func (fake *FakeServiceAuthTokenRepository) DeleteCalls(stub func(models.ServiceAuthTokenFields) error)

func (*FakeServiceAuthTokenRepository) DeleteReturns

func (fake *FakeServiceAuthTokenRepository) DeleteReturns(result1 error)

func (*FakeServiceAuthTokenRepository) DeleteReturnsOnCall

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

func (*FakeServiceAuthTokenRepository) FindAll

func (*FakeServiceAuthTokenRepository) FindAllCallCount

func (fake *FakeServiceAuthTokenRepository) FindAllCallCount() int

func (*FakeServiceAuthTokenRepository) FindAllCalls

func (fake *FakeServiceAuthTokenRepository) FindAllCalls(stub func() ([]models.ServiceAuthTokenFields, error))

func (*FakeServiceAuthTokenRepository) FindAllReturns

func (fake *FakeServiceAuthTokenRepository) FindAllReturns(result1 []models.ServiceAuthTokenFields, result2 error)

func (*FakeServiceAuthTokenRepository) FindAllReturnsOnCall

func (fake *FakeServiceAuthTokenRepository) FindAllReturnsOnCall(i int, result1 []models.ServiceAuthTokenFields, result2 error)

func (*FakeServiceAuthTokenRepository) FindByLabelAndProvider

func (fake *FakeServiceAuthTokenRepository) FindByLabelAndProvider(arg1 string, arg2 string) (models.ServiceAuthTokenFields, error)

func (*FakeServiceAuthTokenRepository) FindByLabelAndProviderArgsForCall

func (fake *FakeServiceAuthTokenRepository) FindByLabelAndProviderArgsForCall(i int) (string, string)

func (*FakeServiceAuthTokenRepository) FindByLabelAndProviderCallCount

func (fake *FakeServiceAuthTokenRepository) FindByLabelAndProviderCallCount() int

func (*FakeServiceAuthTokenRepository) FindByLabelAndProviderCalls

func (fake *FakeServiceAuthTokenRepository) FindByLabelAndProviderCalls(stub func(string, string) (models.ServiceAuthTokenFields, error))

func (*FakeServiceAuthTokenRepository) FindByLabelAndProviderReturns

func (fake *FakeServiceAuthTokenRepository) FindByLabelAndProviderReturns(result1 models.ServiceAuthTokenFields, result2 error)

func (*FakeServiceAuthTokenRepository) FindByLabelAndProviderReturnsOnCall

func (fake *FakeServiceAuthTokenRepository) FindByLabelAndProviderReturnsOnCall(i int, result1 models.ServiceAuthTokenFields, result2 error)

func (*FakeServiceAuthTokenRepository) Invocations

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

func (*FakeServiceAuthTokenRepository) Update

func (*FakeServiceAuthTokenRepository) UpdateArgsForCall

func (*FakeServiceAuthTokenRepository) UpdateCallCount

func (fake *FakeServiceAuthTokenRepository) UpdateCallCount() int

func (*FakeServiceAuthTokenRepository) UpdateCalls

func (fake *FakeServiceAuthTokenRepository) UpdateCalls(stub func(models.ServiceAuthTokenFields) error)

func (*FakeServiceAuthTokenRepository) UpdateReturns

func (fake *FakeServiceAuthTokenRepository) UpdateReturns(result1 error)

func (*FakeServiceAuthTokenRepository) UpdateReturnsOnCall

func (fake *FakeServiceAuthTokenRepository) UpdateReturnsOnCall(i int, result1 error)

type FakeServiceBindingRepository

type FakeServiceBindingRepository struct {
	CreateStub func(string, string, map[string]interface{}) error

	DeleteStub func(models.ServiceInstance, string) (bool, error)

	ListAllForServiceStub func(string) ([]models.ServiceBindingFields, error)
	// contains filtered or unexported fields
}

func (*FakeServiceBindingRepository) Create

func (fake *FakeServiceBindingRepository) Create(arg1 string, arg2 string, arg3 map[string]interface{}) error

func (*FakeServiceBindingRepository) CreateArgsForCall

func (fake *FakeServiceBindingRepository) CreateArgsForCall(i int) (string, string, map[string]interface{})

func (*FakeServiceBindingRepository) CreateCallCount

func (fake *FakeServiceBindingRepository) CreateCallCount() int

func (*FakeServiceBindingRepository) CreateCalls

func (fake *FakeServiceBindingRepository) CreateCalls(stub func(string, string, map[string]interface{}) error)

func (*FakeServiceBindingRepository) CreateReturns

func (fake *FakeServiceBindingRepository) CreateReturns(result1 error)

func (*FakeServiceBindingRepository) CreateReturnsOnCall

func (fake *FakeServiceBindingRepository) CreateReturnsOnCall(i int, result1 error)

func (*FakeServiceBindingRepository) Delete

func (*FakeServiceBindingRepository) DeleteArgsForCall

func (fake *FakeServiceBindingRepository) DeleteArgsForCall(i int) (models.ServiceInstance, string)

func (*FakeServiceBindingRepository) DeleteCallCount

func (fake *FakeServiceBindingRepository) DeleteCallCount() int

func (*FakeServiceBindingRepository) DeleteCalls

func (fake *FakeServiceBindingRepository) DeleteCalls(stub func(models.ServiceInstance, string) (bool, error))

func (*FakeServiceBindingRepository) DeleteReturns

func (fake *FakeServiceBindingRepository) DeleteReturns(result1 bool, result2 error)

func (*FakeServiceBindingRepository) DeleteReturnsOnCall

func (fake *FakeServiceBindingRepository) DeleteReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeServiceBindingRepository) Invocations

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

func (*FakeServiceBindingRepository) ListAllForService

func (fake *FakeServiceBindingRepository) ListAllForService(arg1 string) ([]models.ServiceBindingFields, error)

func (*FakeServiceBindingRepository) ListAllForServiceArgsForCall

func (fake *FakeServiceBindingRepository) ListAllForServiceArgsForCall(i int) string

func (*FakeServiceBindingRepository) ListAllForServiceCallCount

func (fake *FakeServiceBindingRepository) ListAllForServiceCallCount() int

func (*FakeServiceBindingRepository) ListAllForServiceCalls

func (fake *FakeServiceBindingRepository) ListAllForServiceCalls(stub func(string) ([]models.ServiceBindingFields, error))

func (*FakeServiceBindingRepository) ListAllForServiceReturns

func (fake *FakeServiceBindingRepository) ListAllForServiceReturns(result1 []models.ServiceBindingFields, result2 error)

func (*FakeServiceBindingRepository) ListAllForServiceReturnsOnCall

func (fake *FakeServiceBindingRepository) ListAllForServiceReturnsOnCall(i int, result1 []models.ServiceBindingFields, result2 error)

type FakeServiceBrokerRepository

type FakeServiceBrokerRepository struct {
	CreateStub func(string, string, string, string, string) error

	DeleteStub func(string) error

	FindByGUIDStub func(string) (models.ServiceBroker, error)

	FindByNameStub func(string) (models.ServiceBroker, error)

	ListServiceBrokersStub func(func(models.ServiceBroker) bool) error

	RenameStub func(string, string) error

	UpdateStub func(models.ServiceBroker) error
	// contains filtered or unexported fields
}

func (*FakeServiceBrokerRepository) Create

func (fake *FakeServiceBrokerRepository) Create(arg1 string, arg2 string, arg3 string, arg4 string, arg5 string) error

func (*FakeServiceBrokerRepository) CreateArgsForCall

func (fake *FakeServiceBrokerRepository) CreateArgsForCall(i int) (string, string, string, string, string)

func (*FakeServiceBrokerRepository) CreateCallCount

func (fake *FakeServiceBrokerRepository) CreateCallCount() int

func (*FakeServiceBrokerRepository) CreateCalls

func (fake *FakeServiceBrokerRepository) CreateCalls(stub func(string, string, string, string, string) error)

func (*FakeServiceBrokerRepository) CreateReturns

func (fake *FakeServiceBrokerRepository) CreateReturns(result1 error)

func (*FakeServiceBrokerRepository) CreateReturnsOnCall

func (fake *FakeServiceBrokerRepository) CreateReturnsOnCall(i int, result1 error)

func (*FakeServiceBrokerRepository) Delete

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

func (*FakeServiceBrokerRepository) DeleteArgsForCall

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

func (*FakeServiceBrokerRepository) DeleteCallCount

func (fake *FakeServiceBrokerRepository) DeleteCallCount() int

func (*FakeServiceBrokerRepository) DeleteCalls

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

func (*FakeServiceBrokerRepository) DeleteReturns

func (fake *FakeServiceBrokerRepository) DeleteReturns(result1 error)

func (*FakeServiceBrokerRepository) DeleteReturnsOnCall

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

func (*FakeServiceBrokerRepository) FindByGUID

func (fake *FakeServiceBrokerRepository) FindByGUID(arg1 string) (models.ServiceBroker, error)

func (*FakeServiceBrokerRepository) FindByGUIDArgsForCall

func (fake *FakeServiceBrokerRepository) FindByGUIDArgsForCall(i int) string

func (*FakeServiceBrokerRepository) FindByGUIDCallCount

func (fake *FakeServiceBrokerRepository) FindByGUIDCallCount() int

func (*FakeServiceBrokerRepository) FindByGUIDCalls

func (fake *FakeServiceBrokerRepository) FindByGUIDCalls(stub func(string) (models.ServiceBroker, error))

func (*FakeServiceBrokerRepository) FindByGUIDReturns

func (fake *FakeServiceBrokerRepository) FindByGUIDReturns(result1 models.ServiceBroker, result2 error)

func (*FakeServiceBrokerRepository) FindByGUIDReturnsOnCall

func (fake *FakeServiceBrokerRepository) FindByGUIDReturnsOnCall(i int, result1 models.ServiceBroker, result2 error)

func (*FakeServiceBrokerRepository) FindByName

func (fake *FakeServiceBrokerRepository) FindByName(arg1 string) (models.ServiceBroker, error)

func (*FakeServiceBrokerRepository) FindByNameArgsForCall

func (fake *FakeServiceBrokerRepository) FindByNameArgsForCall(i int) string

func (*FakeServiceBrokerRepository) FindByNameCallCount

func (fake *FakeServiceBrokerRepository) FindByNameCallCount() int

func (*FakeServiceBrokerRepository) FindByNameCalls

func (fake *FakeServiceBrokerRepository) FindByNameCalls(stub func(string) (models.ServiceBroker, error))

func (*FakeServiceBrokerRepository) FindByNameReturns

func (fake *FakeServiceBrokerRepository) FindByNameReturns(result1 models.ServiceBroker, result2 error)

func (*FakeServiceBrokerRepository) FindByNameReturnsOnCall

func (fake *FakeServiceBrokerRepository) FindByNameReturnsOnCall(i int, result1 models.ServiceBroker, result2 error)

func (*FakeServiceBrokerRepository) Invocations

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

func (*FakeServiceBrokerRepository) ListServiceBrokers

func (fake *FakeServiceBrokerRepository) ListServiceBrokers(arg1 func(models.ServiceBroker) bool) error

func (*FakeServiceBrokerRepository) ListServiceBrokersArgsForCall

func (fake *FakeServiceBrokerRepository) ListServiceBrokersArgsForCall(i int) func(models.ServiceBroker) bool

func (*FakeServiceBrokerRepository) ListServiceBrokersCallCount

func (fake *FakeServiceBrokerRepository) ListServiceBrokersCallCount() int

func (*FakeServiceBrokerRepository) ListServiceBrokersCalls

func (fake *FakeServiceBrokerRepository) ListServiceBrokersCalls(stub func(func(models.ServiceBroker) bool) error)

func (*FakeServiceBrokerRepository) ListServiceBrokersReturns

func (fake *FakeServiceBrokerRepository) ListServiceBrokersReturns(result1 error)

func (*FakeServiceBrokerRepository) ListServiceBrokersReturnsOnCall

func (fake *FakeServiceBrokerRepository) ListServiceBrokersReturnsOnCall(i int, result1 error)

func (*FakeServiceBrokerRepository) Rename

func (fake *FakeServiceBrokerRepository) Rename(arg1 string, arg2 string) error

func (*FakeServiceBrokerRepository) RenameArgsForCall

func (fake *FakeServiceBrokerRepository) RenameArgsForCall(i int) (string, string)

func (*FakeServiceBrokerRepository) RenameCallCount

func (fake *FakeServiceBrokerRepository) RenameCallCount() int

func (*FakeServiceBrokerRepository) RenameCalls

func (fake *FakeServiceBrokerRepository) RenameCalls(stub func(string, string) error)

func (*FakeServiceBrokerRepository) RenameReturns

func (fake *FakeServiceBrokerRepository) RenameReturns(result1 error)

func (*FakeServiceBrokerRepository) RenameReturnsOnCall

func (fake *FakeServiceBrokerRepository) RenameReturnsOnCall(i int, result1 error)

func (*FakeServiceBrokerRepository) Update

func (*FakeServiceBrokerRepository) UpdateArgsForCall

func (fake *FakeServiceBrokerRepository) UpdateArgsForCall(i int) models.ServiceBroker

func (*FakeServiceBrokerRepository) UpdateCallCount

func (fake *FakeServiceBrokerRepository) UpdateCallCount() int

func (*FakeServiceBrokerRepository) UpdateCalls

func (fake *FakeServiceBrokerRepository) UpdateCalls(stub func(models.ServiceBroker) error)

func (*FakeServiceBrokerRepository) UpdateReturns

func (fake *FakeServiceBrokerRepository) UpdateReturns(result1 error)

func (*FakeServiceBrokerRepository) UpdateReturnsOnCall

func (fake *FakeServiceBrokerRepository) UpdateReturnsOnCall(i int, result1 error)

type FakeServiceKeyRepository

type FakeServiceKeyRepository struct {
	CreateServiceKeyStub func(string, string, map[string]interface{}) error

	DeleteServiceKeyStub func(string) error

	GetServiceKeyStub func(string, string) (models.ServiceKey, error)

	ListServiceKeysStub func(string) ([]models.ServiceKey, error)
	// contains filtered or unexported fields
}

func (*FakeServiceKeyRepository) CreateServiceKey

func (fake *FakeServiceKeyRepository) CreateServiceKey(arg1 string, arg2 string, arg3 map[string]interface{}) error

func (*FakeServiceKeyRepository) CreateServiceKeyArgsForCall

func (fake *FakeServiceKeyRepository) CreateServiceKeyArgsForCall(i int) (string, string, map[string]interface{})

func (*FakeServiceKeyRepository) CreateServiceKeyCallCount

func (fake *FakeServiceKeyRepository) CreateServiceKeyCallCount() int

func (*FakeServiceKeyRepository) CreateServiceKeyCalls

func (fake *FakeServiceKeyRepository) CreateServiceKeyCalls(stub func(string, string, map[string]interface{}) error)

func (*FakeServiceKeyRepository) CreateServiceKeyReturns

func (fake *FakeServiceKeyRepository) CreateServiceKeyReturns(result1 error)

func (*FakeServiceKeyRepository) CreateServiceKeyReturnsOnCall

func (fake *FakeServiceKeyRepository) CreateServiceKeyReturnsOnCall(i int, result1 error)

func (*FakeServiceKeyRepository) DeleteServiceKey

func (fake *FakeServiceKeyRepository) DeleteServiceKey(arg1 string) error

func (*FakeServiceKeyRepository) DeleteServiceKeyArgsForCall

func (fake *FakeServiceKeyRepository) DeleteServiceKeyArgsForCall(i int) string

func (*FakeServiceKeyRepository) DeleteServiceKeyCallCount

func (fake *FakeServiceKeyRepository) DeleteServiceKeyCallCount() int

func (*FakeServiceKeyRepository) DeleteServiceKeyCalls

func (fake *FakeServiceKeyRepository) DeleteServiceKeyCalls(stub func(string) error)

func (*FakeServiceKeyRepository) DeleteServiceKeyReturns

func (fake *FakeServiceKeyRepository) DeleteServiceKeyReturns(result1 error)

func (*FakeServiceKeyRepository) DeleteServiceKeyReturnsOnCall

func (fake *FakeServiceKeyRepository) DeleteServiceKeyReturnsOnCall(i int, result1 error)

func (*FakeServiceKeyRepository) GetServiceKey

func (fake *FakeServiceKeyRepository) GetServiceKey(arg1 string, arg2 string) (models.ServiceKey, error)

func (*FakeServiceKeyRepository) GetServiceKeyArgsForCall

func (fake *FakeServiceKeyRepository) GetServiceKeyArgsForCall(i int) (string, string)

func (*FakeServiceKeyRepository) GetServiceKeyCallCount

func (fake *FakeServiceKeyRepository) GetServiceKeyCallCount() int

func (*FakeServiceKeyRepository) GetServiceKeyCalls

func (fake *FakeServiceKeyRepository) GetServiceKeyCalls(stub func(string, string) (models.ServiceKey, error))

func (*FakeServiceKeyRepository) GetServiceKeyReturns

func (fake *FakeServiceKeyRepository) GetServiceKeyReturns(result1 models.ServiceKey, result2 error)

func (*FakeServiceKeyRepository) GetServiceKeyReturnsOnCall

func (fake *FakeServiceKeyRepository) GetServiceKeyReturnsOnCall(i int, result1 models.ServiceKey, result2 error)

func (*FakeServiceKeyRepository) Invocations

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

func (*FakeServiceKeyRepository) ListServiceKeys

func (fake *FakeServiceKeyRepository) ListServiceKeys(arg1 string) ([]models.ServiceKey, error)

func (*FakeServiceKeyRepository) ListServiceKeysArgsForCall

func (fake *FakeServiceKeyRepository) ListServiceKeysArgsForCall(i int) string

func (*FakeServiceKeyRepository) ListServiceKeysCallCount

func (fake *FakeServiceKeyRepository) ListServiceKeysCallCount() int

func (*FakeServiceKeyRepository) ListServiceKeysCalls

func (fake *FakeServiceKeyRepository) ListServiceKeysCalls(stub func(string) ([]models.ServiceKey, error))

func (*FakeServiceKeyRepository) ListServiceKeysReturns

func (fake *FakeServiceKeyRepository) ListServiceKeysReturns(result1 []models.ServiceKey, result2 error)

func (*FakeServiceKeyRepository) ListServiceKeysReturnsOnCall

func (fake *FakeServiceKeyRepository) ListServiceKeysReturnsOnCall(i int, result1 []models.ServiceKey, result2 error)

type FakeServicePlanRepository

type FakeServicePlanRepository struct {
	ListPlansFromManyServicesStub func([]string) ([]models.ServicePlanFields, error)

	SearchStub func(map[string]string) ([]models.ServicePlanFields, error)

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

func (*FakeServicePlanRepository) Invocations

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

func (*FakeServicePlanRepository) ListPlansFromManyServices

func (fake *FakeServicePlanRepository) ListPlansFromManyServices(arg1 []string) ([]models.ServicePlanFields, error)

func (*FakeServicePlanRepository) ListPlansFromManyServicesArgsForCall

func (fake *FakeServicePlanRepository) ListPlansFromManyServicesArgsForCall(i int) []string

func (*FakeServicePlanRepository) ListPlansFromManyServicesCallCount

func (fake *FakeServicePlanRepository) ListPlansFromManyServicesCallCount() int

func (*FakeServicePlanRepository) ListPlansFromManyServicesCalls

func (fake *FakeServicePlanRepository) ListPlansFromManyServicesCalls(stub func([]string) ([]models.ServicePlanFields, error))

func (*FakeServicePlanRepository) ListPlansFromManyServicesReturns

func (fake *FakeServicePlanRepository) ListPlansFromManyServicesReturns(result1 []models.ServicePlanFields, result2 error)

func (*FakeServicePlanRepository) ListPlansFromManyServicesReturnsOnCall

func (fake *FakeServicePlanRepository) ListPlansFromManyServicesReturnsOnCall(i int, result1 []models.ServicePlanFields, result2 error)

func (*FakeServicePlanRepository) Search

func (*FakeServicePlanRepository) SearchArgsForCall

func (fake *FakeServicePlanRepository) SearchArgsForCall(i int) map[string]string

func (*FakeServicePlanRepository) SearchCallCount

func (fake *FakeServicePlanRepository) SearchCallCount() int

func (*FakeServicePlanRepository) SearchCalls

func (fake *FakeServicePlanRepository) SearchCalls(stub func(map[string]string) ([]models.ServicePlanFields, error))

func (*FakeServicePlanRepository) SearchReturns

func (fake *FakeServicePlanRepository) SearchReturns(result1 []models.ServicePlanFields, result2 error)

func (*FakeServicePlanRepository) SearchReturnsOnCall

func (fake *FakeServicePlanRepository) SearchReturnsOnCall(i int, result1 []models.ServicePlanFields, result2 error)

func (*FakeServicePlanRepository) Update

func (fake *FakeServicePlanRepository) Update(arg1 models.ServicePlanFields, arg2 string, arg3 bool) error

func (*FakeServicePlanRepository) UpdateArgsForCall

func (fake *FakeServicePlanRepository) UpdateArgsForCall(i int) (models.ServicePlanFields, string, bool)

func (*FakeServicePlanRepository) UpdateCallCount

func (fake *FakeServicePlanRepository) UpdateCallCount() int

func (*FakeServicePlanRepository) UpdateCalls

func (fake *FakeServicePlanRepository) UpdateCalls(stub func(models.ServicePlanFields, string, bool) error)

func (*FakeServicePlanRepository) UpdateReturns

func (fake *FakeServicePlanRepository) UpdateReturns(result1 error)

func (*FakeServicePlanRepository) UpdateReturnsOnCall

func (fake *FakeServicePlanRepository) UpdateReturnsOnCall(i int, result1 error)

type FakeServicePlanVisibilityRepository

type FakeServicePlanVisibilityRepository struct {
	CreateStub func(string, string) error

	DeleteStub func(string) error

	ListStub func() ([]models.ServicePlanVisibilityFields, error)

	SearchStub func(map[string]string) ([]models.ServicePlanVisibilityFields, error)
	// contains filtered or unexported fields
}

func (*FakeServicePlanVisibilityRepository) Create

func (fake *FakeServicePlanVisibilityRepository) Create(arg1 string, arg2 string) error

func (*FakeServicePlanVisibilityRepository) CreateArgsForCall

func (fake *FakeServicePlanVisibilityRepository) CreateArgsForCall(i int) (string, string)

func (*FakeServicePlanVisibilityRepository) CreateCallCount

func (fake *FakeServicePlanVisibilityRepository) CreateCallCount() int

func (*FakeServicePlanVisibilityRepository) CreateCalls

func (fake *FakeServicePlanVisibilityRepository) CreateCalls(stub func(string, string) error)

func (*FakeServicePlanVisibilityRepository) CreateReturns

func (fake *FakeServicePlanVisibilityRepository) CreateReturns(result1 error)

func (*FakeServicePlanVisibilityRepository) CreateReturnsOnCall

func (fake *FakeServicePlanVisibilityRepository) CreateReturnsOnCall(i int, result1 error)

func (*FakeServicePlanVisibilityRepository) Delete

func (*FakeServicePlanVisibilityRepository) DeleteArgsForCall

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

func (*FakeServicePlanVisibilityRepository) DeleteCallCount

func (fake *FakeServicePlanVisibilityRepository) DeleteCallCount() int

func (*FakeServicePlanVisibilityRepository) DeleteCalls

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

func (*FakeServicePlanVisibilityRepository) DeleteReturns

func (fake *FakeServicePlanVisibilityRepository) DeleteReturns(result1 error)

func (*FakeServicePlanVisibilityRepository) DeleteReturnsOnCall

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

func (*FakeServicePlanVisibilityRepository) Invocations

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

func (*FakeServicePlanVisibilityRepository) List

func (*FakeServicePlanVisibilityRepository) ListCallCount

func (fake *FakeServicePlanVisibilityRepository) ListCallCount() int

func (*FakeServicePlanVisibilityRepository) ListCalls

func (*FakeServicePlanVisibilityRepository) ListReturns

func (fake *FakeServicePlanVisibilityRepository) ListReturns(result1 []models.ServicePlanVisibilityFields, result2 error)

func (*FakeServicePlanVisibilityRepository) ListReturnsOnCall

func (fake *FakeServicePlanVisibilityRepository) ListReturnsOnCall(i int, result1 []models.ServicePlanVisibilityFields, result2 error)

func (*FakeServicePlanVisibilityRepository) Search

func (*FakeServicePlanVisibilityRepository) SearchArgsForCall

func (fake *FakeServicePlanVisibilityRepository) SearchArgsForCall(i int) map[string]string

func (*FakeServicePlanVisibilityRepository) SearchCallCount

func (fake *FakeServicePlanVisibilityRepository) SearchCallCount() int

func (*FakeServicePlanVisibilityRepository) SearchCalls

func (*FakeServicePlanVisibilityRepository) SearchReturns

func (fake *FakeServicePlanVisibilityRepository) SearchReturns(result1 []models.ServicePlanVisibilityFields, result2 error)

func (*FakeServicePlanVisibilityRepository) SearchReturnsOnCall

func (fake *FakeServicePlanVisibilityRepository) SearchReturnsOnCall(i int, result1 []models.ServicePlanVisibilityFields, result2 error)

type FakeServiceRepository

type FakeServiceRepository struct {
	CreateServiceInstanceStub func(string, string, map[string]interface{}, []string) error

	DeleteServiceStub func(models.ServiceInstance) error

	FindInstanceByNameStub func(string) (models.ServiceInstance, error)

	FindServiceOfferingByLabelAndProviderStub func(string, string) (models.ServiceOffering, error)

	FindServiceOfferingsByLabelStub func(string) (models.ServiceOfferings, error)

	FindServiceOfferingsForSpaceByLabelStub func(string, string) (models.ServiceOfferings, error)

	FindServicePlanByDescriptionStub func(resources.ServicePlanDescription) (string, error)

	GetAllServiceOfferingsStub func() (models.ServiceOfferings, error)

	GetServiceInstanceCountForServicePlanStub func(string) (int, error)

	GetServiceOfferingByGUIDStub func(string) (models.ServiceOffering, error)

	GetServiceOfferingsForSpaceStub func(string) (models.ServiceOfferings, error)

	ListServicesFromBrokerStub func(string) ([]models.ServiceOffering, error)

	ListServicesFromManyBrokersStub func([]string) ([]models.ServiceOffering, error)

	MigrateServicePlanFromV1ToV2Stub func(string, string) (int, error)

	PurgeServiceInstanceStub func(models.ServiceInstance) error

	PurgeServiceOfferingStub func(models.ServiceOffering) error

	RenameServiceStub func(models.ServiceInstance, string) error

	UpdateServiceInstanceStub func(string, string, map[string]interface{}, []string) error
	// contains filtered or unexported fields
}

func (*FakeServiceRepository) CreateServiceInstance

func (fake *FakeServiceRepository) CreateServiceInstance(arg1 string, arg2 string, arg3 map[string]interface{}, arg4 []string) error

func (*FakeServiceRepository) CreateServiceInstanceArgsForCall

func (fake *FakeServiceRepository) CreateServiceInstanceArgsForCall(i int) (string, string, map[string]interface{}, []string)

func (*FakeServiceRepository) CreateServiceInstanceCallCount

func (fake *FakeServiceRepository) CreateServiceInstanceCallCount() int

func (*FakeServiceRepository) CreateServiceInstanceCalls

func (fake *FakeServiceRepository) CreateServiceInstanceCalls(stub func(string, string, map[string]interface{}, []string) error)

func (*FakeServiceRepository) CreateServiceInstanceReturns

func (fake *FakeServiceRepository) CreateServiceInstanceReturns(result1 error)

func (*FakeServiceRepository) CreateServiceInstanceReturnsOnCall

func (fake *FakeServiceRepository) CreateServiceInstanceReturnsOnCall(i int, result1 error)

func (*FakeServiceRepository) DeleteService

func (fake *FakeServiceRepository) DeleteService(arg1 models.ServiceInstance) error

func (*FakeServiceRepository) DeleteServiceArgsForCall

func (fake *FakeServiceRepository) DeleteServiceArgsForCall(i int) models.ServiceInstance

func (*FakeServiceRepository) DeleteServiceCallCount

func (fake *FakeServiceRepository) DeleteServiceCallCount() int

func (*FakeServiceRepository) DeleteServiceCalls

func (fake *FakeServiceRepository) DeleteServiceCalls(stub func(models.ServiceInstance) error)

func (*FakeServiceRepository) DeleteServiceReturns

func (fake *FakeServiceRepository) DeleteServiceReturns(result1 error)

func (*FakeServiceRepository) DeleteServiceReturnsOnCall

func (fake *FakeServiceRepository) DeleteServiceReturnsOnCall(i int, result1 error)

func (*FakeServiceRepository) FindInstanceByName

func (fake *FakeServiceRepository) FindInstanceByName(arg1 string) (models.ServiceInstance, error)

func (*FakeServiceRepository) FindInstanceByNameArgsForCall

func (fake *FakeServiceRepository) FindInstanceByNameArgsForCall(i int) string

func (*FakeServiceRepository) FindInstanceByNameCallCount

func (fake *FakeServiceRepository) FindInstanceByNameCallCount() int

func (*FakeServiceRepository) FindInstanceByNameCalls

func (fake *FakeServiceRepository) FindInstanceByNameCalls(stub func(string) (models.ServiceInstance, error))

func (*FakeServiceRepository) FindInstanceByNameReturns

func (fake *FakeServiceRepository) FindInstanceByNameReturns(result1 models.ServiceInstance, result2 error)

func (*FakeServiceRepository) FindInstanceByNameReturnsOnCall

func (fake *FakeServiceRepository) FindInstanceByNameReturnsOnCall(i int, result1 models.ServiceInstance, result2 error)

func (*FakeServiceRepository) FindServiceOfferingByLabelAndProvider

func (fake *FakeServiceRepository) FindServiceOfferingByLabelAndProvider(arg1 string, arg2 string) (models.ServiceOffering, error)

func (*FakeServiceRepository) FindServiceOfferingByLabelAndProviderArgsForCall

func (fake *FakeServiceRepository) FindServiceOfferingByLabelAndProviderArgsForCall(i int) (string, string)

func (*FakeServiceRepository) FindServiceOfferingByLabelAndProviderCallCount

func (fake *FakeServiceRepository) FindServiceOfferingByLabelAndProviderCallCount() int

func (*FakeServiceRepository) FindServiceOfferingByLabelAndProviderCalls

func (fake *FakeServiceRepository) FindServiceOfferingByLabelAndProviderCalls(stub func(string, string) (models.ServiceOffering, error))

func (*FakeServiceRepository) FindServiceOfferingByLabelAndProviderReturns

func (fake *FakeServiceRepository) FindServiceOfferingByLabelAndProviderReturns(result1 models.ServiceOffering, result2 error)

func (*FakeServiceRepository) FindServiceOfferingByLabelAndProviderReturnsOnCall

func (fake *FakeServiceRepository) FindServiceOfferingByLabelAndProviderReturnsOnCall(i int, result1 models.ServiceOffering, result2 error)

func (*FakeServiceRepository) FindServiceOfferingsByLabel

func (fake *FakeServiceRepository) FindServiceOfferingsByLabel(arg1 string) (models.ServiceOfferings, error)

func (*FakeServiceRepository) FindServiceOfferingsByLabelArgsForCall

func (fake *FakeServiceRepository) FindServiceOfferingsByLabelArgsForCall(i int) string

func (*FakeServiceRepository) FindServiceOfferingsByLabelCallCount

func (fake *FakeServiceRepository) FindServiceOfferingsByLabelCallCount() int

func (*FakeServiceRepository) FindServiceOfferingsByLabelCalls

func (fake *FakeServiceRepository) FindServiceOfferingsByLabelCalls(stub func(string) (models.ServiceOfferings, error))

func (*FakeServiceRepository) FindServiceOfferingsByLabelReturns

func (fake *FakeServiceRepository) FindServiceOfferingsByLabelReturns(result1 models.ServiceOfferings, result2 error)

func (*FakeServiceRepository) FindServiceOfferingsByLabelReturnsOnCall

func (fake *FakeServiceRepository) FindServiceOfferingsByLabelReturnsOnCall(i int, result1 models.ServiceOfferings, result2 error)

func (*FakeServiceRepository) FindServiceOfferingsForSpaceByLabel

func (fake *FakeServiceRepository) FindServiceOfferingsForSpaceByLabel(arg1 string, arg2 string) (models.ServiceOfferings, error)

func (*FakeServiceRepository) FindServiceOfferingsForSpaceByLabelArgsForCall

func (fake *FakeServiceRepository) FindServiceOfferingsForSpaceByLabelArgsForCall(i int) (string, string)

func (*FakeServiceRepository) FindServiceOfferingsForSpaceByLabelCallCount

func (fake *FakeServiceRepository) FindServiceOfferingsForSpaceByLabelCallCount() int

func (*FakeServiceRepository) FindServiceOfferingsForSpaceByLabelCalls

func (fake *FakeServiceRepository) FindServiceOfferingsForSpaceByLabelCalls(stub func(string, string) (models.ServiceOfferings, error))

func (*FakeServiceRepository) FindServiceOfferingsForSpaceByLabelReturns

func (fake *FakeServiceRepository) FindServiceOfferingsForSpaceByLabelReturns(result1 models.ServiceOfferings, result2 error)

func (*FakeServiceRepository) FindServiceOfferingsForSpaceByLabelReturnsOnCall

func (fake *FakeServiceRepository) FindServiceOfferingsForSpaceByLabelReturnsOnCall(i int, result1 models.ServiceOfferings, result2 error)

func (*FakeServiceRepository) FindServicePlanByDescription

func (fake *FakeServiceRepository) FindServicePlanByDescription(arg1 resources.ServicePlanDescription) (string, error)

func (*FakeServiceRepository) FindServicePlanByDescriptionArgsForCall

func (fake *FakeServiceRepository) FindServicePlanByDescriptionArgsForCall(i int) resources.ServicePlanDescription

func (*FakeServiceRepository) FindServicePlanByDescriptionCallCount

func (fake *FakeServiceRepository) FindServicePlanByDescriptionCallCount() int

func (*FakeServiceRepository) FindServicePlanByDescriptionCalls

func (fake *FakeServiceRepository) FindServicePlanByDescriptionCalls(stub func(resources.ServicePlanDescription) (string, error))

func (*FakeServiceRepository) FindServicePlanByDescriptionReturns

func (fake *FakeServiceRepository) FindServicePlanByDescriptionReturns(result1 string, result2 error)

func (*FakeServiceRepository) FindServicePlanByDescriptionReturnsOnCall

func (fake *FakeServiceRepository) FindServicePlanByDescriptionReturnsOnCall(i int, result1 string, result2 error)

func (*FakeServiceRepository) GetAllServiceOfferings

func (fake *FakeServiceRepository) GetAllServiceOfferings() (models.ServiceOfferings, error)

func (*FakeServiceRepository) GetAllServiceOfferingsCallCount

func (fake *FakeServiceRepository) GetAllServiceOfferingsCallCount() int

func (*FakeServiceRepository) GetAllServiceOfferingsCalls

func (fake *FakeServiceRepository) GetAllServiceOfferingsCalls(stub func() (models.ServiceOfferings, error))

func (*FakeServiceRepository) GetAllServiceOfferingsReturns

func (fake *FakeServiceRepository) GetAllServiceOfferingsReturns(result1 models.ServiceOfferings, result2 error)

func (*FakeServiceRepository) GetAllServiceOfferingsReturnsOnCall

func (fake *FakeServiceRepository) GetAllServiceOfferingsReturnsOnCall(i int, result1 models.ServiceOfferings, result2 error)

func (*FakeServiceRepository) GetServiceInstanceCountForServicePlan

func (fake *FakeServiceRepository) GetServiceInstanceCountForServicePlan(arg1 string) (int, error)

func (*FakeServiceRepository) GetServiceInstanceCountForServicePlanArgsForCall

func (fake *FakeServiceRepository) GetServiceInstanceCountForServicePlanArgsForCall(i int) string

func (*FakeServiceRepository) GetServiceInstanceCountForServicePlanCallCount

func (fake *FakeServiceRepository) GetServiceInstanceCountForServicePlanCallCount() int

func (*FakeServiceRepository) GetServiceInstanceCountForServicePlanCalls

func (fake *FakeServiceRepository) GetServiceInstanceCountForServicePlanCalls(stub func(string) (int, error))

func (*FakeServiceRepository) GetServiceInstanceCountForServicePlanReturns

func (fake *FakeServiceRepository) GetServiceInstanceCountForServicePlanReturns(result1 int, result2 error)

func (*FakeServiceRepository) GetServiceInstanceCountForServicePlanReturnsOnCall

func (fake *FakeServiceRepository) GetServiceInstanceCountForServicePlanReturnsOnCall(i int, result1 int, result2 error)

func (*FakeServiceRepository) GetServiceOfferingByGUID

func (fake *FakeServiceRepository) GetServiceOfferingByGUID(arg1 string) (models.ServiceOffering, error)

func (*FakeServiceRepository) GetServiceOfferingByGUIDArgsForCall

func (fake *FakeServiceRepository) GetServiceOfferingByGUIDArgsForCall(i int) string

func (*FakeServiceRepository) GetServiceOfferingByGUIDCallCount

func (fake *FakeServiceRepository) GetServiceOfferingByGUIDCallCount() int

func (*FakeServiceRepository) GetServiceOfferingByGUIDCalls

func (fake *FakeServiceRepository) GetServiceOfferingByGUIDCalls(stub func(string) (models.ServiceOffering, error))

func (*FakeServiceRepository) GetServiceOfferingByGUIDReturns

func (fake *FakeServiceRepository) GetServiceOfferingByGUIDReturns(result1 models.ServiceOffering, result2 error)

func (*FakeServiceRepository) GetServiceOfferingByGUIDReturnsOnCall

func (fake *FakeServiceRepository) GetServiceOfferingByGUIDReturnsOnCall(i int, result1 models.ServiceOffering, result2 error)

func (*FakeServiceRepository) GetServiceOfferingsForSpace

func (fake *FakeServiceRepository) GetServiceOfferingsForSpace(arg1 string) (models.ServiceOfferings, error)

func (*FakeServiceRepository) GetServiceOfferingsForSpaceArgsForCall

func (fake *FakeServiceRepository) GetServiceOfferingsForSpaceArgsForCall(i int) string

func (*FakeServiceRepository) GetServiceOfferingsForSpaceCallCount

func (fake *FakeServiceRepository) GetServiceOfferingsForSpaceCallCount() int

func (*FakeServiceRepository) GetServiceOfferingsForSpaceCalls

func (fake *FakeServiceRepository) GetServiceOfferingsForSpaceCalls(stub func(string) (models.ServiceOfferings, error))

func (*FakeServiceRepository) GetServiceOfferingsForSpaceReturns

func (fake *FakeServiceRepository) GetServiceOfferingsForSpaceReturns(result1 models.ServiceOfferings, result2 error)

func (*FakeServiceRepository) GetServiceOfferingsForSpaceReturnsOnCall

func (fake *FakeServiceRepository) GetServiceOfferingsForSpaceReturnsOnCall(i int, result1 models.ServiceOfferings, result2 error)

func (*FakeServiceRepository) Invocations

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

func (*FakeServiceRepository) ListServicesFromBroker

func (fake *FakeServiceRepository) ListServicesFromBroker(arg1 string) ([]models.ServiceOffering, error)

func (*FakeServiceRepository) ListServicesFromBrokerArgsForCall

func (fake *FakeServiceRepository) ListServicesFromBrokerArgsForCall(i int) string

func (*FakeServiceRepository) ListServicesFromBrokerCallCount

func (fake *FakeServiceRepository) ListServicesFromBrokerCallCount() int

func (*FakeServiceRepository) ListServicesFromBrokerCalls

func (fake *FakeServiceRepository) ListServicesFromBrokerCalls(stub func(string) ([]models.ServiceOffering, error))

func (*FakeServiceRepository) ListServicesFromBrokerReturns

func (fake *FakeServiceRepository) ListServicesFromBrokerReturns(result1 []models.ServiceOffering, result2 error)

func (*FakeServiceRepository) ListServicesFromBrokerReturnsOnCall

func (fake *FakeServiceRepository) ListServicesFromBrokerReturnsOnCall(i int, result1 []models.ServiceOffering, result2 error)

func (*FakeServiceRepository) ListServicesFromManyBrokers

func (fake *FakeServiceRepository) ListServicesFromManyBrokers(arg1 []string) ([]models.ServiceOffering, error)

func (*FakeServiceRepository) ListServicesFromManyBrokersArgsForCall

func (fake *FakeServiceRepository) ListServicesFromManyBrokersArgsForCall(i int) []string

func (*FakeServiceRepository) ListServicesFromManyBrokersCallCount

func (fake *FakeServiceRepository) ListServicesFromManyBrokersCallCount() int

func (*FakeServiceRepository) ListServicesFromManyBrokersCalls

func (fake *FakeServiceRepository) ListServicesFromManyBrokersCalls(stub func([]string) ([]models.ServiceOffering, error))

func (*FakeServiceRepository) ListServicesFromManyBrokersReturns

func (fake *FakeServiceRepository) ListServicesFromManyBrokersReturns(result1 []models.ServiceOffering, result2 error)

func (*FakeServiceRepository) ListServicesFromManyBrokersReturnsOnCall

func (fake *FakeServiceRepository) ListServicesFromManyBrokersReturnsOnCall(i int, result1 []models.ServiceOffering, result2 error)

func (*FakeServiceRepository) MigrateServicePlanFromV1ToV2

func (fake *FakeServiceRepository) MigrateServicePlanFromV1ToV2(arg1 string, arg2 string) (int, error)

func (*FakeServiceRepository) MigrateServicePlanFromV1ToV2ArgsForCall

func (fake *FakeServiceRepository) MigrateServicePlanFromV1ToV2ArgsForCall(i int) (string, string)

func (*FakeServiceRepository) MigrateServicePlanFromV1ToV2CallCount

func (fake *FakeServiceRepository) MigrateServicePlanFromV1ToV2CallCount() int

func (*FakeServiceRepository) MigrateServicePlanFromV1ToV2Calls

func (fake *FakeServiceRepository) MigrateServicePlanFromV1ToV2Calls(stub func(string, string) (int, error))

func (*FakeServiceRepository) MigrateServicePlanFromV1ToV2Returns

func (fake *FakeServiceRepository) MigrateServicePlanFromV1ToV2Returns(result1 int, result2 error)

func (*FakeServiceRepository) MigrateServicePlanFromV1ToV2ReturnsOnCall

func (fake *FakeServiceRepository) MigrateServicePlanFromV1ToV2ReturnsOnCall(i int, result1 int, result2 error)

func (*FakeServiceRepository) PurgeServiceInstance

func (fake *FakeServiceRepository) PurgeServiceInstance(arg1 models.ServiceInstance) error

func (*FakeServiceRepository) PurgeServiceInstanceArgsForCall

func (fake *FakeServiceRepository) PurgeServiceInstanceArgsForCall(i int) models.ServiceInstance

func (*FakeServiceRepository) PurgeServiceInstanceCallCount

func (fake *FakeServiceRepository) PurgeServiceInstanceCallCount() int

func (*FakeServiceRepository) PurgeServiceInstanceCalls

func (fake *FakeServiceRepository) PurgeServiceInstanceCalls(stub func(models.ServiceInstance) error)

func (*FakeServiceRepository) PurgeServiceInstanceReturns

func (fake *FakeServiceRepository) PurgeServiceInstanceReturns(result1 error)

func (*FakeServiceRepository) PurgeServiceInstanceReturnsOnCall

func (fake *FakeServiceRepository) PurgeServiceInstanceReturnsOnCall(i int, result1 error)

func (*FakeServiceRepository) PurgeServiceOffering

func (fake *FakeServiceRepository) PurgeServiceOffering(arg1 models.ServiceOffering) error

func (*FakeServiceRepository) PurgeServiceOfferingArgsForCall

func (fake *FakeServiceRepository) PurgeServiceOfferingArgsForCall(i int) models.ServiceOffering

func (*FakeServiceRepository) PurgeServiceOfferingCallCount

func (fake *FakeServiceRepository) PurgeServiceOfferingCallCount() int

func (*FakeServiceRepository) PurgeServiceOfferingCalls

func (fake *FakeServiceRepository) PurgeServiceOfferingCalls(stub func(models.ServiceOffering) error)

func (*FakeServiceRepository) PurgeServiceOfferingReturns

func (fake *FakeServiceRepository) PurgeServiceOfferingReturns(result1 error)

func (*FakeServiceRepository) PurgeServiceOfferingReturnsOnCall

func (fake *FakeServiceRepository) PurgeServiceOfferingReturnsOnCall(i int, result1 error)

func (*FakeServiceRepository) RenameService

func (fake *FakeServiceRepository) RenameService(arg1 models.ServiceInstance, arg2 string) error

func (*FakeServiceRepository) RenameServiceArgsForCall

func (fake *FakeServiceRepository) RenameServiceArgsForCall(i int) (models.ServiceInstance, string)

func (*FakeServiceRepository) RenameServiceCallCount

func (fake *FakeServiceRepository) RenameServiceCallCount() int

func (*FakeServiceRepository) RenameServiceCalls

func (fake *FakeServiceRepository) RenameServiceCalls(stub func(models.ServiceInstance, string) error)

func (*FakeServiceRepository) RenameServiceReturns

func (fake *FakeServiceRepository) RenameServiceReturns(result1 error)

func (*FakeServiceRepository) RenameServiceReturnsOnCall

func (fake *FakeServiceRepository) RenameServiceReturnsOnCall(i int, result1 error)

func (*FakeServiceRepository) UpdateServiceInstance

func (fake *FakeServiceRepository) UpdateServiceInstance(arg1 string, arg2 string, arg3 map[string]interface{}, arg4 []string) error

func (*FakeServiceRepository) UpdateServiceInstanceArgsForCall

func (fake *FakeServiceRepository) UpdateServiceInstanceArgsForCall(i int) (string, string, map[string]interface{}, []string)

func (*FakeServiceRepository) UpdateServiceInstanceCallCount

func (fake *FakeServiceRepository) UpdateServiceInstanceCallCount() int

func (*FakeServiceRepository) UpdateServiceInstanceCalls

func (fake *FakeServiceRepository) UpdateServiceInstanceCalls(stub func(string, string, map[string]interface{}, []string) error)

func (*FakeServiceRepository) UpdateServiceInstanceReturns

func (fake *FakeServiceRepository) UpdateServiceInstanceReturns(result1 error)

func (*FakeServiceRepository) UpdateServiceInstanceReturnsOnCall

func (fake *FakeServiceRepository) UpdateServiceInstanceReturnsOnCall(i int, result1 error)

type FakeServiceSummaryRepository

type FakeServiceSummaryRepository struct {
	GetSummariesInCurrentSpaceStub func() ([]models.ServiceInstance, error)
	// contains filtered or unexported fields
}

func (*FakeServiceSummaryRepository) GetSummariesInCurrentSpace

func (fake *FakeServiceSummaryRepository) GetSummariesInCurrentSpace() ([]models.ServiceInstance, error)

func (*FakeServiceSummaryRepository) GetSummariesInCurrentSpaceCallCount

func (fake *FakeServiceSummaryRepository) GetSummariesInCurrentSpaceCallCount() int

func (*FakeServiceSummaryRepository) GetSummariesInCurrentSpaceCalls

func (fake *FakeServiceSummaryRepository) GetSummariesInCurrentSpaceCalls(stub func() ([]models.ServiceInstance, error))

func (*FakeServiceSummaryRepository) GetSummariesInCurrentSpaceReturns

func (fake *FakeServiceSummaryRepository) GetSummariesInCurrentSpaceReturns(result1 []models.ServiceInstance, result2 error)

func (*FakeServiceSummaryRepository) GetSummariesInCurrentSpaceReturnsOnCall

func (fake *FakeServiceSummaryRepository) GetSummariesInCurrentSpaceReturnsOnCall(i int, result1 []models.ServiceInstance, result2 error)

func (*FakeServiceSummaryRepository) Invocations

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

type FakeUserProvidedServiceInstanceRepository

type FakeUserProvidedServiceInstanceRepository struct {
	CreateStub func(string, string, string, map[string]interface{}, []string) error

	GetSummariesStub func() (models.UserProvidedServiceSummary, error)

	UpdateStub func(models.ServiceInstanceFields) error
	// contains filtered or unexported fields
}

func (*FakeUserProvidedServiceInstanceRepository) Create

func (fake *FakeUserProvidedServiceInstanceRepository) Create(arg1 string, arg2 string, arg3 string, arg4 map[string]interface{}, arg5 []string) error

func (*FakeUserProvidedServiceInstanceRepository) CreateArgsForCall

func (fake *FakeUserProvidedServiceInstanceRepository) CreateArgsForCall(i int) (string, string, string, map[string]interface{}, []string)

func (*FakeUserProvidedServiceInstanceRepository) CreateCallCount

func (fake *FakeUserProvidedServiceInstanceRepository) CreateCallCount() int

func (*FakeUserProvidedServiceInstanceRepository) CreateCalls

func (fake *FakeUserProvidedServiceInstanceRepository) CreateCalls(stub func(string, string, string, map[string]interface{}, []string) error)

func (*FakeUserProvidedServiceInstanceRepository) CreateReturns

func (fake *FakeUserProvidedServiceInstanceRepository) CreateReturns(result1 error)

func (*FakeUserProvidedServiceInstanceRepository) CreateReturnsOnCall

func (fake *FakeUserProvidedServiceInstanceRepository) CreateReturnsOnCall(i int, result1 error)

func (*FakeUserProvidedServiceInstanceRepository) GetSummaries

func (*FakeUserProvidedServiceInstanceRepository) GetSummariesCallCount

func (fake *FakeUserProvidedServiceInstanceRepository) GetSummariesCallCount() int

func (*FakeUserProvidedServiceInstanceRepository) GetSummariesCalls

func (fake *FakeUserProvidedServiceInstanceRepository) GetSummariesCalls(stub func() (models.UserProvidedServiceSummary, error))

func (*FakeUserProvidedServiceInstanceRepository) GetSummariesReturns

func (fake *FakeUserProvidedServiceInstanceRepository) GetSummariesReturns(result1 models.UserProvidedServiceSummary, result2 error)

func (*FakeUserProvidedServiceInstanceRepository) GetSummariesReturnsOnCall

func (fake *FakeUserProvidedServiceInstanceRepository) GetSummariesReturnsOnCall(i int, result1 models.UserProvidedServiceSummary, result2 error)

func (*FakeUserProvidedServiceInstanceRepository) Invocations

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

func (*FakeUserProvidedServiceInstanceRepository) Update

func (*FakeUserProvidedServiceInstanceRepository) UpdateArgsForCall

func (*FakeUserProvidedServiceInstanceRepository) UpdateCallCount

func (fake *FakeUserProvidedServiceInstanceRepository) UpdateCallCount() int

func (*FakeUserProvidedServiceInstanceRepository) UpdateCalls

func (*FakeUserProvidedServiceInstanceRepository) UpdateReturns

func (fake *FakeUserProvidedServiceInstanceRepository) UpdateReturns(result1 error)

func (*FakeUserProvidedServiceInstanceRepository) UpdateReturnsOnCall

func (fake *FakeUserProvidedServiceInstanceRepository) UpdateReturnsOnCall(i int, result1 error)

type FakeUserRepository

type FakeUserRepository struct {
	CreateStub func(string, string) error

	DeleteStub func(string) error

	FindAllByUsernameStub func(string) ([]models.UserFields, error)

	FindByUsernameStub func(string) (models.UserFields, error)

	ListUsersInOrgForRoleWithNoUAAStub func(string, models.Role) ([]models.UserFields, error)

	ListUsersInSpaceForRoleWithNoUAAStub func(string, models.Role) ([]models.UserFields, error)

	SetOrgRoleByGUIDStub func(string, string, models.Role) error

	SetOrgRoleByUsernameStub func(string, string, models.Role) error

	SetSpaceRoleByGUIDStub func(string, string, string, models.Role) error

	SetSpaceRoleByUsernameStub func(string, string, string, models.Role) error

	UnsetOrgRoleByGUIDStub func(string, string, models.Role) error

	UnsetOrgRoleByUsernameStub func(string, string, models.Role) error

	UnsetSpaceRoleByGUIDStub func(string, string, models.Role) error

	UnsetSpaceRoleByUsernameStub func(string, string, models.Role) error
	// contains filtered or unexported fields
}

func (*FakeUserRepository) Create

func (fake *FakeUserRepository) Create(arg1 string, arg2 string) error

func (*FakeUserRepository) CreateArgsForCall

func (fake *FakeUserRepository) CreateArgsForCall(i int) (string, string)

func (*FakeUserRepository) CreateCallCount

func (fake *FakeUserRepository) CreateCallCount() int

func (*FakeUserRepository) CreateCalls

func (fake *FakeUserRepository) CreateCalls(stub func(string, string) error)

func (*FakeUserRepository) CreateReturns

func (fake *FakeUserRepository) CreateReturns(result1 error)

func (*FakeUserRepository) CreateReturnsOnCall

func (fake *FakeUserRepository) CreateReturnsOnCall(i int, result1 error)

func (*FakeUserRepository) Delete

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

func (*FakeUserRepository) DeleteArgsForCall

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

func (*FakeUserRepository) DeleteCallCount

func (fake *FakeUserRepository) DeleteCallCount() int

func (*FakeUserRepository) DeleteCalls

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

func (*FakeUserRepository) DeleteReturns

func (fake *FakeUserRepository) DeleteReturns(result1 error)

func (*FakeUserRepository) DeleteReturnsOnCall

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

func (*FakeUserRepository) FindAllByUsername

func (fake *FakeUserRepository) FindAllByUsername(arg1 string) ([]models.UserFields, error)

func (*FakeUserRepository) FindAllByUsernameArgsForCall

func (fake *FakeUserRepository) FindAllByUsernameArgsForCall(i int) string

func (*FakeUserRepository) FindAllByUsernameCallCount

func (fake *FakeUserRepository) FindAllByUsernameCallCount() int

func (*FakeUserRepository) FindAllByUsernameCalls

func (fake *FakeUserRepository) FindAllByUsernameCalls(stub func(string) ([]models.UserFields, error))

func (*FakeUserRepository) FindAllByUsernameReturns

func (fake *FakeUserRepository) FindAllByUsernameReturns(result1 []models.UserFields, result2 error)

func (*FakeUserRepository) FindAllByUsernameReturnsOnCall

func (fake *FakeUserRepository) FindAllByUsernameReturnsOnCall(i int, result1 []models.UserFields, result2 error)

func (*FakeUserRepository) FindByUsername

func (fake *FakeUserRepository) FindByUsername(arg1 string) (models.UserFields, error)

func (*FakeUserRepository) FindByUsernameArgsForCall

func (fake *FakeUserRepository) FindByUsernameArgsForCall(i int) string

func (*FakeUserRepository) FindByUsernameCallCount

func (fake *FakeUserRepository) FindByUsernameCallCount() int

func (*FakeUserRepository) FindByUsernameCalls

func (fake *FakeUserRepository) FindByUsernameCalls(stub func(string) (models.UserFields, error))

func (*FakeUserRepository) FindByUsernameReturns

func (fake *FakeUserRepository) FindByUsernameReturns(result1 models.UserFields, result2 error)

func (*FakeUserRepository) FindByUsernameReturnsOnCall

func (fake *FakeUserRepository) FindByUsernameReturnsOnCall(i int, result1 models.UserFields, result2 error)

func (*FakeUserRepository) Invocations

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

func (*FakeUserRepository) ListUsersInOrgForRoleWithNoUAA

func (fake *FakeUserRepository) ListUsersInOrgForRoleWithNoUAA(arg1 string, arg2 models.Role) ([]models.UserFields, error)

func (*FakeUserRepository) ListUsersInOrgForRoleWithNoUAAArgsForCall

func (fake *FakeUserRepository) ListUsersInOrgForRoleWithNoUAAArgsForCall(i int) (string, models.Role)

func (*FakeUserRepository) ListUsersInOrgForRoleWithNoUAACallCount

func (fake *FakeUserRepository) ListUsersInOrgForRoleWithNoUAACallCount() int

func (*FakeUserRepository) ListUsersInOrgForRoleWithNoUAACalls

func (fake *FakeUserRepository) ListUsersInOrgForRoleWithNoUAACalls(stub func(string, models.Role) ([]models.UserFields, error))

func (*FakeUserRepository) ListUsersInOrgForRoleWithNoUAAReturns

func (fake *FakeUserRepository) ListUsersInOrgForRoleWithNoUAAReturns(result1 []models.UserFields, result2 error)

func (*FakeUserRepository) ListUsersInOrgForRoleWithNoUAAReturnsOnCall

func (fake *FakeUserRepository) ListUsersInOrgForRoleWithNoUAAReturnsOnCall(i int, result1 []models.UserFields, result2 error)

func (*FakeUserRepository) ListUsersInSpaceForRoleWithNoUAA

func (fake *FakeUserRepository) ListUsersInSpaceForRoleWithNoUAA(arg1 string, arg2 models.Role) ([]models.UserFields, error)

func (*FakeUserRepository) ListUsersInSpaceForRoleWithNoUAAArgsForCall

func (fake *FakeUserRepository) ListUsersInSpaceForRoleWithNoUAAArgsForCall(i int) (string, models.Role)

func (*FakeUserRepository) ListUsersInSpaceForRoleWithNoUAACallCount

func (fake *FakeUserRepository) ListUsersInSpaceForRoleWithNoUAACallCount() int

func (*FakeUserRepository) ListUsersInSpaceForRoleWithNoUAACalls

func (fake *FakeUserRepository) ListUsersInSpaceForRoleWithNoUAACalls(stub func(string, models.Role) ([]models.UserFields, error))

func (*FakeUserRepository) ListUsersInSpaceForRoleWithNoUAAReturns

func (fake *FakeUserRepository) ListUsersInSpaceForRoleWithNoUAAReturns(result1 []models.UserFields, result2 error)

func (*FakeUserRepository) ListUsersInSpaceForRoleWithNoUAAReturnsOnCall

func (fake *FakeUserRepository) ListUsersInSpaceForRoleWithNoUAAReturnsOnCall(i int, result1 []models.UserFields, result2 error)

func (*FakeUserRepository) SetOrgRoleByGUID

func (fake *FakeUserRepository) SetOrgRoleByGUID(arg1 string, arg2 string, arg3 models.Role) error

func (*FakeUserRepository) SetOrgRoleByGUIDArgsForCall

func (fake *FakeUserRepository) SetOrgRoleByGUIDArgsForCall(i int) (string, string, models.Role)

func (*FakeUserRepository) SetOrgRoleByGUIDCallCount

func (fake *FakeUserRepository) SetOrgRoleByGUIDCallCount() int

func (*FakeUserRepository) SetOrgRoleByGUIDCalls

func (fake *FakeUserRepository) SetOrgRoleByGUIDCalls(stub func(string, string, models.Role) error)

func (*FakeUserRepository) SetOrgRoleByGUIDReturns

func (fake *FakeUserRepository) SetOrgRoleByGUIDReturns(result1 error)

func (*FakeUserRepository) SetOrgRoleByGUIDReturnsOnCall

func (fake *FakeUserRepository) SetOrgRoleByGUIDReturnsOnCall(i int, result1 error)

func (*FakeUserRepository) SetOrgRoleByUsername

func (fake *FakeUserRepository) SetOrgRoleByUsername(arg1 string, arg2 string, arg3 models.Role) error

func (*FakeUserRepository) SetOrgRoleByUsernameArgsForCall

func (fake *FakeUserRepository) SetOrgRoleByUsernameArgsForCall(i int) (string, string, models.Role)

func (*FakeUserRepository) SetOrgRoleByUsernameCallCount

func (fake *FakeUserRepository) SetOrgRoleByUsernameCallCount() int

func (*FakeUserRepository) SetOrgRoleByUsernameCalls

func (fake *FakeUserRepository) SetOrgRoleByUsernameCalls(stub func(string, string, models.Role) error)

func (*FakeUserRepository) SetOrgRoleByUsernameReturns

func (fake *FakeUserRepository) SetOrgRoleByUsernameReturns(result1 error)

func (*FakeUserRepository) SetOrgRoleByUsernameReturnsOnCall

func (fake *FakeUserRepository) SetOrgRoleByUsernameReturnsOnCall(i int, result1 error)

func (*FakeUserRepository) SetSpaceRoleByGUID

func (fake *FakeUserRepository) SetSpaceRoleByGUID(arg1 string, arg2 string, arg3 string, arg4 models.Role) error

func (*FakeUserRepository) SetSpaceRoleByGUIDArgsForCall

func (fake *FakeUserRepository) SetSpaceRoleByGUIDArgsForCall(i int) (string, string, string, models.Role)

func (*FakeUserRepository) SetSpaceRoleByGUIDCallCount

func (fake *FakeUserRepository) SetSpaceRoleByGUIDCallCount() int

func (*FakeUserRepository) SetSpaceRoleByGUIDCalls

func (fake *FakeUserRepository) SetSpaceRoleByGUIDCalls(stub func(string, string, string, models.Role) error)

func (*FakeUserRepository) SetSpaceRoleByGUIDReturns

func (fake *FakeUserRepository) SetSpaceRoleByGUIDReturns(result1 error)

func (*FakeUserRepository) SetSpaceRoleByGUIDReturnsOnCall

func (fake *FakeUserRepository) SetSpaceRoleByGUIDReturnsOnCall(i int, result1 error)

func (*FakeUserRepository) SetSpaceRoleByUsername

func (fake *FakeUserRepository) SetSpaceRoleByUsername(arg1 string, arg2 string, arg3 string, arg4 models.Role) error

func (*FakeUserRepository) SetSpaceRoleByUsernameArgsForCall

func (fake *FakeUserRepository) SetSpaceRoleByUsernameArgsForCall(i int) (string, string, string, models.Role)

func (*FakeUserRepository) SetSpaceRoleByUsernameCallCount

func (fake *FakeUserRepository) SetSpaceRoleByUsernameCallCount() int

func (*FakeUserRepository) SetSpaceRoleByUsernameCalls

func (fake *FakeUserRepository) SetSpaceRoleByUsernameCalls(stub func(string, string, string, models.Role) error)

func (*FakeUserRepository) SetSpaceRoleByUsernameReturns

func (fake *FakeUserRepository) SetSpaceRoleByUsernameReturns(result1 error)

func (*FakeUserRepository) SetSpaceRoleByUsernameReturnsOnCall

func (fake *FakeUserRepository) SetSpaceRoleByUsernameReturnsOnCall(i int, result1 error)

func (*FakeUserRepository) UnsetOrgRoleByGUID

func (fake *FakeUserRepository) UnsetOrgRoleByGUID(arg1 string, arg2 string, arg3 models.Role) error

func (*FakeUserRepository) UnsetOrgRoleByGUIDArgsForCall

func (fake *FakeUserRepository) UnsetOrgRoleByGUIDArgsForCall(i int) (string, string, models.Role)

func (*FakeUserRepository) UnsetOrgRoleByGUIDCallCount

func (fake *FakeUserRepository) UnsetOrgRoleByGUIDCallCount() int

func (*FakeUserRepository) UnsetOrgRoleByGUIDCalls

func (fake *FakeUserRepository) UnsetOrgRoleByGUIDCalls(stub func(string, string, models.Role) error)

func (*FakeUserRepository) UnsetOrgRoleByGUIDReturns

func (fake *FakeUserRepository) UnsetOrgRoleByGUIDReturns(result1 error)

func (*FakeUserRepository) UnsetOrgRoleByGUIDReturnsOnCall

func (fake *FakeUserRepository) UnsetOrgRoleByGUIDReturnsOnCall(i int, result1 error)

func (*FakeUserRepository) UnsetOrgRoleByUsername

func (fake *FakeUserRepository) UnsetOrgRoleByUsername(arg1 string, arg2 string, arg3 models.Role) error

func (*FakeUserRepository) UnsetOrgRoleByUsernameArgsForCall

func (fake *FakeUserRepository) UnsetOrgRoleByUsernameArgsForCall(i int) (string, string, models.Role)

func (*FakeUserRepository) UnsetOrgRoleByUsernameCallCount

func (fake *FakeUserRepository) UnsetOrgRoleByUsernameCallCount() int

func (*FakeUserRepository) UnsetOrgRoleByUsernameCalls

func (fake *FakeUserRepository) UnsetOrgRoleByUsernameCalls(stub func(string, string, models.Role) error)

func (*FakeUserRepository) UnsetOrgRoleByUsernameReturns

func (fake *FakeUserRepository) UnsetOrgRoleByUsernameReturns(result1 error)

func (*FakeUserRepository) UnsetOrgRoleByUsernameReturnsOnCall

func (fake *FakeUserRepository) UnsetOrgRoleByUsernameReturnsOnCall(i int, result1 error)

func (*FakeUserRepository) UnsetSpaceRoleByGUID

func (fake *FakeUserRepository) UnsetSpaceRoleByGUID(arg1 string, arg2 string, arg3 models.Role) error

func (*FakeUserRepository) UnsetSpaceRoleByGUIDArgsForCall

func (fake *FakeUserRepository) UnsetSpaceRoleByGUIDArgsForCall(i int) (string, string, models.Role)

func (*FakeUserRepository) UnsetSpaceRoleByGUIDCallCount

func (fake *FakeUserRepository) UnsetSpaceRoleByGUIDCallCount() int

func (*FakeUserRepository) UnsetSpaceRoleByGUIDCalls

func (fake *FakeUserRepository) UnsetSpaceRoleByGUIDCalls(stub func(string, string, models.Role) error)

func (*FakeUserRepository) UnsetSpaceRoleByGUIDReturns

func (fake *FakeUserRepository) UnsetSpaceRoleByGUIDReturns(result1 error)

func (*FakeUserRepository) UnsetSpaceRoleByGUIDReturnsOnCall

func (fake *FakeUserRepository) UnsetSpaceRoleByGUIDReturnsOnCall(i int, result1 error)

func (*FakeUserRepository) UnsetSpaceRoleByUsername

func (fake *FakeUserRepository) UnsetSpaceRoleByUsername(arg1 string, arg2 string, arg3 models.Role) error

func (*FakeUserRepository) UnsetSpaceRoleByUsernameArgsForCall

func (fake *FakeUserRepository) UnsetSpaceRoleByUsernameArgsForCall(i int) (string, string, models.Role)

func (*FakeUserRepository) UnsetSpaceRoleByUsernameCallCount

func (fake *FakeUserRepository) UnsetSpaceRoleByUsernameCallCount() int

func (*FakeUserRepository) UnsetSpaceRoleByUsernameCalls

func (fake *FakeUserRepository) UnsetSpaceRoleByUsernameCalls(stub func(string, string, models.Role) error)

func (*FakeUserRepository) UnsetSpaceRoleByUsernameReturns

func (fake *FakeUserRepository) UnsetSpaceRoleByUsernameReturns(result1 error)

func (*FakeUserRepository) UnsetSpaceRoleByUsernameReturnsOnCall

func (fake *FakeUserRepository) UnsetSpaceRoleByUsernameReturnsOnCall(i int, result1 error)

type GetServiceKeyType

type GetServiceKeyType struct {
	InstanceGUID string
	KeyName      string

	ServiceKey models.ServiceKey
	Error      error
}

type ListServiceKeysType

type ListServiceKeysType struct {
	InstanceGUID string

	ServiceKeys []models.ServiceKey
	Error       error
}

type OldFakeAppSummaryRepo

type OldFakeAppSummaryRepo struct {
	GetSummariesInCurrentSpaceApps []models.Application

	GetSummaryErrorCode string
	GetSummaryAppGUID   string
	GetSummarySummary   models.Application
}

func (*OldFakeAppSummaryRepo) GetSummariesInCurrentSpace

func (repo *OldFakeAppSummaryRepo) GetSummariesInCurrentSpace() (apps []models.Application, apiErr error)

func (*OldFakeAppSummaryRepo) GetSummary

func (repo *OldFakeAppSummaryRepo) GetSummary(appGUID string) (summary models.Application, apiErr error)

type OldFakeAuthTokenRepo

type OldFakeAuthTokenRepo struct {
	CreatedServiceAuthTokenFields models.ServiceAuthTokenFields

	FindAllAuthTokens []models.ServiceAuthTokenFields

	FindByLabelAndProviderLabel                  string
	FindByLabelAndProviderProvider               string
	FindByLabelAndProviderServiceAuthTokenFields models.ServiceAuthTokenFields
	FindByLabelAndProviderAPIResponse            error

	UpdatedServiceAuthTokenFields models.ServiceAuthTokenFields

	DeletedServiceAuthTokenFields models.ServiceAuthTokenFields
}

func (*OldFakeAuthTokenRepo) Create

func (repo *OldFakeAuthTokenRepo) Create(authToken models.ServiceAuthTokenFields) (apiErr error)

func (*OldFakeAuthTokenRepo) Delete

func (repo *OldFakeAuthTokenRepo) Delete(authToken models.ServiceAuthTokenFields) (apiErr error)

func (*OldFakeAuthTokenRepo) FindAll

func (repo *OldFakeAuthTokenRepo) FindAll() (authTokens []models.ServiceAuthTokenFields, apiErr error)

func (*OldFakeAuthTokenRepo) FindByLabelAndProvider

func (repo *OldFakeAuthTokenRepo) FindByLabelAndProvider(label, provider string) (authToken models.ServiceAuthTokenFields, apiErr error)

func (*OldFakeAuthTokenRepo) Update

func (repo *OldFakeAuthTokenRepo) Update(authToken models.ServiceAuthTokenFields) (apiErr error)

type OldFakeBuildpackBitsRepository

type OldFakeBuildpackBitsRepository struct {
	UploadBuildpackErr         bool
	UploadBuildpackAPIResponse error
	UploadBuildpackPath        string
}

func (*OldFakeBuildpackBitsRepository) UploadBuildpack

func (repo *OldFakeBuildpackBitsRepository) UploadBuildpack(buildpack models.Buildpack, dir string) error

type OldFakeBuildpackRepository

type OldFakeBuildpackRepository struct {
	Buildpacks []models.Buildpack

	FindByNameNotFound    bool
	FindByNameName        string
	FindByNameBuildpack   models.Buildpack
	FindByNameAPIResponse error
	FindByNameAmbiguous   bool

	FindByNameAndStackNotFound  bool
	FindByNameAndStackName      string
	FindByNameAndStackStack     string
	FindByNameAndStackBuildpack models.Buildpack

	FindByNameWithNilStackNotFound  bool
	FindByNameWithNilStackName      string
	FindByNameWithNilStackBuildpack models.Buildpack

	CreateBuildpackExists             bool
	CreateBuildpackWithNilStackExists bool
	CreateBuildpack                   models.Buildpack
	CreateAPIResponse                 error

	DeleteBuildpackGUID string
	DeleteAPIResponse   error

	UpdateBuildpackArgs struct {
		Buildpack models.Buildpack
	}

	UpdateBuildpackReturns struct {
		Error error
	}
}

func (*OldFakeBuildpackRepository) Create

func (repo *OldFakeBuildpackRepository) Create(name string, position *int, enabled *bool, locked *bool) (createdBuildpack models.Buildpack, apiErr error)

func (*OldFakeBuildpackRepository) Delete

func (repo *OldFakeBuildpackRepository) Delete(buildpackGUID string) (apiErr error)

func (*OldFakeBuildpackRepository) FindByName

func (repo *OldFakeBuildpackRepository) FindByName(name string) (buildpack models.Buildpack, apiErr error)

func (*OldFakeBuildpackRepository) FindByNameAndStack

func (repo *OldFakeBuildpackRepository) FindByNameAndStack(name, stack string) (buildpack models.Buildpack, apiErr error)

func (*OldFakeBuildpackRepository) FindByNameWithNilStack

func (repo *OldFakeBuildpackRepository) FindByNameWithNilStack(name string) (buildpack models.Buildpack, apiErr error)

func (*OldFakeBuildpackRepository) ListBuildpacks

func (repo *OldFakeBuildpackRepository) ListBuildpacks(cb func(models.Buildpack) bool) error

func (*OldFakeBuildpackRepository) Update

func (repo *OldFakeBuildpackRepository) Update(buildpack models.Buildpack) (updatedBuildpack models.Buildpack, apiErr error)

type OldFakeCurlRepository

type OldFakeCurlRepository struct {
	Method          string
	Path            string
	Header          string
	Body            string
	ResponseHeader  string
	ResponseBody    string
	FailOnHTTPError bool
	Error           error
}

func (*OldFakeCurlRepository) Request

func (repo *OldFakeCurlRepository) Request(method, path, header, body string, failOnHTTPError bool) (resHeaders, resBody string, apiErr error)

type OldFakePasswordRepo

type OldFakePasswordRepo struct {
	Score          string
	ScoredPassword string

	UpdateUnauthorized bool
	UpdateNewPassword  string
	UpdateOldPassword  string
}

func (*OldFakePasswordRepo) UpdatePassword

func (repo *OldFakePasswordRepo) UpdatePassword(old string, new string) (apiErr error)

type OldFakeServiceKeyRepo

type OldFakeServiceKeyRepo struct {
	CreateServiceKeyMethod CreateServiceKeyType
	ListServiceKeysMethod  ListServiceKeysType
	GetServiceKeyMethod    GetServiceKeyType
	DeleteServiceKeyMethod DeleteServiceKeyType
}

func NewFakeServiceKeyRepo

func NewFakeServiceKeyRepo() *OldFakeServiceKeyRepo

func (*OldFakeServiceKeyRepo) CreateServiceKey

func (f *OldFakeServiceKeyRepo) CreateServiceKey(instanceGUID string, serviceKeyName string, params map[string]interface{}) error

func (*OldFakeServiceKeyRepo) DeleteServiceKey

func (f *OldFakeServiceKeyRepo) DeleteServiceKey(serviceKeyGUID string) error

func (*OldFakeServiceKeyRepo) GetServiceKey

func (f *OldFakeServiceKeyRepo) GetServiceKey(instanceGUID string, serviceKeyName string) (models.ServiceKey, error)

func (*OldFakeServiceKeyRepo) ListServiceKeys

func (f *OldFakeServiceKeyRepo) ListServiceKeys(instanceGUID string) ([]models.ServiceKey, error)

type OldFakeServicePlanRepo

type OldFakeServicePlanRepo struct {
	SearchReturns map[string][]models.ServicePlanFields
	SearchErr     error

	UpdateStub func(models.ServicePlanFields, string, bool) error

	ListPlansFromManyServicesReturns []models.ServicePlanFields
	ListPlansFromManyServicesError   error
	// contains filtered or unexported fields
}

func (*OldFakeServicePlanRepo) ListPlansFromManyServices

func (fake *OldFakeServicePlanRepo) ListPlansFromManyServices(serviceGUIDs []string) (plans []models.ServicePlanFields, err error)

func (*OldFakeServicePlanRepo) Search

func (fake *OldFakeServicePlanRepo) Search(queryParams map[string]string) ([]models.ServicePlanFields, error)

func (*OldFakeServicePlanRepo) Update

func (fake *OldFakeServicePlanRepo) Update(arg1 models.ServicePlanFields, arg2 string, arg3 bool) error

func (*OldFakeServicePlanRepo) UpdateArgsForCall

func (fake *OldFakeServicePlanRepo) UpdateArgsForCall(i int) (models.ServicePlanFields, string, bool)

func (*OldFakeServicePlanRepo) UpdateCallCount

func (fake *OldFakeServicePlanRepo) UpdateCallCount() int

func (*OldFakeServicePlanRepo) UpdateReturns

func (fake *OldFakeServicePlanRepo) UpdateReturns(result1 error)

type OldFakeServiceSummaryRepo

type OldFakeServiceSummaryRepo struct {
	GetSummariesInCurrentSpaceInstances []models.ServiceInstance
}

func (*OldFakeServiceSummaryRepo) GetSummariesInCurrentSpace

func (repo *OldFakeServiceSummaryRepo) GetSummariesInCurrentSpace() (instances []models.ServiceInstance, apiErr error)

Jump to

Keyboard shortcuts

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