waft.cli.download_warp module¶
- class waft.cli.download_warp.PlatformEnum(value)¶
Bases:
Enum
- almalinux = 'almalinux'¶
- bookworm = 'bookworm'¶
- bullseye = 'bullseye'¶
- buster = 'buster'¶
- centos8 = 'centos8'¶
- debian10 = 'debian10'¶
- debian11 = 'debian11'¶
- debian12 = 'debian12'¶
- fedora34 = 'fedora34'¶
- fedora35 = 'fedora35'¶
- focal = 'focal'¶
- jammy = 'jammy'¶
- macos = 'macos'¶
- noble = 'noble'¶
- rhel = 'rhel'¶
- ubuntu20 = 'ubuntu20'¶
- ubuntu22 = 'ubuntu22'¶
- ubuntu24 = 'ubuntu24'¶
- windows = 'windows'¶
- class waft.cli.download_warp.ReleaseTrackEnum(value)¶
Bases:
Enum
- beta = 'beta'¶
- ga = 'ga'¶
- nightly = 'nightly'¶
- waft.cli.download_warp.client(platform: ~waft.cli.download_warp.Annotated[~waft.cli.download_warp.PlatformEnum, <typer.models.ArgumentInfo object at 0x7f50dacc7ed0>], architecture: ~waft.cli.download_warp.Annotated[~waft.cli.download_warp.ArchitectureEnum, <typer.models.ArgumentInfo object at 0x7f50db06c750>], release: ~waft.cli.download_warp.Annotated[~waft.cli.download_warp.ReleaseTrackEnum, <typer.models.ArgumentInfo object at 0x7f50daea2110>], version: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7f50daea20d0>] = '', previous: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7f50daea28d0>] = 0, clear: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f50daea2990>] = False)¶
Download WARP client to local WAFT client installs folder.
- waft.cli.download_warp.client_download_path(platform: str, architecture: str, clear: bool) Path ¶
Return the local client download path for the respective platform and architecture.
- Parameters:
platform (str) – Platform name or alias
architecture (str) – Platform architecture
clear (bool) – Clear the install path
- Returns:
Client download path
- Return type:
Path
- waft.cli.download_warp.client_downloads_catalog(platform: str, architecture: str, release: str) dict ¶
Request the client downloads catalog for the respective platform, architecture, and release track.
- Parameters:
platform (str) – Platform name or alias
architecture (str) – Platform architecture
release (str) – Client release track
- Returns:
Client downloads catalog
- Return type:
dict
- waft.cli.download_warp.client_platform_id(platform: str, architecture: str) str ¶
Return the designated platform identifier for published client downloads.
- Parameters:
platform (str) – Platform name or alias
architecture (str) – Platform architecture
- Returns:
Platform identifier for published client downloads
- Return type:
str
- waft.cli.download_warp.clients(release: ~waft.cli.download_warp.Annotated[~waft.cli.download_warp.ReleaseTrackEnum, <typer.models.ArgumentInfo object at 0x7f50daea2110>], version: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7f50daea20d0>] = '', previous: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7f50daea28d0>] = 0, clear: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f50daea2990>] = False, systems: ~typing.Annotated[list[str], <typer.models.OptionInfo object at 0x7f50db3bee90>] = SystemsDefault.ALL, config: ~typing.Annotated[~pathlib.Path | None, <typer.models.OptionInfo object at 0x7f50db06bf90>] = None)¶
Download WARP clients to the local system for any given system/group(s) defined in the config
- waft.cli.download_warp.info(platform: ~waft.cli.download_warp.Annotated[~waft.cli.download_warp.PlatformEnum, <typer.models.ArgumentInfo object at 0x7f50dacc7ed0>], architecture: ~waft.cli.download_warp.Annotated[~waft.cli.download_warp.ArchitectureEnum, <typer.models.ArgumentInfo object at 0x7f50db06c750>], release: ~waft.cli.download_warp.Annotated[~waft.cli.download_warp.ReleaseTrackEnum, <typer.models.ArgumentInfo object at 0x7f50daea2110>])¶
Display release details of (published) WARP clients available for download.
- waft.cli.download_warp.platform_from_node(node: BaseNode) PlatformEnum ¶
Return the PlatformEnum for the given node.
- Parameters:
node (BaseNode) – Node to get PlatformEnum from
- Returns:
PlatformEnum for the given node
- Return type: