MCPcopy Create free account
hub / github.com/0xUnixIO/pulse / buildInstallCommand

Function buildInstallCommand

internal/serverapi/node_enroll_token.go:151–154  ·  view source on GitHub ↗
(serverURL, nodeID, token string)

Source from the content-addressed store, hash-verified

149}
150
151func buildInstallCommand(serverURL, nodeID, token string) string {
152 return fmt.Sprintf("bash <(curl -fsSL %s) node --server=%s --node-id=%s --token=%s",
153 installScriptURL, serverURL, nodeID, token)
154}
155
156func buildManualCommand(serverURL, nodeID, token string) string {
157 return fmt.Sprintf("pulse-node enroll --server=%s --node-id=%s --token=%s",

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected