github.com/gunjan5/docker@v1.8.2/daemon/execdriver/windows/stdconsole.go (about)

     1  // +build windows
     2  
     3  package windows
     4  
     5  // StdConsole is for when using a container non-interactively
     6  type StdConsole struct {
     7  }
     8  
     9  func NewStdConsole() *StdConsole {
    10  	return &StdConsole{}
    11  }
    12  
    13  func (s *StdConsole) Resize(h, w int) error {
    14  	// we do not need to resize a non tty
    15  	return nil
    16  }
    17  
    18  func (s *StdConsole) Close() error {
    19  	// nothing to close here
    20  	return nil
    21  }