Versions in this module Expand all Collapse all v0 v0.3.4 Apr 29, 2024 v0.3.3 Sep 4, 2023 Changes in this version + type BuildInfo struct + Duration time.Duration + Error string + RequestorUsername string + type BuildInfos struct + Builds map[string]BuildInfo + ImagesByAge []string + type BuildLogArchiveOptions struct + Quota uint64 + Topdir string + type BuildLogArchiveParams struct + Logger log.DebugLogger + type BuildLogArchiver interface + AddBuildLog func(string, BuildInfo, []byte) error + func NewNullLogger() BuildLogArchiver + type BuildLogReporter interface + GetBuildInfos func(incGood, incBad bool) *BuildInfos + GetBuildInfosForRequestor func(username string, incGood, incBad bool) *BuildInfos + GetBuildInfosForStream func(streamName string, incGood, incBad bool) *BuildInfos + GetBuildLog func(imageName string) (io.ReadCloser, error) + GetSummary func() *Summary + type BuildLogger interface + func New(options BuildLogArchiveOptions, params BuildLogArchiveParams) (BuildLogger, error) + type RequestorSummary struct + NumBuilds uint64 + NumErrorBuilds uint64 + NumGoodBuilds uint64 + type StreamSummary struct + NumBuilds uint64 + NumErrorBuilds uint64 + NumGoodBuilds uint64 + type Summary struct + Requestors map[string]*RequestorSummary + Streams map[string]*StreamSummary