17 lines
No EOL
306 B
Go
17 lines
No EOL
306 B
Go
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
|
|
} |