Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectSSH ¶
ConnectSSH establishes an SSH connection with retries. Host key verification uses Trust-On-First-Use (TOFU).
func GetHostURL ¶
func GetHostURL(env *v1alpha1.Environment, nodeName string, preferControlPlane bool) (string, error)
GetHostURL resolves the SSH-reachable host URL for an environment. If nodeName is set, it looks for that specific node. If preferControlPlane is true and no nodeName is set, it prefers a control-plane node. Falls back to the first available node, then single-node properties.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.