Help us shape the future of Go! Take the 2026 Go Developer Survey

klog

package
v0.16.4 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package klog is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockControl

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

MockControl is a mock of Control interface.

func NewMockControl

func NewMockControl(ctrl *gomock.Controller) *MockControl

NewMockControl creates a new mock instance.

func (*MockControl) EXPECT

func (m *MockControl) EXPECT() *MockControlMockRecorder

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

func (*MockControl) SetLevel

func (m *MockControl) SetLevel(arg0 klog.Level)

SetLevel mocks base method.

func (*MockControl) SetOutput

func (m *MockControl) SetOutput(arg0 io.Writer)

SetOutput mocks base method.

type MockControlMockRecorder

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

MockControlMockRecorder is the mock recorder for MockControl.

func (*MockControlMockRecorder) SetLevel

func (mr *MockControlMockRecorder) SetLevel(arg0 interface{}) *gomock.Call

SetLevel indicates an expected call of SetLevel.

func (*MockControlMockRecorder) SetOutput

func (mr *MockControlMockRecorder) SetOutput(arg0 interface{}) *gomock.Call

SetOutput indicates an expected call of SetOutput.

type MockCtxLogger

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

MockCtxLogger is a mock of CtxLogger interface.

func NewMockCtxLogger

func NewMockCtxLogger(ctrl *gomock.Controller) *MockCtxLogger

NewMockCtxLogger creates a new mock instance.

func (*MockCtxLogger) CtxDebugf

func (m *MockCtxLogger) CtxDebugf(ctx context.Context, format string, v ...interface{})

CtxDebugf mocks base method.

func (*MockCtxLogger) CtxErrorf

func (m *MockCtxLogger) CtxErrorf(ctx context.Context, format string, v ...interface{})

CtxErrorf mocks base method.

func (*MockCtxLogger) CtxFatalf

func (m *MockCtxLogger) CtxFatalf(ctx context.Context, format string, v ...interface{})

CtxFatalf mocks base method.

func (*MockCtxLogger) CtxInfof

func (m *MockCtxLogger) CtxInfof(ctx context.Context, format string, v ...interface{})

CtxInfof mocks base method.

func (*MockCtxLogger) CtxNoticef

func (m *MockCtxLogger) CtxNoticef(ctx context.Context, format string, v ...interface{})

CtxNoticef mocks base method.

func (*MockCtxLogger) CtxTracef

func (m *MockCtxLogger) CtxTracef(ctx context.Context, format string, v ...interface{})

CtxTracef mocks base method.

func (*MockCtxLogger) CtxWarnf

func (m *MockCtxLogger) CtxWarnf(ctx context.Context, format string, v ...interface{})

CtxWarnf mocks base method.

func (*MockCtxLogger) EXPECT

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

type MockCtxLoggerMockRecorder

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

MockCtxLoggerMockRecorder is the mock recorder for MockCtxLogger.

func (*MockCtxLoggerMockRecorder) CtxDebugf

func (mr *MockCtxLoggerMockRecorder) CtxDebugf(ctx, format interface{}, v ...interface{}) *gomock.Call

CtxDebugf indicates an expected call of CtxDebugf.

func (*MockCtxLoggerMockRecorder) CtxErrorf

func (mr *MockCtxLoggerMockRecorder) CtxErrorf(ctx, format interface{}, v ...interface{}) *gomock.Call

CtxErrorf indicates an expected call of CtxErrorf.

func (*MockCtxLoggerMockRecorder) CtxFatalf

func (mr *MockCtxLoggerMockRecorder) CtxFatalf(ctx, format interface{}, v ...interface{}) *gomock.Call

CtxFatalf indicates an expected call of CtxFatalf.

func (*MockCtxLoggerMockRecorder) CtxInfof

func (mr *MockCtxLoggerMockRecorder) CtxInfof(ctx, format interface{}, v ...interface{}) *gomock.Call

CtxInfof indicates an expected call of CtxInfof.

func (*MockCtxLoggerMockRecorder) CtxNoticef

func (mr *MockCtxLoggerMockRecorder) CtxNoticef(ctx, format interface{}, v ...interface{}) *gomock.Call

CtxNoticef indicates an expected call of CtxNoticef.

func (*MockCtxLoggerMockRecorder) CtxTracef

func (mr *MockCtxLoggerMockRecorder) CtxTracef(ctx, format interface{}, v ...interface{}) *gomock.Call

CtxTracef indicates an expected call of CtxTracef.

func (*MockCtxLoggerMockRecorder) CtxWarnf

func (mr *MockCtxLoggerMockRecorder) CtxWarnf(ctx, format interface{}, v ...interface{}) *gomock.Call

CtxWarnf indicates an expected call of CtxWarnf.

type MockFormatLogger

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

MockFormatLogger is a mock of FormatLogger interface.

func NewMockFormatLogger

func NewMockFormatLogger(ctrl *gomock.Controller) *MockFormatLogger

NewMockFormatLogger creates a new mock instance.

func (*MockFormatLogger) Debugf

func (m *MockFormatLogger) Debugf(format string, v ...interface{})

Debugf mocks base method.

func (*MockFormatLogger) EXPECT

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

func (*MockFormatLogger) Errorf

func (m *MockFormatLogger) Errorf(format string, v ...interface{})

Errorf mocks base method.

func (*MockFormatLogger) Fatalf

func (m *MockFormatLogger) Fatalf(format string, v ...interface{})

Fatalf mocks base method.

func (*MockFormatLogger) Infof

func (m *MockFormatLogger) Infof(format string, v ...interface{})

Infof mocks base method.

func (*MockFormatLogger) Noticef

func (m *MockFormatLogger) Noticef(format string, v ...interface{})

Noticef mocks base method.

func (*MockFormatLogger) Tracef

func (m *MockFormatLogger) Tracef(format string, v ...interface{})

Tracef mocks base method.

func (*MockFormatLogger) Warnf

func (m *MockFormatLogger) Warnf(format string, v ...interface{})

Warnf mocks base method.

type MockFormatLoggerMockRecorder

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

MockFormatLoggerMockRecorder is the mock recorder for MockFormatLogger.

func (*MockFormatLoggerMockRecorder) Debugf

func (mr *MockFormatLoggerMockRecorder) Debugf(format interface{}, v ...interface{}) *gomock.Call

Debugf indicates an expected call of Debugf.

func (*MockFormatLoggerMockRecorder) Errorf

func (mr *MockFormatLoggerMockRecorder) Errorf(format interface{}, v ...interface{}) *gomock.Call

Errorf indicates an expected call of Errorf.

func (*MockFormatLoggerMockRecorder) Fatalf

func (mr *MockFormatLoggerMockRecorder) Fatalf(format interface{}, v ...interface{}) *gomock.Call

Fatalf indicates an expected call of Fatalf.

func (*MockFormatLoggerMockRecorder) Infof

func (mr *MockFormatLoggerMockRecorder) Infof(format interface{}, v ...interface{}) *gomock.Call

Infof indicates an expected call of Infof.

func (*MockFormatLoggerMockRecorder) Noticef

func (mr *MockFormatLoggerMockRecorder) Noticef(format interface{}, v ...interface{}) *gomock.Call

Noticef indicates an expected call of Noticef.

func (*MockFormatLoggerMockRecorder) Tracef

func (mr *MockFormatLoggerMockRecorder) Tracef(format interface{}, v ...interface{}) *gomock.Call

Tracef indicates an expected call of Tracef.

func (*MockFormatLoggerMockRecorder) Warnf

func (mr *MockFormatLoggerMockRecorder) Warnf(format interface{}, v ...interface{}) *gomock.Call

Warnf indicates an expected call of Warnf.

type MockFullLogger

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

MockFullLogger is a mock of FullLogger interface.

func NewMockFullLogger

func NewMockFullLogger(ctrl *gomock.Controller) *MockFullLogger

NewMockFullLogger creates a new mock instance.

func (*MockFullLogger) CtxDebugf

func (m *MockFullLogger) CtxDebugf(ctx context.Context, format string, v ...interface{})

CtxDebugf mocks base method.

func (*MockFullLogger) CtxErrorf

func (m *MockFullLogger) CtxErrorf(ctx context.Context, format string, v ...interface{})

CtxErrorf mocks base method.

func (*MockFullLogger) CtxFatalf

func (m *MockFullLogger) CtxFatalf(ctx context.Context, format string, v ...interface{})

CtxFatalf mocks base method.

func (*MockFullLogger) CtxInfof

func (m *MockFullLogger) CtxInfof(ctx context.Context, format string, v ...interface{})

CtxInfof mocks base method.

func (*MockFullLogger) CtxNoticef

func (m *MockFullLogger) CtxNoticef(ctx context.Context, format string, v ...interface{})

CtxNoticef mocks base method.

func (*MockFullLogger) CtxTracef

func (m *MockFullLogger) CtxTracef(ctx context.Context, format string, v ...interface{})

CtxTracef mocks base method.

func (*MockFullLogger) CtxWarnf

func (m *MockFullLogger) CtxWarnf(ctx context.Context, format string, v ...interface{})

CtxWarnf mocks base method.

func (*MockFullLogger) Debug

func (m *MockFullLogger) Debug(v ...interface{})

Debug mocks base method.

func (*MockFullLogger) Debugf

func (m *MockFullLogger) Debugf(format string, v ...interface{})

Debugf mocks base method.

func (*MockFullLogger) EXPECT

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

func (*MockFullLogger) Error

func (m *MockFullLogger) Error(v ...interface{})

Error mocks base method.

func (*MockFullLogger) Errorf

func (m *MockFullLogger) Errorf(format string, v ...interface{})

Errorf mocks base method.

func (*MockFullLogger) Fatal

func (m *MockFullLogger) Fatal(v ...interface{})

Fatal mocks base method.

func (*MockFullLogger) Fatalf

func (m *MockFullLogger) Fatalf(format string, v ...interface{})

Fatalf mocks base method.

func (*MockFullLogger) Info

func (m *MockFullLogger) Info(v ...interface{})

Info mocks base method.

func (*MockFullLogger) Infof

func (m *MockFullLogger) Infof(format string, v ...interface{})

Infof mocks base method.

func (*MockFullLogger) Notice

func (m *MockFullLogger) Notice(v ...interface{})

Notice mocks base method.

func (*MockFullLogger) Noticef

func (m *MockFullLogger) Noticef(format string, v ...interface{})

Noticef mocks base method.

func (*MockFullLogger) SetLevel

func (m *MockFullLogger) SetLevel(arg0 klog.Level)

SetLevel mocks base method.

func (*MockFullLogger) SetOutput

func (m *MockFullLogger) SetOutput(arg0 io.Writer)

SetOutput mocks base method.

func (*MockFullLogger) Trace

func (m *MockFullLogger) Trace(v ...interface{})

Trace mocks base method.

func (*MockFullLogger) Tracef

func (m *MockFullLogger) Tracef(format string, v ...interface{})

Tracef mocks base method.

func (*MockFullLogger) Warn

func (m *MockFullLogger) Warn(v ...interface{})

Warn mocks base method.

func (*MockFullLogger) Warnf

func (m *MockFullLogger) Warnf(format string, v ...interface{})

Warnf mocks base method.

type MockFullLoggerMockRecorder

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

MockFullLoggerMockRecorder is the mock recorder for MockFullLogger.

func (*MockFullLoggerMockRecorder) CtxDebugf

func (mr *MockFullLoggerMockRecorder) CtxDebugf(ctx, format interface{}, v ...interface{}) *gomock.Call

CtxDebugf indicates an expected call of CtxDebugf.

func (*MockFullLoggerMockRecorder) CtxErrorf

func (mr *MockFullLoggerMockRecorder) CtxErrorf(ctx, format interface{}, v ...interface{}) *gomock.Call

CtxErrorf indicates an expected call of CtxErrorf.

func (*MockFullLoggerMockRecorder) CtxFatalf

func (mr *MockFullLoggerMockRecorder) CtxFatalf(ctx, format interface{}, v ...interface{}) *gomock.Call

CtxFatalf indicates an expected call of CtxFatalf.

func (*MockFullLoggerMockRecorder) CtxInfof

func (mr *MockFullLoggerMockRecorder) CtxInfof(ctx, format interface{}, v ...interface{}) *gomock.Call

CtxInfof indicates an expected call of CtxInfof.

func (*MockFullLoggerMockRecorder) CtxNoticef

func (mr *MockFullLoggerMockRecorder) CtxNoticef(ctx, format interface{}, v ...interface{}) *gomock.Call

CtxNoticef indicates an expected call of CtxNoticef.

func (*MockFullLoggerMockRecorder) CtxTracef

func (mr *MockFullLoggerMockRecorder) CtxTracef(ctx, format interface{}, v ...interface{}) *gomock.Call

CtxTracef indicates an expected call of CtxTracef.

func (*MockFullLoggerMockRecorder) CtxWarnf

func (mr *MockFullLoggerMockRecorder) CtxWarnf(ctx, format interface{}, v ...interface{}) *gomock.Call

CtxWarnf indicates an expected call of CtxWarnf.

func (*MockFullLoggerMockRecorder) Debug

func (mr *MockFullLoggerMockRecorder) Debug(v ...interface{}) *gomock.Call

Debug indicates an expected call of Debug.

func (*MockFullLoggerMockRecorder) Debugf

func (mr *MockFullLoggerMockRecorder) Debugf(format interface{}, v ...interface{}) *gomock.Call

Debugf indicates an expected call of Debugf.

func (*MockFullLoggerMockRecorder) Error

func (mr *MockFullLoggerMockRecorder) Error(v ...interface{}) *gomock.Call

Error indicates an expected call of Error.

func (*MockFullLoggerMockRecorder) Errorf

func (mr *MockFullLoggerMockRecorder) Errorf(format interface{}, v ...interface{}) *gomock.Call

Errorf indicates an expected call of Errorf.

func (*MockFullLoggerMockRecorder) Fatal

func (mr *MockFullLoggerMockRecorder) Fatal(v ...interface{}) *gomock.Call

Fatal indicates an expected call of Fatal.

func (*MockFullLoggerMockRecorder) Fatalf

func (mr *MockFullLoggerMockRecorder) Fatalf(format interface{}, v ...interface{}) *gomock.Call

Fatalf indicates an expected call of Fatalf.

func (*MockFullLoggerMockRecorder) Info

func (mr *MockFullLoggerMockRecorder) Info(v ...interface{}) *gomock.Call

Info indicates an expected call of Info.

func (*MockFullLoggerMockRecorder) Infof

func (mr *MockFullLoggerMockRecorder) Infof(format interface{}, v ...interface{}) *gomock.Call

Infof indicates an expected call of Infof.

func (*MockFullLoggerMockRecorder) Notice

func (mr *MockFullLoggerMockRecorder) Notice(v ...interface{}) *gomock.Call

Notice indicates an expected call of Notice.

func (*MockFullLoggerMockRecorder) Noticef

func (mr *MockFullLoggerMockRecorder) Noticef(format interface{}, v ...interface{}) *gomock.Call

Noticef indicates an expected call of Noticef.

func (*MockFullLoggerMockRecorder) SetLevel

func (mr *MockFullLoggerMockRecorder) SetLevel(arg0 interface{}) *gomock.Call

SetLevel indicates an expected call of SetLevel.

func (*MockFullLoggerMockRecorder) SetOutput

func (mr *MockFullLoggerMockRecorder) SetOutput(arg0 interface{}) *gomock.Call

SetOutput indicates an expected call of SetOutput.

func (*MockFullLoggerMockRecorder) Trace

func (mr *MockFullLoggerMockRecorder) Trace(v ...interface{}) *gomock.Call

Trace indicates an expected call of Trace.

func (*MockFullLoggerMockRecorder) Tracef

func (mr *MockFullLoggerMockRecorder) Tracef(format interface{}, v ...interface{}) *gomock.Call

Tracef indicates an expected call of Tracef.

func (*MockFullLoggerMockRecorder) Warn

func (mr *MockFullLoggerMockRecorder) Warn(v ...interface{}) *gomock.Call

Warn indicates an expected call of Warn.

func (*MockFullLoggerMockRecorder) Warnf

func (mr *MockFullLoggerMockRecorder) Warnf(format interface{}, v ...interface{}) *gomock.Call

Warnf indicates an expected call of Warnf.

type MockLogger

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

MockLogger is a mock of Logger interface.

func NewMockLogger

func NewMockLogger(ctrl *gomock.Controller) *MockLogger

NewMockLogger creates a new mock instance.

func (*MockLogger) Debug

func (m *MockLogger) Debug(v ...interface{})

Debug mocks base method.

func (*MockLogger) EXPECT

func (m *MockLogger) EXPECT() *MockLoggerMockRecorder

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

func (*MockLogger) Error

func (m *MockLogger) Error(v ...interface{})

Error mocks base method.

func (*MockLogger) Fatal

func (m *MockLogger) Fatal(v ...interface{})

Fatal mocks base method.

func (*MockLogger) Info

func (m *MockLogger) Info(v ...interface{})

Info mocks base method.

func (*MockLogger) Notice

func (m *MockLogger) Notice(v ...interface{})

Notice mocks base method.

func (*MockLogger) Trace

func (m *MockLogger) Trace(v ...interface{})

Trace mocks base method.

func (*MockLogger) Warn

func (m *MockLogger) Warn(v ...interface{})

Warn mocks base method.

type MockLoggerMockRecorder

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

MockLoggerMockRecorder is the mock recorder for MockLogger.

func (*MockLoggerMockRecorder) Debug

func (mr *MockLoggerMockRecorder) Debug(v ...interface{}) *gomock.Call

Debug indicates an expected call of Debug.

func (*MockLoggerMockRecorder) Error

func (mr *MockLoggerMockRecorder) Error(v ...interface{}) *gomock.Call

Error indicates an expected call of Error.

func (*MockLoggerMockRecorder) Fatal

func (mr *MockLoggerMockRecorder) Fatal(v ...interface{}) *gomock.Call

Fatal indicates an expected call of Fatal.

func (*MockLoggerMockRecorder) Info

func (mr *MockLoggerMockRecorder) Info(v ...interface{}) *gomock.Call

Info indicates an expected call of Info.

func (*MockLoggerMockRecorder) Notice

func (mr *MockLoggerMockRecorder) Notice(v ...interface{}) *gomock.Call

Notice indicates an expected call of Notice.

func (*MockLoggerMockRecorder) Trace

func (mr *MockLoggerMockRecorder) Trace(v ...interface{}) *gomock.Call

Trace indicates an expected call of Trace.

func (*MockLoggerMockRecorder) Warn

func (mr *MockLoggerMockRecorder) Warn(v ...interface{}) *gomock.Call

Warn indicates an expected call of Warn.

Jump to

Keyboard shortcuts

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