timing

package
v3.9.0-alpha.1+incompa... Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStages

func GetStages(ctx context.Context) []buildapi.StageInfo

GetStages returns all stages and steps currently stored in the context

func NewContext

func NewContext(ctx context.Context) context.Context

NewContext returns a context initialised for use

func RecordNewStep

func RecordNewStep(ctx context.Context, stageName buildapi.StageName, stepName buildapi.StepName, startTime metav1.Time, endTime metav1.Time)

RecordNewStep adds a new timing step to the context

Types

This section is empty.

Jump to

Keyboard shortcuts

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