oci

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: MIT Imports: 2 Imported by: 0

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

View Source
const DiffAdded = artifact.DiffAdded

DiffAdded aliases the shared implementation; see the package documentation.

View Source
const DiffModified = artifact.DiffModified

DiffModified aliases the shared implementation; see the package documentation.

View Source
const DiffRemoved = artifact.DiffRemoved

DiffRemoved aliases the shared implementation; see the package documentation.

View Source
const DiffReportSchemaVersion = artifact.DiffReportSchemaVersion

DiffReportSchemaVersion aliases the shared implementation; see the package documentation.

View Source
const LayoutVersion = core.LayoutVersion

LayoutVersion identifies the OCI layout version used by suite artifacts.

View Source
const MediaTypeArtifact = core.MediaTypeArtifact

MediaTypeArtifact identifies an AgentSuite OCI artifact.

View Source
const MediaTypeContent = core.MediaTypeContent

MediaTypeContent identifies the compressed suite content layer.

View Source
const MediaTypeEmptyConfig = core.MediaTypeEmptyConfig

MediaTypeEmptyConfig identifies the required OCI empty configuration.

Variables

This section is empty.

Functions

func ValidateDirectory

func ValidateDirectory(root string) (*core.Report, error)

ValidateDirectory delegates to the shared artifact implementation.

func ValidatePath

func ValidatePath(value string) (*core.Report, error)

ValidatePath 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.

Jump to

Keyboard shortcuts

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