run install.sh script when initialising a cluster on the init machine

This commit is contained in:
Pavel Sviderski
2024-09-21 00:43:33 +10:00
parent 18d5680863
commit d735d568b3
4 changed files with 88 additions and 9 deletions
+2
View File
@@ -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
}