(u types.OptionalBoolean)
| 71 | } |
| 72 | |
| 73 | func 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 | |
| 84 | func serviceOfferingName(si v7action.ServiceInstance) string { |
| 85 | if si.Type == resources.UserProvidedServiceInstance { |