Expand description
Core types used across the codebase.
Structs§
- Advisory
- A security advisory containing information about a vulnerability.
- Advisory
Registry - A registry of security advisories.
- Author
- Information about a software author.
- Build
Dependency V2 - A build dependency with its associated build type.
- CiConfig
- Configuration for Continuous Integration (CI) runners.
- Complex
Dependency Group - A complex dependency group with various types of dependencies.
- Config
- The global Zoi configuration.
- Dependencies
- Defines the dependencies of a package, including runtime, build, and test.
- Dependencies
V2 - Resolved dependencies in a simplified format (V2).
- Dependency
Option Group - A group of optional dependencies.
- Extension
Info - Information about an extension and its applied changes.
- GitLink
- A link to a Git repository in a repository configuration.
- Hooks
- Lifecycle hooks that run during package installation, upgrade, or removal.
- Install
Manifest - The record of an actual package installation on disk.
- Lock
Package Detail V2 - Detailed lock information for an installed package.
- Lock
Registry V2 - Detailed lock information for a registry.
- Maintainer
- Information about a package maintainer.
- Mapped
Dir - A directory to be created.
- Mapped
File - A file to be mapped from the pool to a destination path.
- Mapped
Symlink - A symlink to be created.
- Mini
Vulnerability - A simplified vulnerability representation used in package indices.
- Package
- The core package definition blueprint.
- PgpKey
- A PGP public key in a repository configuration.
- PkgLink
- A link to a package index or archive in a repository configuration.
- Policy
- Policy settings for enforcing constraints on Zoi’s operation.
- Pool
File Entry - An entry in the file pool of a ZPA package.
- Pooled
ZpaManifest - A manifest for a pooled ZPA package.
- Prebuilt
Info - Information about a pre-built package.
- Purl
Package Index V2 - Pre-computed metadata for a package in the registry index.
- Registry
- Configuration for a package registry.
- Registry
Index V2 - The root structure of a
packages.jsonregistry index file (Specification v2). - Remote
Policy Config - Configuration for remote policy enforcement.
- Repo
Config - The structure of a
repo.yamlrepository configuration file. - Repo
Entry - An entry for a sub-repository in a repository configuration.
- Sandbox
Config - Configuration for sandboxing a package’s execution.
- Scope
Mapping - Mappings of files, symlinks, and directories within a specific scope.
- Service
- Configuration for a background service managed by Zoi.
- Sharable
Install Manifest - A simplified version of an install manifest that can be easily shared or compared.
- Shell
Completion - Shell completion configuration.
- Signature
Enforcement Policy - Policy for enforcing cryptographic signatures on packages.
- SubPackage
Mapping - Mappings for a sub-package across different scopes.
- Transaction
- A transaction containing a set of operations to be performed atomically.
- Typed
Build Dependencies - Build dependencies categorized by build type.
- Update
Info - Information about an update notice.
- ZoiLock
V2 - The root structure of a
zoi.lockfile (Specification v2).
Enums§
- Build
Dependencies - Represents build dependencies, which can be typed or a single group.
- Dependency
Group - A group of dependencies, which can be simple or complex.
- Extension
Change - Defines a specific configuration change applied by an Extension.
- Install
Reason - The reason for a package installation.
- Package
Type - Defines the category of a Zoi package.
- Platform
OrString Vec - A list of commands to run, either as a simple list or mapped by platform.
- Scope
- The installation scope for a package.
- Severity
- Represents the severity level of a security advisory.
- Source
Type - The type of source from which a package is installed.
- Transaction
Operation - Represents a single operation within a transaction.
- Update
Type - The severity or category of an update notice.
Functions§
- to_
dependencies_ v2 - Converts a
Dependenciesstruct to aDependenciesV2struct.