Documentation
¶
Overview ¶
Package oci validates extracted directories and OCI layouts and computes semantic diffs.
Types alias the shared internal implementation so graph, evidence and diff algorithms can retain their private validated state. Defining-package names in reflection refer to that implementation, and pkg.go.dev may show aliases rather than their fields. Portable manifest fields are documented in core.
Index ¶
Constants ¶
const DiffAdded = artifact.DiffAdded
DiffAdded aliases the shared implementation; see the package documentation.
const DiffModified = artifact.DiffModified
DiffModified aliases the shared implementation; see the package documentation.
const DiffRemoved = artifact.DiffRemoved
DiffRemoved aliases the shared implementation; see the package documentation.
const DiffReportSchemaVersion = artifact.DiffReportSchemaVersion
DiffReportSchemaVersion aliases the shared implementation; see the package documentation.
const LayoutVersion = core.LayoutVersion
LayoutVersion identifies the OCI layout version used by suite artifacts.
const MediaTypeArtifact = core.MediaTypeArtifact
MediaTypeArtifact identifies an AgentSuite OCI artifact.
const MediaTypeContent = core.MediaTypeContent
MediaTypeContent identifies the compressed suite content layer.
const MediaTypeEmptyConfig = core.MediaTypeEmptyConfig
MediaTypeEmptyConfig identifies the required OCI empty configuration.
Variables ¶
This section is empty.
Functions ¶
func ValidateDirectory ¶
ValidateDirectory delegates to the shared artifact implementation.
Types ¶
type AffectedAgent ¶
type AffectedAgent = artifact.AffectedAgent
AffectedAgent aliases the shared implementation; see the package documentation.
type DiffIdentity ¶
type DiffIdentity = artifact.DiffIdentity
DiffIdentity aliases the shared implementation; see the package documentation.
type DiffLimitError ¶
type DiffLimitError = artifact.DiffLimitError
DiffLimitError aliases the shared implementation; see the package documentation.
type DiffReport ¶
type DiffReport = artifact.DiffReport
DiffReport aliases the shared implementation; see the package documentation.
func DiffPaths ¶
func DiffPaths(beforePath, afterPath string) (DiffReport, error)
DiffPaths delegates to the shared artifact implementation.
type DiffSummary ¶
type DiffSummary = artifact.DiffSummary
DiffSummary aliases the shared implementation; see the package documentation.
type FieldChange ¶
type FieldChange = artifact.FieldChange
FieldChange aliases the shared implementation; see the package documentation.
type RecordChange ¶
type RecordChange = artifact.RecordChange
RecordChange aliases the shared implementation; see the package documentation.