import "k8s.io/kubernetes/pkg/ssh"
func EncodePrivateKey(private *rsa.PrivateKey) []byte
RunSSHCommand returns the stdout, stderr, and exit code from running cmd on host as specific user, along with any SSH-level error. If user=="", it will default (like SSH) to os.Getenv("USER")
type SSHTunnelList struct {
// contains filtered or unexported fields
}
func NewSSHTunnelList(user, keyfile string, healthCheckURL *url.URL, stopChan chan struct{}) *SSHTunnelList
func (l *SSHTunnelList) Update(addrs []string)
Update reconciles the list's entries with the specified addresses. Existing tunnels that are not in addresses are removed from entries and closed in a background goroutine. New tunnels specified in addresses are opened in a background goroutine and then added to entries.
Package ssh imports 25 packages (graph) and is imported by 236 packages. Updated 2020-05-29. Refresh now. Tools for package owners.