Documentation ¶
Index ¶
- type MockSimpleLogging
- func (mock *MockSimpleLogging) Debug(format string, a ...interface{})
- func (mock *MockSimpleLogging) Err(format string, a ...interface{})
- func (mock *MockSimpleLogging) FailHandler() pegomock.FailHandler
- func (mock *MockSimpleLogging) GetLevel() logging.LogLevel
- func (mock *MockSimpleLogging) Info(format string, a ...interface{})
- func (mock *MockSimpleLogging) Log(level logging.LogLevel, format string, a ...interface{})
- func (mock *MockSimpleLogging) NewLogger(_param0 string, _param1 bool, _param2 logging.LogLevel) *logging.SimpleLogger
- func (mock *MockSimpleLogging) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockSimpleLogging) Underlying() *log.Logger
- func (mock *MockSimpleLogging) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockSimpleLogging
- func (mock *MockSimpleLogging) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockSimpleLogging
- func (mock *MockSimpleLogging) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierMockSimpleLogging
- func (mock *MockSimpleLogging) VerifyWasCalledOnce() *VerifierMockSimpleLogging
- func (mock *MockSimpleLogging) Warn(format string, a ...interface{})
- type MockSimpleLogging_Debug_OngoingVerification
- type MockSimpleLogging_Err_OngoingVerification
- type MockSimpleLogging_GetLevel_OngoingVerification
- type MockSimpleLogging_Info_OngoingVerification
- type MockSimpleLogging_Log_OngoingVerification
- type MockSimpleLogging_NewLogger_OngoingVerification
- type MockSimpleLogging_Underlying_OngoingVerification
- type MockSimpleLogging_Warn_OngoingVerification
- type VerifierMockSimpleLogging
- func (verifier *VerifierMockSimpleLogging) Debug(format string, a ...interface{}) *MockSimpleLogging_Debug_OngoingVerification
- func (verifier *VerifierMockSimpleLogging) Err(format string, a ...interface{}) *MockSimpleLogging_Err_OngoingVerification
- func (verifier *VerifierMockSimpleLogging) GetLevel() *MockSimpleLogging_GetLevel_OngoingVerification
- func (verifier *VerifierMockSimpleLogging) Info(format string, a ...interface{}) *MockSimpleLogging_Info_OngoingVerification
- func (verifier *VerifierMockSimpleLogging) Log(level logging.LogLevel, format string, a ...interface{}) *MockSimpleLogging_Log_OngoingVerification
- func (verifier *VerifierMockSimpleLogging) NewLogger(_param0 string, _param1 bool, _param2 logging.LogLevel) *MockSimpleLogging_NewLogger_OngoingVerification
- func (verifier *VerifierMockSimpleLogging) Underlying() *MockSimpleLogging_Underlying_OngoingVerification
- func (verifier *VerifierMockSimpleLogging) Warn(format string, a ...interface{}) *MockSimpleLogging_Warn_OngoingVerification
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSimpleLogging ¶
type MockSimpleLogging struct {
// contains filtered or unexported fields
}
func NewMockSimpleLogging ¶
func NewMockSimpleLogging(options ...pegomock.Option) *MockSimpleLogging
func (*MockSimpleLogging) Debug ¶
func (mock *MockSimpleLogging) Debug(format string, a ...interface{})
func (*MockSimpleLogging) Err ¶
func (mock *MockSimpleLogging) Err(format string, a ...interface{})
func (*MockSimpleLogging) FailHandler ¶ added in v0.6.0
func (mock *MockSimpleLogging) FailHandler() pegomock.FailHandler
func (*MockSimpleLogging) GetLevel ¶
func (mock *MockSimpleLogging) GetLevel() logging.LogLevel
func (*MockSimpleLogging) Info ¶
func (mock *MockSimpleLogging) Info(format string, a ...interface{})
func (*MockSimpleLogging) Log ¶
func (mock *MockSimpleLogging) Log(level logging.LogLevel, format string, a ...interface{})
func (*MockSimpleLogging) NewLogger ¶ added in v0.4.13
func (mock *MockSimpleLogging) NewLogger(_param0 string, _param1 bool, _param2 logging.LogLevel) *logging.SimpleLogger
func (*MockSimpleLogging) SetFailHandler ¶ added in v0.6.0
func (mock *MockSimpleLogging) SetFailHandler(fh pegomock.FailHandler)
func (*MockSimpleLogging) Underlying ¶
func (mock *MockSimpleLogging) Underlying() *log.Logger
func (*MockSimpleLogging) VerifyWasCalled ¶
func (mock *MockSimpleLogging) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockSimpleLogging
func (*MockSimpleLogging) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockSimpleLogging) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockSimpleLogging
func (*MockSimpleLogging) VerifyWasCalledInOrder ¶
func (mock *MockSimpleLogging) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierMockSimpleLogging
func (*MockSimpleLogging) VerifyWasCalledOnce ¶
func (mock *MockSimpleLogging) VerifyWasCalledOnce() *VerifierMockSimpleLogging
func (*MockSimpleLogging) Warn ¶
func (mock *MockSimpleLogging) Warn(format string, a ...interface{})
type MockSimpleLogging_Debug_OngoingVerification ¶ added in v0.8.3
type MockSimpleLogging_Debug_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockSimpleLogging_Debug_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockSimpleLogging_Debug_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 [][]interface{})
func (*MockSimpleLogging_Debug_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockSimpleLogging_Debug_OngoingVerification) GetCapturedArguments() (string, []interface{})
type MockSimpleLogging_Err_OngoingVerification ¶ added in v0.8.3
type MockSimpleLogging_Err_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockSimpleLogging_Err_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockSimpleLogging_Err_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 [][]interface{})
func (*MockSimpleLogging_Err_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockSimpleLogging_Err_OngoingVerification) GetCapturedArguments() (string, []interface{})
type MockSimpleLogging_GetLevel_OngoingVerification ¶ added in v0.8.3
type MockSimpleLogging_GetLevel_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockSimpleLogging_GetLevel_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockSimpleLogging_GetLevel_OngoingVerification) GetAllCapturedArguments()
func (*MockSimpleLogging_GetLevel_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockSimpleLogging_GetLevel_OngoingVerification) GetCapturedArguments()
type MockSimpleLogging_Info_OngoingVerification ¶ added in v0.8.3
type MockSimpleLogging_Info_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockSimpleLogging_Info_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockSimpleLogging_Info_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 [][]interface{})
func (*MockSimpleLogging_Info_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockSimpleLogging_Info_OngoingVerification) GetCapturedArguments() (string, []interface{})
type MockSimpleLogging_Log_OngoingVerification ¶ added in v0.8.3
type MockSimpleLogging_Log_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockSimpleLogging_Log_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockSimpleLogging_Log_OngoingVerification) GetAllCapturedArguments() (_param0 []logging.LogLevel, _param1 []string, _param2 [][]interface{})
func (*MockSimpleLogging_Log_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockSimpleLogging_Log_OngoingVerification) GetCapturedArguments() (logging.LogLevel, string, []interface{})
type MockSimpleLogging_NewLogger_OngoingVerification ¶ added in v0.8.3
type MockSimpleLogging_NewLogger_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockSimpleLogging_NewLogger_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockSimpleLogging_NewLogger_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []bool, _param2 []logging.LogLevel)
func (*MockSimpleLogging_NewLogger_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockSimpleLogging_NewLogger_OngoingVerification) GetCapturedArguments() (string, bool, logging.LogLevel)
type MockSimpleLogging_Underlying_OngoingVerification ¶ added in v0.8.3
type MockSimpleLogging_Underlying_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockSimpleLogging_Underlying_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockSimpleLogging_Underlying_OngoingVerification) GetAllCapturedArguments()
func (*MockSimpleLogging_Underlying_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockSimpleLogging_Underlying_OngoingVerification) GetCapturedArguments()
type MockSimpleLogging_Warn_OngoingVerification ¶ added in v0.8.3
type MockSimpleLogging_Warn_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockSimpleLogging_Warn_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockSimpleLogging_Warn_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 [][]interface{})
func (*MockSimpleLogging_Warn_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockSimpleLogging_Warn_OngoingVerification) GetCapturedArguments() (string, []interface{})
type VerifierMockSimpleLogging ¶ added in v0.8.3
type VerifierMockSimpleLogging struct {
// contains filtered or unexported fields
}
func (*VerifierMockSimpleLogging) Debug ¶ added in v0.8.3
func (verifier *VerifierMockSimpleLogging) Debug(format string, a ...interface{}) *MockSimpleLogging_Debug_OngoingVerification
func (*VerifierMockSimpleLogging) Err ¶ added in v0.8.3
func (verifier *VerifierMockSimpleLogging) Err(format string, a ...interface{}) *MockSimpleLogging_Err_OngoingVerification
func (*VerifierMockSimpleLogging) GetLevel ¶ added in v0.8.3
func (verifier *VerifierMockSimpleLogging) GetLevel() *MockSimpleLogging_GetLevel_OngoingVerification
func (*VerifierMockSimpleLogging) Info ¶ added in v0.8.3
func (verifier *VerifierMockSimpleLogging) Info(format string, a ...interface{}) *MockSimpleLogging_Info_OngoingVerification
func (*VerifierMockSimpleLogging) Log ¶ added in v0.8.3
func (verifier *VerifierMockSimpleLogging) Log(level logging.LogLevel, format string, a ...interface{}) *MockSimpleLogging_Log_OngoingVerification
func (*VerifierMockSimpleLogging) NewLogger ¶ added in v0.8.3
func (verifier *VerifierMockSimpleLogging) NewLogger(_param0 string, _param1 bool, _param2 logging.LogLevel) *MockSimpleLogging_NewLogger_OngoingVerification
func (*VerifierMockSimpleLogging) Underlying ¶ added in v0.8.3
func (verifier *VerifierMockSimpleLogging) Underlying() *MockSimpleLogging_Underlying_OngoingVerification
func (*VerifierMockSimpleLogging) Warn ¶ added in v0.8.3
func (verifier *VerifierMockSimpleLogging) Warn(format string, a ...interface{}) *MockSimpleLogging_Warn_OngoingVerification
Click to show internal directories.
Click to hide internal directories.