Kathara.manager.kubernetes.exec_stream.KubernetesExecStream - KatharaFramework/Kathara GitHub Wiki

module Kathara.manager.kubernetes.exec_stream.KubernetesExecStream


class KubernetesExecStream

Kubernetes-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.

method KubernetesExecStream.exit_code

exit_code() → int

Return the exit code of the execution.

Returns:

  • int: The exit code of the execution.

method KubernetesExecStream.stream_next

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.

⚠️ **GitHub.com Fallback** ⚠️