sidecarlogresults

package
v0.50.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrSizeExceeded = errors.New("results size exceeds configured limit")

ErrSizeExceeded indicates that the result exceeded its maximum allowed size

Functions

func GetResultsFromSidecarLogs

func GetResultsFromSidecarLogs(ctx context.Context, clientset kubernetes.Interface, namespace string, name string, container string, podPhase corev1.PodPhase) ([]result.RunResult, error)

GetResultsFromSidecarLogs extracts results from the logs of the results sidecar

func LookForResults

func LookForResults(w io.Writer, runDir string, resultsDir string, resultNames []string) error

LookForResults waits for results to be written out by the steps in their results path and prints them in a structured way to its stdout so that the reconciler can parse those logs.

Types

type SidecarLogResult

type SidecarLogResult struct {
	Name  string
	Value string
}

SidecarLogResult holds fields for storing extracted results

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL