MCPcopy Create free account
hub / github.com/cloudfoundry/cli / FormattedRoutePortsLimit

Method FormattedRoutePortsLimit

cf/models/space_quota.go:55–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53}
54
55func (q SpaceQuota) FormattedRoutePortsLimit() string {
56 reservedRoutePortsLimit := T(UnlimitedDisplay)
57 if q.ReservedRoutePortsLimit != "-1" {
58 reservedRoutePortsLimit = string(q.ReservedRoutePortsLimit)
59 }
60
61 return reservedRoutePortsLimit
62}
63
64type SpaceQuotaResponse struct {
65 GUID string `json:"guid,omitempty"`

Callers 3

ExecuteMethod · 0.80
ExecuteMethod · 0.80
quotaStringMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected