perkeep/dev/devcam
mpl 8127040762 pkg/client: use Transport.DialTLS
We can now use DialTLS when we need a custom TLS setup, i.e. with
android, or when using self-signed certificates, or when totally
skipping certificates verification.

This allows us to get rid of the scheme rewriting hack, which simplifies
things, in particular because we have less tricky URL/host parsing to
do.

For the sake of tests and not affecting "real" code, I introduced the
fake_android build tag, so the tests can use custom functions to
simulate testing whether we're on android.

Fixes #566

Change-Id: I72ac2bb69ad2365e98dd6ca2e7016ce9c2d7c57e
2015-09-26 00:09:26 +02:00
..
appengine.go devcam: fix up package doc strings 2013-10-22 16:36:57 +01:00
camget.go devcam: add the -wipecache option 2014-08-22 23:36:31 +02:00
cammount.go devcam: add the -wipecache option 2014-08-22 23:36:31 +02:00
camput.go devcam: add the -wipecache option 2014-08-22 23:36:31 +02:00
camtool.go devcam: add the -wipecache option 2014-08-22 23:36:31 +02:00
devcam.go devcam fixv,hook: docs, bugfix, cleanup. 2015-08-03 19:45:10 +02:00
doc.go devcam: 'put' and 'get' commands, replace dev-camput and dev-camget 2013-09-01 10:25:09 -07:00
env.go devcam: add the -wipecache option 2014-08-22 23:36:31 +02:00
exec.go devcam: exec child binaries when possible 2013-09-01 11:37:09 -07:00
hook.go devcam test: run devcam hook pre-commit 2015-09-22 15:57:36 +02:00
review.go devcam review: submit changes for review 2014-05-13 23:06:30 +02:00
server.go devcam server: preset CAMLI_LEVELDB_ENABLED to false 2015-08-21 18:35:30 +02:00
test.go pkg/client: use Transport.DialTLS 2015-09-26 00:09:26 +02:00