Documentation
¶
Index ¶
- func ProbeSignedReadiness(ctx context.Context, configuration LiveConfiguration) error
- func PublicError(err error, _ LiveConfiguration) error
- func WriteRunSummary(path string, result RunResult) error
- type Candidate
- type CandidateResult
- type Catalog
- type CommandEvidence
- type DistributionEvidence
- type Evaluation
- type ImageEvidence
- type LicenseEvidence
- type LiveConfiguration
- type MaintenanceEvidence
- type OfflineEvidence
- type PlatformDigest
- type PrimarySourceEvidence
- type ReadinessEvidence
- type RunResult
- type Selection
- type SupplyChainEvidence
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProbeSignedReadiness ¶
func ProbeSignedReadiness(ctx context.Context, configuration LiveConfiguration) error
func PublicError ¶
func PublicError(err error, _ LiveConfiguration) error
func WriteRunSummary ¶
Types ¶
type Candidate ¶
type Candidate struct {
ID string `json:"id"`
Name string `json:"name"`
Version string `json:"version"`
PrimarySource PrimarySourceEvidence `json:"primary_source"`
License LicenseEvidence `json:"license"`
Maintenance MaintenanceEvidence `json:"maintenance"`
Image ImageEvidence `json:"image"`
Readiness ReadinessEvidence `json:"readiness"`
S3Conformance CommandEvidence `json:"s3_conformance"`
Offline OfflineEvidence `json:"offline"`
SupplyChain SupplyChainEvidence `json:"supply_chain"`
Distribution DistributionEvidence `json:"distribution"`
}
type CandidateResult ¶
func EvaluateCandidate ¶
func EvaluateCandidate(candidate Candidate) CandidateResult
type Catalog ¶
type CommandEvidence ¶
type CommandEvidence struct {
Command string `json:"command"`
}
type DistributionEvidence ¶
type Evaluation ¶
type Evaluation struct {
Selected CandidateResult
Candidates []CandidateResult
}
func EvaluateCatalog ¶
func EvaluateCatalog(catalog Catalog) (Evaluation, error)
type ImageEvidence ¶
type ImageEvidence struct {
TagReference string `json:"tag_reference"`
IndexDigest string `json:"index_digest"`
Platforms []PlatformDigest `json:"platforms"`
}
type LicenseEvidence ¶
type LiveConfiguration ¶
type LiveConfiguration struct {
Endpoint string
AccessKey string
SecretKey string
RunID string
Iteration int
SummaryPath string
GitCommit string
SourceTree string
}
func LiveConfigurationFromEnvironment ¶
func LiveConfigurationFromEnvironment() (LiveConfiguration, bool)
type MaintenanceEvidence ¶
type OfflineEvidence ¶
type PlatformDigest ¶
type PrimarySourceEvidence ¶
type ReadinessEvidence ¶
type RunResult ¶
type RunResult struct {
SchemaVersion int
GitCommit string
SourceTree string
RunID string
Iteration int
Phase string
Cases map[string]time.Duration
BytesVerified int64
}
func RunS3Conformance ¶
func RunS3Conformance(ctx context.Context, configuration LiveConfiguration) (RunResult, error)
func VerifyRestartPersistence ¶
func VerifyRestartPersistence(ctx context.Context, configuration LiveConfiguration) (RunResult, error)
type SupplyChainEvidence ¶
Click to show internal directories.
Click to hide internal directories.