NAME
API::Docker::Type::SwarmInfo - Represents generic information about swarm
VERSION
version 0.004
DESCRIPTION
Generated from the SwarmInfo definition of spec/v1.51.yaml.
node_id
Unique identifier of for this node in the swarm. The daemon defaults it to . Serialised as NodeID -- spelled out, because deriving it from the Perl name would produce NodeId.
node_addr
IP address at which this node can be reached by other nodes in the swarm. The daemon defaults it to .
local_node_state
Current local status of this node. The swagger enumerates the empty string, inactive, pending, active, error and locked.
control_available
Undocumented upstream. A boolean, defaulted to false upstream and true in the example, standing beside "local_node_state" and "managers". Measured against Podman 5.8.4 (API 1.44), GET /info answers a complete Swarm block -- ControlAvailable false, LocalNodeState inactive -- on an engine running no swarm at all.
error
Undocumented upstream. Defaulted to the empty string upstream, which is also what that same Podman 5.8.4 measurement answers.
remote_managers
List of ID's and addresses of other managers in the swarm. See API::Docker::Type::PeerNode. The daemon defaults it to null.
nodes
Total number of nodes in the swarm.
managers
Total number of managers in the swarm.
cluster
ClusterInfo represents information about the swarm as is returned by the "/info" endpoint. See API::Docker::Type::ClusterInfo.
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.