Expand description
Detect the OS distribution and version.
Modules§
- yai
- Yet another INI-like file parser.
Structs§
- Builder
- StorPool builder data.
- DebRepo
- Debian package repository data.
- Detect
- Check whether this host is running this particular OS variant.
- Supported
- The aspects of the StorPool operation supported for this build variant.
- Variant
- A single StorPool build variant with all its options.
- Variant
DefTop - The internal variant format data: all build variants, some more info.
- Variant
Format - The internal format of the variant definition format data.
- Variant
Format Version - The version of the variant definition format data.
- YumRepo
- Yum/DNF package repository data.
Enums§
- Repo
- OS package repository data.
- Variant
Error - An error that occurred while determining the Linux variant.
- Variant
Kind - The supported StorPool build variants (OS distribution, version, etc).
Functions§
- build_
variants - Get the list of StorPool variants from the internal
data
module. - detect
- Detect the variant that this host is currently running.
- detect_
from - Detect the current host’s variant from the supplied data.
- get_
all_ variants - Get information about all variants.
- get_
all_ variants_ from - Get information about all variants defined in the specified structure.
- get_
all_ variants_ in_ order - Get information about all variants in the order of inheritance between them.
- get_
all_ variants_ in_ order_ from - Get information about all variants defined in the specified structure in order.
- get_
by_ alias_ from - Get the variant with the specified builder alias from the supplied data.
- get_
format_ version - Get the metadata format version of the variant data.
- get_
format_ version_ from - Get the metadata format version of the supplied variant data structure.
- get_
from - Get the variant with the specified name from the supplied data.
- get_
program_ version - Get the program version from the variant data.
- get_
program_ version_ from - Get the program version from the supplied variant data structure.