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

Struct manager

pkg/devspace/services/ssh/port.go:64–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64type manager struct {
65 m sync.Mutex
66
67 reservedPorts map[int]bool
68
69 portRangeStart int
70 portRangeEnd int
71 portMap map[int]bool
72}
73
74func (m *manager) LockSpecificPort(p int) error {
75 m.m.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected