Imports github.com/pkg/errors github.com/weaveworks/flux github.com/weaveworks/flux/instance Standard library imports bytes encoding/json fmt io io/ioutil net/http reflect strings text/template time