18 lines
926 B
Go
18 lines
926 B
Go
package delivery
|
|
|
|
// SourceInputs are what the ended controller's source fingerprint (src1) was of, as its build records hold them
|
|
// (BuildRecord), read and never computed again (novox/hq ADR 0437 §5): the module, the git tree of
|
|
// its directory, its bases (references, of which only the digest counts), the root tree of each repository its
|
|
// artifacts read (by artifact), each artifact's toolchain line, and the reason the source does not pin the build
|
|
// when it does not (a build that resolves packages when built). A context is the value the builder records for it:
|
|
// a repository's root tree, or for an image that compiles a Go program the `narrow:` hash of the build source it was
|
|
// handed (mesh-controller internal/builder/builder.go:1146-1156).
|
|
type SourceInputs struct {
|
|
Module string
|
|
Tree string
|
|
Bases []string
|
|
Contexts map[string]string
|
|
Toolchains map[string]string
|
|
Unpinned string
|
|
}
|