github.com/windmilleng/containerd@v0.2.7/containerd-shim/console_solaris.go (about)

     1  // +build solaris
     2  
     3  package main
     4  
     5  import (
     6  	"errors"
     7  	"os"
     8  )
     9  
    10  // NewConsole returns an initalized console that can be used within a container by copying bytes
    11  // from the master side to the slave that is attached as the tty for the container's init process.
    12  func newConsole(uid, gid int) (*os.File, string, error) {
    13  	return nil, "", errors.New("newConsole not implemented on Solaris")
    14  }