(scopes []string)
| 691 | } |
| 692 | |
| 693 | func apiScopesFor(scopes []string) *[]management.ResourceServerScope { |
| 694 | models := make([]management.ResourceServerScope, 0) |
| 695 | |
| 696 | for _, scope := range scopes { |
| 697 | value := scope |
| 698 | models = append(models, management.ResourceServerScope{Value: &value}) |
| 699 | } |
| 700 | |
| 701 | return &models |
| 702 | } |
| 703 | |
| 704 | func (c *cli) apiPickerOptions(ctx context.Context) (pickerOptions, error) { |
| 705 | return c.filteredAPIPickerOptions(ctx, func(r *management.ResourceServer) bool { |
no outgoing calls
no test coverage detected