auditfakes

package
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL