Documentation
¶
Index ¶
- func AppendStageAndStepInfo(stages []buildapiv1.StageInfo, stagesToMerge []buildapiv1.StageInfo) []buildapiv1.StageInfo
- func GetStages(ctx context.Context) []buildapiv1.StageInfo
- func NewContext(ctx context.Context) context.Context
- func RecordNewStep(ctx context.Context, stageName buildapiv1.StageName, ...)
- func RecordStageAndStepInfo(stages []buildapiv1.StageInfo, stageName buildapiv1.StageName, ...) []buildapiv1.StageInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendStageAndStepInfo ¶ added in v3.10.0
func AppendStageAndStepInfo(stages []buildapiv1.StageInfo, stagesToMerge []buildapiv1.StageInfo) []buildapiv1.StageInfo
AppendStageAndStepInfo appends the step info from one stages slice into another.
func GetStages ¶
func GetStages(ctx context.Context) []buildapiv1.StageInfo
GetStages returns all stages and steps currently stored in the context
func NewContext ¶
NewContext returns a context initialised for use
func RecordNewStep ¶
func RecordNewStep(ctx context.Context, stageName buildapiv1.StageName, stepName buildapiv1.StepName, startTime metav1.Time, endTime metav1.Time)
RecordNewStep adds a new timing step to the context
func RecordStageAndStepInfo ¶ added in v3.10.0
func RecordStageAndStepInfo(stages []buildapiv1.StageInfo, stageName buildapiv1.StageName, stepName buildapiv1.StepName, startTime metav1.Time, endTime metav1.Time) []buildapiv1.StageInfo
RecordStageAndStepInfo records details about each build stage and step
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.