MCPcopy Index your code
hub / github.com/devspace-sh/devspace / GetInstance

Function GetInstance

pkg/devspace/services/ssh/port.go:25–30  ·  view source on GitHub ↗
(log log.Logger)

Source from the content-addressed store, hash-verified

23)
24
25func GetInstance(log log.Logger) PortManager {
26 portManagerOnce.Do(func() {
27 portManager = NewManager(log)
28 })
29 return portManager
30}
31
32func NewManager(log log.Logger) PortManager {
33 homeDir, err := homedir.Dir()

Callers 2

startProxyCommandsFunction · 0.92
startSSHFunction · 0.70

Calls 1

NewManagerFunction · 0.70

Tested by

no test coverage detected