mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
run install.sh script when initialising a cluster on the init machine
This commit is contained in:
@@ -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