packages

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: MIT Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package packages validates, resolves and verifies ext.io/v1 manifests (packagekit) with the plugin engine: on the shared C engine when built with the ext_cengine tag and cgo, otherwise in pure Go. It is separate from the root cgoengine package so a program that only needs sessions and guests does not pull in packagekit and its dependencies.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolvePackages

func ResolvePackages(manifests []packagekit.Manifest) (packagekit.Plan, error)

ResolvePackages orders manifests provider-before-consumer, requiring unique exact providers and rejecting cycles. It neither executes nor grants access.

func ResolvePackagesFor

func ResolvePackagesFor(manifests []packagekit.Manifest, os, arch string) (packagekit.Plan, error)

ResolvePackagesFor resolves requirements for an explicit operating system and architecture.

func SelectEntrypoint

func SelectEntrypoint(m packagekit.Manifest, name string, env packagekit.Environment) (packagekit.LaunchSelection, error)

SelectEntrypoint chooses the named entrypoint for the environment.

func ValidateManifest

func ValidateManifest(m packagekit.Manifest) error

ValidateManifest reports whether m is a valid ext.io/v1 manifest.

func VerifyArtifacts

func VerifyArtifacts(m packagekit.Manifest, root string) error

VerifyArtifacts checks the manifest and the files it lists under root. The application must protect reviewed files against modification and separately establish trust.

Types

This section is empty.

Jump to

Keyboard shortcuts

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