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

Method peek_stderr

kubernetes/base/stream/ws_client.py:165–167  ·  view source on GitHub ↗

Same as peek_channel with channel=2.

(self, timeout=0)

Source from the content-addressed store, hash-verified

163 return self.readline_channel(STDOUT_CHANNEL, timeout=timeout)
164
165 def peek_stderr(self, timeout=0):
166 """Same as peek_channel with channel=2."""
167 return self.peek_channel(STDERR_CHANNEL, timeout=timeout)
168
169 def read_stderr(self, timeout=None):
170 """Same as read_channel with channel=2."""

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