specs: Replace shell by exec (more generic)

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Adds Golang 1.3+ instructions to README

Added some documentation to install Golang 1.3+ on Ubuntu since the
project won't build on previous versions.

Signed-off-by: Chris Glass <chris.glass@canonical.com>
Updated README instructions

Points to the LXC PPA instead.

Signed-off-by: Chris Glass <chris.glass@canonical.com>
Merge pull request #84 from chrisglass/fix-readme

Adds Golang 1.3+ instructions to README
rest-api: Add force to /state

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Actions that are done/cancelling/cancelled can't be cancelled

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Implement state change API

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Use const types everywhere

Somehow I was previously convinced that the first type annotation propagated to
all other types in the const() declaration. That's not true, so we should
annotate everything (and fix the compiler errors as they arise) so that only
the Right types can be used.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Remove dead API endpoints

These are unused now that we have the state change API.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Better help message for state setting commands

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Merge pull request #88 from tych0/state-api

State api
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>