Documentation
¶
Overview ¶
Package releasecandidate closes the already-qualified core and companion artifacts into one immutable, versioned local publication candidate.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallCore ¶
InstallCore extracts the host core archive into a new version/platform path. It never writes or changes a current/latest selector, so coexistence and rollback are explicit selection of an already-verified immutable path.
Types ¶
type Manifest ¶
type Manifest struct {
Profile string `json:"profile"`
Version string `json:"version"`
BuildNumber string `json:"buildNumber"`
CorvintVersion string `json:"corvintVersion"`
GoVersion string `json:"goVersion"`
GitVersion string `json:"gitVersion"`
Sources []SourceIdentity `json:"sources"`
Assets []Asset `json:"assets"`
}
type Qualification ¶
type Qualification struct {
Profile string `json:"profile"`
Rows []QualificationRow `json:"rows"`
}
type QualificationRow ¶
type Result ¶
type Result struct {
Directory string
Manifest Manifest
Qualification Qualification
}
type SourceIdentity ¶
type VerifiedCandidate ¶
type VerifiedCandidate struct {
Directory string
Manifest Manifest
Qualification Qualification
// contains filtered or unexported fields
}
func Verify ¶
func Verify(directory string) (*VerifiedCandidate, error)
Verify admits a closed candidate only when its checksum, manifest asset inventory, and qualification rows agree with every retained regular file.
func VerifyContext ¶
func VerifyContext(ctx context.Context, directory string) (*VerifiedCandidate, error)
VerifyContext is Verify with caller cancellation propagated to the only executed child: the exact host core version probe.
Click to show internal directories.
Click to hide internal directories.