Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtendContextLoggerWithPipelineRunInfo ¶
func ExtendContextLoggerWithPipelineRunInfo(ctx context.Context, pipelineRun *v1alpha1.PipelineRun) (context.Context, logr.Logger)
ExtendContextLoggerWithPipelineRunInfo calls extendLoggerWithPipelineRunInfo with the logger from the given context. Panics if the given context has no logger attached or the given pipeline run is nil. Returns both a new context with the enhanced logger and the enhanced logger so that callers can directly use what they need.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.