Documentation
¶
Overview ¶
Package frontiernext implements the additive experimental closing relation. Repository verification and current authority policy are independent inputs; neither producer EMPTY nor caller-reported test output is consumed.
Index ¶
Constants ¶
View Source
const OCMProfile = "ocm/0.2-experimental"
View Source
const Profile = "frontier/2-experimental"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Recomputer ¶
type Request ¶
type Request struct {
CEM []byte
OCM []byte
Selection []byte
Enrollment localauthority.Enrollment
Receipt localauthority.Receipt
}
type Result ¶
type Result struct {
Profile string `json:"profile"`
Authority string `json:"authority"`
State string `json:"state"`
UniverseSHA256 string `json:"universeSHA256"`
Open []Item `json:"open"`
}
func Compute ¶
func Compute(ctx context.Context, r Request, policy localauthority.PolicySnapshot, now time.Time, repo Recomputer) (Result, error)
func ComputeFixture ¶
func ComputeFixture(ctx context.Context, r Request, policy localauthority.PolicySnapshot, now time.Time, repo Recomputer) (Result, error)
ComputeFixture returns authority NONE even when the experimental relation is EMPTY.
Click to show internal directories.
Click to hide internal directories.