Versions in this module Expand all Collapse all v0 v0.2.0 Nov 20, 2026 Changes in this version + func LooksLikeSHA(s string) bool + func SameSHA(a, b string) bool + func Serving(state string) bool + func ShortSHA(sha string) string + type AttributionMode string + const AttributionAuto + const AttributionOff + const AttributionOn + type CommitInfo struct + At time.Time + Author string + AuthorEmail string + Mine bool + Request string + RequestURL string + SHA string + Subject string + TaskID string + TaskURL string + URL string + type Component struct + Live LiveProvider + Name string + type ComponentReport struct + Error string + Live *LiveReport + Name string + type Drift struct + Leader string + Message string + type Forge interface + Behind func(ctx context.Context, from, to string) (int, error) + CommitURL func(sha string) string + Head func(ctx context.Context, branch string) (Ref, error) + LatestGreen func(ctx context.Context, branch string) (Ref, error) + Recent func(ctx context.Context, branch string, limit int) ([]Ref, error) + RequestURL func(id string) string + Resolve func(ctx context.Context, sha string) (Ref, error) + type ForgeInfo struct + Branch string + Host string + Kind string + Repo string + type GreenInfo struct + BehindHead int + Pipeline string + type Identity interface + ViewerEmails func(ctx context.Context) ([]string, error) + type LiveConfidence string + const Assumed + const Probed + const Recorded + const Reported + func (c LiveConfidence) Weaker(other LiveConfidence) bool + type LiveInfo struct + BuiltAt time.Time + Confidence LiveConfidence + Rollout *Rollout + SHA string + State string + type LiveProvider interface + Live func(ctx context.Context) (LiveInfo, error) + type LiveReport struct + BehindGreen int + BehindHead int + BuiltAt time.Time + Confidence LiveConfidence + Rollout *RolloutReport + State string + func (l *LiveReport) Serving() bool + type Params struct + Attribution AttributionMode + Branch string + Components []Component + Environment string + Forge Forge + ForgeInfo ForgeInfo + Identities map[string][]string + Identity Identity + Project string + RecentLimit int + Task *TaskConfig + type Ref struct + At time.Time + AuthorEmail string + AuthorName string + SHA string + Subject string + URL string + func (r Ref) IsZero() bool + type Report struct + Attribution AttributionMode + Components []ComponentReport + Drift *Drift + Environment string + Errors []string + Forge ForgeInfo + Green *GreenInfo + Head *CommitInfo + Project string + func Collect(ctx context.Context, p Params) (*Report, error) + type Rollout struct + SHA string + StartedAt time.Time + Status RolloutStatus + type RolloutReport struct + StartedAt time.Time + Status RolloutStatus + type RolloutStatus string + const RolloutFailed + const RolloutPending + type TaskConfig struct + Pattern string + URL string v0.1.0 Jul 13, 2026