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

Function upgradeAvailableString

command/v7/services_command.go:73–82  ·  view source on GitHub ↗
(u types.OptionalBoolean)

Source from the content-addressed store, hash-verified

71}
72
73func upgradeAvailableString(u types.OptionalBoolean) string {
74 switch {
75 case u.IsSet && u.Value:
76 return "yes"
77 case u.IsSet:
78 return "no"
79 default:
80 return ""
81 }
82}
83
84func serviceOfferingName(si v7action.ServiceInstance) string {
85 if si.Type == resources.UserProvidedServiceInstance {

Callers 1

AppendRowMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected