specs: Replace shell by exec (more generic)

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
rest-api: Add force to /state

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Update readme for new trust mechnisms

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Add networks rest endpoint

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Merge pull request #89 from tych0/rest-networks

Rest networks
Merge pull request #83 from stgraber/master

specs: Replace shell by exec (more generic)
Merge pull request #87 from stgraber/api-force

rest-api: Add force to /state
Don't ask for auth when cert already exists on server

This is a usage of the old-style "ping" which was left over.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Merge pull request #91 from tych0/double-auth

Don't ask for auth when cert already exists on server
Fix certificate file extensions

Closes: #75

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Use 8443 as the server port

Issue: #73

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Prompt for certificate before asking for password

Closes: #72

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Use new import paths for Go sub-repositories

https://groups.google.com/forum/#!msg/golang-nuts/eD8dh3T9yyA/l5Ail-xfMiAJ

Signed-off-by: S.Çağlar Onur <caglar@10ur.org>
Merge pull request #93 from caglar10ur/master

Use new import paths for Go sub-repositories
Merge pull request #85 from stgraber/bugfixes

Bugfixes
Add GET / handler

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Implement GET /1.0 API

The most interesting bit here is probably the filesystem detection bit. I'm not
entirely sure of the best way of doing the int => string conversion; as near as
my google-fu could tell, there isn't a library for doing this sort of thing, so
I just put some interesting filesystems in.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Add a test for the double auth problem

This is a test for #91, hallyn was too fast on the merge and I hadn't pushed it
yet.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
make go vet and golint happy

Signed-off-by: S.Çağlar Onur <caglar@10ur.org>
Merge pull request #95 from tych0/misc-api-bits

Misc api bits