toolchain

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2025 License: MIT Imports: 34 Imported by: 0

Documentation

Overview

Package toolchain verifies that the toolchains in the sumdb are reproducible

Index

Constants

This section is empty.

Variables

View Source
var (
	AWSConfig  aws.Config
	Bucket     string
	LambdaArch string
	LambdaFunc string
)
View Source
var (
	BootstrapToolchain string
	BootstrapHash      string
)

Functions

func Audit

func Audit(ctx context.Context, modversion string) error

Audit checks that the building the given toolchain results in the checksum published in the sumdb

func AuditAll

func AuditAll(ctx context.Context) error

AuditAll tries auditing all toolchains in the sumdb that haven't already been built

func GarbageCollectArtifacts

func GarbageCollectArtifacts(ctx context.Context, dryrun bool) error

GarbageCollectArtifacts deletes objects from the bucket's out/ folder that do not correspond to a row in the toolchain_build table. If dryrun is true, the objects are not actually deleted.

func SaveSource

func SaveSource(ctx context.Context, goversion string) (string, error)

func ServeDashboard

func ServeDashboard(w http.ResponseWriter, req *http.Request)

func ServeFailuresAtom

func ServeFailuresAtom(w http.ResponseWriter, req *http.Request)

func ServeSourcesCSV

func ServeSourcesCSV(w http.ResponseWriter, req *http.Request)

func ServeToolchainsCSV

func ServeToolchainsCSV(w http.ResponseWriter, req *http.Request)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL