NAME

API::Docker::Type::ObjectVersion - The version number of the object such as node, service, etc

VERSION

version 0.004

DESCRIPTION

Generated from the ObjectVersion definition of spec/v1.51.yaml.

This is needed to avoid conflicting writes. The client must send the version number along with the modified specification when updating these objects.

This approach ensures safe concurrency and determinism in that the change on the object may not be applied if the version number has changed from the last read. In other words, if two update requests specify the same base version, only one of the requests can succeed. As a result, two separate update requests that happen at the same time will not unintentionally overwrite each other.

index

Undocumented upstream. The version number itself, the one the definition above says must travel back with a modified specification so that two updates from the same base version cannot overwrite each other. The swagger's example is 373531; the GET /secrets capture in t/fixtures/secrets_list.json, from Podman 5.4.2 (API 1.41), has 1 on both secrets. API::Docker::Role::Entity::Secret and API::Docker::Role::Entity::Config read it out as version_index.

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-api-docker/issues.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <getty@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/.

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