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.
Index ¶
- type FakeCreateInterceptor
- func (fake *FakeCreateInterceptor) AroundTxCreate(arg1 storage.InterceptCreateAroundTxFunc) storage.InterceptCreateAroundTxFunc
- func (fake *FakeCreateInterceptor) AroundTxCreateArgsForCall(i int) storage.InterceptCreateAroundTxFunc
- func (fake *FakeCreateInterceptor) AroundTxCreateCallCount() int
- func (fake *FakeCreateInterceptor) AroundTxCreateCalls(...)
- func (fake *FakeCreateInterceptor) AroundTxCreateReturns(result1 storage.InterceptCreateAroundTxFunc)
- func (fake *FakeCreateInterceptor) AroundTxCreateReturnsOnCall(i int, result1 storage.InterceptCreateAroundTxFunc)
- func (fake *FakeCreateInterceptor) Invocations() map[string][][]interface{}
- func (fake *FakeCreateInterceptor) OnTxCreate(arg1 storage.InterceptCreateOnTxFunc) storage.InterceptCreateOnTxFunc
- func (fake *FakeCreateInterceptor) OnTxCreateArgsForCall(i int) storage.InterceptCreateOnTxFunc
- func (fake *FakeCreateInterceptor) OnTxCreateCallCount() int
- func (fake *FakeCreateInterceptor) OnTxCreateCalls(stub func(storage.InterceptCreateOnTxFunc) storage.InterceptCreateOnTxFunc)
- func (fake *FakeCreateInterceptor) OnTxCreateReturns(result1 storage.InterceptCreateOnTxFunc)
- func (fake *FakeCreateInterceptor) OnTxCreateReturnsOnCall(i int, result1 storage.InterceptCreateOnTxFunc)
- type FakeCreateInterceptorProvider
- func (fake *FakeCreateInterceptorProvider) Invocations() map[string][][]interface{}
- func (fake *FakeCreateInterceptorProvider) Name() string
- func (fake *FakeCreateInterceptorProvider) NameCallCount() int
- func (fake *FakeCreateInterceptorProvider) NameCalls(stub func() string)
- func (fake *FakeCreateInterceptorProvider) NameReturns(result1 string)
- func (fake *FakeCreateInterceptorProvider) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeCreateInterceptorProvider) Provide() storage.CreateInterceptor
- func (fake *FakeCreateInterceptorProvider) ProvideCallCount() int
- func (fake *FakeCreateInterceptorProvider) ProvideCalls(stub func() storage.CreateInterceptor)
- func (fake *FakeCreateInterceptorProvider) ProvideReturns(result1 storage.CreateInterceptor)
- func (fake *FakeCreateInterceptorProvider) ProvideReturnsOnCall(i int, result1 storage.CreateInterceptor)
- type FakeCredentials
- func (fake *FakeCredentials) Get(arg1 context.Context, arg2 string) (*types.Credentials, error)
- func (fake *FakeCredentials) GetArgsForCall(i int) (context.Context, string)
- func (fake *FakeCredentials) GetCallCount() int
- func (fake *FakeCredentials) GetCalls(stub func(context.Context, string) (*types.Credentials, error))
- 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 FakeDeleteInterceptor
- func (fake *FakeDeleteInterceptor) AroundTxDelete(arg1 storage.InterceptDeleteAroundTxFunc) storage.InterceptDeleteAroundTxFunc
- func (fake *FakeDeleteInterceptor) AroundTxDeleteArgsForCall(i int) storage.InterceptDeleteAroundTxFunc
- func (fake *FakeDeleteInterceptor) AroundTxDeleteCallCount() int
- func (fake *FakeDeleteInterceptor) AroundTxDeleteCalls(...)
- func (fake *FakeDeleteInterceptor) AroundTxDeleteReturns(result1 storage.InterceptDeleteAroundTxFunc)
- func (fake *FakeDeleteInterceptor) AroundTxDeleteReturnsOnCall(i int, result1 storage.InterceptDeleteAroundTxFunc)
- func (fake *FakeDeleteInterceptor) Invocations() map[string][][]interface{}
- func (fake *FakeDeleteInterceptor) OnTxDelete(arg1 storage.InterceptDeleteOnTxFunc) storage.InterceptDeleteOnTxFunc
- func (fake *FakeDeleteInterceptor) OnTxDeleteArgsForCall(i int) storage.InterceptDeleteOnTxFunc
- func (fake *FakeDeleteInterceptor) OnTxDeleteCallCount() int
- func (fake *FakeDeleteInterceptor) OnTxDeleteCalls(stub func(storage.InterceptDeleteOnTxFunc) storage.InterceptDeleteOnTxFunc)
- func (fake *FakeDeleteInterceptor) OnTxDeleteReturns(result1 storage.InterceptDeleteOnTxFunc)
- func (fake *FakeDeleteInterceptor) OnTxDeleteReturnsOnCall(i int, result1 storage.InterceptDeleteOnTxFunc)
- type FakeDeleteInterceptorProvider
- func (fake *FakeDeleteInterceptorProvider) Invocations() map[string][][]interface{}
- func (fake *FakeDeleteInterceptorProvider) Name() string
- func (fake *FakeDeleteInterceptorProvider) NameCallCount() int
- func (fake *FakeDeleteInterceptorProvider) NameCalls(stub func() string)
- func (fake *FakeDeleteInterceptorProvider) NameReturns(result1 string)
- func (fake *FakeDeleteInterceptorProvider) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeDeleteInterceptorProvider) Provide() storage.DeleteInterceptor
- func (fake *FakeDeleteInterceptorProvider) ProvideCallCount() int
- func (fake *FakeDeleteInterceptorProvider) ProvideCalls(stub func() storage.DeleteInterceptor)
- func (fake *FakeDeleteInterceptorProvider) ProvideReturns(result1 storage.DeleteInterceptor)
- func (fake *FakeDeleteInterceptorProvider) ProvideReturnsOnCall(i int, result1 storage.DeleteInterceptor)
- type FakePinger
- func (fake *FakePinger) Invocations() map[string][][]interface{}
- func (fake *FakePinger) Ping() error
- func (fake *FakePinger) PingCallCount() int
- func (fake *FakePinger) PingCalls(stub func() error)
- func (fake *FakePinger) PingReturns(result1 error)
- func (fake *FakePinger) PingReturnsOnCall(i int, result1 error)
- type FakeStorage
- func (fake *FakeStorage) Close() error
- func (fake *FakeStorage) CloseCallCount() int
- func (fake *FakeStorage) CloseCalls(stub func() error)
- func (fake *FakeStorage) CloseReturns(result1 error)
- func (fake *FakeStorage) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeStorage) Create(arg1 context.Context, arg2 types.Object) (string, error)
- func (fake *FakeStorage) CreateArgsForCall(i int) (context.Context, types.Object)
- func (fake *FakeStorage) CreateCallCount() int
- func (fake *FakeStorage) CreateCalls(stub func(context.Context, types.Object) (string, error))
- func (fake *FakeStorage) CreateReturns(result1 string, result2 error)
- func (fake *FakeStorage) CreateReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeStorage) Credentials() storage.Credentials
- func (fake *FakeStorage) CredentialsCallCount() int
- func (fake *FakeStorage) CredentialsCalls(stub func() storage.Credentials)
- func (fake *FakeStorage) CredentialsReturns(result1 storage.Credentials)
- func (fake *FakeStorage) CredentialsReturnsOnCall(i int, result1 storage.Credentials)
- func (fake *FakeStorage) Delete(arg1 context.Context, arg2 types.ObjectType, arg3 ...query.Criterion) (types.ObjectList, error)
- func (fake *FakeStorage) DeleteArgsForCall(i int) (context.Context, types.ObjectType, []query.Criterion)
- func (fake *FakeStorage) DeleteCallCount() int
- func (fake *FakeStorage) DeleteCalls(...)
- func (fake *FakeStorage) DeleteReturns(result1 types.ObjectList, result2 error)
- func (fake *FakeStorage) DeleteReturnsOnCall(i int, result1 types.ObjectList, result2 error)
- func (fake *FakeStorage) Get(arg1 context.Context, arg2 types.ObjectType, arg3 string) (types.Object, error)
- func (fake *FakeStorage) GetArgsForCall(i int) (context.Context, types.ObjectType, string)
- func (fake *FakeStorage) GetCallCount() int
- func (fake *FakeStorage) GetCalls(stub func(context.Context, types.ObjectType, string) (types.Object, error))
- func (fake *FakeStorage) GetReturns(result1 types.Object, result2 error)
- func (fake *FakeStorage) GetReturnsOnCall(i int, result1 types.Object, result2 error)
- func (fake *FakeStorage) InTransaction(arg1 context.Context, ...) error
- func (fake *FakeStorage) InTransactionArgsForCall(i int) (context.Context, func(ctx context.Context, storage storage.Repository) error)
- func (fake *FakeStorage) InTransactionCallCount() int
- func (fake *FakeStorage) InTransactionCalls(...)
- func (fake *FakeStorage) InTransactionReturns(result1 error)
- func (fake *FakeStorage) InTransactionReturnsOnCall(i int, result1 error)
- func (fake *FakeStorage) Introduce(arg1 storage.Entity)
- func (fake *FakeStorage) IntroduceArgsForCall(i int) storage.Entity
- func (fake *FakeStorage) IntroduceCallCount() int
- func (fake *FakeStorage) IntroduceCalls(stub func(storage.Entity))
- func (fake *FakeStorage) Invocations() map[string][][]interface{}
- func (fake *FakeStorage) List(arg1 context.Context, arg2 types.ObjectType, arg3 ...query.Criterion) (types.ObjectList, error)
- func (fake *FakeStorage) ListArgsForCall(i int) (context.Context, types.ObjectType, []query.Criterion)
- func (fake *FakeStorage) ListCallCount() int
- func (fake *FakeStorage) ListCalls(...)
- func (fake *FakeStorage) ListReturns(result1 types.ObjectList, result2 error)
- func (fake *FakeStorage) ListReturnsOnCall(i int, result1 types.ObjectList, result2 error)
- func (fake *FakeStorage) Open(arg1 *storage.Settings) error
- func (fake *FakeStorage) OpenArgsForCall(i int) *storage.Settings
- func (fake *FakeStorage) OpenCallCount() int
- func (fake *FakeStorage) OpenCalls(stub func(*storage.Settings) error)
- 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) PingCalls(stub func() error)
- func (fake *FakeStorage) PingReturns(result1 error)
- func (fake *FakeStorage) PingReturnsOnCall(i int, result1 error)
- func (fake *FakeStorage) Security() storage.Security
- func (fake *FakeStorage) SecurityCallCount() int
- func (fake *FakeStorage) SecurityCalls(stub func() storage.Security)
- func (fake *FakeStorage) SecurityReturns(result1 storage.Security)
- func (fake *FakeStorage) SecurityReturnsOnCall(i int, result1 storage.Security)
- func (fake *FakeStorage) Update(arg1 context.Context, arg2 types.Object, arg3 ...*query.LabelChange) (types.Object, error)
- func (fake *FakeStorage) UpdateArgsForCall(i int) (context.Context, types.Object, []*query.LabelChange)
- func (fake *FakeStorage) UpdateCallCount() int
- func (fake *FakeStorage) UpdateCalls(...)
- func (fake *FakeStorage) UpdateReturns(result1 types.Object, result2 error)
- func (fake *FakeStorage) UpdateReturnsOnCall(i int, result1 types.Object, result2 error)
- type FakeUpdateInterceptor
- func (fake *FakeUpdateInterceptor) AroundTxUpdate(arg1 storage.InterceptUpdateAroundTxFunc) storage.InterceptUpdateAroundTxFunc
- func (fake *FakeUpdateInterceptor) AroundTxUpdateArgsForCall(i int) storage.InterceptUpdateAroundTxFunc
- func (fake *FakeUpdateInterceptor) AroundTxUpdateCallCount() int
- func (fake *FakeUpdateInterceptor) AroundTxUpdateCalls(...)
- func (fake *FakeUpdateInterceptor) AroundTxUpdateReturns(result1 storage.InterceptUpdateAroundTxFunc)
- func (fake *FakeUpdateInterceptor) AroundTxUpdateReturnsOnCall(i int, result1 storage.InterceptUpdateAroundTxFunc)
- func (fake *FakeUpdateInterceptor) Invocations() map[string][][]interface{}
- func (fake *FakeUpdateInterceptor) OnTxUpdate(arg1 storage.InterceptUpdateOnTxFunc) storage.InterceptUpdateOnTxFunc
- func (fake *FakeUpdateInterceptor) OnTxUpdateArgsForCall(i int) storage.InterceptUpdateOnTxFunc
- func (fake *FakeUpdateInterceptor) OnTxUpdateCallCount() int
- func (fake *FakeUpdateInterceptor) OnTxUpdateCalls(stub func(storage.InterceptUpdateOnTxFunc) storage.InterceptUpdateOnTxFunc)
- func (fake *FakeUpdateInterceptor) OnTxUpdateReturns(result1 storage.InterceptUpdateOnTxFunc)
- func (fake *FakeUpdateInterceptor) OnTxUpdateReturnsOnCall(i int, result1 storage.InterceptUpdateOnTxFunc)
- type FakeUpdateInterceptorProvider
- func (fake *FakeUpdateInterceptorProvider) Invocations() map[string][][]interface{}
- func (fake *FakeUpdateInterceptorProvider) Name() string
- func (fake *FakeUpdateInterceptorProvider) NameCallCount() int
- func (fake *FakeUpdateInterceptorProvider) NameCalls(stub func() string)
- func (fake *FakeUpdateInterceptorProvider) NameReturns(result1 string)
- func (fake *FakeUpdateInterceptorProvider) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeUpdateInterceptorProvider) Provide() storage.UpdateInterceptor
- func (fake *FakeUpdateInterceptorProvider) ProvideCallCount() int
- func (fake *FakeUpdateInterceptorProvider) ProvideCalls(stub func() storage.UpdateInterceptor)
- func (fake *FakeUpdateInterceptorProvider) ProvideReturns(result1 storage.UpdateInterceptor)
- func (fake *FakeUpdateInterceptorProvider) ProvideReturnsOnCall(i int, result1 storage.UpdateInterceptor)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCreateInterceptor ¶ added in v0.2.0
type FakeCreateInterceptor struct { AroundTxCreateStub func(storage.InterceptCreateAroundTxFunc) storage.InterceptCreateAroundTxFunc OnTxCreateStub func(storage.InterceptCreateOnTxFunc) storage.InterceptCreateOnTxFunc // contains filtered or unexported fields }
func (*FakeCreateInterceptor) AroundTxCreate ¶ added in v0.2.0
func (fake *FakeCreateInterceptor) AroundTxCreate(arg1 storage.InterceptCreateAroundTxFunc) storage.InterceptCreateAroundTxFunc
func (*FakeCreateInterceptor) AroundTxCreateArgsForCall ¶ added in v0.2.0
func (fake *FakeCreateInterceptor) AroundTxCreateArgsForCall(i int) storage.InterceptCreateAroundTxFunc
func (*FakeCreateInterceptor) AroundTxCreateCallCount ¶ added in v0.2.0
func (fake *FakeCreateInterceptor) AroundTxCreateCallCount() int
func (*FakeCreateInterceptor) AroundTxCreateCalls ¶ added in v0.2.0
func (fake *FakeCreateInterceptor) AroundTxCreateCalls(stub func(storage.InterceptCreateAroundTxFunc) storage.InterceptCreateAroundTxFunc)
func (*FakeCreateInterceptor) AroundTxCreateReturns ¶ added in v0.2.0
func (fake *FakeCreateInterceptor) AroundTxCreateReturns(result1 storage.InterceptCreateAroundTxFunc)
func (*FakeCreateInterceptor) AroundTxCreateReturnsOnCall ¶ added in v0.2.0
func (fake *FakeCreateInterceptor) AroundTxCreateReturnsOnCall(i int, result1 storage.InterceptCreateAroundTxFunc)
func (*FakeCreateInterceptor) Invocations ¶ added in v0.2.0
func (fake *FakeCreateInterceptor) Invocations() map[string][][]interface{}
func (*FakeCreateInterceptor) OnTxCreate ¶ added in v0.2.0
func (fake *FakeCreateInterceptor) OnTxCreate(arg1 storage.InterceptCreateOnTxFunc) storage.InterceptCreateOnTxFunc
func (*FakeCreateInterceptor) OnTxCreateArgsForCall ¶ added in v0.2.0
func (fake *FakeCreateInterceptor) OnTxCreateArgsForCall(i int) storage.InterceptCreateOnTxFunc
func (*FakeCreateInterceptor) OnTxCreateCallCount ¶ added in v0.2.0
func (fake *FakeCreateInterceptor) OnTxCreateCallCount() int
func (*FakeCreateInterceptor) OnTxCreateCalls ¶ added in v0.2.0
func (fake *FakeCreateInterceptor) OnTxCreateCalls(stub func(storage.InterceptCreateOnTxFunc) storage.InterceptCreateOnTxFunc)
func (*FakeCreateInterceptor) OnTxCreateReturns ¶ added in v0.2.0
func (fake *FakeCreateInterceptor) OnTxCreateReturns(result1 storage.InterceptCreateOnTxFunc)
func (*FakeCreateInterceptor) OnTxCreateReturnsOnCall ¶ added in v0.2.0
func (fake *FakeCreateInterceptor) OnTxCreateReturnsOnCall(i int, result1 storage.InterceptCreateOnTxFunc)
type FakeCreateInterceptorProvider ¶ added in v0.2.0
type FakeCreateInterceptorProvider struct { NameStub func() string ProvideStub func() storage.CreateInterceptor // contains filtered or unexported fields }
func (*FakeCreateInterceptorProvider) Invocations ¶ added in v0.2.0
func (fake *FakeCreateInterceptorProvider) Invocations() map[string][][]interface{}
func (*FakeCreateInterceptorProvider) Name ¶ added in v0.2.0
func (fake *FakeCreateInterceptorProvider) Name() string
func (*FakeCreateInterceptorProvider) NameCallCount ¶ added in v0.2.0
func (fake *FakeCreateInterceptorProvider) NameCallCount() int
func (*FakeCreateInterceptorProvider) NameCalls ¶ added in v0.2.0
func (fake *FakeCreateInterceptorProvider) NameCalls(stub func() string)
func (*FakeCreateInterceptorProvider) NameReturns ¶ added in v0.2.0
func (fake *FakeCreateInterceptorProvider) NameReturns(result1 string)
func (*FakeCreateInterceptorProvider) NameReturnsOnCall ¶ added in v0.2.0
func (fake *FakeCreateInterceptorProvider) NameReturnsOnCall(i int, result1 string)
func (*FakeCreateInterceptorProvider) Provide ¶ added in v0.2.0
func (fake *FakeCreateInterceptorProvider) Provide() storage.CreateInterceptor
func (*FakeCreateInterceptorProvider) ProvideCallCount ¶ added in v0.2.0
func (fake *FakeCreateInterceptorProvider) ProvideCallCount() int
func (*FakeCreateInterceptorProvider) ProvideCalls ¶ added in v0.2.0
func (fake *FakeCreateInterceptorProvider) ProvideCalls(stub func() storage.CreateInterceptor)
func (*FakeCreateInterceptorProvider) ProvideReturns ¶ added in v0.2.0
func (fake *FakeCreateInterceptorProvider) ProvideReturns(result1 storage.CreateInterceptor)
func (*FakeCreateInterceptorProvider) ProvideReturnsOnCall ¶ added in v0.2.0
func (fake *FakeCreateInterceptorProvider) ProvideReturnsOnCall(i int, result1 storage.CreateInterceptor)
type FakeCredentials ¶
type FakeCredentials struct { GetStub func(context.Context, string) (*types.Credentials, error) // contains filtered or unexported fields }
func (*FakeCredentials) Get ¶
func (fake *FakeCredentials) Get(arg1 context.Context, arg2 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) GetCalls ¶ added in v0.1.2
func (fake *FakeCredentials) GetCalls(stub func(context.Context, string) (*types.Credentials, error))
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 FakeDeleteInterceptor ¶ added in v0.2.0
type FakeDeleteInterceptor struct { AroundTxDeleteStub func(storage.InterceptDeleteAroundTxFunc) storage.InterceptDeleteAroundTxFunc OnTxDeleteStub func(storage.InterceptDeleteOnTxFunc) storage.InterceptDeleteOnTxFunc // contains filtered or unexported fields }
func (*FakeDeleteInterceptor) AroundTxDelete ¶ added in v0.2.0
func (fake *FakeDeleteInterceptor) AroundTxDelete(arg1 storage.InterceptDeleteAroundTxFunc) storage.InterceptDeleteAroundTxFunc
func (*FakeDeleteInterceptor) AroundTxDeleteArgsForCall ¶ added in v0.2.0
func (fake *FakeDeleteInterceptor) AroundTxDeleteArgsForCall(i int) storage.InterceptDeleteAroundTxFunc
func (*FakeDeleteInterceptor) AroundTxDeleteCallCount ¶ added in v0.2.0
func (fake *FakeDeleteInterceptor) AroundTxDeleteCallCount() int
func (*FakeDeleteInterceptor) AroundTxDeleteCalls ¶ added in v0.2.0
func (fake *FakeDeleteInterceptor) AroundTxDeleteCalls(stub func(storage.InterceptDeleteAroundTxFunc) storage.InterceptDeleteAroundTxFunc)
func (*FakeDeleteInterceptor) AroundTxDeleteReturns ¶ added in v0.2.0
func (fake *FakeDeleteInterceptor) AroundTxDeleteReturns(result1 storage.InterceptDeleteAroundTxFunc)
func (*FakeDeleteInterceptor) AroundTxDeleteReturnsOnCall ¶ added in v0.2.0
func (fake *FakeDeleteInterceptor) AroundTxDeleteReturnsOnCall(i int, result1 storage.InterceptDeleteAroundTxFunc)
func (*FakeDeleteInterceptor) Invocations ¶ added in v0.2.0
func (fake *FakeDeleteInterceptor) Invocations() map[string][][]interface{}
func (*FakeDeleteInterceptor) OnTxDelete ¶ added in v0.2.0
func (fake *FakeDeleteInterceptor) OnTxDelete(arg1 storage.InterceptDeleteOnTxFunc) storage.InterceptDeleteOnTxFunc
func (*FakeDeleteInterceptor) OnTxDeleteArgsForCall ¶ added in v0.2.0
func (fake *FakeDeleteInterceptor) OnTxDeleteArgsForCall(i int) storage.InterceptDeleteOnTxFunc
func (*FakeDeleteInterceptor) OnTxDeleteCallCount ¶ added in v0.2.0
func (fake *FakeDeleteInterceptor) OnTxDeleteCallCount() int
func (*FakeDeleteInterceptor) OnTxDeleteCalls ¶ added in v0.2.0
func (fake *FakeDeleteInterceptor) OnTxDeleteCalls(stub func(storage.InterceptDeleteOnTxFunc) storage.InterceptDeleteOnTxFunc)
func (*FakeDeleteInterceptor) OnTxDeleteReturns ¶ added in v0.2.0
func (fake *FakeDeleteInterceptor) OnTxDeleteReturns(result1 storage.InterceptDeleteOnTxFunc)
func (*FakeDeleteInterceptor) OnTxDeleteReturnsOnCall ¶ added in v0.2.0
func (fake *FakeDeleteInterceptor) OnTxDeleteReturnsOnCall(i int, result1 storage.InterceptDeleteOnTxFunc)
type FakeDeleteInterceptorProvider ¶ added in v0.2.0
type FakeDeleteInterceptorProvider struct { NameStub func() string ProvideStub func() storage.DeleteInterceptor // contains filtered or unexported fields }
func (*FakeDeleteInterceptorProvider) Invocations ¶ added in v0.2.0
func (fake *FakeDeleteInterceptorProvider) Invocations() map[string][][]interface{}
func (*FakeDeleteInterceptorProvider) Name ¶ added in v0.2.0
func (fake *FakeDeleteInterceptorProvider) Name() string
func (*FakeDeleteInterceptorProvider) NameCallCount ¶ added in v0.2.0
func (fake *FakeDeleteInterceptorProvider) NameCallCount() int
func (*FakeDeleteInterceptorProvider) NameCalls ¶ added in v0.2.0
func (fake *FakeDeleteInterceptorProvider) NameCalls(stub func() string)
func (*FakeDeleteInterceptorProvider) NameReturns ¶ added in v0.2.0
func (fake *FakeDeleteInterceptorProvider) NameReturns(result1 string)
func (*FakeDeleteInterceptorProvider) NameReturnsOnCall ¶ added in v0.2.0
func (fake *FakeDeleteInterceptorProvider) NameReturnsOnCall(i int, result1 string)
func (*FakeDeleteInterceptorProvider) Provide ¶ added in v0.2.0
func (fake *FakeDeleteInterceptorProvider) Provide() storage.DeleteInterceptor
func (*FakeDeleteInterceptorProvider) ProvideCallCount ¶ added in v0.2.0
func (fake *FakeDeleteInterceptorProvider) ProvideCallCount() int
func (*FakeDeleteInterceptorProvider) ProvideCalls ¶ added in v0.2.0
func (fake *FakeDeleteInterceptorProvider) ProvideCalls(stub func() storage.DeleteInterceptor)
func (*FakeDeleteInterceptorProvider) ProvideReturns ¶ added in v0.2.0
func (fake *FakeDeleteInterceptorProvider) ProvideReturns(result1 storage.DeleteInterceptor)
func (*FakeDeleteInterceptorProvider) ProvideReturnsOnCall ¶ added in v0.2.0
func (fake *FakeDeleteInterceptorProvider) ProvideReturnsOnCall(i int, result1 storage.DeleteInterceptor)
type FakePinger ¶ added in v0.2.0
type FakePinger struct { PingStub func() error // contains filtered or unexported fields }
func (*FakePinger) Invocations ¶ added in v0.2.0
func (fake *FakePinger) Invocations() map[string][][]interface{}
func (*FakePinger) Ping ¶ added in v0.2.0
func (fake *FakePinger) Ping() error
func (*FakePinger) PingCallCount ¶ added in v0.2.0
func (fake *FakePinger) PingCallCount() int
func (*FakePinger) PingCalls ¶ added in v0.2.0
func (fake *FakePinger) PingCalls(stub func() error)
func (*FakePinger) PingReturns ¶ added in v0.2.0
func (fake *FakePinger) PingReturns(result1 error)
func (*FakePinger) PingReturnsOnCall ¶ added in v0.2.0
func (fake *FakePinger) PingReturnsOnCall(i int, result1 error)
type FakeStorage ¶
type FakeStorage struct { CloseStub func() error CreateStub func(context.Context, types.Object) (string, error) CredentialsStub func() storage.Credentials DeleteStub func(context.Context, types.ObjectType, ...query.Criterion) (types.ObjectList, error) GetStub func(context.Context, types.ObjectType, string) (types.Object, error) InTransactionStub func(context.Context, func(ctx context.Context, storage storage.Repository) error) error IntroduceStub func(storage.Entity) ListStub func(context.Context, types.ObjectType, ...query.Criterion) (types.ObjectList, error) OpenStub func(*storage.Settings) error PingStub func() error SecurityStub func() storage.Security UpdateStub func(context.Context, types.Object, ...*query.LabelChange) (types.Object, error) // contains filtered or unexported fields }
func (*FakeStorage) Close ¶
func (fake *FakeStorage) Close() error
func (*FakeStorage) CloseCallCount ¶
func (fake *FakeStorage) CloseCallCount() int
func (*FakeStorage) CloseCalls ¶ added in v0.1.2
func (fake *FakeStorage) CloseCalls(stub func() error)
func (*FakeStorage) CloseReturns ¶
func (fake *FakeStorage) CloseReturns(result1 error)
func (*FakeStorage) CloseReturnsOnCall ¶
func (fake *FakeStorage) CloseReturnsOnCall(i int, result1 error)
func (*FakeStorage) CreateArgsForCall ¶ added in v0.2.0
func (*FakeStorage) CreateCallCount ¶ added in v0.2.0
func (fake *FakeStorage) CreateCallCount() int
func (*FakeStorage) CreateCalls ¶ added in v0.2.0
func (*FakeStorage) CreateReturns ¶ added in v0.2.0
func (fake *FakeStorage) CreateReturns(result1 string, result2 error)
func (*FakeStorage) CreateReturnsOnCall ¶ added in v0.2.0
func (fake *FakeStorage) CreateReturnsOnCall(i int, result1 string, result2 error)
func (*FakeStorage) Credentials ¶
func (fake *FakeStorage) Credentials() storage.Credentials
func (*FakeStorage) CredentialsCallCount ¶
func (fake *FakeStorage) CredentialsCallCount() int
func (*FakeStorage) CredentialsCalls ¶ added in v0.1.2
func (fake *FakeStorage) CredentialsCalls(stub func() storage.Credentials)
func (*FakeStorage) CredentialsReturns ¶
func (fake *FakeStorage) CredentialsReturns(result1 storage.Credentials)
func (*FakeStorage) CredentialsReturnsOnCall ¶
func (fake *FakeStorage) CredentialsReturnsOnCall(i int, result1 storage.Credentials)
func (*FakeStorage) Delete ¶ added in v0.2.0
func (fake *FakeStorage) Delete(arg1 context.Context, arg2 types.ObjectType, arg3 ...query.Criterion) (types.ObjectList, error)
func (*FakeStorage) DeleteArgsForCall ¶ added in v0.2.0
func (fake *FakeStorage) DeleteArgsForCall(i int) (context.Context, types.ObjectType, []query.Criterion)
func (*FakeStorage) DeleteCallCount ¶ added in v0.2.0
func (fake *FakeStorage) DeleteCallCount() int
func (*FakeStorage) DeleteCalls ¶ added in v0.2.0
func (fake *FakeStorage) DeleteCalls(stub func(context.Context, types.ObjectType, ...query.Criterion) (types.ObjectList, error))
func (*FakeStorage) DeleteReturns ¶ added in v0.2.0
func (fake *FakeStorage) DeleteReturns(result1 types.ObjectList, result2 error)
func (*FakeStorage) DeleteReturnsOnCall ¶ added in v0.2.0
func (fake *FakeStorage) DeleteReturnsOnCall(i int, result1 types.ObjectList, result2 error)
func (*FakeStorage) Get ¶ added in v0.2.0
func (fake *FakeStorage) Get(arg1 context.Context, arg2 types.ObjectType, arg3 string) (types.Object, error)
func (*FakeStorage) GetArgsForCall ¶ added in v0.2.0
func (fake *FakeStorage) GetArgsForCall(i int) (context.Context, types.ObjectType, string)
func (*FakeStorage) GetCallCount ¶ added in v0.2.0
func (fake *FakeStorage) GetCallCount() int
func (*FakeStorage) GetCalls ¶ added in v0.2.0
func (fake *FakeStorage) GetCalls(stub func(context.Context, types.ObjectType, string) (types.Object, error))
func (*FakeStorage) GetReturns ¶ added in v0.2.0
func (fake *FakeStorage) GetReturns(result1 types.Object, result2 error)
func (*FakeStorage) GetReturnsOnCall ¶ added in v0.2.0
func (fake *FakeStorage) GetReturnsOnCall(i int, result1 types.Object, result2 error)
func (*FakeStorage) InTransaction ¶ added in v0.1.2
func (fake *FakeStorage) InTransaction(arg1 context.Context, arg2 func(ctx context.Context, storage storage.Repository) error) error
func (*FakeStorage) InTransactionArgsForCall ¶ added in v0.1.2
func (fake *FakeStorage) InTransactionArgsForCall(i int) (context.Context, func(ctx context.Context, storage storage.Repository) error)
func (*FakeStorage) InTransactionCallCount ¶ added in v0.1.2
func (fake *FakeStorage) InTransactionCallCount() int
func (*FakeStorage) InTransactionCalls ¶ added in v0.1.2
func (fake *FakeStorage) InTransactionCalls(stub func(context.Context, func(ctx context.Context, storage storage.Repository) error) error)
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) Introduce ¶ added in v0.2.0
func (fake *FakeStorage) Introduce(arg1 storage.Entity)
func (*FakeStorage) IntroduceArgsForCall ¶ added in v0.2.0
func (fake *FakeStorage) IntroduceArgsForCall(i int) storage.Entity
func (*FakeStorage) IntroduceCallCount ¶ added in v0.2.0
func (fake *FakeStorage) IntroduceCallCount() int
func (*FakeStorage) IntroduceCalls ¶ added in v0.2.0
func (fake *FakeStorage) IntroduceCalls(stub func(storage.Entity))
func (*FakeStorage) Invocations ¶
func (fake *FakeStorage) Invocations() map[string][][]interface{}
func (*FakeStorage) List ¶ added in v0.2.0
func (fake *FakeStorage) List(arg1 context.Context, arg2 types.ObjectType, arg3 ...query.Criterion) (types.ObjectList, error)
func (*FakeStorage) ListArgsForCall ¶ added in v0.2.0
func (fake *FakeStorage) ListArgsForCall(i int) (context.Context, types.ObjectType, []query.Criterion)
func (*FakeStorage) ListCallCount ¶ added in v0.2.0
func (fake *FakeStorage) ListCallCount() int
func (*FakeStorage) ListCalls ¶ added in v0.2.0
func (fake *FakeStorage) ListCalls(stub func(context.Context, types.ObjectType, ...query.Criterion) (types.ObjectList, error))
func (*FakeStorage) ListReturns ¶ added in v0.2.0
func (fake *FakeStorage) ListReturns(result1 types.ObjectList, result2 error)
func (*FakeStorage) ListReturnsOnCall ¶ added in v0.2.0
func (fake *FakeStorage) ListReturnsOnCall(i int, result1 types.ObjectList, result2 error)
func (*FakeStorage) OpenArgsForCall ¶
func (fake *FakeStorage) OpenArgsForCall(i int) *storage.Settings
func (*FakeStorage) OpenCallCount ¶
func (fake *FakeStorage) OpenCallCount() int
func (*FakeStorage) OpenCalls ¶ added in v0.1.2
func (fake *FakeStorage) OpenCalls(stub func(*storage.Settings) error)
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) PingCalls ¶ added in v0.1.2
func (fake *FakeStorage) PingCalls(stub func() error)
func (*FakeStorage) PingReturns ¶
func (fake *FakeStorage) PingReturns(result1 error)
func (*FakeStorage) PingReturnsOnCall ¶
func (fake *FakeStorage) PingReturnsOnCall(i int, result1 error)
func (*FakeStorage) Security ¶
func (fake *FakeStorage) Security() storage.Security
func (*FakeStorage) SecurityCallCount ¶
func (fake *FakeStorage) SecurityCallCount() int
func (*FakeStorage) SecurityCalls ¶ added in v0.1.2
func (fake *FakeStorage) SecurityCalls(stub func() storage.Security)
func (*FakeStorage) SecurityReturns ¶
func (fake *FakeStorage) SecurityReturns(result1 storage.Security)
func (*FakeStorage) SecurityReturnsOnCall ¶
func (fake *FakeStorage) SecurityReturnsOnCall(i int, result1 storage.Security)
func (*FakeStorage) Update ¶ added in v0.2.0
func (fake *FakeStorage) Update(arg1 context.Context, arg2 types.Object, arg3 ...*query.LabelChange) (types.Object, error)
func (*FakeStorage) UpdateArgsForCall ¶ added in v0.2.0
func (fake *FakeStorage) UpdateArgsForCall(i int) (context.Context, types.Object, []*query.LabelChange)
func (*FakeStorage) UpdateCallCount ¶ added in v0.2.0
func (fake *FakeStorage) UpdateCallCount() int
func (*FakeStorage) UpdateCalls ¶ added in v0.2.0
func (fake *FakeStorage) UpdateCalls(stub func(context.Context, types.Object, ...*query.LabelChange) (types.Object, error))
func (*FakeStorage) UpdateReturns ¶ added in v0.2.0
func (fake *FakeStorage) UpdateReturns(result1 types.Object, result2 error)
func (*FakeStorage) UpdateReturnsOnCall ¶ added in v0.2.0
func (fake *FakeStorage) UpdateReturnsOnCall(i int, result1 types.Object, result2 error)
type FakeUpdateInterceptor ¶ added in v0.2.0
type FakeUpdateInterceptor struct { AroundTxUpdateStub func(storage.InterceptUpdateAroundTxFunc) storage.InterceptUpdateAroundTxFunc OnTxUpdateStub func(storage.InterceptUpdateOnTxFunc) storage.InterceptUpdateOnTxFunc // contains filtered or unexported fields }
func (*FakeUpdateInterceptor) AroundTxUpdate ¶ added in v0.2.0
func (fake *FakeUpdateInterceptor) AroundTxUpdate(arg1 storage.InterceptUpdateAroundTxFunc) storage.InterceptUpdateAroundTxFunc
func (*FakeUpdateInterceptor) AroundTxUpdateArgsForCall ¶ added in v0.2.0
func (fake *FakeUpdateInterceptor) AroundTxUpdateArgsForCall(i int) storage.InterceptUpdateAroundTxFunc
func (*FakeUpdateInterceptor) AroundTxUpdateCallCount ¶ added in v0.2.0
func (fake *FakeUpdateInterceptor) AroundTxUpdateCallCount() int
func (*FakeUpdateInterceptor) AroundTxUpdateCalls ¶ added in v0.2.0
func (fake *FakeUpdateInterceptor) AroundTxUpdateCalls(stub func(storage.InterceptUpdateAroundTxFunc) storage.InterceptUpdateAroundTxFunc)
func (*FakeUpdateInterceptor) AroundTxUpdateReturns ¶ added in v0.2.0
func (fake *FakeUpdateInterceptor) AroundTxUpdateReturns(result1 storage.InterceptUpdateAroundTxFunc)
func (*FakeUpdateInterceptor) AroundTxUpdateReturnsOnCall ¶ added in v0.2.0
func (fake *FakeUpdateInterceptor) AroundTxUpdateReturnsOnCall(i int, result1 storage.InterceptUpdateAroundTxFunc)
func (*FakeUpdateInterceptor) Invocations ¶ added in v0.2.0
func (fake *FakeUpdateInterceptor) Invocations() map[string][][]interface{}
func (*FakeUpdateInterceptor) OnTxUpdate ¶ added in v0.2.0
func (fake *FakeUpdateInterceptor) OnTxUpdate(arg1 storage.InterceptUpdateOnTxFunc) storage.InterceptUpdateOnTxFunc
func (*FakeUpdateInterceptor) OnTxUpdateArgsForCall ¶ added in v0.2.0
func (fake *FakeUpdateInterceptor) OnTxUpdateArgsForCall(i int) storage.InterceptUpdateOnTxFunc
func (*FakeUpdateInterceptor) OnTxUpdateCallCount ¶ added in v0.2.0
func (fake *FakeUpdateInterceptor) OnTxUpdateCallCount() int
func (*FakeUpdateInterceptor) OnTxUpdateCalls ¶ added in v0.2.0
func (fake *FakeUpdateInterceptor) OnTxUpdateCalls(stub func(storage.InterceptUpdateOnTxFunc) storage.InterceptUpdateOnTxFunc)
func (*FakeUpdateInterceptor) OnTxUpdateReturns ¶ added in v0.2.0
func (fake *FakeUpdateInterceptor) OnTxUpdateReturns(result1 storage.InterceptUpdateOnTxFunc)
func (*FakeUpdateInterceptor) OnTxUpdateReturnsOnCall ¶ added in v0.2.0
func (fake *FakeUpdateInterceptor) OnTxUpdateReturnsOnCall(i int, result1 storage.InterceptUpdateOnTxFunc)
type FakeUpdateInterceptorProvider ¶ added in v0.2.0
type FakeUpdateInterceptorProvider struct { NameStub func() string ProvideStub func() storage.UpdateInterceptor // contains filtered or unexported fields }
func (*FakeUpdateInterceptorProvider) Invocations ¶ added in v0.2.0
func (fake *FakeUpdateInterceptorProvider) Invocations() map[string][][]interface{}
func (*FakeUpdateInterceptorProvider) Name ¶ added in v0.2.0
func (fake *FakeUpdateInterceptorProvider) Name() string
func (*FakeUpdateInterceptorProvider) NameCallCount ¶ added in v0.2.0
func (fake *FakeUpdateInterceptorProvider) NameCallCount() int
func (*FakeUpdateInterceptorProvider) NameCalls ¶ added in v0.2.0
func (fake *FakeUpdateInterceptorProvider) NameCalls(stub func() string)
func (*FakeUpdateInterceptorProvider) NameReturns ¶ added in v0.2.0
func (fake *FakeUpdateInterceptorProvider) NameReturns(result1 string)
func (*FakeUpdateInterceptorProvider) NameReturnsOnCall ¶ added in v0.2.0
func (fake *FakeUpdateInterceptorProvider) NameReturnsOnCall(i int, result1 string)
func (*FakeUpdateInterceptorProvider) Provide ¶ added in v0.2.0
func (fake *FakeUpdateInterceptorProvider) Provide() storage.UpdateInterceptor
func (*FakeUpdateInterceptorProvider) ProvideCallCount ¶ added in v0.2.0
func (fake *FakeUpdateInterceptorProvider) ProvideCallCount() int
func (*FakeUpdateInterceptorProvider) ProvideCalls ¶ added in v0.2.0
func (fake *FakeUpdateInterceptorProvider) ProvideCalls(stub func() storage.UpdateInterceptor)
func (*FakeUpdateInterceptorProvider) ProvideReturns ¶ added in v0.2.0
func (fake *FakeUpdateInterceptorProvider) ProvideReturns(result1 storage.UpdateInterceptor)
func (*FakeUpdateInterceptorProvider) ProvideReturnsOnCall ¶ added in v0.2.0
func (fake *FakeUpdateInterceptorProvider) ProvideReturnsOnCall(i int, result1 storage.UpdateInterceptor)
Click to show internal directories.
Click to hide internal directories.