Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeCredentials
- func (fake *FakeCredentials) Get(ctx context.Context, username string) (*types.Credentials, error)
- func (fake *FakeCredentials) GetArgsForCall(i int) (context.Context, string)
- func (fake *FakeCredentials) GetCallCount() int
- func (fake *FakeCredentials) GetReturns(result1 *types.Credentials, result2 error)
- func (fake *FakeCredentials) GetReturnsOnCall(i int, result1 *types.Credentials, result2 error)
- func (fake *FakeCredentials) Invocations() map[string][][]interface{}
- type FakeServiceOffering
- func (fake *FakeServiceOffering) Create(ctx context.Context, serviceOffering *types.ServiceOffering) (string, error)
- func (fake *FakeServiceOffering) CreateArgsForCall(i int) (context.Context, *types.ServiceOffering)
- func (fake *FakeServiceOffering) CreateCallCount() int
- func (fake *FakeServiceOffering) CreateReturns(result1 string, result2 error)
- func (fake *FakeServiceOffering) CreateReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeServiceOffering) Delete(ctx context.Context, criteria ...query.Criterion) error
- func (fake *FakeServiceOffering) DeleteArgsForCall(i int) (context.Context, []query.Criterion)
- func (fake *FakeServiceOffering) DeleteCallCount() int
- func (fake *FakeServiceOffering) DeleteReturns(result1 error)
- func (fake *FakeServiceOffering) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeServiceOffering) Get(ctx context.Context, id string) (*types.ServiceOffering, error)
- func (fake *FakeServiceOffering) GetArgsForCall(i int) (context.Context, string)
- func (fake *FakeServiceOffering) GetCallCount() int
- func (fake *FakeServiceOffering) GetReturns(result1 *types.ServiceOffering, result2 error)
- func (fake *FakeServiceOffering) GetReturnsOnCall(i int, result1 *types.ServiceOffering, result2 error)
- func (fake *FakeServiceOffering) Invocations() map[string][][]interface{}
- func (fake *FakeServiceOffering) List(ctx context.Context, criteria ...query.Criterion) ([]*types.ServiceOffering, error)
- func (fake *FakeServiceOffering) ListArgsForCall(i int) (context.Context, []query.Criterion)
- func (fake *FakeServiceOffering) ListCallCount() int
- func (fake *FakeServiceOffering) ListReturns(result1 []*types.ServiceOffering, result2 error)
- func (fake *FakeServiceOffering) ListReturnsOnCall(i int, result1 []*types.ServiceOffering, result2 error)
- func (fake *FakeServiceOffering) ListWithServicePlansByBrokerID(ctx context.Context, brokerID string) ([]*types.ServiceOffering, error)
- func (fake *FakeServiceOffering) ListWithServicePlansByBrokerIDArgsForCall(i int) (context.Context, string)
- func (fake *FakeServiceOffering) ListWithServicePlansByBrokerIDCallCount() int
- func (fake *FakeServiceOffering) ListWithServicePlansByBrokerIDReturns(result1 []*types.ServiceOffering, result2 error)
- func (fake *FakeServiceOffering) ListWithServicePlansByBrokerIDReturnsOnCall(i int, result1 []*types.ServiceOffering, result2 error)
- func (fake *FakeServiceOffering) Update(ctx context.Context, serviceOffering *types.ServiceOffering) error
- func (fake *FakeServiceOffering) UpdateArgsForCall(i int) (context.Context, *types.ServiceOffering)
- func (fake *FakeServiceOffering) UpdateCallCount() int
- func (fake *FakeServiceOffering) UpdateReturns(result1 error)
- func (fake *FakeServiceOffering) UpdateReturnsOnCall(i int, result1 error)
- type FakeStorage
- func (fake *FakeStorage) Broker() storage.Broker
- func (fake *FakeStorage) BrokerCallCount() int
- func (fake *FakeStorage) BrokerReturns(result1 storage.Broker)
- func (fake *FakeStorage) BrokerReturnsOnCall(i int, result1 storage.Broker)
- func (fake *FakeStorage) Close() error
- func (fake *FakeStorage) CloseCallCount() int
- func (fake *FakeStorage) CloseReturns(result1 error)
- func (fake *FakeStorage) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeStorage) Credentials() storage.Credentials
- func (fake *FakeStorage) CredentialsCallCount() int
- func (fake *FakeStorage) CredentialsReturns(result1 storage.Credentials)
- func (fake *FakeStorage) CredentialsReturnsOnCall(i int, result1 storage.Credentials)
- func (fake *FakeStorage) InTransaction(ctx context.Context, ...) error
- func (fake *FakeStorage) InTransactionArgsForCall(i int) (context.Context, func(ctx context.Context, storage storage.Warehouse) error)
- func (fake *FakeStorage) InTransactionCallCount() int
- func (fake *FakeStorage) InTransactionReturns(result1 error)
- func (fake *FakeStorage) InTransactionReturnsOnCall(i int, result1 error)
- func (fake *FakeStorage) Invocations() map[string][][]interface{}
- func (fake *FakeStorage) Open(options *storage.Settings) error
- func (fake *FakeStorage) OpenArgsForCall(i int) *storage.Settings
- func (fake *FakeStorage) OpenCallCount() int
- func (fake *FakeStorage) OpenReturns(result1 error)
- func (fake *FakeStorage) OpenReturnsOnCall(i int, result1 error)
- func (fake *FakeStorage) Ping() error
- func (fake *FakeStorage) PingCallCount() int
- func (fake *FakeStorage) PingReturns(result1 error)
- func (fake *FakeStorage) PingReturnsOnCall(i int, result1 error)
- func (fake *FakeStorage) Platform() storage.Platform
- func (fake *FakeStorage) PlatformCallCount() int
- func (fake *FakeStorage) PlatformReturns(result1 storage.Platform)
- func (fake *FakeStorage) PlatformReturnsOnCall(i int, result1 storage.Platform)
- func (fake *FakeStorage) Security() storage.Security
- func (fake *FakeStorage) SecurityCallCount() int
- func (fake *FakeStorage) SecurityReturns(result1 storage.Security)
- func (fake *FakeStorage) SecurityReturnsOnCall(i int, result1 storage.Security)
- func (fake *FakeStorage) ServiceOffering() storage.ServiceOffering
- func (fake *FakeStorage) ServiceOfferingCallCount() int
- func (fake *FakeStorage) ServiceOfferingReturns(result1 storage.ServiceOffering)
- func (fake *FakeStorage) ServiceOfferingReturnsOnCall(i int, result1 storage.ServiceOffering)
- func (fake *FakeStorage) ServicePlan() storage.ServicePlan
- func (fake *FakeStorage) ServicePlanCallCount() int
- func (fake *FakeStorage) ServicePlanReturns(result1 storage.ServicePlan)
- func (fake *FakeStorage) ServicePlanReturnsOnCall(i int, result1 storage.ServicePlan)
- func (fake *FakeStorage) Visibility() storage.Visibility
- func (fake *FakeStorage) VisibilityCallCount() int
- func (fake *FakeStorage) VisibilityReturns(result1 storage.Visibility)
- func (fake *FakeStorage) VisibilityReturnsOnCall(i int, result1 storage.Visibility)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCredentials ¶
type FakeCredentials struct { GetStub func(ctx context.Context, username string) (*types.Credentials, error) // contains filtered or unexported fields }
func (*FakeCredentials) Get ¶
func (fake *FakeCredentials) Get(ctx context.Context, username string) (*types.Credentials, error)
func (*FakeCredentials) GetArgsForCall ¶
func (fake *FakeCredentials) GetArgsForCall(i int) (context.Context, string)
func (*FakeCredentials) GetCallCount ¶
func (fake *FakeCredentials) GetCallCount() int
func (*FakeCredentials) GetReturns ¶
func (fake *FakeCredentials) GetReturns(result1 *types.Credentials, result2 error)
func (*FakeCredentials) GetReturnsOnCall ¶
func (fake *FakeCredentials) GetReturnsOnCall(i int, result1 *types.Credentials, result2 error)
func (*FakeCredentials) Invocations ¶
func (fake *FakeCredentials) Invocations() map[string][][]interface{}
type FakeServiceOffering ¶ added in v0.1.2
type FakeServiceOffering struct { CreateStub func(ctx context.Context, serviceOffering *types.ServiceOffering) (string, error) GetStub func(ctx context.Context, id string) (*types.ServiceOffering, error) ListStub func(ctx context.Context, criteria ...query.Criterion) ([]*types.ServiceOffering, error) ListWithServicePlansByBrokerIDStub func(ctx context.Context, brokerID string) ([]*types.ServiceOffering, error) DeleteStub func(ctx context.Context, criteria ...query.Criterion) error UpdateStub func(ctx context.Context, serviceOffering *types.ServiceOffering) error // contains filtered or unexported fields }
func (*FakeServiceOffering) Create ¶ added in v0.1.2
func (fake *FakeServiceOffering) Create(ctx context.Context, serviceOffering *types.ServiceOffering) (string, error)
func (*FakeServiceOffering) CreateArgsForCall ¶ added in v0.1.2
func (fake *FakeServiceOffering) CreateArgsForCall(i int) (context.Context, *types.ServiceOffering)
func (*FakeServiceOffering) CreateCallCount ¶ added in v0.1.2
func (fake *FakeServiceOffering) CreateCallCount() int
func (*FakeServiceOffering) CreateReturns ¶ added in v0.1.2
func (fake *FakeServiceOffering) CreateReturns(result1 string, result2 error)
func (*FakeServiceOffering) CreateReturnsOnCall ¶ added in v0.1.2
func (fake *FakeServiceOffering) CreateReturnsOnCall(i int, result1 string, result2 error)
func (*FakeServiceOffering) DeleteArgsForCall ¶ added in v0.1.2
func (*FakeServiceOffering) DeleteCallCount ¶ added in v0.1.2
func (fake *FakeServiceOffering) DeleteCallCount() int
func (*FakeServiceOffering) DeleteReturns ¶ added in v0.1.2
func (fake *FakeServiceOffering) DeleteReturns(result1 error)
func (*FakeServiceOffering) DeleteReturnsOnCall ¶ added in v0.1.2
func (fake *FakeServiceOffering) DeleteReturnsOnCall(i int, result1 error)
func (*FakeServiceOffering) Get ¶ added in v0.1.2
func (fake *FakeServiceOffering) Get(ctx context.Context, id string) (*types.ServiceOffering, error)
func (*FakeServiceOffering) GetArgsForCall ¶ added in v0.1.2
func (fake *FakeServiceOffering) GetArgsForCall(i int) (context.Context, string)
func (*FakeServiceOffering) GetCallCount ¶ added in v0.1.2
func (fake *FakeServiceOffering) GetCallCount() int
func (*FakeServiceOffering) GetReturns ¶ added in v0.1.2
func (fake *FakeServiceOffering) GetReturns(result1 *types.ServiceOffering, result2 error)
func (*FakeServiceOffering) GetReturnsOnCall ¶ added in v0.1.2
func (fake *FakeServiceOffering) GetReturnsOnCall(i int, result1 *types.ServiceOffering, result2 error)
func (*FakeServiceOffering) Invocations ¶ added in v0.1.2
func (fake *FakeServiceOffering) Invocations() map[string][][]interface{}
func (*FakeServiceOffering) List ¶ added in v0.1.2
func (fake *FakeServiceOffering) List(ctx context.Context, criteria ...query.Criterion) ([]*types.ServiceOffering, error)
func (*FakeServiceOffering) ListArgsForCall ¶ added in v0.1.2
func (*FakeServiceOffering) ListCallCount ¶ added in v0.1.2
func (fake *FakeServiceOffering) ListCallCount() int
func (*FakeServiceOffering) ListReturns ¶ added in v0.1.2
func (fake *FakeServiceOffering) ListReturns(result1 []*types.ServiceOffering, result2 error)
func (*FakeServiceOffering) ListReturnsOnCall ¶ added in v0.1.2
func (fake *FakeServiceOffering) ListReturnsOnCall(i int, result1 []*types.ServiceOffering, result2 error)
func (*FakeServiceOffering) ListWithServicePlansByBrokerID ¶ added in v0.1.2
func (fake *FakeServiceOffering) ListWithServicePlansByBrokerID(ctx context.Context, brokerID string) ([]*types.ServiceOffering, error)
func (*FakeServiceOffering) ListWithServicePlansByBrokerIDArgsForCall ¶ added in v0.1.2
func (fake *FakeServiceOffering) ListWithServicePlansByBrokerIDArgsForCall(i int) (context.Context, string)
func (*FakeServiceOffering) ListWithServicePlansByBrokerIDCallCount ¶ added in v0.1.2
func (fake *FakeServiceOffering) ListWithServicePlansByBrokerIDCallCount() int
func (*FakeServiceOffering) ListWithServicePlansByBrokerIDReturns ¶ added in v0.1.2
func (fake *FakeServiceOffering) ListWithServicePlansByBrokerIDReturns(result1 []*types.ServiceOffering, result2 error)
func (*FakeServiceOffering) ListWithServicePlansByBrokerIDReturnsOnCall ¶ added in v0.1.2
func (fake *FakeServiceOffering) ListWithServicePlansByBrokerIDReturnsOnCall(i int, result1 []*types.ServiceOffering, result2 error)
func (*FakeServiceOffering) Update ¶ added in v0.1.2
func (fake *FakeServiceOffering) Update(ctx context.Context, serviceOffering *types.ServiceOffering) error
func (*FakeServiceOffering) UpdateArgsForCall ¶ added in v0.1.2
func (fake *FakeServiceOffering) UpdateArgsForCall(i int) (context.Context, *types.ServiceOffering)
func (*FakeServiceOffering) UpdateCallCount ¶ added in v0.1.2
func (fake *FakeServiceOffering) UpdateCallCount() int
func (*FakeServiceOffering) UpdateReturns ¶ added in v0.1.2
func (fake *FakeServiceOffering) UpdateReturns(result1 error)
func (*FakeServiceOffering) UpdateReturnsOnCall ¶ added in v0.1.2
func (fake *FakeServiceOffering) UpdateReturnsOnCall(i int, result1 error)
type FakeStorage ¶
type FakeStorage struct { OpenStub func(options *storage.Settings) error CloseStub func() error PingStub func() error BrokerStub func() storage.Broker ServiceOfferingStub func() storage.ServiceOffering ServicePlanStub func() storage.ServicePlan VisibilityStub func() storage.Visibility PlatformStub func() storage.Platform CredentialsStub func() storage.Credentials SecurityStub func() storage.Security InTransactionStub func(ctx context.Context, f func(ctx context.Context, storage storage.Warehouse) error) error // contains filtered or unexported fields }
func (*FakeStorage) Broker ¶
func (fake *FakeStorage) Broker() storage.Broker
func (*FakeStorage) BrokerCallCount ¶
func (fake *FakeStorage) BrokerCallCount() int
func (*FakeStorage) BrokerReturns ¶
func (fake *FakeStorage) BrokerReturns(result1 storage.Broker)
func (*FakeStorage) BrokerReturnsOnCall ¶
func (fake *FakeStorage) BrokerReturnsOnCall(i int, result1 storage.Broker)
func (*FakeStorage) Close ¶
func (fake *FakeStorage) Close() error
func (*FakeStorage) CloseCallCount ¶
func (fake *FakeStorage) CloseCallCount() int
func (*FakeStorage) CloseReturns ¶
func (fake *FakeStorage) CloseReturns(result1 error)
func (*FakeStorage) CloseReturnsOnCall ¶
func (fake *FakeStorage) CloseReturnsOnCall(i int, result1 error)
func (*FakeStorage) Credentials ¶
func (fake *FakeStorage) Credentials() storage.Credentials
func (*FakeStorage) CredentialsCallCount ¶
func (fake *FakeStorage) CredentialsCallCount() int
func (*FakeStorage) CredentialsReturns ¶
func (fake *FakeStorage) CredentialsReturns(result1 storage.Credentials)
func (*FakeStorage) CredentialsReturnsOnCall ¶
func (fake *FakeStorage) CredentialsReturnsOnCall(i int, result1 storage.Credentials)
func (*FakeStorage) InTransaction ¶ added in v0.1.2
func (*FakeStorage) InTransactionArgsForCall ¶ added in v0.1.2
func (*FakeStorage) InTransactionCallCount ¶ added in v0.1.2
func (fake *FakeStorage) InTransactionCallCount() int
func (*FakeStorage) InTransactionReturns ¶ added in v0.1.2
func (fake *FakeStorage) InTransactionReturns(result1 error)
func (*FakeStorage) InTransactionReturnsOnCall ¶ added in v0.1.2
func (fake *FakeStorage) InTransactionReturnsOnCall(i int, result1 error)
func (*FakeStorage) Invocations ¶
func (fake *FakeStorage) Invocations() map[string][][]interface{}
func (*FakeStorage) OpenArgsForCall ¶
func (fake *FakeStorage) OpenArgsForCall(i int) *storage.Settings
func (*FakeStorage) OpenCallCount ¶
func (fake *FakeStorage) OpenCallCount() int
func (*FakeStorage) OpenReturns ¶
func (fake *FakeStorage) OpenReturns(result1 error)
func (*FakeStorage) OpenReturnsOnCall ¶
func (fake *FakeStorage) OpenReturnsOnCall(i int, result1 error)
func (*FakeStorage) Ping ¶
func (fake *FakeStorage) Ping() error
func (*FakeStorage) PingCallCount ¶
func (fake *FakeStorage) PingCallCount() int
func (*FakeStorage) PingReturns ¶
func (fake *FakeStorage) PingReturns(result1 error)
func (*FakeStorage) PingReturnsOnCall ¶
func (fake *FakeStorage) PingReturnsOnCall(i int, result1 error)
func (*FakeStorage) Platform ¶
func (fake *FakeStorage) Platform() storage.Platform
func (*FakeStorage) PlatformCallCount ¶
func (fake *FakeStorage) PlatformCallCount() int
func (*FakeStorage) PlatformReturns ¶
func (fake *FakeStorage) PlatformReturns(result1 storage.Platform)
func (*FakeStorage) PlatformReturnsOnCall ¶
func (fake *FakeStorage) PlatformReturnsOnCall(i int, result1 storage.Platform)
func (*FakeStorage) Security ¶
func (fake *FakeStorage) Security() storage.Security
func (*FakeStorage) SecurityCallCount ¶
func (fake *FakeStorage) SecurityCallCount() int
func (*FakeStorage) SecurityReturns ¶
func (fake *FakeStorage) SecurityReturns(result1 storage.Security)
func (*FakeStorage) SecurityReturnsOnCall ¶
func (fake *FakeStorage) SecurityReturnsOnCall(i int, result1 storage.Security)
func (*FakeStorage) ServiceOffering ¶ added in v0.1.2
func (fake *FakeStorage) ServiceOffering() storage.ServiceOffering
func (*FakeStorage) ServiceOfferingCallCount ¶ added in v0.1.2
func (fake *FakeStorage) ServiceOfferingCallCount() int
func (*FakeStorage) ServiceOfferingReturns ¶ added in v0.1.2
func (fake *FakeStorage) ServiceOfferingReturns(result1 storage.ServiceOffering)
func (*FakeStorage) ServiceOfferingReturnsOnCall ¶ added in v0.1.2
func (fake *FakeStorage) ServiceOfferingReturnsOnCall(i int, result1 storage.ServiceOffering)
func (*FakeStorage) ServicePlan ¶ added in v0.1.2
func (fake *FakeStorage) ServicePlan() storage.ServicePlan
func (*FakeStorage) ServicePlanCallCount ¶ added in v0.1.2
func (fake *FakeStorage) ServicePlanCallCount() int
func (*FakeStorage) ServicePlanReturns ¶ added in v0.1.2
func (fake *FakeStorage) ServicePlanReturns(result1 storage.ServicePlan)
func (*FakeStorage) ServicePlanReturnsOnCall ¶ added in v0.1.2
func (fake *FakeStorage) ServicePlanReturnsOnCall(i int, result1 storage.ServicePlan)
func (*FakeStorage) Visibility ¶ added in v0.1.6
func (fake *FakeStorage) Visibility() storage.Visibility
func (*FakeStorage) VisibilityCallCount ¶ added in v0.1.6
func (fake *FakeStorage) VisibilityCallCount() int
func (*FakeStorage) VisibilityReturns ¶ added in v0.1.6
func (fake *FakeStorage) VisibilityReturns(result1 storage.Visibility)
func (*FakeStorage) VisibilityReturnsOnCall ¶ added in v0.1.6
func (fake *FakeStorage) VisibilityReturnsOnCall(i int, result1 storage.Visibility)
Click to show internal directories.
Click to hide internal directories.