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 role.Complete) error
- func (fake *FakeManager) CreateArgsForCall(i int) (context.Context, role.Complete)
- func (fake *FakeManager) CreateCallCount() int
- func (fake *FakeManager) CreateReturns(result1 error)
- func (fake *FakeManager) CreateReturnsOnCall(i int, result1 error)
- func (fake *FakeManager) Delete(arg1 context.Context, arg2 role.Identifier) error
- func (fake *FakeManager) DeleteArgsForCall(i int) (context.Context, role.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 role.Identifier) (role.Complete, error)
- func (fake *FakeManager) GetArgsForCall(i int) (context.Context, role.Identifier)
- func (fake *FakeManager) GetCallCount() int
- func (fake *FakeManager) GetReturns(result1 role.Complete, result2 error)
- func (fake *FakeManager) GetReturnsOnCall(i int, result1 role.Complete, result2 error)
- func (fake *FakeManager) Invocations() map[string][][]interface{}
- func (fake *FakeManager) Set(arg1 context.Context, arg2 role.Complete) error
- func (fake *FakeManager) SetArgsForCall(i int) (context.Context, role.Complete)
- func (fake *FakeManager) SetCallCount() int
- func (fake *FakeManager) SetReturns(result1 error)
- func (fake *FakeManager) SetReturnsOnCall(i int, result1 error)
- type FakeRepository
- func (fake *FakeRepository) Create(arg1 context.Context, arg2 role.Complete) error
- func (fake *FakeRepository) CreateArgsForCall(i int) (context.Context, role.Complete)
- func (fake *FakeRepository) CreateCallCount() int
- func (fake *FakeRepository) CreateReturns(result1 error)
- func (fake *FakeRepository) CreateReturnsOnCall(i int, result1 error)
- func (fake *FakeRepository) Delete(arg1 context.Context, arg2 role.Identifier) error
- func (fake *FakeRepository) DeleteArgsForCall(i int) (context.Context, role.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 role.Identifier) (role.Complete, error)
- func (fake *FakeRepository) GetArgsForCall(i int) (context.Context, role.Identifier)
- func (fake *FakeRepository) GetCallCount() int
- func (fake *FakeRepository) GetReturns(result1 role.Complete, result2 error)
- func (fake *FakeRepository) GetReturnsOnCall(i int, result1 role.Complete, result2 error)
- func (fake *FakeRepository) Invocations() map[string][][]interface{}
- func (fake *FakeRepository) Update(arg1 context.Context, arg2 role.Complete) error
- func (fake *FakeRepository) UpdateArgsForCall(i int) (context.Context, role.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 ¶
func (*FakeIdentifier) ID ¶
func (fake *FakeIdentifier) ID() rbac.RoleID
func (*FakeIdentifier) IDCallCount ¶
func (fake *FakeIdentifier) IDCallCount() int
func (*FakeIdentifier) IDReturns ¶
func (fake *FakeIdentifier) IDReturns(result1 rbac.RoleID)
func (*FakeIdentifier) IDReturnsOnCall ¶
func (fake *FakeIdentifier) IDReturnsOnCall(i int, result1 rbac.RoleID)
func (*FakeIdentifier) Invocations ¶
func (fake *FakeIdentifier) Invocations() map[string][][]interface{}
type FakeManager ¶
type FakeManager struct { GetStub func(context.Context, role.Identifier) (role.Complete, error) SetStub func(context.Context, role.Complete) error CreateStub func(context.Context, role.Complete) error DeleteStub func(context.Context, role.Identifier) error // contains filtered or unexported fields }
func (*FakeManager) CreateArgsForCall ¶
func (*FakeManager) CreateCallCount ¶
func (fake *FakeManager) CreateCallCount() int
func (*FakeManager) CreateReturns ¶
func (fake *FakeManager) CreateReturns(result1 error)
func (*FakeManager) CreateReturnsOnCall ¶
func (fake *FakeManager) CreateReturnsOnCall(i int, result1 error)
func (*FakeManager) Delete ¶
func (fake *FakeManager) Delete(arg1 context.Context, arg2 role.Identifier) error
func (*FakeManager) DeleteArgsForCall ¶
func (fake *FakeManager) DeleteArgsForCall(i int) (context.Context, role.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 role.Identifier) (role.Complete, error)
func (*FakeManager) GetArgsForCall ¶
func (fake *FakeManager) GetArgsForCall(i int) (context.Context, role.Identifier)
func (*FakeManager) GetCallCount ¶
func (fake *FakeManager) GetCallCount() int
func (*FakeManager) GetReturns ¶
func (fake *FakeManager) GetReturns(result1 role.Complete, result2 error)
func (*FakeManager) GetReturnsOnCall ¶
func (fake *FakeManager) GetReturnsOnCall(i int, result1 role.Complete, result2 error)
func (*FakeManager) Invocations ¶
func (fake *FakeManager) Invocations() map[string][][]interface{}
func (*FakeManager) SetArgsForCall ¶
func (*FakeManager) SetCallCount ¶
func (fake *FakeManager) SetCallCount() int
func (*FakeManager) SetReturns ¶
func (fake *FakeManager) SetReturns(result1 error)
func (*FakeManager) SetReturnsOnCall ¶
func (fake *FakeManager) SetReturnsOnCall(i int, result1 error)
type FakeRepository ¶
type FakeRepository struct { GetStub func(context.Context, role.Identifier) (role.Complete, error) UpdateStub func(context.Context, role.Complete) error CreateStub func(context.Context, role.Complete) error DeleteStub func(context.Context, role.Identifier) error // contains filtered or unexported fields }
func (*FakeRepository) CreateArgsForCall ¶
func (*FakeRepository) CreateCallCount ¶
func (fake *FakeRepository) CreateCallCount() int
func (*FakeRepository) CreateReturns ¶
func (fake *FakeRepository) CreateReturns(result1 error)
func (*FakeRepository) CreateReturnsOnCall ¶
func (fake *FakeRepository) CreateReturnsOnCall(i int, result1 error)
func (*FakeRepository) Delete ¶
func (fake *FakeRepository) Delete(arg1 context.Context, arg2 role.Identifier) error
func (*FakeRepository) DeleteArgsForCall ¶
func (fake *FakeRepository) DeleteArgsForCall(i int) (context.Context, role.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 role.Identifier) (role.Complete, error)
func (*FakeRepository) GetArgsForCall ¶
func (fake *FakeRepository) GetArgsForCall(i int) (context.Context, role.Identifier)
func (*FakeRepository) GetCallCount ¶
func (fake *FakeRepository) GetCallCount() int
func (*FakeRepository) GetReturns ¶
func (fake *FakeRepository) GetReturns(result1 role.Complete, result2 error)
func (*FakeRepository) GetReturnsOnCall ¶
func (fake *FakeRepository) GetReturnsOnCall(i int, result1 role.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.