NAME

Container::Builder::Index - Class for the container Index specification.

DESCRIPTION

Container::Builder::Index provides a JSON file of the container Index.

METHODS

generate_index($manifest_digest, $manifest_size)

Generate a JSON string for a OCI Index file. The two parameters are used to refer to the container manifest file inside the JSON. $manifest_digest needs to be a hex representation of the SHA256 digest of the manifest.

AUTHOR

Adriaan Dens <adri@cpan.org>

COPYRIGHT

Copyright 2026- Adriaan Dens

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Part of the Container::Builder module.
https://specs.opencontainers.org/image-spec/image-index/?v=v1.1.1