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

Function generateWebUrl

pkg/cmd/space/view/view.go:113–117  ·  view source on GitHub ↗
(host string, space *spaces.Space)

Source from the content-addressed store, hash-verified

111}
112
113func generateWebUrl(host string, space *spaces.Space) string {
114 link := strings.Split(space.Links["Web"], "/app#/")
115 webLink := "/app#/configuration/" + link[1]
116 return host + webLink
117}
118
119func formatSpaceForBasic(host string, space *spaces.Space) string {
120 var result strings.Builder

Callers 2

viewRunFunction · 0.85
formatSpaceForBasicFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected