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 FakeIdentifier
- type FakeManager
- func (fake *FakeManager) Create(arg1 context.Context, arg2 key.Incomplete) (*key.ClientKey, error)
- func (fake *FakeManager) CreateArgsForCall(i int) (context.Context, key.Incomplete)
- func (fake *FakeManager) CreateCallCount() int
- func (fake *FakeManager) CreateReturns(result1 *key.ClientKey, result2 error)
- func (fake *FakeManager) CreateReturnsOnCall(i int, result1 *key.ClientKey, result2 error)
- func (fake *FakeManager) Delete(arg1 context.Context, arg2 key.Identifier) error
- func (fake *FakeManager) DeleteArgsForCall(i int) (context.Context, key.Identifier)
- func (fake *FakeManager) DeleteCallCount() int
- func (fake *FakeManager) DeleteReturns(result1 error)
- func (fake *FakeManager) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeManager) Get(arg1 context.Context, arg2 key.Identifier) (key.Complete, error)
- func (fake *FakeManager) GetArgsForCall(i int) (context.Context, key.Identifier)
- func (fake *FakeManager) GetCallCount() int
- func (fake *FakeManager) GetReturns(result1 key.Complete, result2 error)
- func (fake *FakeManager) GetReturnsOnCall(i int, result1 key.Complete, result2 error)
- func (fake *FakeManager) Invocations() map[string][][]interface{}
- func (fake *FakeManager) Update(arg1 context.Context, arg2 key.Complete) error
- func (fake *FakeManager) UpdateArgsForCall(i int) (context.Context, key.Complete)
- func (fake *FakeManager) UpdateCallCount() int
- func (fake *FakeManager) UpdateReturns(result1 error)
- func (fake *FakeManager) UpdateReturnsOnCall(i int, result1 error)
- type FakeRepository
- func (fake *FakeRepository) Create(arg1 context.Context, arg2 key.Incomplete) (key.Complete, error)
- func (fake *FakeRepository) CreateArgsForCall(i int) (context.Context, key.Incomplete)
- func (fake *FakeRepository) CreateCallCount() int
- func (fake *FakeRepository) CreateReturns(result1 key.Complete, result2 error)
- func (fake *FakeRepository) CreateReturnsOnCall(i int, result1 key.Complete, result2 error)
- func (fake *FakeRepository) Delete(arg1 context.Context, arg2 key.Identifier) error
- func (fake *FakeRepository) DeleteArgsForCall(i int) (context.Context, key.Identifier)
- func (fake *FakeRepository) DeleteCallCount() int
- func (fake *FakeRepository) DeleteReturns(result1 error)
- func (fake *FakeRepository) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeRepository) Get(arg1 context.Context, arg2 key.Identifier) (key.Complete, error)
- func (fake *FakeRepository) GetArgsForCall(i int) (context.Context, key.Identifier)
- func (fake *FakeRepository) GetCallCount() int
- func (fake *FakeRepository) GetReturns(result1 key.Complete, result2 error)
- func (fake *FakeRepository) GetReturnsOnCall(i int, result1 key.Complete, result2 error)
- func (fake *FakeRepository) Invocations() map[string][][]interface{}
- func (fake *FakeRepository) Update(arg1 context.Context, arg2 key.Complete) error
- func (fake *FakeRepository) UpdateArgsForCall(i int) (context.Context, key.Complete)
- func (fake *FakeRepository) UpdateCallCount() int
- func (fake *FakeRepository) UpdateReturns(result1 error)
- func (fake *FakeRepository) UpdateReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeIdentifier ¶
type FakeIdentifier struct { GUIDStub func() string // contains filtered or unexported fields }
func (*FakeIdentifier) GUID ¶
func (fake *FakeIdentifier) GUID() string
func (*FakeIdentifier) GUIDCallCount ¶
func (fake *FakeIdentifier) GUIDCallCount() int
func (*FakeIdentifier) GUIDReturns ¶
func (fake *FakeIdentifier) GUIDReturns(result1 string)
func (*FakeIdentifier) GUIDReturnsOnCall ¶
func (fake *FakeIdentifier) GUIDReturnsOnCall(i int, result1 string)
func (*FakeIdentifier) Invocations ¶
func (fake *FakeIdentifier) Invocations() map[string][][]interface{}
type FakeManager ¶
type FakeManager struct { GetStub func(context.Context, key.Identifier) (key.Complete, error) UpdateStub func(context.Context, key.Complete) error DeleteStub func(context.Context, key.Identifier) error CreateStub func(context.Context, key.Incomplete) (*key.ClientKey, error) // contains filtered or unexported fields }
func (*FakeManager) Create ¶
func (fake *FakeManager) Create(arg1 context.Context, arg2 key.Incomplete) (*key.ClientKey, error)
func (*FakeManager) CreateArgsForCall ¶
func (fake *FakeManager) CreateArgsForCall(i int) (context.Context, key.Incomplete)
func (*FakeManager) CreateCallCount ¶
func (fake *FakeManager) CreateCallCount() int
func (*FakeManager) CreateReturns ¶
func (fake *FakeManager) CreateReturns(result1 *key.ClientKey, result2 error)
func (*FakeManager) CreateReturnsOnCall ¶
func (fake *FakeManager) CreateReturnsOnCall(i int, result1 *key.ClientKey, result2 error)
func (*FakeManager) Delete ¶
func (fake *FakeManager) Delete(arg1 context.Context, arg2 key.Identifier) error
func (*FakeManager) DeleteArgsForCall ¶
func (fake *FakeManager) DeleteArgsForCall(i int) (context.Context, key.Identifier)
func (*FakeManager) DeleteCallCount ¶
func (fake *FakeManager) DeleteCallCount() int
func (*FakeManager) DeleteReturns ¶
func (fake *FakeManager) DeleteReturns(result1 error)
func (*FakeManager) DeleteReturnsOnCall ¶
func (fake *FakeManager) DeleteReturnsOnCall(i int, result1 error)
func (*FakeManager) Get ¶
func (fake *FakeManager) Get(arg1 context.Context, arg2 key.Identifier) (key.Complete, error)
func (*FakeManager) GetArgsForCall ¶
func (fake *FakeManager) GetArgsForCall(i int) (context.Context, key.Identifier)
func (*FakeManager) GetCallCount ¶
func (fake *FakeManager) GetCallCount() int
func (*FakeManager) GetReturns ¶
func (fake *FakeManager) GetReturns(result1 key.Complete, result2 error)
func (*FakeManager) GetReturnsOnCall ¶
func (fake *FakeManager) GetReturnsOnCall(i int, result1 key.Complete, result2 error)
func (*FakeManager) Invocations ¶
func (fake *FakeManager) Invocations() map[string][][]interface{}
func (*FakeManager) UpdateArgsForCall ¶
func (*FakeManager) UpdateCallCount ¶
func (fake *FakeManager) UpdateCallCount() int
func (*FakeManager) UpdateReturns ¶
func (fake *FakeManager) UpdateReturns(result1 error)
func (*FakeManager) UpdateReturnsOnCall ¶
func (fake *FakeManager) UpdateReturnsOnCall(i int, result1 error)
type FakeRepository ¶
type FakeRepository struct { GetStub func(context.Context, key.Identifier) (key.Complete, error) UpdateStub func(context.Context, key.Complete) error CreateStub func(context.Context, key.Incomplete) (key.Complete, error) DeleteStub func(context.Context, key.Identifier) error // contains filtered or unexported fields }
func (*FakeRepository) Create ¶
func (fake *FakeRepository) Create(arg1 context.Context, arg2 key.Incomplete) (key.Complete, error)
func (*FakeRepository) CreateArgsForCall ¶
func (fake *FakeRepository) CreateArgsForCall(i int) (context.Context, key.Incomplete)
func (*FakeRepository) CreateCallCount ¶
func (fake *FakeRepository) CreateCallCount() int
func (*FakeRepository) CreateReturns ¶
func (fake *FakeRepository) CreateReturns(result1 key.Complete, result2 error)
func (*FakeRepository) CreateReturnsOnCall ¶
func (fake *FakeRepository) CreateReturnsOnCall(i int, result1 key.Complete, result2 error)
func (*FakeRepository) Delete ¶
func (fake *FakeRepository) Delete(arg1 context.Context, arg2 key.Identifier) error
func (*FakeRepository) DeleteArgsForCall ¶
func (fake *FakeRepository) DeleteArgsForCall(i int) (context.Context, key.Identifier)
func (*FakeRepository) DeleteCallCount ¶
func (fake *FakeRepository) DeleteCallCount() int
func (*FakeRepository) DeleteReturns ¶
func (fake *FakeRepository) DeleteReturns(result1 error)
func (*FakeRepository) DeleteReturnsOnCall ¶
func (fake *FakeRepository) DeleteReturnsOnCall(i int, result1 error)
func (*FakeRepository) Get ¶
func (fake *FakeRepository) Get(arg1 context.Context, arg2 key.Identifier) (key.Complete, error)
func (*FakeRepository) GetArgsForCall ¶
func (fake *FakeRepository) GetArgsForCall(i int) (context.Context, key.Identifier)
func (*FakeRepository) GetCallCount ¶
func (fake *FakeRepository) GetCallCount() int
func (*FakeRepository) GetReturns ¶
func (fake *FakeRepository) GetReturns(result1 key.Complete, result2 error)
func (*FakeRepository) GetReturnsOnCall ¶
func (fake *FakeRepository) GetReturnsOnCall(i int, result1 key.Complete, result2 error)
func (*FakeRepository) Invocations ¶
func (fake *FakeRepository) Invocations() map[string][][]interface{}
func (*FakeRepository) UpdateArgsForCall ¶
func (*FakeRepository) UpdateCallCount ¶
func (fake *FakeRepository) UpdateCallCount() int
func (*FakeRepository) UpdateReturns ¶
func (fake *FakeRepository) UpdateReturns(result1 error)
func (*FakeRepository) UpdateReturnsOnCall ¶
func (fake *FakeRepository) UpdateReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.