Documentation ¶
Index ¶
- func BuildEventFilenameFor(stamp time.Time) string
- func BuildEventFilenamesFor(weekcount int) []string
- func BuildEventStats(label string)
- func CurrentEventFilename() string
- func ForRun(filename string)
- func MakeStatistics(weeks uint, assistants, robots, prepares, variables bool) (int, []byte)
- func Post(event, detail, commentForm string, fields ...interface{}) (err error)
- func ShowStatistics(weeks uint, assistants, robots, prepares, variables bool)
- func StopRunJournal()
- func Unify(value string) string
- type BuildEvent
- func (it *BuildEvent) Blueprint(blueprint string)
- func (it *BuildEvent) Dirty(dirtyness float64)
- func (it *BuildEvent) MicromambaComplete()
- func (it *BuildEvent) PipComplete()
- func (it *BuildEvent) PostInstallComplete()
- func (it *BuildEvent) PreRunComplete()
- func (it *BuildEvent) PrepareComplete()
- func (it *BuildEvent) Rebuild()
- func (it *BuildEvent) RecordComplete()
- func (it *BuildEvent) RestoreComplete()
- func (it *BuildEvent) RobotEnds()
- func (it *BuildEvent) RobotStarts()
- func (it *BuildEvent) StartNow(force bool)
- func (it *BuildEvent) Successful()
- type BuildEvents
- type Event
- type Numbers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildEventFilenameFor ¶
func BuildEventFilenamesFor ¶
func BuildEventStats ¶
func BuildEventStats(label string)
func CurrentEventFilename ¶
func CurrentEventFilename() string
func MakeStatistics ¶
func ShowStatistics ¶
func StopRunJournal ¶
func StopRunJournal()
Types ¶
type BuildEvent ¶
type BuildEvent struct { Version string `json:"version"` When int64 `json:"when"` What string `json:"what"` Force bool `json:"force"` Build bool `json:"build"` Success bool `json:"success"` Retry bool `json:"retry"` Run bool `json:"run"` Controller string `json:"controller"` Space string `json:"space"` BlueprintHash string `json:"blueprint"` Started float64 `json:"started"` Prepared float64 `json:"prepared"` MicromambaDone float64 `json:"micromamba"` PipDone float64 `json:"pip"` PostInstallDone float64 `json:"postinstall"` RecordDone float64 `json:"record"` RestoreDone float64 `json:"restore"` PreRunDone float64 `json:"prerun"` RobotStart float64 `json:"robotstart"` RobotEnd float64 `json:"robotend"` Finished float64 `json:"finished"` Dirtyness float64 `json:"dirtyness"` }
func CurrentBuildEvent ¶
func CurrentBuildEvent() *BuildEvent
func NewBuildEvent ¶
func NewBuildEvent() *BuildEvent
func (*BuildEvent) Blueprint ¶
func (it *BuildEvent) Blueprint(blueprint string)
func (*BuildEvent) Dirty ¶
func (it *BuildEvent) Dirty(dirtyness float64)
func (*BuildEvent) MicromambaComplete ¶
func (it *BuildEvent) MicromambaComplete()
func (*BuildEvent) PipComplete ¶
func (it *BuildEvent) PipComplete()
func (*BuildEvent) PostInstallComplete ¶
func (it *BuildEvent) PostInstallComplete()
func (*BuildEvent) PreRunComplete ¶
func (it *BuildEvent) PreRunComplete()
func (*BuildEvent) PrepareComplete ¶
func (it *BuildEvent) PrepareComplete()
func (*BuildEvent) Rebuild ¶
func (it *BuildEvent) Rebuild()
func (*BuildEvent) RecordComplete ¶
func (it *BuildEvent) RecordComplete()
func (*BuildEvent) RestoreComplete ¶
func (it *BuildEvent) RestoreComplete()
func (*BuildEvent) RobotEnds ¶
func (it *BuildEvent) RobotEnds()
func (*BuildEvent) RobotStarts ¶
func (it *BuildEvent) RobotStarts()
func (*BuildEvent) StartNow ¶
func (it *BuildEvent) StartNow(force bool)
func (*BuildEvent) Successful ¶
func (it *BuildEvent) Successful()
type BuildEvents ¶
type BuildEvents []*BuildEvent
func Stats ¶
func Stats(weeks uint) (result BuildEvents, err error)
Click to show internal directories.
Click to hide internal directories.