def stream_logs(self, stdout=True, stderr=True, tail='all', timeout=10.0): """ Stream container output. """ return stream_logs(self.inner(), stdout=stdout, stderr=stderr, tail=tail, timeout=timeout)
def stream_logs(self, con, timeout=0.5, **kw): for line in stream_logs(con, timeout=timeout, **kw): yield line
def stream_logs(self, con, timeout=0.5, **kw): return stream_logs(con, timeout=timeout, **kw)
def stream_only(self, con, timeout=1): return list(stream_logs(con, tail=0, timeout=timeout))
def stream(self, con, **kw): return list(stream_logs(con, **kw))