pkgtestobservation

package
v1.40.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cataloger

type Cataloger struct {
	MetadataTypes []string     `json:"metadata_types"`
	PackageTypes  []string     `json:"package_types"`
	Observations  Observations `json:"observations"`
}

Cataloger captures all observations for a cataloger

type Count

type Count struct {
	Found bool `json:"found"`
	Count int  `json:"count"`
}

Count tracks whether a capability was found and how many times

type Observations

type Observations struct {
	License       bool         `json:"license"`
	Relationships Relationship `json:"relationships"`
	FileListing   Count        `json:"file_listing"`
	FileDigests   Count        `json:"file_digests"`
	IntegrityHash Count        `json:"integrity_hash"`
}

Observations represents capability observations during testing

type Parser

type Parser struct {
	MetadataTypes []string     `json:"metadata_types"`
	PackageTypes  []string     `json:"package_types"`
	Observations  Observations `json:"observations"`
}

Parser captures all observations for a parser

type Relationship

type Relationship struct {
	Found bool `json:"found"`
	Count int  `json:"count"`
}

Relationship tracks dependency relationship observations

type Test

type Test struct {
	Package    string                `json:"package"`
	UpdatedAt  time.Time             `json:"updated_at"`
	Catalogers map[string]*Cataloger `json:"catalogers"`
	Parsers    map[string]*Parser    `json:"parsers"`
}

Test is the root structure for test-observations.json

Jump to

Keyboard shortcuts

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