MCPcopy Create free account
hub / github.com/OctopusDeploy/cli / DoWebForWorkerPools

Function DoWebForWorkerPools

pkg/machinescommon/web.go:45–48  ·  view source on GitHub ↗
(workerPool workerpools.IWorkerPool, dependencies *cmd.Dependencies, flags *WebFlags)

Source from the content-addressed store, hash-verified

43}
44
45func DoWebForWorkerPools(workerPool workerpools.IWorkerPool, dependencies *cmd.Dependencies, flags *WebFlags) {
46 url := util.GenerateWebURL(dependencies.Host, dependencies.Space.GetID(), fmt.Sprintf("infrastructure/workerpools/%s", workerPool.GetID()))
47 doWeb(url, "Worker Pool", dependencies.Out, flags)
48}
49
50func doWeb(url string, description string, out io.Writer, flags *WebFlags) {
51 link := output.Blue(url)

Callers 4

createRunFunction · 0.92
ViewRunFunction · 0.92
ViewRunFunction · 0.92
createRunFunction · 0.92

Calls 2

GenerateWebURLFunction · 0.92
doWebFunction · 0.85

Tested by

no test coverage detected