NAME

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

DESCRIPTION

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

METHODS

generate_manifest($config_digest, $config_size, $layers)

Generate a JSON string for a OCI manifest file. $config_digest needs to be the hex representation of the SHA256 of the config JSON file. $layers is an array ref to a list of Container::Builder::Layer objects.

get_digest()

Returns the SHA256 digest of the generated config.

get_size()

Returns the size (length) of the generated config.

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://github.com/opencontainers/image-spec/blob/main/manifest.md