ocilayout

package
v0.1.24-rc.13 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Overview

Package ocilayout acquires OCI images as local OCI image layouts.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Probe

func Probe(ctx context.Context, image string) error

Probe checks that an OCI image source is reachable without pulling image contents.

Types

type Layout

type Layout struct {
	Dir       string
	Reference string
	// contains filtered or unexported fields
}

Layout is an acquired local OCI image layout.

func Acquire

func Acquire(ctx context.Context, source string) (*Layout, error)

Acquire resolves source into a local OCI image layout.

func (*Layout) Close

func (l *Layout) Close() error

Close releases temporary layout state. It is a no-op for local layouts.

Jump to

Keyboard shortcuts

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