MCPcopy
hub / github.com/cloudfoundry/cli / URLForHostAndPath

Method URLForHostAndPath

cf/models/domain.go:12–19  ·  view source on GitHub ↗
(host, path string, port int)

Source from the content-addressed store, hash-verified

10}
11
12func (model DomainFields) URLForHostAndPath(host, path string, port int) string {
13 return (&RoutePresenter{
14 Host: host,
15 Domain: model.Name,
16 Path: path,
17 Port: port,
18 }).URL()
19}

Callers 2

CreateRouteMethod · 0.80
FindOrCreateRouteMethod · 0.80

Calls 1

URLMethod · 0.45

Tested by

no test coverage detected