Documentation
¶
Index ¶
- func Console(host, user, keyPath string) error
- func Exec(ctx context.Context, host, user, keyPath string, command []string) (int, error)
- func Output(ctx context.Context, host, user, keyPath string, command []string) ([]byte, error)
- func TestAuth(ctx context.Context, host, user, keyPath string) error
- func WaitProvisioned(ctx context.Context, host, user, keyPath string, timeout time.Duration) error
- func WaitReady(ctx context.Context, host string, timeout time.Duration, log io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestAuth ¶
TestAuth runs a quick SSH connection test (ssh ... true) to verify key-based authentication works. Returns nil on success.
func WaitProvisioned ¶
WaitProvisioned polls the remote host until /root/.devtools-provisioned exists.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.