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) Flush() error
- func (mock *MockSimpleLogging) GetHistory() string
- func (mock *MockSimpleLogging) Info(format string, a ...interface{})
- func (mock *MockSimpleLogging) Log(level logging.LogLevel, format string, a ...interface{})
- func (mock *MockSimpleLogging) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockSimpleLogging) SetLevel(lvl logging.LogLevel)
- func (mock *MockSimpleLogging) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockSimpleLogging
- func (mock *MockSimpleLogging) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockSimpleLogging
- func (mock *MockSimpleLogging) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockSimpleLogging
- func (mock *MockSimpleLogging) VerifyWasCalledOnce() *VerifierMockSimpleLogging
- func (mock *MockSimpleLogging) Warn(format string, a ...interface{})
- func (mock *MockSimpleLogging) With(a ...interface{}) logging.SimpleLogging
- func (mock *MockSimpleLogging) WithHistory(a ...interface{}) logging.SimpleLogging
- type MockSimpleLogging_Debug_OngoingVerification
- type MockSimpleLogging_Err_OngoingVerification
- type MockSimpleLogging_Flush_OngoingVerification
- type MockSimpleLogging_GetHistory_OngoingVerification
- type MockSimpleLogging_Info_OngoingVerification
- type MockSimpleLogging_Log_OngoingVerification
- type MockSimpleLogging_SetLevel_OngoingVerification
- type MockSimpleLogging_Warn_OngoingVerification
- type MockSimpleLogging_WithHistory_OngoingVerification
- type MockSimpleLogging_With_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) Flush() *MockSimpleLogging_Flush_OngoingVerification
- func (verifier *VerifierMockSimpleLogging) GetHistory() *MockSimpleLogging_GetHistory_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) SetLevel(lvl logging.LogLevel) *MockSimpleLogging_SetLevel_OngoingVerification
- func (verifier *VerifierMockSimpleLogging) Warn(format string, a ...interface{}) *MockSimpleLogging_Warn_OngoingVerification
- func (verifier *VerifierMockSimpleLogging) With(a ...interface{}) *MockSimpleLogging_With_OngoingVerification
- func (verifier *VerifierMockSimpleLogging) WithHistory(a ...interface{}) *MockSimpleLogging_WithHistory_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) Flush ¶ added in v0.17.0
func (mock *MockSimpleLogging) Flush() error
func (*MockSimpleLogging) GetHistory ¶ added in v0.17.0
func (mock *MockSimpleLogging) GetHistory() string
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) SetFailHandler ¶ added in v0.6.0
func (mock *MockSimpleLogging) SetFailHandler(fh pegomock.FailHandler)
func (*MockSimpleLogging) SetLevel ¶ added in v0.17.0
func (mock *MockSimpleLogging) SetLevel(lvl logging.LogLevel)
func (*MockSimpleLogging) VerifyWasCalled ¶
func (mock *MockSimpleLogging) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockSimpleLogging
func (*MockSimpleLogging) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockSimpleLogging) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockSimpleLogging
func (*MockSimpleLogging) VerifyWasCalledInOrder ¶
func (mock *MockSimpleLogging) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockSimpleLogging
func (*MockSimpleLogging) VerifyWasCalledOnce ¶
func (mock *MockSimpleLogging) VerifyWasCalledOnce() *VerifierMockSimpleLogging
func (*MockSimpleLogging) Warn ¶
func (mock *MockSimpleLogging) Warn(format string, a ...interface{})
func (*MockSimpleLogging) With ¶ added in v0.17.0
func (mock *MockSimpleLogging) With(a ...interface{}) logging.SimpleLogging
func (*MockSimpleLogging) WithHistory ¶ added in v0.17.0
func (mock *MockSimpleLogging) WithHistory(a ...interface{}) logging.SimpleLogging
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_Flush_OngoingVerification ¶ added in v0.17.0
type MockSimpleLogging_Flush_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockSimpleLogging_Flush_OngoingVerification) GetAllCapturedArguments ¶ added in v0.17.0
func (c *MockSimpleLogging_Flush_OngoingVerification) GetAllCapturedArguments()
func (*MockSimpleLogging_Flush_OngoingVerification) GetCapturedArguments ¶ added in v0.17.0
func (c *MockSimpleLogging_Flush_OngoingVerification) GetCapturedArguments()
type MockSimpleLogging_GetHistory_OngoingVerification ¶ added in v0.17.0
type MockSimpleLogging_GetHistory_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockSimpleLogging_GetHistory_OngoingVerification) GetAllCapturedArguments ¶ added in v0.17.0
func (c *MockSimpleLogging_GetHistory_OngoingVerification) GetAllCapturedArguments()
func (*MockSimpleLogging_GetHistory_OngoingVerification) GetCapturedArguments ¶ added in v0.17.0
func (c *MockSimpleLogging_GetHistory_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_SetLevel_OngoingVerification ¶ added in v0.17.0
type MockSimpleLogging_SetLevel_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockSimpleLogging_SetLevel_OngoingVerification) GetAllCapturedArguments ¶ added in v0.17.0
func (c *MockSimpleLogging_SetLevel_OngoingVerification) GetAllCapturedArguments() (_param0 []logging.LogLevel)
func (*MockSimpleLogging_SetLevel_OngoingVerification) GetCapturedArguments ¶ added in v0.17.0
func (c *MockSimpleLogging_SetLevel_OngoingVerification) GetCapturedArguments() logging.LogLevel
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 MockSimpleLogging_WithHistory_OngoingVerification ¶ added in v0.17.0
type MockSimpleLogging_WithHistory_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockSimpleLogging_WithHistory_OngoingVerification) GetAllCapturedArguments ¶ added in v0.17.0
func (c *MockSimpleLogging_WithHistory_OngoingVerification) GetAllCapturedArguments() (_param0 [][]interface{})
func (*MockSimpleLogging_WithHistory_OngoingVerification) GetCapturedArguments ¶ added in v0.17.0
func (c *MockSimpleLogging_WithHistory_OngoingVerification) GetCapturedArguments() []interface{}
type MockSimpleLogging_With_OngoingVerification ¶ added in v0.17.0
type MockSimpleLogging_With_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockSimpleLogging_With_OngoingVerification) GetAllCapturedArguments ¶ added in v0.17.0
func (c *MockSimpleLogging_With_OngoingVerification) GetAllCapturedArguments() (_param0 [][]interface{})
func (*MockSimpleLogging_With_OngoingVerification) GetCapturedArguments ¶ added in v0.17.0
func (c *MockSimpleLogging_With_OngoingVerification) GetCapturedArguments() []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) Flush ¶ added in v0.17.0
func (verifier *VerifierMockSimpleLogging) Flush() *MockSimpleLogging_Flush_OngoingVerification
func (*VerifierMockSimpleLogging) GetHistory ¶ added in v0.17.0
func (verifier *VerifierMockSimpleLogging) GetHistory() *MockSimpleLogging_GetHistory_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) SetLevel ¶ added in v0.17.0
func (verifier *VerifierMockSimpleLogging) SetLevel(lvl logging.LogLevel) *MockSimpleLogging_SetLevel_OngoingVerification
func (*VerifierMockSimpleLogging) Warn ¶ added in v0.8.3
func (verifier *VerifierMockSimpleLogging) Warn(format string, a ...interface{}) *MockSimpleLogging_Warn_OngoingVerification
func (*VerifierMockSimpleLogging) With ¶ added in v0.17.0
func (verifier *VerifierMockSimpleLogging) With(a ...interface{}) *MockSimpleLogging_With_OngoingVerification
func (*VerifierMockSimpleLogging) WithHistory ¶ added in v0.17.0
func (verifier *VerifierMockSimpleLogging) WithHistory(a ...interface{}) *MockSimpleLogging_WithHistory_OngoingVerification
Click to show internal directories.
Click to hide internal directories.