logs_mock

package
v0.0.0-...-aef6525 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package logs_mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAuditLog

type MockAuditLog struct {
	// contains filtered or unexported fields
}

MockAuditLog is a mock of AuditLog interface

func NewMockAuditLog

func NewMockAuditLog(ctrl *gomock.Controller) *MockAuditLog

NewMockAuditLog creates a new mock instance

func (*MockAuditLog) Add

func (m *MockAuditLog) Add(ctx context.Context, action string) error

Add mocks base method

func (*MockAuditLog) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAuditLog) GetLogsBetweenInterval

func (m *MockAuditLog) GetLogsBetweenInterval(ctx context.Context, start, end time.Time, userID string) ([]*go_audit_log.Log, error)

GetLogsBetweenInterval mocks base method

func (*MockAuditLog) GetLogsOfUser

func (m *MockAuditLog) GetLogsOfUser(ctx context.Context, userID string) ([]*go_audit_log.Log, error)

GetLogsOfUser mocks base method

type MockAuditLogMockRecorder

type MockAuditLogMockRecorder struct {
	// contains filtered or unexported fields
}

MockAuditLogMockRecorder is the mock recorder for MockAuditLog

func (*MockAuditLogMockRecorder) Add

func (mr *MockAuditLogMockRecorder) Add(ctx, action interface{}) *gomock.Call

Add indicates an expected call of Add

func (*MockAuditLogMockRecorder) GetLogsBetweenInterval

func (mr *MockAuditLogMockRecorder) GetLogsBetweenInterval(ctx, start, end, userID interface{}) *gomock.Call

GetLogsBetweenInterval indicates an expected call of GetLogsBetweenInterval

func (*MockAuditLogMockRecorder) GetLogsOfUser

func (mr *MockAuditLogMockRecorder) GetLogsOfUser(ctx, userID interface{}) *gomock.Call

GetLogsOfUser indicates an expected call of GetLogsOfUser

Jump to

Keyboard shortcuts

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