Kathara.manager.docker.exec_stream.DockerExecStream - KatharaFramework/Kathara GitHub Wiki
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
) → None
exit_code() → int
Return the exit code of the execution.
Returns:
-
int
: The exit code of the execution.
stream_next() → Iterator
Return the next element from the stream.
Returns:
-
Iterator
: The output iterator from the stream.
This file was automatically generated via lazydocs.