Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggingDetailsProvider ¶
type LoggingDetailsProvider = func(run *v1alpha1.PipelineRun) []any
LoggingDetailsProvider is the type of functions that extract details from given pipeline run objects to be added to log entries. The returned slice contains key-value pairs. Keys are at even indexes, while values are at odd indexes. The slice has an even number of items.
func GetLoggingDetailsProvider ¶
func GetLoggingDetailsProvider(configYAMLString string) (LoggingDetailsProvider, error)
GetLoggingDetailsProvider parses the given YAML-formatted configuration string and returns a corresponding LoggingDetailsProvider. nil is returned if the configuration is empty or contains only entries that are not supported.
Click to show internal directories.
Click to hide internal directories.