Imports github.com/pkg/errors github.com/sirupsen/logrus Standard library imports bufio bytes context crypto/rand encoding/hex encoding/json fmt io io/ioutil net/http os os/exec path/filepath regexp runtime sort strings crypto/sha256 text/template compress/gzip archive/tar