-
-
Notifications
You must be signed in to change notification settings - Fork 73
Kathara.manager.docker.exec_stream.DockerExecStream
Tommaso Caiazzi edited this page Jan 8, 2025
·
1 revision
Docker-specific class for handling the commands stream exec.
Attributes:
-
_stream(Generator): The generator yielding the output of the stream exec. -
_stream_api_object(Any): The specific API object to interact with the underlying stream. -
_client(DockerClient): The Docker client object to interact with the stream.
__init__(
stream: Generator,
stream_api_object: str,
client: docker.client.DockerClient
) → Noneexit_code() → intReturn the exit code of the execution.
Returns:
-
int: The exit code of the execution.
stream_next() → IteratorReturn the next element from the stream.
Returns:
-
Iterator: The output iterator from the stream.
This file was automatically generated via lazydocs.
Website: kathara.org
Contact us: [email protected]