all repos — memnarch @ c28267af045fccf922a7eb484b8b6844019305ab

featherweight orchestrator

hosts/hosts.go (raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package hosts

// a host is a name and an address
// memnarch expects an SSH private key to connect to Addr to exist at MEMNARCH_HOSTS/Name

type Host struct {
  Name string
  Addr string
}

type RemoteMachine interface {
  Run(...string) error
}

func (*Host) Run(cmdArgs ...string) error {
  return nil
}