libioc.Distribution module¶
ioc Distribution module.
-
class
libioc.Distribution.
Distribution
(host=None, zfs=None, logger=None)[source]¶ Bases:
libioc.Distribution.DistributionGenerator
Synchronous wrapper of the host distribution.
-
class
libioc.Distribution.
DistributionGenerator
(host=None, zfs=None, logger=None)[source]¶ Bases:
object
Asynchronous representation of the host distribution.
-
property
eol_list
¶ Return the (memoized) list of release names listed as EOL.
- Return type
List
[str
]
-
eol_url
= 'https://www.freebsd.org/security/unsupported.html'¶
-
property
hash_file
¶ Return the name of the checksum file found on the mirror.
- Return type
str
-
property
mirror_url
¶ Return the mirror URL of the distribution.
URL that points to the top level directory of a distributions release asset HTTP server.
- Return type
str
-
property
name
¶ Return the name of the host distribution.
Often used to differentiate between operations for HardenedBSD or standard FreeBSD.
- Return type
str
-
release_name_blacklist
= ['', '.', '..', 'ISO-IMAGES']¶
-
property
releases
¶ List of available releases.
Raises an error when the releases cannot be fetched at the current time
- Return type
List
[ReleaseGenerator
]
-
property