Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Context ¶
type Context interface { context.Context Logger() logging.Logger Span() (Context, trace.Span) SpanByName(name string) (Context, trace.Span) WithError(err error) Context WithField(key string, value interface{}) Context WithFields(fields logging.Fields) Context }
func NewBackground ¶
type MockExecutionContext ¶
MockExecutionContext is an autogenerated mock type for the ExecutionContext type
func (*MockExecutionContext) GetContext ¶
func (_m *MockExecutionContext) GetContext() context.Context
GetContext provides a mock function with given fields:
func (*MockExecutionContext) GetContextWithTransactionID ¶
func (_m *MockExecutionContext) GetContextWithTransactionID() (context.Context, error)
GetContextWithTransactionID provides a mock function with given fields:
func (*MockExecutionContext) GetLogger ¶
func (_m *MockExecutionContext) GetLogger() logging.Logger
GetLogger provides a mock function with given fields:
func (*MockExecutionContext) GetTransactionID ¶
func (_m *MockExecutionContext) GetTransactionID() (string, error)
GetTransactionID provides a mock function with given fields:
type MockExecutionContextWithoutTransactionID ¶
MockExecutionContextWithoutTransactionID is an autogenerated mock type for the ExecutionContextWithoutTransactionID type
func (*MockExecutionContextWithoutTransactionID) GetContext ¶
func (_m *MockExecutionContextWithoutTransactionID) GetContext() context.Context
GetContext provides a mock function with given fields:
func (*MockExecutionContextWithoutTransactionID) GetLogger ¶
func (_m *MockExecutionContextWithoutTransactionID) GetLogger() logging.Logger
GetLogger provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.