containerd/execution/executors/shim/containerd-shim/console_solaris.go

15 lines
386 B
Go
Raw Normal View History

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