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

Function DoWebForTargets

pkg/machinescommon/web.go:35–38  ·  view source on GitHub ↗
(target *machines.DeploymentTarget, dependencies *cmd.Dependencies, flags *WebFlags, description string)

Source from the content-addressed store, hash-verified

33}
34
35func DoWebForTargets(target *machines.DeploymentTarget, dependencies *cmd.Dependencies, flags *WebFlags, description string) {
36 url := util.GenerateWebURL(dependencies.Host, dependencies.Space.GetID(), fmt.Sprintf("infrastructure/machines/%s/settings", target.GetID()))
37 doWeb(url, description, dependencies.Out, flags)
38}
39
40func DoWebForWorkers(worker *machines.Worker, dependencies *cmd.Dependencies, flags *WebFlags, description string) {
41 url := util.GenerateWebURL(dependencies.Host, dependencies.Space.GetID(), fmt.Sprintf("infrastructure/workers/%s/settings", worker.GetID()))

Callers

nothing calls this directly

Calls 2

GenerateWebURLFunction · 0.92
doWebFunction · 0.85

Tested by

no test coverage detected