Versions in this module Expand all Collapse all v0 v0.1.0 Oct 2, 2022 Changes in this version + const DefaultNameSpace + const DefaultPort + const DsDefault + var Debug9p bool + var DefaultKeyFile = filepath.Join(os.Getenv("HOME"), ".ssh/cpu_rsa") + var Dump9p bool + var DumpWriter io.Writer = os.Stderr + var V = func(string, ...interface{}) + func DsLookup(query dsQuery) (string, string, error) + func DsParse(uri string) (dsQuery, error) + func GetHostName(host string) string + func GetKeyFile(host, kf string) string + func GetPort(host, port string) (string, error) + func SetVerbose(f func(string, ...interface{})) + type Cmd struct + Args []string + Col int + Env []string + FSTab string + Host string + HostKeyFile string + HostName string + NameSpace string + Ninep bool + Port string + PrivateKeyFile string + Root string + Row int + Stderr io.Reader + Stdin io.WriteCloser + Stdout io.Reader + Timeout time.Duration + TmpMnt string + func Command(host string, args ...string) *Cmd + func (c *Cmd) Close() error + func (c *Cmd) Dial() error + func (c *Cmd) HostKeyConfig(hostKeyFile string) error + func (c *Cmd) Outputs() ([]bytes.Buffer, error) + func (c *Cmd) Run() error + func (c *Cmd) SSHStdin(w io.WriteCloser, r io.Reader) + func (c *Cmd) SetEnv(envs ...string) error + func (c *Cmd) SetOptions(opts ...Set) error + func (c *Cmd) SetupInteractive() error + func (c *Cmd) Signal(s ssh.Signal) error + func (c *Cmd) Start() error + func (c *Cmd) TTYIn(s *ssh.Session, w io.WriteCloser, r io.Reader) + func (c *Cmd) UserKeyConfig() error + func (c *Cmd) Wait() error + type Set func(*Cmd) error + func With9P(p9 bool) Set + func WithCpudCommand(cmd string) Set + func WithFSTab(fstab string) Set + func WithHostKeyFile(key string) Set + func WithNameSpace(ns string) Set + func WithNetwork(network string) Set + func WithPort(port string) Set + func WithPrivateKeyFile(key string) Set + func WithRoot(root string) Set + func WithTempMount(tmpMnt string) Set + func WithTimeout(timeout string) Set