MCPcopy Index your code
hub / github.com/coder/coder / String

Method String

codersdk/workspacesdk/tunneler/tunneler.go:72–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70)
71
72func (s state) String() string {
73 switch s {
74 case stateInit:
75 return "init"
76 case exit:
77 return "exit"
78 case waitToStart:
79 return "waitToStart"
80 case waitForWorkspaceStarted:
81 return "waitForWorkspaceStarted"
82 case waitForAgent:
83 return "waitForAgent"
84 case establishTailnet:
85 return "establishTailnet"
86 case tailnetUp:
87 return "tailnetUp"
88 case applicationUp:
89 return "applicationUp"
90 case shutdownApplication:
91 return "shutdownApplication"
92 case shutdownTailnet:
93 return "shutdownTailnet"
94 default:
95 return fmt.Sprintf("unknown(%d)", s)
96 }
97}
98
99type Tunneler struct {
100 config Config

Callers 9

DialMethod · 0.45
AgentReconnectingPTYMethod · 0.45
WatchContainersMethod · 0.45
WatchGitMethod · 0.45
ConnectDesktopVNCMethod · 0.45
ExecuteDesktopActionMethod · 0.45
apiRequestMethod · 0.45

Calls

no outgoing calls

Tested by 1