wfexs_backend.utils.docker
#
Module Contents#
Classes#
API#
- class wfexs_backend.utils.docker.Credentials#
Bases:
typing.NamedTuple
- class wfexs_backend.utils.docker.DockerTagMetadata#
Bases:
typing.NamedTuple
- class wfexs_backend.utils.docker.DXFFat(host: str, repo: str, auth: Optional[Callable[[dxf.DXFBase, requests.Response], None]] = None, insecure: bool = False, auth_host: Optional[str] = None, tlsverify: Union[bool, str] = True, timeout: Optional[float] = None)#
Bases:
dxf.DXF
- get_fat_manifest_and_response(alias: str, http_method: str = 'get') Tuple[str, requests.Response] #
Request the “fat” manifest for an alias, which returns the list of all the available architectures, and returns the manifest and the response.
- Parameters:
alias (str) – Alias name.
- Return type:
- Returns:
Tuple containing the “fat” manifest as a string (JSON)
and the requests.Response
- get_fat_manifest_and_dcd(alias: str, http_method: str = 'get') Tuple[str, str | None] #
Request the “fat” manifest for an alias, which returns the list of all the available architectures, and returns the manifest and the response.
- Parameters:
alias (str) – Alias name.
- Return type:
- Returns:
Tuple containing the “fat” manifest as a string (JSON)
and the dcd