Documentation ¶
Overview ¶
Command flynn-cli-dist provides services for distributing flynn-cli binaries and updates.
It has three sub-commands: build, web, and gen.
$ flynn-cli-dist build [platforms]
This command builds cross-compiled binaries. The tool builds all known platforms by default, but will optionally build for a specified list of platforms instead. It first fetches the source code and termines the latest git tag on BUILDBRANCH. Then, for each platform, it builds a binary executable, uploads the binary to an S3 bucket, and posts its SHA-256 hash to the flynn-cli distribution server (flynn-cli.herokuapp.com in production).
$ flynn-cli-dist web
This command provides directory service for flynn-cli binary hashes.
$ flynn-cli-dist gen
This command polls the distribution server to learn about new releases, then generates byte-sequence patches between each pair of releases on each platform. It puts these patches in an S3 bucket so the flynn client can use them for self-update instead of downloading a (much larger) full release.
Directories ¶
Path | Synopsis |
---|---|
Godeps
|
|
_workspace/src/code.google.com/p/go-uuid/uuid
The uuid package generates and inspects UUIDs.
|
The uuid package generates and inspects UUIDs. |
_workspace/src/github.com/bgentry/heroku-go
Package heroku is a client interface to the Heroku API.
|
Package heroku is a client interface to the Heroku API. |
_workspace/src/github.com/gorilla/context
Package gorilla/context stores values shared during a request lifetime.
|
Package gorilla/context stores values shared during a request lifetime. |
_workspace/src/github.com/gorilla/mux
Package gorilla/mux implements a request router and dispatcher.
|
Package gorilla/mux implements a request router and dispatcher. |
_workspace/src/github.com/kr/binarydist
Package binarydist implements binary diff and patch as described on http://www.daemonology.net/bsdiff/.
|
Package binarydist implements binary diff and patch as described on http://www.daemonology.net/bsdiff/. |
_workspace/src/github.com/kr/s3
Package s3 signs HTTP requests for Amazon S3 and compatible services.
|
Package s3 signs HTTP requests for Amazon S3 and compatible services. |
_workspace/src/github.com/kr/s3/s3cp
Command s3cp copies a file to or from Amazon S3.
|
Command s3cp copies a file to or from Amazon S3. |
_workspace/src/github.com/kr/s3/s3util
Package s3util provides streaming transfers to and from Amazon S3.
|
Package s3util provides streaming transfers to and from Amazon S3. |
_workspace/src/github.com/kr/secureheader
Package secureheader adds some HTTP header fields widely considered to improve safety of HTTP requests.
|
Package secureheader adds some HTTP header fields widely considered to improve safety of HTTP requests. |