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) *VerifierSimpleLogging
- func (mock *MockSimpleLogging) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierSimpleLogging
- func (mock *MockSimpleLogging) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierSimpleLogging
- func (mock *MockSimpleLogging) VerifyWasCalledOnce() *VerifierSimpleLogging
- func (mock *MockSimpleLogging) Warn(format string, a ...interface{})
- type SimpleLogging_Debug_OngoingVerification
- type SimpleLogging_Err_OngoingVerification
- type SimpleLogging_GetLevel_OngoingVerification
- type SimpleLogging_Info_OngoingVerification
- type SimpleLogging_Log_OngoingVerification
- type SimpleLogging_NewLogger_OngoingVerification
- type SimpleLogging_Underlying_OngoingVerification
- type SimpleLogging_Warn_OngoingVerification
- type VerifierSimpleLogging
- func (verifier *VerifierSimpleLogging) Debug(format string, a ...interface{}) *SimpleLogging_Debug_OngoingVerification
- func (verifier *VerifierSimpleLogging) Err(format string, a ...interface{}) *SimpleLogging_Err_OngoingVerification
- func (verifier *VerifierSimpleLogging) GetLevel() *SimpleLogging_GetLevel_OngoingVerification
- func (verifier *VerifierSimpleLogging) Info(format string, a ...interface{}) *SimpleLogging_Info_OngoingVerification
- func (verifier *VerifierSimpleLogging) Log(level logging.LogLevel, format string, a ...interface{}) *SimpleLogging_Log_OngoingVerification
- func (verifier *VerifierSimpleLogging) NewLogger(_param0 string, _param1 bool, _param2 logging.LogLevel) *SimpleLogging_NewLogger_OngoingVerification
- func (verifier *VerifierSimpleLogging) Underlying() *SimpleLogging_Underlying_OngoingVerification
- func (verifier *VerifierSimpleLogging) Warn(format string, a ...interface{}) *SimpleLogging_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) *VerifierSimpleLogging
func (*MockSimpleLogging) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockSimpleLogging) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierSimpleLogging
func (*MockSimpleLogging) VerifyWasCalledInOrder ¶
func (mock *MockSimpleLogging) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierSimpleLogging
func (*MockSimpleLogging) VerifyWasCalledOnce ¶
func (mock *MockSimpleLogging) VerifyWasCalledOnce() *VerifierSimpleLogging
func (*MockSimpleLogging) Warn ¶
func (mock *MockSimpleLogging) Warn(format string, a ...interface{})
type SimpleLogging_Debug_OngoingVerification ¶
type SimpleLogging_Debug_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*SimpleLogging_Debug_OngoingVerification) GetAllCapturedArguments ¶
func (c *SimpleLogging_Debug_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 [][]interface{})
func (*SimpleLogging_Debug_OngoingVerification) GetCapturedArguments ¶
func (c *SimpleLogging_Debug_OngoingVerification) GetCapturedArguments() (string, []interface{})
type SimpleLogging_Err_OngoingVerification ¶
type SimpleLogging_Err_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*SimpleLogging_Err_OngoingVerification) GetAllCapturedArguments ¶
func (c *SimpleLogging_Err_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 [][]interface{})
func (*SimpleLogging_Err_OngoingVerification) GetCapturedArguments ¶
func (c *SimpleLogging_Err_OngoingVerification) GetCapturedArguments() (string, []interface{})
type SimpleLogging_GetLevel_OngoingVerification ¶
type SimpleLogging_GetLevel_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*SimpleLogging_GetLevel_OngoingVerification) GetAllCapturedArguments ¶
func (c *SimpleLogging_GetLevel_OngoingVerification) GetAllCapturedArguments()
func (*SimpleLogging_GetLevel_OngoingVerification) GetCapturedArguments ¶
func (c *SimpleLogging_GetLevel_OngoingVerification) GetCapturedArguments()
type SimpleLogging_Info_OngoingVerification ¶
type SimpleLogging_Info_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*SimpleLogging_Info_OngoingVerification) GetAllCapturedArguments ¶
func (c *SimpleLogging_Info_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 [][]interface{})
func (*SimpleLogging_Info_OngoingVerification) GetCapturedArguments ¶
func (c *SimpleLogging_Info_OngoingVerification) GetCapturedArguments() (string, []interface{})
type SimpleLogging_Log_OngoingVerification ¶
type SimpleLogging_Log_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*SimpleLogging_Log_OngoingVerification) GetAllCapturedArguments ¶
func (c *SimpleLogging_Log_OngoingVerification) GetAllCapturedArguments() (_param0 []logging.LogLevel, _param1 []string, _param2 [][]interface{})
func (*SimpleLogging_Log_OngoingVerification) GetCapturedArguments ¶
func (c *SimpleLogging_Log_OngoingVerification) GetCapturedArguments() (logging.LogLevel, string, []interface{})
type SimpleLogging_NewLogger_OngoingVerification ¶ added in v0.4.13
type SimpleLogging_NewLogger_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*SimpleLogging_NewLogger_OngoingVerification) GetAllCapturedArguments ¶ added in v0.4.13
func (c *SimpleLogging_NewLogger_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []bool, _param2 []logging.LogLevel)
func (*SimpleLogging_NewLogger_OngoingVerification) GetCapturedArguments ¶ added in v0.4.13
func (c *SimpleLogging_NewLogger_OngoingVerification) GetCapturedArguments() (string, bool, logging.LogLevel)
type SimpleLogging_Underlying_OngoingVerification ¶
type SimpleLogging_Underlying_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*SimpleLogging_Underlying_OngoingVerification) GetAllCapturedArguments ¶
func (c *SimpleLogging_Underlying_OngoingVerification) GetAllCapturedArguments()
func (*SimpleLogging_Underlying_OngoingVerification) GetCapturedArguments ¶
func (c *SimpleLogging_Underlying_OngoingVerification) GetCapturedArguments()
type SimpleLogging_Warn_OngoingVerification ¶
type SimpleLogging_Warn_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*SimpleLogging_Warn_OngoingVerification) GetAllCapturedArguments ¶
func (c *SimpleLogging_Warn_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 [][]interface{})
func (*SimpleLogging_Warn_OngoingVerification) GetCapturedArguments ¶
func (c *SimpleLogging_Warn_OngoingVerification) GetCapturedArguments() (string, []interface{})
type VerifierSimpleLogging ¶
type VerifierSimpleLogging struct {
// contains filtered or unexported fields
}
func (*VerifierSimpleLogging) Debug ¶
func (verifier *VerifierSimpleLogging) Debug(format string, a ...interface{}) *SimpleLogging_Debug_OngoingVerification
func (*VerifierSimpleLogging) Err ¶
func (verifier *VerifierSimpleLogging) Err(format string, a ...interface{}) *SimpleLogging_Err_OngoingVerification
func (*VerifierSimpleLogging) GetLevel ¶
func (verifier *VerifierSimpleLogging) GetLevel() *SimpleLogging_GetLevel_OngoingVerification
func (*VerifierSimpleLogging) Info ¶
func (verifier *VerifierSimpleLogging) Info(format string, a ...interface{}) *SimpleLogging_Info_OngoingVerification
func (*VerifierSimpleLogging) Log ¶
func (verifier *VerifierSimpleLogging) Log(level logging.LogLevel, format string, a ...interface{}) *SimpleLogging_Log_OngoingVerification
func (*VerifierSimpleLogging) NewLogger ¶ added in v0.4.13
func (verifier *VerifierSimpleLogging) NewLogger(_param0 string, _param1 bool, _param2 logging.LogLevel) *SimpleLogging_NewLogger_OngoingVerification
func (*VerifierSimpleLogging) Underlying ¶
func (verifier *VerifierSimpleLogging) Underlying() *SimpleLogging_Underlying_OngoingVerification
func (*VerifierSimpleLogging) Warn ¶
func (verifier *VerifierSimpleLogging) Warn(format string, a ...interface{}) *SimpleLogging_Warn_OngoingVerification
Click to show internal directories.
Click to hide internal directories.