attestation

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PredicateEOL = "https://in-toto.io/attestation/eol/v0.1"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EOLMetadata added in v0.12.0

type EOLMetadata struct {
	ScannedOn *time.Time `json:"scannedOn,omitempty"`
}

EOLMetadata defines when the last scan was done

type EOLPredicate added in v0.12.0

type EOLPredicate struct {
	Product     string      `json:"product"`
	Cycle       string      `json:"cycle"`
	Version     string      `json:"version"`
	IsEOL       bool        `json:"isEOL"`
	EOLDate     string      `json:"eolDate"`
	LTS         bool        `json:"lts"`
	Latest      string      `json:"latest"`
	ReleaseDate string      `json:"releaseDate"`
	Metadata    EOLMetadata `json:"metadata"`
}

EOLPredicate defines predicate definition of the EOL attestation

type EOLStatement added in v0.12.0

type EOLStatement struct {
	attestationv1.Statement
	// Predicate contains type specific metadata.
	Predicate EOLPredicate `json:"predicate"`
}

EOLStatement defines the statement header and the EOL predicate

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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