Crate envs

Source

Structs§

Capabilities
Struct holding the detected capabilities.
EnvironmentInfo
Struct holding the environment information.
RealFileSystem
Real filesystem implementation of the FileSystem trait.

Enums§

Capability
Enum representing specific capabilities.
ContainerEnvironment
Enum representing different container environments.
OperatingSystem
Enum representing supported operating systems.
VirtualizationPlatform
Enum representing virtualization platforms.

Traits§

FileSystem
Trait to abstract filesystem operations for easier testing.

Functions§

detect_container
Detects the current container environment using the provided FileSystem.
detect_virtualization
Detects the current virtualization platform using the provided FileSystem.
get_environment_info
Retrieves the complete environment information using the real filesystem.
get_os
Retrieves the current operating system.