Documentation
¶
Rendered for windows/amd64
Overview ¶
Package stages allows interacting with Glazier build stages.
Index ¶
Constants ¶
View Source
const ( // StartKey references the time that the stage started StartKey = "Start" // EndKey references the time that the stage ended EndKey = "End" // TermStage after which to consider the build completed TermStage = "100" // RegStagesRoot references the root Registry key under which stages exist RegStagesRoot = `SOFTWARE\Glazier\Stages` )
Variables ¶
View Source
var ( // ErrPeriod indicates an unsupported period was passed when checking stage status ErrPeriod = errors.New("invalid period") )
Functions ¶
func ActiveStage ¶
ActiveStage returns the active build stage string converted to uint64. The returned uint64 can be used for comparison against greater/lesser stages to determine the latest stage.
Types ¶
type Stage ¶
A Stage stores named stage elements.
func ActiveStatus ¶
ActiveStatus returns a Stage struct with all known fields.
func (*Stage) RetreiveTimes ¶
RetreiveTimes populates the Stage struct with the start and end times of the passed stage ID.
Click to show internal directories.
Click to hide internal directories.