MCPcopy
hub / github.com/alexellis/k3sup / expandPath

Function expandPath

cmd/install.go:507–510  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

505}
506
507func expandPath(path string) string {
508 res, _ := homedir.Expand(path)
509 return res
510}
511
512func sshAgent(publicKeyPath string) (ssh.AuthMethod, func() error) {
513 if sshAgentConn, err := net.Dial("unix", os.Getenv("SSH_AUTH_SOCK")); err == nil {

Callers 5

MakeGetConfigFunction · 0.85
MakeNodeTokenFunction · 0.85
MakeInstallFunction · 0.85
obtainKubeconfigFunction · 0.85
MakeJoinFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected