MCPcopy Index your code
hub / github.com/cloudfoundry/cli / FormattedOptions

Method FormattedOptions

resources/route_resource.go:128–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126}
127
128func (r *Route) FormattedOptions() string {
129 var routeOpts = []string{}
130 formattedOptions := ""
131 if r.Options != nil && len(r.Options) > 0 {
132 for optKey, optVal := range r.Options {
133 routeOpts = append(routeOpts, optKey+"="+*optVal)
134 }
135 formattedOptions = " {" + strings.Join(routeOpts, ", ") + "}"
136 }
137 return formattedOptions
138}

Callers 2

ExecuteMethod · 0.80
displayRoutesTableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected