Builds a destination from one of three sources (in the given order):
from the environment variable "destinations".
from service bindings.
from the destination service.
If you want to get a destination only from a specific source, use the corresponding function directly
(getDestinationFromEnvByName, destinationForServiceBinding, getDestinationFromDestinationService).
Returns
A promise returning the requested destination on success.
Builds a destination from one of three sources (in the given order):
If you want to get a destination only from a specific source, use the corresponding function directly (
getDestinationFromEnvByName
,destinationForServiceBinding
,getDestinationFromDestinationService
).Returns
A promise returning the requested destination on success.