platformfakes

package
Version: v0.11.20 Latest Latest
Warning

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

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

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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeBrokerClient added in v0.2.0

type FakeBrokerClient struct {
	CreateBrokerStub func(context.Context, *platform.CreateServiceBrokerRequest) (*platform.ServiceBroker, error)

	DeleteBrokerStub func(context.Context, *platform.DeleteServiceBrokerRequest) error

	GetBrokerByNameStub func(context.Context, string) (*platform.ServiceBroker, error)

	GetBrokersStub func(context.Context) ([]*platform.ServiceBroker, error)

	UpdateBrokerStub func(context.Context, *platform.UpdateServiceBrokerRequest) (*platform.ServiceBroker, error)
	// contains filtered or unexported fields
}

func (*FakeBrokerClient) CreateBroker added in v0.2.0

func (*FakeBrokerClient) CreateBrokerArgsForCall added in v0.2.0

func (fake *FakeBrokerClient) CreateBrokerArgsForCall(i int) (context.Context, *platform.CreateServiceBrokerRequest)

func (*FakeBrokerClient) CreateBrokerCallCount added in v0.2.0

func (fake *FakeBrokerClient) CreateBrokerCallCount() int

func (*FakeBrokerClient) CreateBrokerCalls added in v0.2.0

func (*FakeBrokerClient) CreateBrokerReturns added in v0.2.0

func (fake *FakeBrokerClient) CreateBrokerReturns(result1 *platform.ServiceBroker, result2 error)

func (*FakeBrokerClient) CreateBrokerReturnsOnCall added in v0.2.0

func (fake *FakeBrokerClient) CreateBrokerReturnsOnCall(i int, result1 *platform.ServiceBroker, result2 error)

func (*FakeBrokerClient) DeleteBroker added in v0.2.0

func (fake *FakeBrokerClient) DeleteBroker(arg1 context.Context, arg2 *platform.DeleteServiceBrokerRequest) error

func (*FakeBrokerClient) DeleteBrokerArgsForCall added in v0.2.0

func (fake *FakeBrokerClient) DeleteBrokerArgsForCall(i int) (context.Context, *platform.DeleteServiceBrokerRequest)

func (*FakeBrokerClient) DeleteBrokerCallCount added in v0.2.0

func (fake *FakeBrokerClient) DeleteBrokerCallCount() int

func (*FakeBrokerClient) DeleteBrokerCalls added in v0.2.0

func (fake *FakeBrokerClient) DeleteBrokerCalls(stub func(context.Context, *platform.DeleteServiceBrokerRequest) error)

func (*FakeBrokerClient) DeleteBrokerReturns added in v0.2.0

func (fake *FakeBrokerClient) DeleteBrokerReturns(result1 error)

func (*FakeBrokerClient) DeleteBrokerReturnsOnCall added in v0.2.0

func (fake *FakeBrokerClient) DeleteBrokerReturnsOnCall(i int, result1 error)

func (*FakeBrokerClient) GetBrokerByName added in v0.4.0

func (fake *FakeBrokerClient) GetBrokerByName(arg1 context.Context, arg2 string) (*platform.ServiceBroker, error)

func (*FakeBrokerClient) GetBrokerByNameArgsForCall added in v0.4.0

func (fake *FakeBrokerClient) GetBrokerByNameArgsForCall(i int) (context.Context, string)

func (*FakeBrokerClient) GetBrokerByNameCallCount added in v0.4.0

func (fake *FakeBrokerClient) GetBrokerByNameCallCount() int

func (*FakeBrokerClient) GetBrokerByNameCalls added in v0.4.0

func (fake *FakeBrokerClient) GetBrokerByNameCalls(stub func(context.Context, string) (*platform.ServiceBroker, error))

func (*FakeBrokerClient) GetBrokerByNameReturns added in v0.4.0

func (fake *FakeBrokerClient) GetBrokerByNameReturns(result1 *platform.ServiceBroker, result2 error)

func (*FakeBrokerClient) GetBrokerByNameReturnsOnCall added in v0.4.0

func (fake *FakeBrokerClient) GetBrokerByNameReturnsOnCall(i int, result1 *platform.ServiceBroker, result2 error)

func (*FakeBrokerClient) GetBrokers added in v0.2.0

func (fake *FakeBrokerClient) GetBrokers(arg1 context.Context) ([]*platform.ServiceBroker, error)

func (*FakeBrokerClient) GetBrokersArgsForCall added in v0.2.0

func (fake *FakeBrokerClient) GetBrokersArgsForCall(i int) context.Context

func (*FakeBrokerClient) GetBrokersCallCount added in v0.2.0

func (fake *FakeBrokerClient) GetBrokersCallCount() int

func (*FakeBrokerClient) GetBrokersCalls added in v0.2.0

func (fake *FakeBrokerClient) GetBrokersCalls(stub func(context.Context) ([]*platform.ServiceBroker, error))

func (*FakeBrokerClient) GetBrokersReturns added in v0.2.0

func (fake *FakeBrokerClient) GetBrokersReturns(result1 []*platform.ServiceBroker, result2 error)

func (*FakeBrokerClient) GetBrokersReturnsOnCall added in v0.2.0

func (fake *FakeBrokerClient) GetBrokersReturnsOnCall(i int, result1 []*platform.ServiceBroker, result2 error)

func (*FakeBrokerClient) Invocations added in v0.2.0

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

func (*FakeBrokerClient) UpdateBroker added in v0.2.0

func (*FakeBrokerClient) UpdateBrokerArgsForCall added in v0.2.0

func (fake *FakeBrokerClient) UpdateBrokerArgsForCall(i int) (context.Context, *platform.UpdateServiceBrokerRequest)

func (*FakeBrokerClient) UpdateBrokerCallCount added in v0.2.0

func (fake *FakeBrokerClient) UpdateBrokerCallCount() int

func (*FakeBrokerClient) UpdateBrokerCalls added in v0.2.0

func (*FakeBrokerClient) UpdateBrokerReturns added in v0.2.0

func (fake *FakeBrokerClient) UpdateBrokerReturns(result1 *platform.ServiceBroker, result2 error)

func (*FakeBrokerClient) UpdateBrokerReturnsOnCall added in v0.2.0

func (fake *FakeBrokerClient) UpdateBrokerReturnsOnCall(i int, result1 *platform.ServiceBroker, result2 error)

type FakeBrokerPlatformNameProvider added in v0.11.9

type FakeBrokerPlatformNameProvider struct {
	GetBrokerPlatformNameStub func(string) string
	// contains filtered or unexported fields
}

func (*FakeBrokerPlatformNameProvider) GetBrokerPlatformName added in v0.11.9

func (fake *FakeBrokerPlatformNameProvider) GetBrokerPlatformName(arg1 string) string

func (*FakeBrokerPlatformNameProvider) GetBrokerPlatformNameArgsForCall added in v0.11.9

func (fake *FakeBrokerPlatformNameProvider) GetBrokerPlatformNameArgsForCall(i int) string

func (*FakeBrokerPlatformNameProvider) GetBrokerPlatformNameCallCount added in v0.11.9

func (fake *FakeBrokerPlatformNameProvider) GetBrokerPlatformNameCallCount() int

func (*FakeBrokerPlatformNameProvider) GetBrokerPlatformNameCalls added in v0.11.9

func (fake *FakeBrokerPlatformNameProvider) GetBrokerPlatformNameCalls(stub func(string) string)

func (*FakeBrokerPlatformNameProvider) GetBrokerPlatformNameReturns added in v0.11.9

func (fake *FakeBrokerPlatformNameProvider) GetBrokerPlatformNameReturns(result1 string)

func (*FakeBrokerPlatformNameProvider) GetBrokerPlatformNameReturnsOnCall added in v0.11.9

func (fake *FakeBrokerPlatformNameProvider) GetBrokerPlatformNameReturnsOnCall(i int, result1 string)

func (*FakeBrokerPlatformNameProvider) Invocations added in v0.11.9

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

type FakeCatalogFetcher

type FakeCatalogFetcher struct {
	FetchStub func(context.Context, *platform.UpdateServiceBrokerRequest) error
	// contains filtered or unexported fields
}

func (*FakeCatalogFetcher) Fetch

func (*FakeCatalogFetcher) FetchArgsForCall

func (*FakeCatalogFetcher) FetchCallCount

func (fake *FakeCatalogFetcher) FetchCallCount() int

func (*FakeCatalogFetcher) FetchCalls added in v0.2.0

func (*FakeCatalogFetcher) FetchReturns

func (fake *FakeCatalogFetcher) FetchReturns(result1 error)

func (*FakeCatalogFetcher) FetchReturnsOnCall

func (fake *FakeCatalogFetcher) FetchReturnsOnCall(i int, result1 error)

func (*FakeCatalogFetcher) Invocations

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

type FakeClient

type FakeClient struct {
	BrokerStub func() platform.BrokerClient

	CatalogFetcherStub func() platform.CatalogFetcher

	VisibilityStub func() platform.VisibilityClient
	// contains filtered or unexported fields
}

func (*FakeClient) Broker added in v0.2.0

func (fake *FakeClient) Broker() platform.BrokerClient

func (*FakeClient) BrokerCallCount added in v0.2.0

func (fake *FakeClient) BrokerCallCount() int

func (*FakeClient) BrokerCalls added in v0.2.0

func (fake *FakeClient) BrokerCalls(stub func() platform.BrokerClient)

func (*FakeClient) BrokerReturns added in v0.2.0

func (fake *FakeClient) BrokerReturns(result1 platform.BrokerClient)

func (*FakeClient) BrokerReturnsOnCall added in v0.2.0

func (fake *FakeClient) BrokerReturnsOnCall(i int, result1 platform.BrokerClient)

func (*FakeClient) CatalogFetcher added in v0.2.0

func (fake *FakeClient) CatalogFetcher() platform.CatalogFetcher

func (*FakeClient) CatalogFetcherCallCount added in v0.2.0

func (fake *FakeClient) CatalogFetcherCallCount() int

func (*FakeClient) CatalogFetcherCalls added in v0.2.0

func (fake *FakeClient) CatalogFetcherCalls(stub func() platform.CatalogFetcher)

func (*FakeClient) CatalogFetcherReturns added in v0.2.0

func (fake *FakeClient) CatalogFetcherReturns(result1 platform.CatalogFetcher)

func (*FakeClient) CatalogFetcherReturnsOnCall added in v0.2.0

func (fake *FakeClient) CatalogFetcherReturnsOnCall(i int, result1 platform.CatalogFetcher)

func (*FakeClient) Invocations

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

func (*FakeClient) Visibility added in v0.2.0

func (fake *FakeClient) Visibility() platform.VisibilityClient

func (*FakeClient) VisibilityCallCount added in v0.2.0

func (fake *FakeClient) VisibilityCallCount() int

func (*FakeClient) VisibilityCalls added in v0.2.0

func (fake *FakeClient) VisibilityCalls(stub func() platform.VisibilityClient)

func (*FakeClient) VisibilityReturns added in v0.2.0

func (fake *FakeClient) VisibilityReturns(result1 platform.VisibilityClient)

func (*FakeClient) VisibilityReturnsOnCall added in v0.2.0

func (fake *FakeClient) VisibilityReturnsOnCall(i int, result1 platform.VisibilityClient)

type FakeVisibilityClient added in v0.2.0

type FakeVisibilityClient struct {
	DisableAccessForPlanStub func(context.Context, *platform.ModifyPlanAccessRequest) error

	EnableAccessForPlanStub func(context.Context, *platform.ModifyPlanAccessRequest) error

	GetVisibilitiesByBrokersStub func(context.Context, []string) ([]*platform.Visibility, error)

	VisibilityScopeLabelKeyStub func() string
	// contains filtered or unexported fields
}

func (*FakeVisibilityClient) DisableAccessForPlan added in v0.2.0

func (fake *FakeVisibilityClient) DisableAccessForPlan(arg1 context.Context, arg2 *platform.ModifyPlanAccessRequest) error

func (*FakeVisibilityClient) DisableAccessForPlanArgsForCall added in v0.2.0

func (fake *FakeVisibilityClient) DisableAccessForPlanArgsForCall(i int) (context.Context, *platform.ModifyPlanAccessRequest)

func (*FakeVisibilityClient) DisableAccessForPlanCallCount added in v0.2.0

func (fake *FakeVisibilityClient) DisableAccessForPlanCallCount() int

func (*FakeVisibilityClient) DisableAccessForPlanCalls added in v0.2.0

func (fake *FakeVisibilityClient) DisableAccessForPlanCalls(stub func(context.Context, *platform.ModifyPlanAccessRequest) error)

func (*FakeVisibilityClient) DisableAccessForPlanReturns added in v0.2.0

func (fake *FakeVisibilityClient) DisableAccessForPlanReturns(result1 error)

func (*FakeVisibilityClient) DisableAccessForPlanReturnsOnCall added in v0.2.0

func (fake *FakeVisibilityClient) DisableAccessForPlanReturnsOnCall(i int, result1 error)

func (*FakeVisibilityClient) EnableAccessForPlan added in v0.2.0

func (fake *FakeVisibilityClient) EnableAccessForPlan(arg1 context.Context, arg2 *platform.ModifyPlanAccessRequest) error

func (*FakeVisibilityClient) EnableAccessForPlanArgsForCall added in v0.2.0

func (fake *FakeVisibilityClient) EnableAccessForPlanArgsForCall(i int) (context.Context, *platform.ModifyPlanAccessRequest)

func (*FakeVisibilityClient) EnableAccessForPlanCallCount added in v0.2.0

func (fake *FakeVisibilityClient) EnableAccessForPlanCallCount() int

func (*FakeVisibilityClient) EnableAccessForPlanCalls added in v0.2.0

func (fake *FakeVisibilityClient) EnableAccessForPlanCalls(stub func(context.Context, *platform.ModifyPlanAccessRequest) error)

func (*FakeVisibilityClient) EnableAccessForPlanReturns added in v0.2.0

func (fake *FakeVisibilityClient) EnableAccessForPlanReturns(result1 error)

func (*FakeVisibilityClient) EnableAccessForPlanReturnsOnCall added in v0.2.0

func (fake *FakeVisibilityClient) EnableAccessForPlanReturnsOnCall(i int, result1 error)

func (*FakeVisibilityClient) GetVisibilitiesByBrokers added in v0.3.0

func (fake *FakeVisibilityClient) GetVisibilitiesByBrokers(arg1 context.Context, arg2 []string) ([]*platform.Visibility, error)

func (*FakeVisibilityClient) GetVisibilitiesByBrokersArgsForCall added in v0.3.0

func (fake *FakeVisibilityClient) GetVisibilitiesByBrokersArgsForCall(i int) (context.Context, []string)

func (*FakeVisibilityClient) GetVisibilitiesByBrokersCallCount added in v0.3.0

func (fake *FakeVisibilityClient) GetVisibilitiesByBrokersCallCount() int

func (*FakeVisibilityClient) GetVisibilitiesByBrokersCalls added in v0.3.0

func (fake *FakeVisibilityClient) GetVisibilitiesByBrokersCalls(stub func(context.Context, []string) ([]*platform.Visibility, error))

func (*FakeVisibilityClient) GetVisibilitiesByBrokersReturns added in v0.3.0

func (fake *FakeVisibilityClient) GetVisibilitiesByBrokersReturns(result1 []*platform.Visibility, result2 error)

func (*FakeVisibilityClient) GetVisibilitiesByBrokersReturnsOnCall added in v0.3.0

func (fake *FakeVisibilityClient) GetVisibilitiesByBrokersReturnsOnCall(i int, result1 []*platform.Visibility, result2 error)

func (*FakeVisibilityClient) Invocations added in v0.2.0

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

func (*FakeVisibilityClient) VisibilityScopeLabelKey added in v0.2.0

func (fake *FakeVisibilityClient) VisibilityScopeLabelKey() string

func (*FakeVisibilityClient) VisibilityScopeLabelKeyCallCount added in v0.2.0

func (fake *FakeVisibilityClient) VisibilityScopeLabelKeyCallCount() int

func (*FakeVisibilityClient) VisibilityScopeLabelKeyCalls added in v0.2.0

func (fake *FakeVisibilityClient) VisibilityScopeLabelKeyCalls(stub func() string)

func (*FakeVisibilityClient) VisibilityScopeLabelKeyReturns added in v0.2.0

func (fake *FakeVisibilityClient) VisibilityScopeLabelKeyReturns(result1 string)

func (*FakeVisibilityClient) VisibilityScopeLabelKeyReturnsOnCall added in v0.2.0

func (fake *FakeVisibilityClient) VisibilityScopeLabelKeyReturnsOnCall(i int, result1 string)

Jump to

Keyboard shortcuts

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