Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeGuard
- func (fake *FakeGuard) Invocations() map[string][][]interface{}
- func (fake *FakeGuard) PostCheck(arg1 context.Context, arg2 halguard.PostCheckRequest) (halguard.VerificationResult, error)
- func (fake *FakeGuard) PostCheckArgsForCall(i int) (context.Context, halguard.PostCheckRequest)
- func (fake *FakeGuard) PostCheckCallCount() int
- func (fake *FakeGuard) PostCheckCalls(...)
- func (fake *FakeGuard) PostCheckReturns(result1 halguard.VerificationResult, result2 error)
- func (fake *FakeGuard) PostCheckReturnsOnCall(i int, result1 halguard.VerificationResult, result2 error)
- func (fake *FakeGuard) PreCheck(arg1 context.Context, arg2 halguard.PreCheckRequest) (halguard.PreCheckResult, error)
- func (fake *FakeGuard) PreCheckArgsForCall(i int) (context.Context, halguard.PreCheckRequest)
- func (fake *FakeGuard) PreCheckCallCount() int
- func (fake *FakeGuard) PreCheckCalls(...)
- func (fake *FakeGuard) PreCheckReturns(result1 halguard.PreCheckResult, result2 error)
- func (fake *FakeGuard) PreCheckReturnsOnCall(i int, result1 halguard.PreCheckResult, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeGuard ¶
type FakeGuard struct {
PostCheckStub func(context.Context, halguard.PostCheckRequest) (halguard.VerificationResult, error)
PreCheckStub func(context.Context, halguard.PreCheckRequest) (halguard.PreCheckResult, error)
// contains filtered or unexported fields
}
func (*FakeGuard) Invocations ¶
func (*FakeGuard) PostCheck ¶
func (fake *FakeGuard) PostCheck(arg1 context.Context, arg2 halguard.PostCheckRequest) (halguard.VerificationResult, error)
func (*FakeGuard) PostCheckArgsForCall ¶
func (*FakeGuard) PostCheckCallCount ¶
func (*FakeGuard) PostCheckCalls ¶
func (fake *FakeGuard) PostCheckCalls(stub func(context.Context, halguard.PostCheckRequest) (halguard.VerificationResult, error))
func (*FakeGuard) PostCheckReturns ¶
func (fake *FakeGuard) PostCheckReturns(result1 halguard.VerificationResult, result2 error)
func (*FakeGuard) PostCheckReturnsOnCall ¶
func (fake *FakeGuard) PostCheckReturnsOnCall(i int, result1 halguard.VerificationResult, result2 error)
func (*FakeGuard) PreCheck ¶
func (fake *FakeGuard) PreCheck(arg1 context.Context, arg2 halguard.PreCheckRequest) (halguard.PreCheckResult, error)
func (*FakeGuard) PreCheckArgsForCall ¶
func (*FakeGuard) PreCheckCallCount ¶
func (*FakeGuard) PreCheckCalls ¶
func (fake *FakeGuard) PreCheckCalls(stub func(context.Context, halguard.PreCheckRequest) (halguard.PreCheckResult, error))
func (*FakeGuard) PreCheckReturns ¶
func (fake *FakeGuard) PreCheckReturns(result1 halguard.PreCheckResult, result2 error)
func (*FakeGuard) PreCheckReturnsOnCall ¶
func (fake *FakeGuard) PreCheckReturnsOnCall(i int, result1 halguard.PreCheckResult, result2 error)
Click to show internal directories.
Click to hide internal directories.