summaryrefslogtreecommitdiff
path: root/vendor/github.com/opencontainers/runc/libcontainer/console_windows.go
blob: c61e866a5d5db4111f20891cea2bd57213499b39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package libcontainer

// newConsole returns an initialized console that can be used within a container
func newConsole() (Console, error) {
	return &windowsConsole{}, nil
}

// windowsConsole is a Windows pseudo TTY for use within a container.
type windowsConsole struct {
}

func (c *windowsConsole) Fd() uintptr {
	return 0
}

func (c *windowsConsole) Path() string {
	return ""
}

func (c *windowsConsole) Read(b []byte) (int, error) {
	return 0, nil
}

func (c *windowsConsole) Write(b []byte) (int, error) {
	return 0, nil
}

func (c *windowsConsole) Close() error {
	return nil
}