Movatterモバイル変換


[0]ホーム

URL:


loggermock

package
v2.24.2Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2025 License:AGPL-3.0Imports:5Imported by:0

Details

Repository

github.com/coder/coder

Links

Documentation

Overview

Package loggermock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

typeMockRequestLogger

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

MockRequestLogger is a mock of RequestLogger interface.

funcNewMockRequestLogger

func NewMockRequestLogger(ctrl *gomock.Controller) *MockRequestLogger

NewMockRequestLogger creates a new mock instance.

func (*MockRequestLogger)EXPECT

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

func (*MockRequestLogger)WithAuthContext

func (m *MockRequestLogger) WithAuthContext(actorrbac.Subject)

WithAuthContext mocks base method.

func (*MockRequestLogger)WithFields

func (m *MockRequestLogger) WithFields(fields ...slog.Field)

WithFields mocks base method.

func (*MockRequestLogger)WriteLog

func (m *MockRequestLogger) WriteLog(ctxcontext.Context, statusint)

WriteLog mocks base method.

typeMockRequestLoggerMockRecorder

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

MockRequestLoggerMockRecorder is the mock recorder for MockRequestLogger.

func (*MockRequestLoggerMockRecorder)WithAuthContext

func (mr *MockRequestLoggerMockRecorder) WithAuthContext(actorany) *gomock.Call

WithAuthContext indicates an expected call of WithAuthContext.

func (*MockRequestLoggerMockRecorder)WithFields

func (mr *MockRequestLoggerMockRecorder) WithFields(fields ...any) *gomock.Call

WithFields indicates an expected call of WithFields.

func (*MockRequestLoggerMockRecorder)WriteLog

func (mr *MockRequestLoggerMockRecorder) WriteLog(ctx, statusany) *gomock.Call

WriteLog indicates an expected call of WriteLog.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp