platformfakes

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2018 License: Apache-2.0 Imports: 4 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCatalogFetcher

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

func (*FakeCatalogFetcher) Fetch

func (fake *FakeCatalogFetcher) Fetch(ctx context.Context, serviceBroker *platform.ServiceBroker) error

func (*FakeCatalogFetcher) FetchArgsForCall

func (fake *FakeCatalogFetcher) FetchArgsForCall(i int) (context.Context, *platform.ServiceBroker)

func (*FakeCatalogFetcher) FetchCallCount

func (fake *FakeCatalogFetcher) FetchCallCount() int

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 {
	GetBrokersStub func(ctx context.Context) ([]platform.ServiceBroker, error)

	CreateBrokerStub func(ctx context.Context, r *platform.CreateServiceBrokerRequest) (*platform.ServiceBroker, error)

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

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

func (*FakeClient) CreateBroker

func (*FakeClient) CreateBrokerArgsForCall

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

func (*FakeClient) CreateBrokerCallCount

func (fake *FakeClient) CreateBrokerCallCount() int

func (*FakeClient) CreateBrokerReturns

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

func (*FakeClient) CreateBrokerReturnsOnCall

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

func (*FakeClient) DeleteBroker

func (fake *FakeClient) DeleteBroker(ctx context.Context, r *platform.DeleteServiceBrokerRequest) error

func (*FakeClient) DeleteBrokerArgsForCall

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

func (*FakeClient) DeleteBrokerCallCount

func (fake *FakeClient) DeleteBrokerCallCount() int

func (*FakeClient) DeleteBrokerReturns

func (fake *FakeClient) DeleteBrokerReturns(result1 error)

func (*FakeClient) DeleteBrokerReturnsOnCall

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

func (*FakeClient) GetBrokers

func (fake *FakeClient) GetBrokers(ctx context.Context) ([]platform.ServiceBroker, error)

func (*FakeClient) GetBrokersArgsForCall

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

func (*FakeClient) GetBrokersCallCount

func (fake *FakeClient) GetBrokersCallCount() int

func (*FakeClient) GetBrokersReturns

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

func (*FakeClient) GetBrokersReturnsOnCall

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

func (*FakeClient) Invocations

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

func (*FakeClient) UpdateBroker

func (*FakeClient) UpdateBrokerArgsForCall

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

func (*FakeClient) UpdateBrokerCallCount

func (fake *FakeClient) UpdateBrokerCallCount() int

func (*FakeClient) UpdateBrokerReturns

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

func (*FakeClient) UpdateBrokerReturnsOnCall

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

type FakeServiceAccess

type FakeServiceAccess struct {
	EnableAccessForServiceStub func(ctx context.Context, data json.RawMessage, serviceGUID string) error

	EnableAccessForPlanStub func(ctx context.Context, data json.RawMessage, servicePlanGUID string) error

	DisableAccessForServiceStub func(ctx context.Context, data json.RawMessage, serviceGUID string) error

	DisableAccessForPlanStub func(ctx context.Context, data json.RawMessage, servicePlanGUID string) error
	// contains filtered or unexported fields
}

func (*FakeServiceAccess) DisableAccessForPlan

func (fake *FakeServiceAccess) DisableAccessForPlan(ctx context.Context, data json.RawMessage, servicePlanGUID string) error

func (*FakeServiceAccess) DisableAccessForPlanArgsForCall

func (fake *FakeServiceAccess) DisableAccessForPlanArgsForCall(i int) (context.Context, json.RawMessage, string)

func (*FakeServiceAccess) DisableAccessForPlanCallCount

func (fake *FakeServiceAccess) DisableAccessForPlanCallCount() int

func (*FakeServiceAccess) DisableAccessForPlanReturns

func (fake *FakeServiceAccess) DisableAccessForPlanReturns(result1 error)

func (*FakeServiceAccess) DisableAccessForPlanReturnsOnCall

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

func (*FakeServiceAccess) DisableAccessForService

func (fake *FakeServiceAccess) DisableAccessForService(ctx context.Context, data json.RawMessage, serviceGUID string) error

func (*FakeServiceAccess) DisableAccessForServiceArgsForCall

func (fake *FakeServiceAccess) DisableAccessForServiceArgsForCall(i int) (context.Context, json.RawMessage, string)

func (*FakeServiceAccess) DisableAccessForServiceCallCount

func (fake *FakeServiceAccess) DisableAccessForServiceCallCount() int

func (*FakeServiceAccess) DisableAccessForServiceReturns

func (fake *FakeServiceAccess) DisableAccessForServiceReturns(result1 error)

func (*FakeServiceAccess) DisableAccessForServiceReturnsOnCall

func (fake *FakeServiceAccess) DisableAccessForServiceReturnsOnCall(i int, result1 error)

func (*FakeServiceAccess) EnableAccessForPlan

func (fake *FakeServiceAccess) EnableAccessForPlan(ctx context.Context, data json.RawMessage, servicePlanGUID string) error

func (*FakeServiceAccess) EnableAccessForPlanArgsForCall

func (fake *FakeServiceAccess) EnableAccessForPlanArgsForCall(i int) (context.Context, json.RawMessage, string)

func (*FakeServiceAccess) EnableAccessForPlanCallCount

func (fake *FakeServiceAccess) EnableAccessForPlanCallCount() int

func (*FakeServiceAccess) EnableAccessForPlanReturns

func (fake *FakeServiceAccess) EnableAccessForPlanReturns(result1 error)

func (*FakeServiceAccess) EnableAccessForPlanReturnsOnCall

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

func (*FakeServiceAccess) EnableAccessForService

func (fake *FakeServiceAccess) EnableAccessForService(ctx context.Context, data json.RawMessage, serviceGUID string) error

func (*FakeServiceAccess) EnableAccessForServiceArgsForCall

func (fake *FakeServiceAccess) EnableAccessForServiceArgsForCall(i int) (context.Context, json.RawMessage, string)

func (*FakeServiceAccess) EnableAccessForServiceCallCount

func (fake *FakeServiceAccess) EnableAccessForServiceCallCount() int

func (*FakeServiceAccess) EnableAccessForServiceReturns

func (fake *FakeServiceAccess) EnableAccessForServiceReturns(result1 error)

func (*FakeServiceAccess) EnableAccessForServiceReturnsOnCall

func (fake *FakeServiceAccess) EnableAccessForServiceReturnsOnCall(i int, result1 error)

func (*FakeServiceAccess) Invocations

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

Jump to

Keyboard shortcuts

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