Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeCredStore
- func (fake *FakeCredStore) AddPermission(arg1 string, arg2 string, arg3 []string) (*permissions.Permission, error)
- func (fake *FakeCredStore) AddPermissionArgsForCall(i int) (string, string, []string)
- func (fake *FakeCredStore) AddPermissionCallCount() int
- func (fake *FakeCredStore) AddPermissionCalls(stub func(string, string, []string) (*permissions.Permission, error))
- func (fake *FakeCredStore) AddPermissionReturns(result1 *permissions.Permission, result2 error)
- func (fake *FakeCredStore) AddPermissionReturnsOnCall(i int, result1 *permissions.Permission, result2 error)
- func (fake *FakeCredStore) Delete(arg1 string) error
- func (fake *FakeCredStore) DeleteArgsForCall(i int) string
- func (fake *FakeCredStore) DeleteCallCount() int
- func (fake *FakeCredStore) DeleteCalls(stub func(string) error)
- func (fake *FakeCredStore) DeletePermission(arg1 string) error
- func (fake *FakeCredStore) DeletePermissionArgsForCall(i int) string
- func (fake *FakeCredStore) DeletePermissionCallCount() int
- func (fake *FakeCredStore) DeletePermissionCalls(stub func(string) error)
- func (fake *FakeCredStore) DeletePermissionReturns(result1 error)
- func (fake *FakeCredStore) DeletePermissionReturnsOnCall(i int, result1 error)
- func (fake *FakeCredStore) DeleteReturns(result1 error)
- func (fake *FakeCredStore) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeCredStore) Get(arg1 string) (any, error)
- func (fake *FakeCredStore) GetArgsForCall(i int) string
- func (fake *FakeCredStore) GetCallCount() int
- func (fake *FakeCredStore) GetCalls(stub func(string) (any, error))
- func (fake *FakeCredStore) GetReturns(result1 any, result2 error)
- func (fake *FakeCredStore) GetReturnsOnCall(i int, result1 any, result2 error)
- func (fake *FakeCredStore) GetValue(arg1 string) (string, error)
- func (fake *FakeCredStore) GetValueArgsForCall(i int) string
- func (fake *FakeCredStore) GetValueCallCount() int
- func (fake *FakeCredStore) GetValueCalls(stub func(string) (string, error))
- func (fake *FakeCredStore) GetValueReturns(result1 string, result2 error)
- func (fake *FakeCredStore) GetValueReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeCredStore) Invocations() map[string][][]interface{}
- func (fake *FakeCredStore) Put(arg1 string, arg2 any) (any, error)
- func (fake *FakeCredStore) PutArgsForCall(i int) (string, any)
- func (fake *FakeCredStore) PutCallCount() int
- func (fake *FakeCredStore) PutCalls(stub func(string, any) (any, error))
- func (fake *FakeCredStore) PutReturns(result1 any, result2 error)
- func (fake *FakeCredStore) PutReturnsOnCall(i int, result1 any, result2 error)
- func (fake *FakeCredStore) PutValue(arg1 string, arg2 any) (any, error)
- func (fake *FakeCredStore) PutValueArgsForCall(i int) (string, any)
- func (fake *FakeCredStore) PutValueCallCount() int
- func (fake *FakeCredStore) PutValueCalls(stub func(string, any) (any, error))
- func (fake *FakeCredStore) PutValueReturns(result1 any, result2 error)
- func (fake *FakeCredStore) PutValueReturnsOnCall(i int, result1 any, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCredStore ¶
type FakeCredStore struct { AddPermissionStub func(string, string, []string) (*permissions.Permission, error) DeleteStub func(string) error DeletePermissionStub func(string) error GetStub func(string) (any, error) GetValueStub func(string) (string, error) PutStub func(string, any) (any, error) PutValueStub func(string, any) (any, error) // contains filtered or unexported fields }
func (*FakeCredStore) AddPermission ¶
func (fake *FakeCredStore) AddPermission(arg1 string, arg2 string, arg3 []string) (*permissions.Permission, error)
func (*FakeCredStore) AddPermissionArgsForCall ¶
func (fake *FakeCredStore) AddPermissionArgsForCall(i int) (string, string, []string)
func (*FakeCredStore) AddPermissionCallCount ¶
func (fake *FakeCredStore) AddPermissionCallCount() int
func (*FakeCredStore) AddPermissionCalls ¶
func (fake *FakeCredStore) AddPermissionCalls(stub func(string, string, []string) (*permissions.Permission, error))
func (*FakeCredStore) AddPermissionReturns ¶
func (fake *FakeCredStore) AddPermissionReturns(result1 *permissions.Permission, result2 error)
func (*FakeCredStore) AddPermissionReturnsOnCall ¶
func (fake *FakeCredStore) AddPermissionReturnsOnCall(i int, result1 *permissions.Permission, result2 error)
func (*FakeCredStore) Delete ¶
func (fake *FakeCredStore) Delete(arg1 string) error
func (*FakeCredStore) DeleteArgsForCall ¶
func (fake *FakeCredStore) DeleteArgsForCall(i int) string
func (*FakeCredStore) DeleteCallCount ¶
func (fake *FakeCredStore) DeleteCallCount() int
func (*FakeCredStore) DeleteCalls ¶
func (fake *FakeCredStore) DeleteCalls(stub func(string) error)
func (*FakeCredStore) DeletePermission ¶
func (fake *FakeCredStore) DeletePermission(arg1 string) error
func (*FakeCredStore) DeletePermissionArgsForCall ¶
func (fake *FakeCredStore) DeletePermissionArgsForCall(i int) string
func (*FakeCredStore) DeletePermissionCallCount ¶
func (fake *FakeCredStore) DeletePermissionCallCount() int
func (*FakeCredStore) DeletePermissionCalls ¶
func (fake *FakeCredStore) DeletePermissionCalls(stub func(string) error)
func (*FakeCredStore) DeletePermissionReturns ¶
func (fake *FakeCredStore) DeletePermissionReturns(result1 error)
func (*FakeCredStore) DeletePermissionReturnsOnCall ¶
func (fake *FakeCredStore) DeletePermissionReturnsOnCall(i int, result1 error)
func (*FakeCredStore) DeleteReturns ¶
func (fake *FakeCredStore) DeleteReturns(result1 error)
func (*FakeCredStore) DeleteReturnsOnCall ¶
func (fake *FakeCredStore) DeleteReturnsOnCall(i int, result1 error)
func (*FakeCredStore) GetArgsForCall ¶
func (fake *FakeCredStore) GetArgsForCall(i int) string
func (*FakeCredStore) GetCallCount ¶
func (fake *FakeCredStore) GetCallCount() int
func (*FakeCredStore) GetCalls ¶
func (fake *FakeCredStore) GetCalls(stub func(string) (any, error))
func (*FakeCredStore) GetReturns ¶
func (fake *FakeCredStore) GetReturns(result1 any, result2 error)
func (*FakeCredStore) GetReturnsOnCall ¶
func (fake *FakeCredStore) GetReturnsOnCall(i int, result1 any, result2 error)
func (*FakeCredStore) GetValueArgsForCall ¶
func (fake *FakeCredStore) GetValueArgsForCall(i int) string
func (*FakeCredStore) GetValueCallCount ¶
func (fake *FakeCredStore) GetValueCallCount() int
func (*FakeCredStore) GetValueCalls ¶
func (fake *FakeCredStore) GetValueCalls(stub func(string) (string, error))
func (*FakeCredStore) GetValueReturns ¶
func (fake *FakeCredStore) GetValueReturns(result1 string, result2 error)
func (*FakeCredStore) GetValueReturnsOnCall ¶
func (fake *FakeCredStore) GetValueReturnsOnCall(i int, result1 string, result2 error)
func (*FakeCredStore) Invocations ¶
func (fake *FakeCredStore) Invocations() map[string][][]interface{}
func (*FakeCredStore) PutArgsForCall ¶
func (fake *FakeCredStore) PutArgsForCall(i int) (string, any)
func (*FakeCredStore) PutCallCount ¶
func (fake *FakeCredStore) PutCallCount() int
func (*FakeCredStore) PutCalls ¶
func (fake *FakeCredStore) PutCalls(stub func(string, any) (any, error))
func (*FakeCredStore) PutReturns ¶
func (fake *FakeCredStore) PutReturns(result1 any, result2 error)
func (*FakeCredStore) PutReturnsOnCall ¶
func (fake *FakeCredStore) PutReturnsOnCall(i int, result1 any, result2 error)
func (*FakeCredStore) PutValue ¶
func (fake *FakeCredStore) PutValue(arg1 string, arg2 any) (any, error)
func (*FakeCredStore) PutValueArgsForCall ¶
func (fake *FakeCredStore) PutValueArgsForCall(i int) (string, any)
func (*FakeCredStore) PutValueCallCount ¶
func (fake *FakeCredStore) PutValueCallCount() int
func (*FakeCredStore) PutValueCalls ¶
func (fake *FakeCredStore) PutValueCalls(stub func(string, any) (any, error))
func (*FakeCredStore) PutValueReturns ¶
func (fake *FakeCredStore) PutValueReturns(result1 any, result2 error)
func (*FakeCredStore) PutValueReturnsOnCall ¶
func (fake *FakeCredStore) PutValueReturnsOnCall(i int, result1 any, result2 error)
Click to show internal directories.
Click to hide internal directories.