Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeServiceProvider
- func (fake *FakeServiceProvider) Bind(arg1 context.Context, arg2 provider.BindData) (domain.Binding, error)
- func (fake *FakeServiceProvider) BindArgsForCall(i int) (context.Context, provider.BindData)
- func (fake *FakeServiceProvider) BindCallCount() int
- func (fake *FakeServiceProvider) BindCalls(stub func(context.Context, provider.BindData) (domain.Binding, error))
- func (fake *FakeServiceProvider) BindReturns(result1 domain.Binding, result2 error)
- func (fake *FakeServiceProvider) BindReturnsOnCall(i int, result1 domain.Binding, result2 error)
- func (fake *FakeServiceProvider) BuildServiceName(arg1 string) string
- func (fake *FakeServiceProvider) BuildServiceNameArgsForCall(i int) string
- func (fake *FakeServiceProvider) BuildServiceNameCallCount() int
- func (fake *FakeServiceProvider) BuildServiceNameCalls(stub func(string) string)
- func (fake *FakeServiceProvider) BuildServiceNameReturns(result1 string)
- func (fake *FakeServiceProvider) BuildServiceNameReturnsOnCall(i int, result1 string)
- func (fake *FakeServiceProvider) CheckPermissionsFromTags(arg1 domain.ProvisionDetails, arg2 *aiven.ServiceTags) error
- func (fake *FakeServiceProvider) CheckPermissionsFromTagsArgsForCall(i int) (domain.ProvisionDetails, *aiven.ServiceTags)
- func (fake *FakeServiceProvider) CheckPermissionsFromTagsCallCount() int
- func (fake *FakeServiceProvider) CheckPermissionsFromTagsCalls(stub func(domain.ProvisionDetails, *aiven.ServiceTags) error)
- func (fake *FakeServiceProvider) CheckPermissionsFromTagsReturns(result1 error)
- func (fake *FakeServiceProvider) CheckPermissionsFromTagsReturnsOnCall(i int, result1 error)
- func (fake *FakeServiceProvider) Deprovision(arg1 context.Context, arg2 provider.DeprovisionData) (string, error)
- func (fake *FakeServiceProvider) DeprovisionArgsForCall(i int) (context.Context, provider.DeprovisionData)
- func (fake *FakeServiceProvider) DeprovisionCallCount() int
- func (fake *FakeServiceProvider) DeprovisionCalls(stub func(context.Context, provider.DeprovisionData) (string, error))
- func (fake *FakeServiceProvider) DeprovisionReturns(result1 string, result2 error)
- func (fake *FakeServiceProvider) DeprovisionReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeServiceProvider) Invocations() map[string][][]interface{}
- func (fake *FakeServiceProvider) LastOperation(arg1 context.Context, arg2 provider.LastOperationData) (domain.LastOperationState, string, error)
- func (fake *FakeServiceProvider) LastOperationArgsForCall(i int) (context.Context, provider.LastOperationData)
- func (fake *FakeServiceProvider) LastOperationCallCount() int
- func (fake *FakeServiceProvider) LastOperationCalls(...)
- func (fake *FakeServiceProvider) LastOperationReturns(result1 domain.LastOperationState, result2 string, result3 error)
- func (fake *FakeServiceProvider) LastOperationReturnsOnCall(i int, result1 domain.LastOperationState, result2 string, result3 error)
- func (fake *FakeServiceProvider) Provision(arg1 context.Context, arg2 provider.ProvisionData, arg3 bool) (domain.ProvisionedServiceSpec, error)
- func (fake *FakeServiceProvider) ProvisionArgsForCall(i int) (context.Context, provider.ProvisionData, bool)
- func (fake *FakeServiceProvider) ProvisionCallCount() int
- func (fake *FakeServiceProvider) ProvisionCalls(...)
- func (fake *FakeServiceProvider) ProvisionReturns(result1 domain.ProvisionedServiceSpec, result2 error)
- func (fake *FakeServiceProvider) ProvisionReturnsOnCall(i int, result1 domain.ProvisionedServiceSpec, result2 error)
- func (fake *FakeServiceProvider) Unbind(arg1 context.Context, arg2 provider.UnbindData) error
- func (fake *FakeServiceProvider) UnbindArgsForCall(i int) (context.Context, provider.UnbindData)
- func (fake *FakeServiceProvider) UnbindCallCount() int
- func (fake *FakeServiceProvider) UnbindCalls(stub func(context.Context, provider.UnbindData) error)
- func (fake *FakeServiceProvider) UnbindReturns(result1 error)
- func (fake *FakeServiceProvider) UnbindReturnsOnCall(i int, result1 error)
- func (fake *FakeServiceProvider) Update(arg1 context.Context, arg2 provider.UpdateData, arg3 bool) (domain.UpdateServiceSpec, error)
- func (fake *FakeServiceProvider) UpdateArgsForCall(i int) (context.Context, provider.UpdateData, bool)
- func (fake *FakeServiceProvider) UpdateCallCount() int
- func (fake *FakeServiceProvider) UpdateCalls(...)
- func (fake *FakeServiceProvider) UpdateReturns(result1 domain.UpdateServiceSpec, result2 error)
- func (fake *FakeServiceProvider) UpdateReturnsOnCall(i int, result1 domain.UpdateServiceSpec, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeServiceProvider ¶
type FakeServiceProvider struct { BindStub func(context.Context, provider.BindData) (domain.Binding, error) BuildServiceNameStub func(string) string CheckPermissionsFromTagsStub func(domain.ProvisionDetails, *aiven.ServiceTags) error DeprovisionStub func(context.Context, provider.DeprovisionData) (string, error) LastOperationStub func(context.Context, provider.LastOperationData) (domain.LastOperationState, string, error) ProvisionStub func(context.Context, provider.ProvisionData, bool) (domain.ProvisionedServiceSpec, error) UnbindStub func(context.Context, provider.UnbindData) error UpdateStub func(context.Context, provider.UpdateData, bool) (domain.UpdateServiceSpec, error) // contains filtered or unexported fields }
func (*FakeServiceProvider) BindArgsForCall ¶
func (*FakeServiceProvider) BindCallCount ¶
func (fake *FakeServiceProvider) BindCallCount() int
func (*FakeServiceProvider) BindReturns ¶
func (fake *FakeServiceProvider) BindReturns(result1 domain.Binding, result2 error)
func (*FakeServiceProvider) BindReturnsOnCall ¶
func (fake *FakeServiceProvider) BindReturnsOnCall(i int, result1 domain.Binding, result2 error)
func (*FakeServiceProvider) BuildServiceName ¶ added in v0.38.0
func (fake *FakeServiceProvider) BuildServiceName(arg1 string) string
func (*FakeServiceProvider) BuildServiceNameArgsForCall ¶ added in v0.38.0
func (fake *FakeServiceProvider) BuildServiceNameArgsForCall(i int) string
func (*FakeServiceProvider) BuildServiceNameCallCount ¶ added in v0.38.0
func (fake *FakeServiceProvider) BuildServiceNameCallCount() int
func (*FakeServiceProvider) BuildServiceNameCalls ¶ added in v0.38.0
func (fake *FakeServiceProvider) BuildServiceNameCalls(stub func(string) string)
func (*FakeServiceProvider) BuildServiceNameReturns ¶ added in v0.38.0
func (fake *FakeServiceProvider) BuildServiceNameReturns(result1 string)
func (*FakeServiceProvider) BuildServiceNameReturnsOnCall ¶ added in v0.38.0
func (fake *FakeServiceProvider) BuildServiceNameReturnsOnCall(i int, result1 string)
func (*FakeServiceProvider) CheckPermissionsFromTags ¶ added in v0.38.0
func (fake *FakeServiceProvider) CheckPermissionsFromTags(arg1 domain.ProvisionDetails, arg2 *aiven.ServiceTags) error
func (*FakeServiceProvider) CheckPermissionsFromTagsArgsForCall ¶ added in v0.38.0
func (fake *FakeServiceProvider) CheckPermissionsFromTagsArgsForCall(i int) (domain.ProvisionDetails, *aiven.ServiceTags)
func (*FakeServiceProvider) CheckPermissionsFromTagsCallCount ¶ added in v0.38.0
func (fake *FakeServiceProvider) CheckPermissionsFromTagsCallCount() int
func (*FakeServiceProvider) CheckPermissionsFromTagsCalls ¶ added in v0.38.0
func (fake *FakeServiceProvider) CheckPermissionsFromTagsCalls(stub func(domain.ProvisionDetails, *aiven.ServiceTags) error)
func (*FakeServiceProvider) CheckPermissionsFromTagsReturns ¶ added in v0.38.0
func (fake *FakeServiceProvider) CheckPermissionsFromTagsReturns(result1 error)
func (*FakeServiceProvider) CheckPermissionsFromTagsReturnsOnCall ¶ added in v0.38.0
func (fake *FakeServiceProvider) CheckPermissionsFromTagsReturnsOnCall(i int, result1 error)
func (*FakeServiceProvider) Deprovision ¶
func (fake *FakeServiceProvider) Deprovision(arg1 context.Context, arg2 provider.DeprovisionData) (string, error)
func (*FakeServiceProvider) DeprovisionArgsForCall ¶
func (fake *FakeServiceProvider) DeprovisionArgsForCall(i int) (context.Context, provider.DeprovisionData)
func (*FakeServiceProvider) DeprovisionCallCount ¶
func (fake *FakeServiceProvider) DeprovisionCallCount() int
func (*FakeServiceProvider) DeprovisionCalls ¶ added in v0.22.0
func (fake *FakeServiceProvider) DeprovisionCalls(stub func(context.Context, provider.DeprovisionData) (string, error))
func (*FakeServiceProvider) DeprovisionReturns ¶
func (fake *FakeServiceProvider) DeprovisionReturns(result1 string, result2 error)
func (*FakeServiceProvider) DeprovisionReturnsOnCall ¶
func (fake *FakeServiceProvider) DeprovisionReturnsOnCall(i int, result1 string, result2 error)
func (*FakeServiceProvider) Invocations ¶
func (fake *FakeServiceProvider) Invocations() map[string][][]interface{}
func (*FakeServiceProvider) LastOperation ¶
func (fake *FakeServiceProvider) LastOperation(arg1 context.Context, arg2 provider.LastOperationData) (domain.LastOperationState, string, error)
func (*FakeServiceProvider) LastOperationArgsForCall ¶
func (fake *FakeServiceProvider) LastOperationArgsForCall(i int) (context.Context, provider.LastOperationData)
func (*FakeServiceProvider) LastOperationCallCount ¶
func (fake *FakeServiceProvider) LastOperationCallCount() int
func (*FakeServiceProvider) LastOperationCalls ¶ added in v0.22.0
func (fake *FakeServiceProvider) LastOperationCalls(stub func(context.Context, provider.LastOperationData) (domain.LastOperationState, string, error))
func (*FakeServiceProvider) LastOperationReturns ¶
func (fake *FakeServiceProvider) LastOperationReturns(result1 domain.LastOperationState, result2 string, result3 error)
func (*FakeServiceProvider) LastOperationReturnsOnCall ¶
func (fake *FakeServiceProvider) LastOperationReturnsOnCall(i int, result1 domain.LastOperationState, result2 string, result3 error)
func (*FakeServiceProvider) Provision ¶
func (fake *FakeServiceProvider) Provision(arg1 context.Context, arg2 provider.ProvisionData, arg3 bool) (domain.ProvisionedServiceSpec, error)
func (*FakeServiceProvider) ProvisionArgsForCall ¶
func (fake *FakeServiceProvider) ProvisionArgsForCall(i int) (context.Context, provider.ProvisionData, bool)
func (*FakeServiceProvider) ProvisionCallCount ¶
func (fake *FakeServiceProvider) ProvisionCallCount() int
func (*FakeServiceProvider) ProvisionCalls ¶ added in v0.22.0
func (fake *FakeServiceProvider) ProvisionCalls(stub func(context.Context, provider.ProvisionData, bool) (domain.ProvisionedServiceSpec, error))
func (*FakeServiceProvider) ProvisionReturns ¶
func (fake *FakeServiceProvider) ProvisionReturns(result1 domain.ProvisionedServiceSpec, result2 error)
func (*FakeServiceProvider) ProvisionReturnsOnCall ¶
func (fake *FakeServiceProvider) ProvisionReturnsOnCall(i int, result1 domain.ProvisionedServiceSpec, result2 error)
func (*FakeServiceProvider) Unbind ¶
func (fake *FakeServiceProvider) Unbind(arg1 context.Context, arg2 provider.UnbindData) error
func (*FakeServiceProvider) UnbindArgsForCall ¶
func (fake *FakeServiceProvider) UnbindArgsForCall(i int) (context.Context, provider.UnbindData)
func (*FakeServiceProvider) UnbindCallCount ¶
func (fake *FakeServiceProvider) UnbindCallCount() int
func (*FakeServiceProvider) UnbindCalls ¶ added in v0.22.0
func (fake *FakeServiceProvider) UnbindCalls(stub func(context.Context, provider.UnbindData) error)
func (*FakeServiceProvider) UnbindReturns ¶
func (fake *FakeServiceProvider) UnbindReturns(result1 error)
func (*FakeServiceProvider) UnbindReturnsOnCall ¶
func (fake *FakeServiceProvider) UnbindReturnsOnCall(i int, result1 error)
func (*FakeServiceProvider) Update ¶
func (fake *FakeServiceProvider) Update(arg1 context.Context, arg2 provider.UpdateData, arg3 bool) (domain.UpdateServiceSpec, error)
func (*FakeServiceProvider) UpdateArgsForCall ¶
func (fake *FakeServiceProvider) UpdateArgsForCall(i int) (context.Context, provider.UpdateData, bool)
func (*FakeServiceProvider) UpdateCallCount ¶
func (fake *FakeServiceProvider) UpdateCallCount() int
func (*FakeServiceProvider) UpdateCalls ¶ added in v0.22.0
func (fake *FakeServiceProvider) UpdateCalls(stub func(context.Context, provider.UpdateData, bool) (domain.UpdateServiceSpec, error))
func (*FakeServiceProvider) UpdateReturns ¶
func (fake *FakeServiceProvider) UpdateReturns(result1 domain.UpdateServiceSpec, result2 error)
func (*FakeServiceProvider) UpdateReturnsOnCall ¶
func (fake *FakeServiceProvider) UpdateReturnsOnCall(i int, result1 domain.UpdateServiceSpec, result2 error)
Click to show internal directories.
Click to hide internal directories.