Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks provides mock implementations for testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExporter ¶
type MockExporter struct {
// contains filtered or unexported fields
}
MockExporter is a mock of Exporter interface.
func NewMockExporter ¶
func NewMockExporter(ctrl *gomock.Controller) *MockExporter
NewMockExporter creates a new mock instance.
func (*MockExporter) Close ¶
func (m *MockExporter) Close(ctx context.Context) error
Close mocks base method.
func (*MockExporter) EXPECT ¶
func (m *MockExporter) EXPECT() *MockExporterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExporter) Open ¶
func (m *MockExporter) Open(ctx context.Context) error
Open mocks base method.
func (*MockExporter) Write ¶
func (m *MockExporter) Write(ctx context.Context, entry client.AuditEntry) error
Write mocks base method.
type MockExporterMockRecorder ¶
type MockExporterMockRecorder struct {
// contains filtered or unexported fields
}
MockExporterMockRecorder is the mock recorder for MockExporter.
func (*MockExporterMockRecorder) Close ¶
func (mr *MockExporterMockRecorder) Close(ctx any) *gomock.Call
Close indicates an expected call of Close.
Click to show internal directories.
Click to hide internal directories.