mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
run install.sh script when initialising a cluster on the init machine
This commit is contained in:
1 parent
18d5680863
commit
d735d568b3
4 files changed
+88
-9
No files matched your search
@@ -2,12 +2,14 @@ package sshexec
|
||||
|
||||
import (
|
||||
"context"
|
||||
"io"
|
||||
"regexp"
|
||||
"strings"
|
||||
)
|
||||
|
||||
type Executor interface {
|
||||
Run(ctx context.Context, cmd string) (string, error)
|
||||
Stream(ctx context.Context, cmd string, stdout, stderr io.Writer) error
|
||||
Close() error
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user