Documentation ¶
Index ¶
- func NewFIFOSet(processID string, withStdin bool, withTerminal bool) (*cio.FIFOSet, error)
- type Cache
- type IO
- func (ctrio *IO) AttachCRILog(path string, withTerminal bool) error
- func (ctrio *IO) Close() error
- func (ctrio *IO) InitContainerIO(dio *cio.DirectIO) (cio.IO, error)
- func (ctrio *IO) Reset()
- func (ctrio *IO) SetLogDriver(logdriver logger.LogDriver)
- func (ctrio *IO) SetMaxBufferSize(maxBufferSize int64)
- func (ctrio *IO) SetNonBlock(nonBlock bool)
- func (ctrio *IO) Stream() *streams.Stream
- func (ctrio *IO) Wait()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache saves the all container's io.
type IO ¶
type IO struct {
// contains filtered or unexported fields
}
IO represents the streams and logger.
func (*IO) AttachCRILog ¶
AttachCRILog will create CRILog and register it into stream.
func (*IO) InitContainerIO ¶
InitContainerIO will start logger and coping data from fifo.
func (*IO) SetLogDriver ¶
SetLogDriver sets log driver to the IO.
func (*IO) SetMaxBufferSize ¶
SetMaxBufferSize set the max size of buffer.
func (*IO) SetNonBlock ¶
SetNonBlock whether to cache the container's logs with buffer.
Click to show internal directories.
Click to hide internal directories.