NAME

Podman::System - Service information.

SYNOPSIS

# Create and use system controller
my $System = Podman::System->new();
my $Version = $System->Version();

# Get disk usage info
my $Disk = Podman::System->DiskUsage();

# Get components version
Podman::System->Version();

DESCRIPTION

Podman::Service provides system level information for a Podman service.

ATTRIBUTES

Client

my $Client = Podman::Client->new(
    Connection => 'http+unix:///var/cache/podman.sock' );
my $Images = Podman::Images->new( Client => $Client );

Optional Podman::Client object.

METHODS

DiskUsage

my $DiskUsage = Podman::System->DiskUsage();

Return information about disk usage for containers, images and volumes.

Version

my $Version = Podman::System->Version();

Obtain a dictionary of versions for the Podman service components.

AUTHORS

Tobias Schäfer, <tschaefer@blackox.org>

COPYRIGHT AND LICENSE

Copyright (C) 2022-2022, Tobias Schäfer.

This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.