Open jtnelson opened 4 months ago
Allow each connection object to also have a "name". If the name is provided it can be used for lookups. Otherwise, the host is assumed to be the name,
In ConcourseClientConfiguration
In Concourse (driver handler)
Be sure to test instances where some of the configuration does not have a host. Maybe internally need to store this as a mapping from name/host to the configuration object for fast look up?
When connecting to multiple hosts it would be nice to have username/password, etc stored in a single prefs file.
Something like
connections: [ { host: a, username: blah, password: blah, environment: blah }, { host: b, username: blah }, ]
There could be a
connections
key that takes a value that is an array of connection objects. Other options for key names to consider:servers
deployments
instances
credentials