MCPcopy Index your code
hub / github.com/kubernetes-client/python / peek_stdout

Method peek_stdout

kubernetes/base/stream/ws_client.py:153–155  ·  view source on GitHub ↗

Same as peek_channel with channel=1.

(self, timeout=0)

Source from the content-addressed store, hash-verified

151 self._closed_channels.add(channel)
152
153 def peek_stdout(self, timeout=0):
154 """Same as peek_channel with channel=1."""
155 return self.peek_channel(STDOUT_CHANNEL, timeout=timeout)
156
157 def read_stdout(self, timeout=None):
158 """Same as read_channel with channel=1."""

Callers 2

test_pod_apisMethod · 0.80
exec_commandsFunction · 0.80

Calls 1

peek_channelMethod · 0.95

Tested by 1

test_pod_apisMethod · 0.64