layout

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package layout inspects and strictly verifies OCI image layouts.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Platform

type Platform struct {
	OS           string `json:"os"`
	Architecture string `json:"architecture"`
	Digest       string `json:"digest"`
	Reference    string `json:"reference,omitempty"`
}

type Report

type Report struct {
	Path      string     `json:"path"`
	Valid     bool       `json:"valid"`
	Platforms []Platform `json:"platforms"`
	Manifests int        `json:"manifests"`
	Blobs     int        `json:"blobs"`
}

func Compose

func Compose(output string, inputs []string) (Report, error)

Compose creates one deterministic OCI Image Layout containing every manifest from the supplied verified layouts. Blobs are content-addressed and therefore copied only once. Output must not already exist.

func Inspect

func Inspect(root string) (Report, error)

func Verify

func Verify(rootName string) (Report, error)

Jump to

Keyboard shortcuts

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