Documentation ¶
Index ¶
- Constants
- func CheckLivenessSSH(privateKey, serverAddress string) error
- func Filter[T any](s []T, fn func(T) bool) []T
- func GenerateSSHKeyPair() (string, string, error)
- func Map[T any, U any](s []T, fn func(T) U) []U
- func ResourceName(jobID string) string
- func SetResourceNamePrefix(prefix string) error
- func WaitReachable(ctx context.Context, privateKey, serverAddress string) error
- type SSHClient
- type State
Constants ¶
View Source
const CustomSSHPort = 2222
View Source
const StatePath = "state.json"
Variables ¶
This section is empty.
Functions ¶
func CheckLivenessSSH ¶ added in v0.5.0
func GenerateSSHKeyPair ¶
func ResourceName ¶
func SetResourceNamePrefix ¶ added in v0.7.0
Types ¶
type SSHClient ¶
type SSHClient struct {
// contains filtered or unexported fields
}
func NewSSHClient ¶
Click to show internal directories.
Click to hide internal directories.