Azure / Azure/azure-dev

Allow endpoint details to influence the output

Open
#6,636 3 comments 0 reactions 0 assignees View on GitHub
area/ux feature
Dominant language
Go
Stars
569
Forks
364
Avg merge
2d 19h
Merged PRs (30d)
136

Description

A service-target is currently returning a `[]string` to model endpoints.
Let this to be a struct `[]Endpoint` where more than strings can be defined.

This will allow the Endpoint writer to enhance the look of the endpoints when needed.
For example, from something like

```
(✓) Done: Deploying service api
- Endpoint: https://api-erixlchzvcltg.azurewebsites.net/
- Endpoint: https://api-erixlchzvcltg-staging.azurewebsites.net/
- Endpoint: https://api-erixlchzvcltg-test.azurewebsites.net/
```

to:

```
(✓) Done: Deploying service api
- Main App: https://api-erixlchzvcltg.azurewebsites.net/
- Slot foo: https://api-erixlchzvcltg-staging.azurewebsites.net/
- Slot bar: https://api-erixlchzvcltg-test.azurewebsites.net/
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.