pulumi/pkg
Matt Ellis 3642cca98f Don't print junk when a unrecognized URL is passed to pulumi login
In order to present a message with a link to a user's access tokens in
the service, we have to convert the API server's URL to the URL for
the console.  We understand how to do this for servers that look like
our servers (i.e. their host name is `api.<whatever>`), but in general
we can't do this.

Rewrite the code such that we only print a message about how to find
your access tokens (and offer browser based login) only in cases where
we are able to construct a URL to the console.

Fixes #1930
2018-09-13 19:36:00 -07:00
..
apitype Have ListStacksResponse include data required for 'stacks ls' (#1908) 2018-09-10 12:50:10 -07:00
backend Don't print junk when a unrecognized URL is passed to pulumi login 2018-09-13 19:36:00 -07:00
diag Revert "Plumb LogRequest.IsStatus through the logging subsystem" 2018-08-31 15:56:53 -07:00
encoding Add license headers 2018-05-22 15:02:47 -07:00
engine Clarify condition for displaying outputs (#1927) 2018-09-13 09:16:19 -07:00
graph Add license headers 2018-05-22 15:02:47 -07:00
operations Save resources obtained from ".get" in the snapshot (#1654) 2018-08-03 14:06:00 -07:00
resource Retire pending deletions at start of plan (#1886) 2018-09-10 16:48:14 -07:00
testing Update test frameworks to new packages 2018-09-05 08:16:14 -07:00
tokens Validate type tokens before using them (#1904) 2018-09-07 15:19:18 -07:00
tools Add a WriteString method to tools/GenWriter. (#1839) 2018-08-29 14:43:20 -07:00
util Clarify control flow in step generator (#1843) 2018-09-05 15:08:09 -07:00
version Add license headers 2018-05-22 15:02:47 -07:00
workspace Move away from ${PROJECT} and ${DESCRIPTION} (#1873) 2018-09-05 08:00:57 -07:00