system¶
SystemManager to provide system level information from Podman service.
- class SystemManager(client: APIClient)[source]¶
Bases:
object
SystemManager to provide system level information from Podman service.
Initialize SystemManager object.
- Parameters:
client – Connection to Podman service.
- df() Dict[str, Any] [source]¶
Disk usage by Podman resources.
- Returns:
Keyed by resource categories and their data usage.
- Return type:
dict
- login(username: str, password: str | None = None, email: str | None = None, registry: str | None = None, reauth: bool | None = False, dockercfg_path: str | None = None) Dict[str, Any] [source]¶
Log into Podman service.
- Parameters:
username – Registry username
password – Registry plaintext password
email – Registry account email address
registry – URL for registry access. For example,
reauth – Ignored: If True, refresh existing authentication. Default: False
dockercfg_path – Ignored: Path to custom configuration file. https://quay.io/v2