Tizen_4.0 base
[platform/upstream/docker-engine.git] / vendor / github.com / opencontainers / runc / libcontainer / console.go
1 package libcontainer
2
3 import (
4         "io"
5         "os"
6 )
7
8 // Console represents a pseudo TTY.
9 type Console interface {
10         io.ReadWriteCloser
11
12         // Path returns the filesystem path to the slave side of the pty.
13         Path() string
14
15         // Fd returns the fd for the master of the pty.
16         File() *os.File
17 }