Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeAuditor
- func (fake *FakeAuditor) Close() error
- func (fake *FakeAuditor) CloseCallCount() int
- func (fake *FakeAuditor) CloseCalls(stub func() error)
- func (fake *FakeAuditor) CloseReturns(result1 error)
- func (fake *FakeAuditor) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeAuditor) Invocations() map[string][][]interface{}
- func (fake *FakeAuditor) Log(arg1 context.Context, arg2 audit.LogRequest)
- func (fake *FakeAuditor) LogArgsForCall(i int) (context.Context, audit.LogRequest)
- func (fake *FakeAuditor) LogCallCount() int
- func (fake *FakeAuditor) LogCalls(stub func(context.Context, audit.LogRequest))
- func (fake *FakeAuditor) Recent(arg1 context.Context, arg2 audit.LookupRequest) ([]audit.Event, error)
- func (fake *FakeAuditor) RecentArgsForCall(i int) (context.Context, audit.LookupRequest)
- func (fake *FakeAuditor) RecentCallCount() int
- func (fake *FakeAuditor) RecentCalls(stub func(context.Context, audit.LookupRequest) ([]audit.Event, error))
- func (fake *FakeAuditor) RecentReturns(result1 []audit.Event, result2 error)
- func (fake *FakeAuditor) RecentReturnsOnCall(i int, result1 []audit.Event, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAuditor ¶
type FakeAuditor struct {
CloseStub func() error
LogStub func(context.Context, audit.LogRequest)
RecentStub func(context.Context, audit.LookupRequest) ([]audit.Event, error)
// contains filtered or unexported fields
}
func (*FakeAuditor) Close ¶
func (fake *FakeAuditor) Close() error
func (*FakeAuditor) CloseCallCount ¶
func (fake *FakeAuditor) CloseCallCount() int
func (*FakeAuditor) CloseCalls ¶
func (fake *FakeAuditor) CloseCalls(stub func() error)
func (*FakeAuditor) CloseReturns ¶
func (fake *FakeAuditor) CloseReturns(result1 error)
func (*FakeAuditor) CloseReturnsOnCall ¶
func (fake *FakeAuditor) CloseReturnsOnCall(i int, result1 error)
func (*FakeAuditor) Invocations ¶
func (fake *FakeAuditor) Invocations() map[string][][]interface{}
func (*FakeAuditor) Log ¶
func (fake *FakeAuditor) Log(arg1 context.Context, arg2 audit.LogRequest)
func (*FakeAuditor) LogArgsForCall ¶
func (fake *FakeAuditor) LogArgsForCall(i int) (context.Context, audit.LogRequest)
func (*FakeAuditor) LogCallCount ¶
func (fake *FakeAuditor) LogCallCount() int
func (*FakeAuditor) LogCalls ¶
func (fake *FakeAuditor) LogCalls(stub func(context.Context, audit.LogRequest))
func (*FakeAuditor) Recent ¶
func (fake *FakeAuditor) Recent(arg1 context.Context, arg2 audit.LookupRequest) ([]audit.Event, error)
func (*FakeAuditor) RecentArgsForCall ¶
func (fake *FakeAuditor) RecentArgsForCall(i int) (context.Context, audit.LookupRequest)
func (*FakeAuditor) RecentCallCount ¶
func (fake *FakeAuditor) RecentCallCount() int
func (*FakeAuditor) RecentCalls ¶
func (fake *FakeAuditor) RecentCalls(stub func(context.Context, audit.LookupRequest) ([]audit.Event, error))
func (*FakeAuditor) RecentReturns ¶
func (fake *FakeAuditor) RecentReturns(result1 []audit.Event, result2 error)
func (*FakeAuditor) RecentReturnsOnCall ¶
func (fake *FakeAuditor) RecentReturnsOnCall(i int, result1 []audit.Event, result2 error)
Click to show internal directories.
Click to hide internal directories.