Documentation
¶
Overview ¶
Package upstreamsync analyzes and promotes pinned upstream revisions.
Index ¶
Constants ¶
View Source
const ( ClassWire = "wire-format" ClassAPI = "API-surface" ClassFeature = "feature-only" ClassDocs = "docs" )
Variables ¶
View Source
var ( ErrRed = errors.New("upstream sync is red") ErrPromotionUnsafe = errors.New("upstream lock promotion refused") )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Root string
UpstreamDir string
Target string
ReportPath string
Fetch bool
DryRun bool
Bump bool
Now time.Time
Stdout io.Writer
// contains filtered or unexported fields
}
Config controls one upstream analysis or promotion run.
type FixtureChange ¶
type Result ¶
type Result struct {
Base Lock
TargetCommit string
TargetRef string
TargetVersion string
TargetDate string
TargetSubject string
Descendant bool
Changes []Change
FixtureChanges []FixtureChange
Extraction Check
Conformance Check
Green bool
Promotion string
Report string
ReportPath string
UnmappedPathCount int
}
Click to show internal directories.
Click to hide internal directories.