├── Tupfile.ini ├── docs ├── content │ └── api │ │ └── .gitkeep ├── lib │ └── flynn-docs │ │ └── version.rb └── images │ ├── add-domain.png │ ├── buildpack-url.png │ └── dashboard-logs.png ├── flannel ├── .gitignore ├── changes.txt ├── pkg │ └── task │ │ └── errors.go ├── Tupfile ├── NOTICE ├── Dockerfile ├── subnet │ └── rand.go └── backend │ └── common.go ├── test ├── apps │ ├── empty │ │ └── .buildpacks │ ├── config-dir │ │ ├── .buildpacks │ │ └── config │ │ │ └── .keep │ ├── slugignore │ │ ├── .buildpacks │ │ ├── bar │ │ ├── foo │ │ │ └── file │ │ ├── existing │ │ └── .slugignore │ ├── build-cache │ │ ├── foo │ │ │ └── .gitkeep │ │ └── bin │ │ │ ├── release │ │ │ ├── detect │ │ │ └── compile │ ├── crash │ │ ├── Procfile │ │ ├── bin │ │ │ ├── compile │ │ │ ├── detect │ │ │ └── release │ │ └── app.sh │ ├── env-dir │ │ └── bin │ │ │ ├── release │ │ │ ├── detect │ │ │ └── compile │ ├── cancel-hang │ │ └── bin │ │ │ ├── release │ │ │ ├── detect │ │ │ └── compile │ ├── private-clone │ │ └── bin │ │ │ ├── release │ │ │ ├── detect │ │ │ └── compile │ ├── slugbuilder-limit │ │ └── bin │ │ │ ├── release │ │ │ ├── detect │ │ │ └── compile │ ├── empty-release │ │ └── bin │ │ │ ├── compile │ │ │ ├── detect │ │ │ └── release │ ├── http │ │ ├── Procfile │ │ ├── Godeps │ │ │ └── Godeps.json │ │ └── main.go │ ├── oom │ │ └── main.go │ ├── Dockerfile │ ├── ping │ │ └── main.go │ └── Tupfile ├── .gitignore ├── rootfs │ ├── .gitignore │ └── Makefile ├── util │ └── file-server │ │ ├── main.go │ │ └── README.md ├── scripts │ └── test-unit.sh ├── release │ └── repository │ │ ├── targets.json │ │ └── 1466c7b093646f8ee5a82c6d034f3565ad32ef798039c338baa91ba7eed3e4f57bdf6fa88de36b8cb6f97c5d73478e2e1ae44913c62b2edb40ba25529ecee5df.targets.json ├── runner │ └── assets │ │ └── style.css └── Tupfile ├── updater ├── .gitignore ├── Tupfile └── Dockerfile ├── blobstore ├── .gitignore ├── Tupfile └── Dockerfile ├── discoverd ├── .gitignore ├── .subrepo ├── Tupfile ├── Dockerfile ├── types │ └── types.go └── start.sh ├── script ├── .gitignore ├── lib │ ├── util.sh │ └── release.sh └── development-aliases ├── appliance ├── redis │ ├── state.go │ ├── client.go │ ├── Tupfile │ ├── dump.sh │ ├── start.sh │ └── restore.sh ├── postgresql │ ├── .gitignore │ ├── Tupfile │ └── start.sh ├── mariadb │ ├── Tupfile │ └── start.sh └── mongodb │ ├── Tupfile │ ├── dump.sh │ ├── restore.sh │ └── start.sh ├── cli ├── .gitignore ├── tuf.go.tmpl ├── version.go └── install.go ├── util ├── release │ ├── .gitignore │ ├── README.md │ └── Tupfile ├── imagebuilder │ ├── .gitignore │ └── Tupfile ├── cedarish │ └── Tupfile ├── packer │ └── .gitignore ├── commit-validator │ └── NOTICE ├── dep_stub │ └── stub_windows.go ├── flynn-in-flynn │ └── boot.go └── _toolchain │ └── build.sh ├── host ├── .gitignore ├── udev.rules ├── volume │ └── api.go ├── flynn-init │ └── main.go ├── upstart.conf ├── zfs-mknod.sh ├── cli │ ├── version.go │ ├── root_keys.go.tmpl │ └── fix.go ├── types │ └── job_statuses.dot └── cleanup.sh ├── installer ├── .gitignore └── app │ ├── Gemfile │ ├── src │ ├── config.js │ ├── images │ │ ├── aws-logo.png │ │ ├── azure-1.gif │ │ ├── azure-2.gif │ │ ├── azure-3.gif │ │ ├── azure-4.gif │ │ ├── azure-5.gif │ │ ├── azure-6.gif │ │ ├── azure-7.gif │ │ ├── azure-8.gif │ │ ├── ssh-logo.png │ │ ├── azure-done.png │ │ ├── azure-logo.png │ │ ├── osx-cert-1.png │ │ ├── osx-cert-2.png │ │ ├── osx-cert-3.png │ │ ├── osx-cert-4.png │ │ ├── windows-cert-1.png │ │ ├── windows-cert-2.png │ │ ├── windows-cert-3.png │ │ ├── windows-cert-4.png │ │ ├── windows-cert-5.png │ │ ├── windows-cert-6.png │ │ ├── windows-cert-7.png │ │ ├── digitalocean-logo.png │ │ ├── osx-firefox-cert-1.png │ │ ├── linux-chrome-cert-1.png │ │ ├── linux-chrome-cert-2.png │ │ ├── linux-chrome-cert-3.png │ │ ├── linux-chrome-cert-4.png │ │ ├── linux-chrome-cert-5.png │ │ ├── linux-firefox-cert-1.png │ │ └── windows-firefox-cert-1.png │ ├── dispatcher.js │ ├── application.js │ ├── cluster.js │ └── views │ │ ├── cluster.js.jsx │ │ └── css │ │ └── colors.js │ ├── vendor │ └── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ └── fontawesome-webfont.woff2 │ ├── .gitignore │ └── Gemfile.lock ├── pkg ├── cors │ └── wercker.yml ├── keepalive │ └── sockopt_stub.go ├── pprof │ └── nopprof.go ├── sirenia │ └── xlog │ │ └── xlog.go ├── iptables │ └── NOTICE ├── testutils │ └── utils.go ├── schedutil │ └── simple.go ├── httphelper │ └── flushwriter.go └── typeconv │ └── typeconv.go ├── dashboard ├── .gitignore ├── app │ ├── Procfile │ ├── Gemfile │ ├── lib │ │ ├── stylesheets │ │ │ ├── dashboard.scss │ │ │ └── dashboard │ │ │ │ ├── login.scss │ │ │ │ ├── app-env.scss │ │ │ │ ├── app-delete.scss │ │ │ │ ├── app-deploy.scss │ │ │ │ ├── app-route-new.scss │ │ │ │ ├── command-output.scss │ │ │ │ ├── headings.scss │ │ │ │ ├── back-link.scss │ │ │ │ ├── text-input.scss │ │ │ │ ├── apps.scss │ │ │ │ ├── edit-env.scss │ │ │ │ └── colors.scss │ │ ├── javascripts │ │ │ ├── dashboard.js │ │ │ └── dashboard │ │ │ │ ├── actions.js │ │ │ │ ├── actions │ │ │ │ ├── nav.js │ │ │ │ ├── app-delete.js │ │ │ │ ├── github-branches.js │ │ │ │ └── app-processes.js │ │ │ │ └── views │ │ │ │ └── helpers │ │ │ │ └── findScrollParent.js │ │ └── images │ │ │ ├── mysql-logo.png │ │ │ ├── redis-logo.png │ │ │ ├── mongodb-logo.png │ │ │ ├── postgres-logo.png │ │ │ ├── github-token-gen.png │ │ │ └── github-token-copy.png │ ├── vendor │ │ └── fonts │ │ │ ├── SourceSansPro-It.eot │ │ │ ├── SourceSansPro-It.ttf │ │ │ ├── SourceSansPro-Black.eot │ │ │ ├── SourceSansPro-Black.ttf │ │ │ ├── SourceSansPro-Bold.eot │ │ │ ├── SourceSansPro-Bold.ttf │ │ │ ├── SourceSansPro-Bold.woff │ │ │ ├── SourceSansPro-It.woff │ │ │ ├── SourceSansPro-Light.eot │ │ │ ├── SourceSansPro-Light.ttf │ │ │ ├── SourceSansPro-Black.woff │ │ │ ├── SourceSansPro-BlackIt.eot │ │ │ ├── SourceSansPro-BlackIt.ttf │ │ │ ├── SourceSansPro-BoldIt.eot │ │ │ ├── SourceSansPro-BoldIt.ttf │ │ │ ├── SourceSansPro-BoldIt.woff │ │ │ ├── SourceSansPro-Light.woff │ │ │ ├── SourceSansPro-LightIt.eot │ │ │ ├── SourceSansPro-LightIt.ttf │ │ │ ├── SourceSansPro-Regular.eot │ │ │ ├── SourceSansPro-Regular.ttf │ │ │ ├── SourceSansPro-BlackIt.woff │ │ │ ├── SourceSansPro-ExtraLight.eot │ │ │ ├── SourceSansPro-ExtraLight.ttf │ │ │ ├── SourceSansPro-LightIt.woff │ │ │ ├── SourceSansPro-Regular.woff │ │ │ ├── SourceSansPro-Semibold.eot │ │ │ ├── SourceSansPro-Semibold.ttf │ │ │ ├── SourceSansPro-Semibold.woff │ │ │ ├── SourceSansPro-SemiboldIt.eot │ │ │ ├── SourceSansPro-SemiboldIt.ttf │ │ │ ├── SourceSansPro-ExtraLight.woff │ │ │ ├── SourceSansPro-ExtraLightIt.eot │ │ │ ├── SourceSansPro-ExtraLightIt.ttf │ │ │ ├── SourceSansPro-SemiboldIt.woff │ │ │ └── SourceSansPro-ExtraLightIt.woff │ ├── Gemfile.lock │ └── .gitignore ├── Dockerfile └── main.go ├── vendor ├── github.com │ ├── docker │ │ ├── docker │ │ │ ├── pkg │ │ │ │ ├── sockets │ │ │ │ │ └── README.md │ │ │ │ ├── chrootarchive │ │ │ │ │ └── init_windows.go │ │ │ │ ├── archive │ │ │ │ │ ├── README.md │ │ │ │ │ ├── copy_windows.go │ │ │ │ │ ├── copy_unix.go │ │ │ │ │ ├── time_unsupported.go │ │ │ │ │ └── time_linux.go │ │ │ │ ├── stringutils │ │ │ │ │ └── README.md │ │ │ │ ├── stringid │ │ │ │ │ └── README.md │ │ │ │ ├── signal │ │ │ │ │ ├── README.md │ │ │ │ │ └── signal_unsupported.go │ │ │ │ ├── ioutils │ │ │ │ │ ├── scheduler.go │ │ │ │ │ ├── temp_unix.go │ │ │ │ │ ├── scheduler_gccgo.go │ │ │ │ │ └── temp_windows.go │ │ │ │ ├── useragent │ │ │ │ │ └── README.md │ │ │ │ ├── fileutils │ │ │ │ │ └── fileutils_windows.go │ │ │ │ ├── symlink │ │ │ │ │ ├── fs_unix.go │ │ │ │ │ └── README.md │ │ │ │ ├── system │ │ │ │ │ ├── utimes_darwin.go │ │ │ │ │ ├── meminfo_unsupported.go │ │ │ │ │ ├── errors.go │ │ │ │ │ ├── umask_windows.go │ │ │ │ │ ├── umask.go │ │ │ │ │ ├── utimes_unsupported.go │ │ │ │ │ ├── mknod_windows.go │ │ │ │ │ ├── stat_unsupported.go │ │ │ │ │ ├── xattrs_unsupported.go │ │ │ │ │ ├── lstat.go │ │ │ │ │ └── meminfo.go │ │ │ │ ├── reexec │ │ │ │ │ ├── command_unsupported.go │ │ │ │ │ └── README.md │ │ │ │ ├── mount │ │ │ │ │ ├── mounter_unsupported.go │ │ │ │ │ └── mountinfo_unsupported.go │ │ │ │ ├── term │ │ │ │ │ └── windows │ │ │ │ │ │ └── windows.go │ │ │ │ ├── promise │ │ │ │ │ └── promise.go │ │ │ │ ├── tarsum │ │ │ │ │ └── writercloser.go │ │ │ │ └── parsers │ │ │ │ │ └── kernel │ │ │ │ │ └── uname_unsupported.go │ │ │ ├── daemon │ │ │ │ └── graphdriver │ │ │ │ │ ├── driver_freebsd.go │ │ │ │ │ ├── plugin_unsupported.go │ │ │ │ │ ├── aufs │ │ │ │ │ ├── mount_linux.go │ │ │ │ │ └── mount_unsupported.go │ │ │ │ │ ├── driver_unsupported.go │ │ │ │ │ └── driver_windows.go │ │ │ ├── opts │ │ │ │ ├── hosts_windows.go │ │ │ │ └── hosts_unix.go │ │ │ ├── errors │ │ │ │ └── error.go │ │ │ ├── utils │ │ │ │ ├── utils_unix.go │ │ │ │ ├── experimental.go │ │ │ │ ├── stubs.go │ │ │ │ ├── utils_windows.go │ │ │ │ ├── names.go │ │ │ │ └── timeout.go │ │ │ ├── autogen │ │ │ │ └── dockerversion │ │ │ │ │ └── dockerversion.go │ │ │ ├── graph │ │ │ │ └── load_unsupported.go │ │ │ └── runconfig │ │ │ │ └── config_windows.go │ │ ├── libcontainer │ │ │ └── netlink │ │ │ │ ├── netlink_linux_arm.go │ │ │ │ ├── MAINTAINERS │ │ │ │ └── netlink_linux_notarm.go │ │ ├── libtrust │ │ │ ├── MAINTAINERS │ │ │ └── doc.go │ │ ├── distribution │ │ │ ├── registry │ │ │ │ ├── storage │ │ │ │ │ └── doc.go │ │ │ │ └── handlers │ │ │ │ │ └── basicauth.go │ │ │ ├── MAINTAINERS │ │ │ └── doc.go │ │ └── go-units │ │ │ └── circle.yml │ ├── kr │ │ ├── binarydist │ │ │ ├── .gitignore │ │ │ └── Readme.md │ │ └── pty │ │ │ ├── .gitignore │ │ │ └── doc.go │ ├── Sirupsen │ │ └── logrus │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── terminal_bsd.go │ │ │ └── terminal_linux.go │ ├── mistifyio │ │ └── go-zfs │ │ │ ├── .gitignore │ │ │ └── error.go │ ├── tent │ │ ├── http-link-go │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ └── README.md │ │ └── canonical-json-go │ │ │ └── .travis.yml │ ├── flynn │ │ ├── tail │ │ │ ├── .gitignore │ │ │ ├── ratelimiter │ │ │ │ └── storage.go │ │ │ ├── tail_posix.go │ │ │ ├── Makefile │ │ │ ├── tail_windows.go │ │ │ ├── .travis.yml │ │ │ └── watch │ │ │ │ ├── polling_posix.go │ │ │ │ └── polling_windows.go │ │ ├── go-check │ │ │ ├── .gitignore │ │ │ ├── TODO │ │ │ ├── export.go │ │ │ └── README.md │ │ ├── oauth2 │ │ │ ├── AUTHORS │ │ │ ├── CONTRIBUTORS │ │ │ └── .travis.yml │ │ ├── go-docopt │ │ │ ├── test_golang.docopt │ │ │ └── .gitignore │ │ └── que-go │ │ │ └── util.go │ ├── jtacoma │ │ └── uritemplates │ │ │ ├── .travis.yml │ │ │ ├── .gitmodules │ │ │ ├── .gitignore │ │ │ └── .godocdown.md │ ├── jvatic │ │ └── asset-matrix-go │ │ │ └── .gitignore │ ├── miekg │ │ └── dns │ │ │ ├── AUTHORS │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ └── CONTRIBUTORS │ ├── rnd42 │ │ └── go-jsonpointer │ │ │ ├── .gitignore │ │ │ └── README.md │ ├── jteeuwen │ │ └── go-bindata │ │ │ ├── Makefile │ │ │ └── LICENSE │ ├── vaughan0 │ │ └── go-ini │ │ │ └── test.ini │ ├── boltdb │ │ └── bolt │ │ │ ├── .gitignore │ │ │ ├── boltsync_unix.go │ │ │ ├── bolt_linux.go │ │ │ ├── bolt_386.go │ │ │ ├── bolt_arm.go │ │ │ ├── bolt_amd64.go │ │ │ ├── bolt_arm64.go │ │ │ ├── bolt_s390x.go │ │ │ └── bolt_ppc64le.go │ ├── BurntSushi │ │ └── toml │ │ │ ├── session.vim │ │ │ ├── .gitignore │ │ │ ├── COMPATIBLE │ │ │ ├── .travis.yml │ │ │ └── Makefile │ ├── olekukonko │ │ └── ts │ │ │ ├── .travis.yml │ │ │ ├── ts_linux.go │ │ │ ├── ts_darwin.go │ │ │ ├── ts_unix.go │ │ │ └── ts_other.go │ ├── badgerodon │ │ └── ioutil │ │ │ ├── README.md │ │ │ └── .gitignore │ ├── cznic │ │ ├── ql │ │ │ ├── benchcmp │ │ │ ├── vendored │ │ │ │ └── github.com │ │ │ │ │ └── cznic │ │ │ │ │ └── exp │ │ │ │ │ └── lldb │ │ │ │ │ ├── README.md │ │ │ │ │ ├── CONTRIBUTORS │ │ │ │ │ └── AUTHORS │ │ │ ├── AUTHORS │ │ │ ├── CONTRIBUTORS │ │ │ └── README.md │ │ ├── sortutil │ │ │ ├── README │ │ │ ├── CONTRIBUTORS │ │ │ └── AUTHORS │ │ ├── bufs │ │ │ ├── README.md │ │ │ ├── CONTRIBUTORS │ │ │ └── AUTHORS │ │ ├── b │ │ │ ├── README.md │ │ │ ├── AUTHORS │ │ │ └── CONTRIBUTORS │ │ ├── strutil │ │ │ ├── CONTRIBUTORS │ │ │ ├── README │ │ │ └── AUTHORS │ │ ├── zappy │ │ │ ├── README.md │ │ │ ├── CONTRIBUTORS │ │ │ ├── purego.sh │ │ │ └── AUTHORS │ │ ├── mathutil │ │ │ ├── test_deps.go │ │ │ ├── CONTRIBUTORS │ │ │ ├── README │ │ │ └── AUTHORS │ │ └── fileutil │ │ │ ├── test_deps.go │ │ │ └── AUTHORS │ ├── digitalocean │ │ └── godo │ │ │ ├── .travis.yml │ │ │ └── doc.go │ ├── jmespath │ │ └── go-jmespath │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ └── README.md │ ├── kylelemons │ │ └── godebug │ │ │ └── pretty │ │ │ └── .gitignore │ ├── mattn │ │ ├── go-isatty │ │ │ ├── doc.go │ │ │ ├── isatty_appengine.go │ │ │ └── isatty_linux.go │ │ └── go-colorable │ │ │ └── colorable_others.go │ ├── vanillahsu │ │ └── go_reuseport │ │ │ ├── reuseport_linux.go │ │ │ ├── reuseport_bsd.go │ │ │ ├── .travis.yml │ │ │ └── .gitignore │ ├── cheggaaa │ │ └── pb │ │ │ ├── pb_solaris.go │ │ │ ├── pb_nix.go │ │ │ ├── pb_win.go │ │ │ └── reader.go │ ├── gorilla │ │ ├── context │ │ │ ├── .travis.yml │ │ │ └── README.md │ │ ├── mux │ │ │ ├── .travis.yml │ │ │ └── README.md │ │ ├── securecookie │ │ │ ├── .travis.yml │ │ │ └── README.md │ │ ├── sessions │ │ │ └── .travis.yml │ │ └── handlers │ │ │ ├── .travis.yml │ │ │ └── doc.go │ ├── opencontainers │ │ └── runc │ │ │ └── libcontainer │ │ │ ├── cgroups │ │ │ ├── fs │ │ │ │ └── fs_unsupported.go │ │ │ └── cgroups_unsupported.go │ │ │ ├── criurpc │ │ │ └── Makefile │ │ │ ├── nsenter │ │ │ ├── nsenter_unsupported.go │ │ │ └── nsenter.go │ │ │ ├── stacktrace │ │ │ └── stacktrace.go │ │ │ ├── stats_freebsd.go │ │ │ ├── stats_windows.go │ │ │ ├── user │ │ │ └── MAINTAINERS │ │ │ ├── configs │ │ │ ├── namespaces.go │ │ │ ├── cgroup_unsupported.go │ │ │ ├── cgroup_windows.go │ │ │ ├── hugepage_limit.go │ │ │ ├── namespaces_unsupported.go │ │ │ └── interface_priority_map.go │ │ │ ├── stats_solaris.go │ │ │ ├── criu_opts_windows.go │ │ │ ├── stats_linux.go │ │ │ ├── system │ │ │ └── unsupported.go │ │ │ ├── compat_1.5_linux.go │ │ │ ├── stats.go │ │ │ ├── console.go │ │ │ ├── setgroups_linux.go │ │ │ ├── apparmor │ │ │ └── apparmor_disabled.go │ │ │ ├── console_solaris.go │ │ │ └── console_freebsd.go │ ├── julienschmidt │ │ └── httprouter │ │ │ └── .travis.yml │ ├── vishvananda │ │ └── netlink │ │ │ ├── .travis.yml │ │ │ └── link_tuntap_linux.go │ ├── godbus │ │ └── dbus │ │ │ ├── MAINTAINERS │ │ │ ├── transport_darwin.go │ │ │ ├── homedir_dynamic.go │ │ │ ├── transport_unixcred_openbsd.go │ │ │ └── homedir.go │ ├── go-ini │ │ └── ini │ │ │ ├── .gitignore │ │ │ └── Makefile │ ├── pkg │ │ └── browser │ │ │ ├── browser_darwin.go │ │ │ ├── browser_linux.go │ │ │ ├── browser_windows.go │ │ │ └── browser_unsupported.go │ ├── go-sql-driver │ │ └── mysql │ │ │ ├── .gitignore │ │ │ └── .travis.yml │ ├── Azure │ │ └── go-ansiterm │ │ │ ├── context.go │ │ │ ├── winterm │ │ │ └── utilities.go │ │ │ └── utilities.go │ ├── aws │ │ └── aws-sdk-go │ │ │ ├── NOTICE.txt │ │ │ ├── service │ │ │ └── s3 │ │ │ │ ├── platform_handlers.go │ │ │ │ └── s3manager │ │ │ │ └── doc.go │ │ │ └── aws │ │ │ ├── version.go │ │ │ ├── credentials │ │ │ └── example.ini │ │ │ └── client │ │ │ └── metadata │ │ │ └── client_info.go │ ├── coreos │ │ └── pkg │ │ │ └── NOTICE │ ├── awslabs │ │ └── aws-sdk-go │ │ │ └── aws │ │ │ ├── doc.go │ │ │ ├── example.ini │ │ │ └── error.go │ ├── cupcake │ │ └── jsonschema │ │ │ ├── .gitmodules │ │ │ └── README.md │ ├── stevvooe │ │ └── resumable │ │ │ ├── README.md │ │ │ ├── sha512 │ │ │ └── sha512block_decl.go │ │ │ ├── sha256 │ │ │ └── sha256block_decl.go │ │ │ └── .gitignore │ ├── howeyc │ │ └── fsnotify │ │ │ ├── .gitignore │ │ │ ├── CONTRIBUTING.md │ │ │ ├── fsnotify_open_darwin.go │ │ │ └── fsnotify_open_bsd.go │ ├── armon │ │ └── go-metrics │ │ │ ├── const_unix.go │ │ │ ├── const_windows.go │ │ │ └── .gitignore │ ├── thoj │ │ └── go-ircevent │ │ │ └── irc_test_fuzz.go │ ├── vbatts │ │ └── tar-split │ │ │ └── tar │ │ │ └── asm │ │ │ └── doc.go │ ├── hashicorp │ │ └── raft │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ └── Makefile │ ├── jackc │ │ └── pgx │ │ │ └── .gitignore │ └── kardianos │ │ └── osext │ │ └── README.md ├── golang.org │ └── x │ │ ├── sys │ │ └── unix │ │ │ ├── .gitignore │ │ │ ├── asm.s │ │ │ ├── constants.go │ │ │ ├── syscall_no_getwd.go │ │ │ ├── zsysnum_solaris_amd64.go │ │ │ ├── env_unset.go │ │ │ └── flock_linux_32bit.go │ │ ├── net │ │ └── http2 │ │ │ ├── .gitignore │ │ │ ├── Makefile │ │ │ └── go18.go │ │ └── oauth2 │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── .travis.yml │ │ └── google │ │ ├── appengine_hook.go │ │ └── appenginevm_hook.go ├── gopkg.in │ ├── mgo.v2 │ │ ├── raceon.go │ │ ├── raceoff.go │ │ ├── Makefile │ │ ├── README.md │ │ ├── saslstub.go │ │ ├── saslimpl.go │ │ └── internal │ │ │ └── sasl │ │ │ └── sasl_windows.h │ ├── inconshreveable │ │ ├── log15.v2 │ │ │ ├── .travis.yml │ │ │ ├── CONTRIBUTORS │ │ │ ├── term │ │ │ │ ├── terminal_linux.go │ │ │ │ ├── terminal_darwin.go │ │ │ │ └── terminal_freebsd.go │ │ │ └── stack │ │ │ │ ├── stack_pool.go │ │ │ │ └── stack_pool_chan.go │ │ └── go-update.v0 │ │ │ ├── hide_noop.go │ │ │ └── hide_windows.go │ ├── yaml.v2 │ │ └── .travis.yml │ ├── tomb.v1 │ │ └── README.md │ └── natefinch │ │ └── lumberjack.v2 │ │ ├── chown.go │ │ └── .gitignore └── google.golang.org │ ├── grpc │ └── doc.go │ └── appengine │ └── internal │ └── main.go ├── gitreceive ├── .gitignore ├── Tupfile └── Dockerfile ├── controller ├── .gitignore ├── examples │ ├── .gitignore │ ├── Dockerfile │ └── Tupfile ├── worker │ └── types │ │ └── types.go ├── start.sh ├── Dockerfile └── README.md ├── router ├── example-generator │ ├── .gitignore │ ├── Dockerfile │ └── Tupfile ├── .gitignore ├── Tupfile ├── Dockerfile ├── Procfile └── proxy │ └── stream_conn.go ├── taffy ├── README.md ├── Tupfile └── Dockerfile ├── schema ├── lib │ ├── flynn-schema │ │ └── version.rb │ └── flynn-schema.rb ├── router │ └── error.json └── controller │ ├── error.json │ ├── ca_cert.json │ ├── volume_req.json │ └── port.json ├── slugrunner ├── Tupfile └── Dockerfile ├── status ├── Tupfile └── Dockerfile ├── logaggregator ├── Tupfile ├── testdata │ └── sample.dat └── Dockerfile ├── Godeps └── Readme ├── bootstrap ├── README.md ├── Tupfile └── log_action.go ├── .gitignore ├── tup.config ├── slugbuilder ├── Tupfile └── builder │ └── create-user.sh ├── docker-receive ├── Tupfile └── Dockerfile ├── MAINTAINERS └── demo └── README.md /Tupfile.ini: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/content/api/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /flannel/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /test/apps/empty/.buildpacks: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/apps/config-dir/.buildpacks: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/apps/config-dir/config/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/apps/slugignore/.buildpacks: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /updater/.gitignore: -------------------------------------------------------------------------------- 1 | updater 2 | -------------------------------------------------------------------------------- /blobstore/.gitignore: -------------------------------------------------------------------------------- 1 | blobstore 2 | -------------------------------------------------------------------------------- /discoverd/.gitignore: -------------------------------------------------------------------------------- 1 | discoverd 2 | -------------------------------------------------------------------------------- /script/.gitignore: -------------------------------------------------------------------------------- 1 | install-flynn 2 | -------------------------------------------------------------------------------- /test/.gitignore: -------------------------------------------------------------------------------- 1 | flynnrc 2 | *.log 3 | -------------------------------------------------------------------------------- /test/apps/build-cache/foo/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/apps/slugignore/bar: -------------------------------------------------------------------------------- 1 | hello 2 | -------------------------------------------------------------------------------- /test/apps/slugignore/foo/file: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /appliance/redis/state.go: -------------------------------------------------------------------------------- 1 | package redis 2 | -------------------------------------------------------------------------------- /cli/.gitignore: -------------------------------------------------------------------------------- 1 | cli 2 | bin/ 3 | tuf.go 4 | -------------------------------------------------------------------------------- /test/apps/crash/Procfile: -------------------------------------------------------------------------------- 1 | web: ./app.sh 2 | -------------------------------------------------------------------------------- /test/apps/env-dir/bin/release: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /test/apps/slugignore/existing: -------------------------------------------------------------------------------- 1 | stays 2 | -------------------------------------------------------------------------------- /util/release/.gitignore: -------------------------------------------------------------------------------- 1 | flynn-release 2 | -------------------------------------------------------------------------------- /host/.gitignore: -------------------------------------------------------------------------------- 1 | host 2 | cli/root_keys.go 3 | -------------------------------------------------------------------------------- /installer/.gitignore: -------------------------------------------------------------------------------- 1 | /bindata.go 2 | /cli 3 | -------------------------------------------------------------------------------- /pkg/cors/wercker.yml: -------------------------------------------------------------------------------- 1 | box: wercker/golang@1.1.1 -------------------------------------------------------------------------------- /test/apps/build-cache/bin/release: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /test/apps/cancel-hang/bin/release: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /util/imagebuilder/.gitignore: -------------------------------------------------------------------------------- 1 | build-image 2 | -------------------------------------------------------------------------------- /appliance/postgresql/.gitignore: -------------------------------------------------------------------------------- 1 | cmd/simcli/simcli 2 | -------------------------------------------------------------------------------- /dashboard/.gitignore: -------------------------------------------------------------------------------- 1 | /bindata.go 2 | /dashboard 3 | -------------------------------------------------------------------------------- /test/apps/crash/bin/compile: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | -------------------------------------------------------------------------------- /test/apps/private-clone/bin/release: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /test/apps/slugbuilder-limit/bin/release: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /test/rootfs/.gitignore: -------------------------------------------------------------------------------- 1 | rootfs.img* 2 | vmlinuz 3 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/sockets/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/kr/binarydist/.gitignore: -------------------------------------------------------------------------------- 1 | test.* 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/.gitignore: -------------------------------------------------------------------------------- 1 | _obj/ 2 | -------------------------------------------------------------------------------- /dashboard/app/Procfile: -------------------------------------------------------------------------------- 1 | web: bundle exec puma -p $PORT 2 | -------------------------------------------------------------------------------- /discoverd/.subrepo: -------------------------------------------------------------------------------- 1 | https://github.com/flynn/discoverd 2 | -------------------------------------------------------------------------------- /gitreceive/.gitignore: -------------------------------------------------------------------------------- 1 | gitreceived 2 | flynn-receiver 3 | -------------------------------------------------------------------------------- /util/cedarish/Tupfile: -------------------------------------------------------------------------------- 1 | include_rules 2 | : |> !image |> 3 | -------------------------------------------------------------------------------- /vendor/github.com/Sirupsen/logrus/.gitignore: -------------------------------------------------------------------------------- 1 | logrus 2 | -------------------------------------------------------------------------------- /vendor/github.com/mistifyio/go-zfs/.gitignore: -------------------------------------------------------------------------------- 1 | .vagrant 2 | -------------------------------------------------------------------------------- /vendor/github.com/tent/http-link-go/.gitignore: -------------------------------------------------------------------------------- 1 | *.test 2 | -------------------------------------------------------------------------------- /controller/.gitignore: -------------------------------------------------------------------------------- 1 | controller 2 | scheduler/scheduler 3 | -------------------------------------------------------------------------------- /controller/examples/.gitignore: -------------------------------------------------------------------------------- 1 | flynn-controller-examples 2 | -------------------------------------------------------------------------------- /router/example-generator/.gitignore: -------------------------------------------------------------------------------- 1 | flynn-router-examples 2 | -------------------------------------------------------------------------------- /test/apps/crash/app.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | exit 1 4 | -------------------------------------------------------------------------------- /test/apps/empty-release/bin/compile: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | -------------------------------------------------------------------------------- /test/apps/http/Procfile: -------------------------------------------------------------------------------- 1 | web: http 2 | another-web: http 3 | -------------------------------------------------------------------------------- /util/packer/.gitignore: -------------------------------------------------------------------------------- 1 | packer_cache 2 | *.box 3 | *.ova 4 | -------------------------------------------------------------------------------- /vendor/github.com/flynn/tail/.gitignore: -------------------------------------------------------------------------------- 1 | .test 2 | .go 3 | 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | h2i/h2i 3 | -------------------------------------------------------------------------------- /test/apps/env-dir/bin/detect: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "env-dir" 4 | -------------------------------------------------------------------------------- /vendor/github.com/jtacoma/uritemplates/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | -------------------------------------------------------------------------------- /vendor/github.com/jvatic/asset-matrix-go/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/dns/AUTHORS: -------------------------------------------------------------------------------- 1 | Miek Gieben 2 | -------------------------------------------------------------------------------- /vendor/github.com/rnd42/go-jsonpointer/.gitignore: -------------------------------------------------------------------------------- 1 | cover.out 2 | 3 | -------------------------------------------------------------------------------- /test/apps/crash/bin/detect: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | echo "crash" 4 | -------------------------------------------------------------------------------- /util/imagebuilder/Tupfile: -------------------------------------------------------------------------------- 1 | include_rules 2 | : |> !go |> build-image 3 | -------------------------------------------------------------------------------- /test/apps/build-cache/bin/detect: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "build-cache" 4 | -------------------------------------------------------------------------------- /test/apps/cancel-hang/bin/detect: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "cancel-hang" 4 | -------------------------------------------------------------------------------- /test/apps/private-clone/bin/detect: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "private-clone" 4 | -------------------------------------------------------------------------------- /vendor/github.com/jteeuwen/go-bindata/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | make -C testdata 3 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pty/.gitignore: -------------------------------------------------------------------------------- 1 | [568].out 2 | _go* 3 | _test* 4 | _obj 5 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/dns/.gitignore: -------------------------------------------------------------------------------- 1 | *.6 2 | tags 3 | test.out 4 | a.out 5 | -------------------------------------------------------------------------------- /vendor/github.com/vaughan0/go-ini/test.ini: -------------------------------------------------------------------------------- 1 | [default] 2 | stuff = things 3 | -------------------------------------------------------------------------------- /dashboard/app/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gem 'yajl-ruby' 4 | -------------------------------------------------------------------------------- /dashboard/app/lib/stylesheets/dashboard.scss: -------------------------------------------------------------------------------- 1 | @import "dashboard/application"; 2 | -------------------------------------------------------------------------------- /docs/lib/flynn-docs/version.rb: -------------------------------------------------------------------------------- 1 | module FlynnDocs 2 | VERSION = '0.1.0' 3 | end 4 | -------------------------------------------------------------------------------- /installer/app/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gem 'yajl-ruby' 4 | -------------------------------------------------------------------------------- /router/.gitignore: -------------------------------------------------------------------------------- 1 | examples/server/server 2 | examples/client/client 3 | router 4 | -------------------------------------------------------------------------------- /taffy/README.md: -------------------------------------------------------------------------------- 1 | # Taffy 2 | 3 | Taffy pulls repos and deploys them to Flynn. 4 | -------------------------------------------------------------------------------- /test/apps/slugignore/.slugignore: -------------------------------------------------------------------------------- 1 | # comment asdf 2 | foo 3 | 4 | 5 | bar 6 | -------------------------------------------------------------------------------- /vendor/github.com/boltdb/bolt/.gitignore: -------------------------------------------------------------------------------- 1 | *.prof 2 | *.test 3 | *.swp 4 | /bin/ 5 | -------------------------------------------------------------------------------- /test/apps/crash/bin/release: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | cat < |> !image-cedarish |> 3 | -------------------------------------------------------------------------------- /test/apps/empty-release/bin/release: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | cat < !go |> updater 3 | : updater |> !image-bootstrapped |> 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/Makefile: -------------------------------------------------------------------------------- 1 | curlimage: 2 | docker build -t gohttp2/curl . 3 | 4 | -------------------------------------------------------------------------------- /dashboard/app/lib/stylesheets/dashboard/login.scss: -------------------------------------------------------------------------------- 1 | .login-container { 2 | margin: 1rem; 3 | } 4 | -------------------------------------------------------------------------------- /discoverd/Tupfile: -------------------------------------------------------------------------------- 1 | include_rules 2 | : |> !go |> bin/discoverd 3 | : bin/* |> !image-bootstrapped |> 4 | -------------------------------------------------------------------------------- /docs/images/add-domain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/docs/images/add-domain.png -------------------------------------------------------------------------------- /status/Tupfile: -------------------------------------------------------------------------------- 1 | include_rules 2 | : |> !go |> bin/flynn-status 3 | : bin/* |> !image-bootstrapped |> 4 | -------------------------------------------------------------------------------- /vendor/github.com/flynn/go-check/TODO: -------------------------------------------------------------------------------- 1 | - Assert(slice, Contains, item) 2 | - Parallel test support 3 | -------------------------------------------------------------------------------- /vendor/github.com/tent/canonical-json-go/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.1 4 | - tip 5 | -------------------------------------------------------------------------------- /dashboard/app/lib/javascripts/dashboard.js: -------------------------------------------------------------------------------- 1 | import Dashboard from 'dashboard/main'; 2 | Dashboard.run(); 3 | -------------------------------------------------------------------------------- /docs/images/buildpack-url.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/docs/images/buildpack-url.png -------------------------------------------------------------------------------- /docs/images/dashboard-logs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/docs/images/dashboard-logs.png -------------------------------------------------------------------------------- /flannel/changes.txt: -------------------------------------------------------------------------------- 1 | - removed udp backend 2 | - removed etcd 3 | - removed systemd 4 | - removed version 5 | -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/session.vim: -------------------------------------------------------------------------------- 1 | au BufWritePost *.go silent!make tags > /dev/null 2>&1 2 | -------------------------------------------------------------------------------- /vendor/github.com/olekukonko/ts/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.1 5 | - 1.2 6 | - tip -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/raceon.go: -------------------------------------------------------------------------------- 1 | // +build race 2 | 3 | package mgo 4 | 5 | const raceDetector = true 6 | -------------------------------------------------------------------------------- /blobstore/Tupfile: -------------------------------------------------------------------------------- 1 | include_rules 2 | : |> !go |> bin/flynn-blobstore 3 | : bin/* |> !image-bootstrapped |> 4 | -------------------------------------------------------------------------------- /logaggregator/Tupfile: -------------------------------------------------------------------------------- 1 | include_rules 2 | : |> !go |> bin/logaggregator 3 | : bin/* |> !image-bootstrapped |> 4 | -------------------------------------------------------------------------------- /slugrunner/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM flynn/cedarish 2 | 3 | ADD ./runner/ /runner 4 | 5 | ENTRYPOINT ["/runner/init"] 6 | -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/.gitignore: -------------------------------------------------------------------------------- 1 | TAGS 2 | tags 3 | .*.swp 4 | tomlcheck/tomlcheck 5 | toml.test 6 | -------------------------------------------------------------------------------- /vendor/github.com/badgerodon/ioutil/README.md: -------------------------------------------------------------------------------- 1 | ioutil 2 | ====== 3 | 4 | Additional IO stuff like io/ioutil 5 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/ql/benchcmp: -------------------------------------------------------------------------------- 1 | go test -test.run NONE -test.bench . -test.benchmem -timeout 1h | tee $1 2 | -------------------------------------------------------------------------------- /vendor/github.com/digitalocean/godo/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.3 5 | - 1.4 6 | - tip 7 | -------------------------------------------------------------------------------- /vendor/github.com/jmespath/go-jmespath/.gitignore: -------------------------------------------------------------------------------- 1 | jpgo 2 | jmespath-fuzz.zip 3 | cpu.out 4 | go-jmespath.test 5 | -------------------------------------------------------------------------------- /vendor/github.com/kylelemons/godebug/pretty/.gitignore: -------------------------------------------------------------------------------- 1 | *.test 2 | *.bench 3 | *.golden 4 | *.txt 5 | *.prof 6 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/doc.go: -------------------------------------------------------------------------------- 1 | // Package isatty implements interface to isatty 2 | package isatty 3 | -------------------------------------------------------------------------------- /vendor/github.com/vanillahsu/go_reuseport/reuseport_linux.go: -------------------------------------------------------------------------------- 1 | package reuseport 2 | 3 | var reusePort = 0x0F 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/raceoff.go: -------------------------------------------------------------------------------- 1 | // +build !race 2 | 3 | package mgo 4 | 5 | const raceDetector = false 6 | -------------------------------------------------------------------------------- /logaggregator/testdata/sample.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/logaggregator/testdata/sample.dat -------------------------------------------------------------------------------- /vendor/github.com/cheggaaa/pb/pb_solaris.go: -------------------------------------------------------------------------------- 1 | // +build solaris 2 | 3 | package pb 4 | 5 | const sys_ioctl = 54 6 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/Makefile: -------------------------------------------------------------------------------- 1 | startdb: 2 | @testdb/setup.sh start 3 | 4 | stopdb: 5 | @testdb/setup.sh stop 6 | -------------------------------------------------------------------------------- /flannel/pkg/task/errors.go: -------------------------------------------------------------------------------- 1 | package task 2 | 3 | import "errors" 4 | 5 | var ErrCanceled = errors.New("Task canceled") 6 | -------------------------------------------------------------------------------- /installer/app/src/images/aws-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/aws-logo.png -------------------------------------------------------------------------------- /installer/app/src/images/azure-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/azure-1.gif -------------------------------------------------------------------------------- /installer/app/src/images/azure-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/azure-2.gif -------------------------------------------------------------------------------- /installer/app/src/images/azure-3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/azure-3.gif -------------------------------------------------------------------------------- /installer/app/src/images/azure-4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/azure-4.gif -------------------------------------------------------------------------------- /installer/app/src/images/azure-5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/azure-5.gif -------------------------------------------------------------------------------- /installer/app/src/images/azure-6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/azure-6.gif -------------------------------------------------------------------------------- /installer/app/src/images/azure-7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/azure-7.gif -------------------------------------------------------------------------------- /installer/app/src/images/azure-8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/azure-8.gif -------------------------------------------------------------------------------- /installer/app/src/images/ssh-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/ssh-logo.png -------------------------------------------------------------------------------- /vendor/github.com/digitalocean/godo/doc.go: -------------------------------------------------------------------------------- 1 | // Package godo is the DigtalOcean API v2 client for Go 2 | package godo 3 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/chrootarchive/init_windows.go: -------------------------------------------------------------------------------- 1 | package chrootarchive 2 | 3 | func init() { 4 | } 5 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/context/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.0 5 | - 1.1 6 | - 1.2 7 | - tip 8 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/mux/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.0 5 | - 1.1 6 | - 1.2 7 | - tip 8 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/cgroups/fs/fs_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package fs 4 | -------------------------------------------------------------------------------- /dashboard/app/lib/images/mysql-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/lib/images/mysql-logo.png -------------------------------------------------------------------------------- /dashboard/app/lib/images/redis-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/lib/images/redis-logo.png -------------------------------------------------------------------------------- /installer/app/src/images/azure-done.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/azure-done.png -------------------------------------------------------------------------------- /installer/app/src/images/azure-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/azure-logo.png -------------------------------------------------------------------------------- /installer/app/src/images/osx-cert-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/osx-cert-1.png -------------------------------------------------------------------------------- /installer/app/src/images/osx-cert-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/osx-cert-2.png -------------------------------------------------------------------------------- /installer/app/src/images/osx-cert-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/osx-cert-3.png -------------------------------------------------------------------------------- /installer/app/src/images/osx-cert-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/osx-cert-4.png -------------------------------------------------------------------------------- /test/apps/slugbuilder-limit/bin/compile: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | cat /sys/fs/cgroup/memory/memory.limit_in_bytes 6 | -------------------------------------------------------------------------------- /updater/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM flynn/busybox:trusty-20160217 2 | 3 | ADD updater /bin/updater 4 | 5 | ENTRYPOINT ["/bin/updater"] 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/archive/README.md: -------------------------------------------------------------------------------- 1 | This code provides helper functions for dealing with archive files. 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/stringutils/README.md: -------------------------------------------------------------------------------- 1 | This package provides helper functions for dealing with strings 2 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.0 5 | - 1.1 6 | - 1.2 7 | - tip 8 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/sessions/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.0 5 | - 1.1 6 | - 1.2 7 | - tip 8 | -------------------------------------------------------------------------------- /vendor/github.com/julienschmidt/httprouter/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.1 4 | - 1.2 5 | - 1.3 6 | - tip 7 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/cgroups/cgroups_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package cgroups 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/criurpc/Makefile: -------------------------------------------------------------------------------- 1 | gen: criurpc.proto 2 | protoc --go_out=. criurpc.proto 3 | -------------------------------------------------------------------------------- /vendor/github.com/vishvananda/netlink/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | install: 3 | - go get github.com/vishvananda/netns 4 | -------------------------------------------------------------------------------- /controller/worker/types/types.go: -------------------------------------------------------------------------------- 1 | package worker 2 | 3 | import "errors" 4 | 5 | var ErrStopped = errors.New("worker stopped") 6 | -------------------------------------------------------------------------------- /dashboard/app/lib/images/mongodb-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/lib/images/mongodb-logo.png -------------------------------------------------------------------------------- /dashboard/app/lib/images/postgres-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/lib/images/postgres-logo.png -------------------------------------------------------------------------------- /host/udev.rules: -------------------------------------------------------------------------------- 1 | # A udev rule to run a custom script when ZFS zvols are added 2 | KERNEL=="zd*" RUN+="/usr/local/bin/zfs-mknod" 3 | -------------------------------------------------------------------------------- /installer/app/vendor/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/vendor/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/stringid/README.md: -------------------------------------------------------------------------------- 1 | This package provides helper functions for dealing with string identifiers 2 | -------------------------------------------------------------------------------- /dashboard/app/lib/images/github-token-gen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/lib/images/github-token-gen.png -------------------------------------------------------------------------------- /installer/app/src/images/windows-cert-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/windows-cert-1.png -------------------------------------------------------------------------------- /installer/app/src/images/windows-cert-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/windows-cert-2.png -------------------------------------------------------------------------------- /installer/app/src/images/windows-cert-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/windows-cert-3.png -------------------------------------------------------------------------------- /installer/app/src/images/windows-cert-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/windows-cert-4.png -------------------------------------------------------------------------------- /installer/app/src/images/windows-cert-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/windows-cert-5.png -------------------------------------------------------------------------------- /installer/app/src/images/windows-cert-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/windows-cert-6.png -------------------------------------------------------------------------------- /installer/app/src/images/windows-cert-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/windows-cert-7.png -------------------------------------------------------------------------------- /router/example-generator/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM flynn/busybox:trusty-20160217 2 | 3 | ADD flynn-router-examples /bin/flynn-router-examples 4 | -------------------------------------------------------------------------------- /test/rootfs/Makefile: -------------------------------------------------------------------------------- 1 | rootfs.img: build.sh setup.sh 2 | ./build.sh 3 | 4 | .PHONY: clean 5 | clean: 6 | rm -f rootfs.img vmlinuz 7 | -------------------------------------------------------------------------------- /vendor/github.com/godbus/dbus/MAINTAINERS: -------------------------------------------------------------------------------- 1 | Brandon Philips (@philips) 2 | Brian Waldon (@bcwaldon) 3 | -------------------------------------------------------------------------------- /controller/examples/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM flynn/busybox:trusty-20160217 2 | 3 | ADD flynn-controller-examples /bin/flynn-controller-examples 4 | -------------------------------------------------------------------------------- /dashboard/app/lib/images/github-token-copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/lib/images/github-token-copy.png -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-It.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-It.eot -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-It.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-It.ttf -------------------------------------------------------------------------------- /installer/app/src/images/digitalocean-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/digitalocean-logo.png -------------------------------------------------------------------------------- /installer/app/src/images/osx-firefox-cert-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/osx-firefox-cert-1.png -------------------------------------------------------------------------------- /pkg/keepalive/sockopt_stub.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package keepalive 4 | 5 | func setSockopt(fd int) error { 6 | return nil 7 | } 8 | -------------------------------------------------------------------------------- /router/Tupfile: -------------------------------------------------------------------------------- 1 | include_rules 2 | : |> !go |> bin/flynn-router 3 | : bin/* example-generator/flynn-router-examples |> !image-bootstrapped |> 4 | -------------------------------------------------------------------------------- /test/apps/private-clone/bin/compile: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | git clone git@github.com:flynn-examples/nodejs-flynn-example.git 6 | -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-Black.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-Black.eot -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-Black.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-Black.ttf -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-Bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-Bold.eot -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-Bold.ttf -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-Bold.woff -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-It.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-It.woff -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-Light.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-Light.eot -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-Light.ttf -------------------------------------------------------------------------------- /flannel/Tupfile: -------------------------------------------------------------------------------- 1 | include_rules 2 | : |> !go ./wrapper |> bin/flannel-wrapper 3 | : |> !go |> bin/flanneld 4 | : bin/* |> !image-bootstrapped |> 5 | -------------------------------------------------------------------------------- /installer/app/src/images/linux-chrome-cert-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/linux-chrome-cert-1.png -------------------------------------------------------------------------------- /installer/app/src/images/linux-chrome-cert-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/linux-chrome-cert-2.png -------------------------------------------------------------------------------- /installer/app/src/images/linux-chrome-cert-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/linux-chrome-cert-3.png -------------------------------------------------------------------------------- /installer/app/src/images/linux-chrome-cert-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/linux-chrome-cert-4.png -------------------------------------------------------------------------------- /installer/app/src/images/linux-chrome-cert-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/linux-chrome-cert-5.png -------------------------------------------------------------------------------- /installer/app/src/images/linux-firefox-cert-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/linux-firefox-cert-1.png -------------------------------------------------------------------------------- /installer/app/vendor/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/vendor/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /installer/app/vendor/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/vendor/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /router/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM flynn/busybox:trusty-20160217 2 | 3 | ADD ./bin/flynn-router /bin/flynn-router 4 | 5 | ENTRYPOINT ["/bin/flynn-router"] 6 | -------------------------------------------------------------------------------- /status/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM flynn/busybox:trusty-20160217 2 | 3 | ADD ./bin/flynn-status /bin/flynn-status 4 | 5 | ENTRYPOINT ["/bin/flynn-status"] 6 | -------------------------------------------------------------------------------- /test/apps/http/Godeps/Godeps.json: -------------------------------------------------------------------------------- 1 | { 2 | "ImportPath": "github.com/flynn/flynn/test/apps/http", 3 | "GoVersion": "go1.6", 4 | "Deps": [] 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/signal/README.md: -------------------------------------------------------------------------------- 1 | This package provides helper functions for dealing with signals across various operating systems -------------------------------------------------------------------------------- /vendor/github.com/go-ini/ini/.gitignore: -------------------------------------------------------------------------------- 1 | testdata/conf_out.ini 2 | ini.sublime-project 3 | ini.sublime-workspace 4 | testdata/conf_reflect.ini 5 | -------------------------------------------------------------------------------- /dashboard/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM flynn/busybox:trusty-20160217 2 | 3 | ADD bin/flynn-dashboard /bin/flynn-dashboard 4 | 5 | CMD ["/bin/flynn-dashboard"] 6 | -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-Black.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-Black.woff -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-BlackIt.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-BlackIt.eot -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-BlackIt.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-BlackIt.ttf -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-BoldIt.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-BoldIt.eot -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-BoldIt.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-BoldIt.ttf -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-BoldIt.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-BoldIt.woff -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-Light.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-Light.woff -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-LightIt.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-LightIt.eot -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-LightIt.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-LightIt.ttf -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-Regular.eot -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-Regular.ttf -------------------------------------------------------------------------------- /installer/app/src/images/windows-firefox-cert-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/src/images/windows-firefox-cert-1.png -------------------------------------------------------------------------------- /installer/app/vendor/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/vendor/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /installer/app/vendor/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/installer/app/vendor/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/ioutils/scheduler.go: -------------------------------------------------------------------------------- 1 | // +build !gccgo 2 | 3 | package ioutils 4 | 5 | func callSchedulerIfNecessary() { 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/dns/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | go: 4 | - 1.5 5 | - 1.6 6 | script: 7 | - go test -race -v -bench=. 8 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/nsenter/nsenter_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux !cgo 2 | 3 | package nsenter 4 | 5 | import "C" 6 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/browser/browser_darwin.go: -------------------------------------------------------------------------------- 1 | package browser 2 | 3 | func openBrowser(url string) error { 4 | return runCmd("open", url) 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/tent/http-link-go/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.1 4 | - tip 5 | before_install: 6 | - go get launchpad.net/gocheck 7 | -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-BlackIt.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-BlackIt.woff -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-ExtraLight.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-ExtraLight.eot -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-ExtraLight.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-ExtraLight.ttf -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-LightIt.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-LightIt.woff -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-Regular.woff -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-Semibold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-Semibold.eot -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-Semibold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-Semibold.ttf -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-Semibold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-Semibold.woff -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-SemiboldIt.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-SemiboldIt.eot -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-SemiboldIt.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-SemiboldIt.ttf -------------------------------------------------------------------------------- /logaggregator/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM flynn/busybox:trusty-20160217 2 | 3 | ADD ./bin/logaggregator /bin/logaggregator 4 | 5 | ENTRYPOINT ["/bin/logaggregator"] 6 | -------------------------------------------------------------------------------- /util/commit-validator/NOTICE: -------------------------------------------------------------------------------- 1 | Copyright 2012-2014 Docker, Inc. 2 | 3 | This product includes software developed at Docker, Inc. (http://www.docker.com). 4 | -------------------------------------------------------------------------------- /vendor/github.com/Sirupsen/logrus/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.2 4 | - 1.3 5 | - 1.4 6 | - tip 7 | install: 8 | - go get -t ./... 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/libcontainer/netlink/netlink_linux_arm.go: -------------------------------------------------------------------------------- 1 | package netlink 2 | 3 | func ifrDataByte(b byte) uint8 { 4 | return uint8(b) 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-sql-driver/mysql/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .DS_Store? 3 | ._* 4 | .Spotlight-V100 5 | .Trashes 6 | Icon? 7 | ehthumbs.db 8 | Thumbs.db 9 | -------------------------------------------------------------------------------- /vendor/github.com/jtacoma/uritemplates/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "tests"] 2 | path = tests 3 | url = https://github.com/uri-templates/uritemplate-test.git 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/stacktrace/stacktrace.go: -------------------------------------------------------------------------------- 1 | package stacktrace 2 | 3 | type Stacktrace struct { 4 | Frames []Frame 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/browser/browser_linux.go: -------------------------------------------------------------------------------- 1 | package browser 2 | 3 | func openBrowser(url string) error { 4 | return runCmd("xdg-open", url) 5 | } 6 | -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-ExtraLight.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-ExtraLight.woff -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-ExtraLightIt.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-ExtraLightIt.eot -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-ExtraLightIt.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-ExtraLightIt.ttf -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-SemiboldIt.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-SemiboldIt.woff -------------------------------------------------------------------------------- /flannel/NOTICE: -------------------------------------------------------------------------------- 1 | CoreOS Project 2 | Copyright 2014 CoreOS, Inc 3 | 4 | This product includes software developed at CoreOS, Inc. 5 | (http://www.coreos.com/). 6 | -------------------------------------------------------------------------------- /router/example-generator/Tupfile: -------------------------------------------------------------------------------- 1 | include_rules 2 | : |> !go |> flynn-router-examples 3 | : flynn-router-examples |> docker build -t flynn/router-examples . |> 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/useragent/README.md: -------------------------------------------------------------------------------- 1 | This package provides helper functions to pack version information into a single User-Agent header. 2 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/stats_freebsd.go: -------------------------------------------------------------------------------- 1 | package libcontainer 2 | 3 | type Stats struct { 4 | Interfaces []*NetworkInterface 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/stats_windows.go: -------------------------------------------------------------------------------- 1 | package libcontainer 2 | 3 | type Stats struct { 4 | Interfaces []*NetworkInterface 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/user/MAINTAINERS: -------------------------------------------------------------------------------- 1 | Tianon Gravi (@tianon) 2 | Aleksa Sarai (@cyphar) 3 | -------------------------------------------------------------------------------- /vendor/gopkg.in/inconshreveable/log15.v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.0 5 | - 1.1 6 | - 1.2 7 | - 1.3 8 | - release 9 | - tip 10 | -------------------------------------------------------------------------------- /dashboard/app/vendor/fonts/SourceSansPro-ExtraLightIt.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgs/flynn/master/dashboard/app/vendor/fonts/SourceSansPro-ExtraLightIt.woff -------------------------------------------------------------------------------- /host/volume/api.go: -------------------------------------------------------------------------------- 1 | package volume 2 | 3 | type PullCoordinate struct { 4 | HostID string `json:"host_id"` 5 | SnapshotID string `json:"snapshot_id"` 6 | } 7 | -------------------------------------------------------------------------------- /taffy/Tupfile: -------------------------------------------------------------------------------- 1 | include_rules 2 | : $(ROOT)/gitreceive/flynn-receiver |> !cp |> bin/flynn-receiver 3 | : |> !go ./ |> bin/taffy 4 | : bin/* |> !image-bootstrapped |> 5 | -------------------------------------------------------------------------------- /test/util/file-server/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "net/http" 4 | 5 | func main() { 6 | http.ListenAndServe(":8080", http.FileServer(http.Dir("."))) 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/COMPATIBLE: -------------------------------------------------------------------------------- 1 | Compatible with TOML version 2 | [v0.2.0](https://github.com/mojombo/toml/blob/master/versions/toml-v0.2.0.md) 3 | 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/configs/namespaces.go: -------------------------------------------------------------------------------- 1 | package configs 2 | 3 | type NamespaceType string 4 | 5 | type Namespaces []Namespace 6 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/browser/browser_windows.go: -------------------------------------------------------------------------------- 1 | package browser 2 | 3 | func openBrowser(url string) error { 4 | return runCmd("cmd", "/c", "start", url) 5 | } 6 | -------------------------------------------------------------------------------- /Godeps/Readme: -------------------------------------------------------------------------------- 1 | This directory tree is generated automatically by godep. 2 | 3 | Please do not edit. 4 | 5 | See https://github.com/tools/godep for more information. 6 | -------------------------------------------------------------------------------- /installer/app/src/dispatcher.js: -------------------------------------------------------------------------------- 1 | import { extend } from 'marbles/utils'; 2 | import Dispatcher from 'marbles/dispatcher'; 3 | 4 | export default extend({}, Dispatcher); 5 | -------------------------------------------------------------------------------- /util/release/README.md: -------------------------------------------------------------------------------- 1 | # flynn-release 2 | 3 | flynn-release is a tool for making Flynn releases. It can currently interpolate 4 | image IDs into bootstrap manifests. 5 | -------------------------------------------------------------------------------- /vendor/gopkg.in/inconshreveable/go-update.v0/hide_noop.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package update 4 | 5 | func hideFile(path string) error { 6 | return nil 7 | } 8 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.4 5 | - 1.5 6 | - 1.6 7 | - tip 8 | 9 | go_import_path: gopkg.in/yaml.v2 10 | -------------------------------------------------------------------------------- /host/flynn-init/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "github.com/flynn/flynn/host/containerinit" 5 | ) 6 | 7 | func main() { 8 | containerinit.Main() 9 | } 10 | -------------------------------------------------------------------------------- /installer/app/src/application.js: -------------------------------------------------------------------------------- 1 | import Installer from './installer'; 2 | Installer.run( 3 | document.getElementById('main'), 4 | document.getElementById('modal') 5 | ); 6 | -------------------------------------------------------------------------------- /vendor/github.com/Azure/go-ansiterm/context.go: -------------------------------------------------------------------------------- 1 | package ansiterm 2 | 3 | type AnsiContext struct { 4 | currentChar byte 5 | paramBuffer []byte 6 | interBuffer []byte 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/NOTICE.txt: -------------------------------------------------------------------------------- 1 | AWS SDK for Go 2 | Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 | Copyright 2014-2015 Stripe, Inc. 4 | -------------------------------------------------------------------------------- /vendor/github.com/godbus/dbus/transport_darwin.go: -------------------------------------------------------------------------------- 1 | package dbus 2 | 3 | func (t *unixTransport) SendNullByte() error { 4 | _, err := t.Write([]byte{0}) 5 | return err 6 | } 7 | -------------------------------------------------------------------------------- /appliance/redis/client.go: -------------------------------------------------------------------------------- 1 | package redis 2 | 3 | // Status represents response to the /status endpoint. 4 | type Status struct { 5 | Process *ProcessInfo `json:"process"` 6 | } 7 | -------------------------------------------------------------------------------- /gitreceive/Tupfile: -------------------------------------------------------------------------------- 1 | include_rules 2 | : |> !go ./receiver |> flynn-receiver 3 | : flynn-receiver |> !go |> gitreceived 4 | : gitreceived flynn-receiver |> !image-bootstrapped |> 5 | -------------------------------------------------------------------------------- /installer/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | /app 3 | /compiler 4 | /.gitrepos 5 | /node_modules 6 | /erb.rb 7 | /scss.js 8 | /transformer.js 9 | /.bundle 10 | /vendor/bundle 11 | -------------------------------------------------------------------------------- /vendor/github.com/cheggaaa/pb/pb_nix.go: -------------------------------------------------------------------------------- 1 | // +build linux darwin freebsd netbsd openbsd 2 | 3 | package pb 4 | 5 | import "syscall" 6 | 7 | const sys_ioctl = syscall.SYS_IOCTL 8 | -------------------------------------------------------------------------------- /vendor/github.com/coreos/pkg/NOTICE: -------------------------------------------------------------------------------- 1 | CoreOS Project 2 | Copyright 2014 CoreOS, Inc 3 | 4 | This product includes software developed at CoreOS, Inc. 5 | (http://www.coreos.com/). 6 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/sortutil/README: -------------------------------------------------------------------------------- 1 | Packages in this repository: 2 | 3 | Install: $ go get github.com/cznic/sortutil 4 | Godocs: http://godoc.org/github.com/cznic/sortutil 5 | -------------------------------------------------------------------------------- /vendor/github.com/docker/libcontainer/netlink/MAINTAINERS: -------------------------------------------------------------------------------- 1 | Michael Crosby (@crosbymichael) 2 | Guillaume J. Charmes (@creack) 3 | -------------------------------------------------------------------------------- /vendor/github.com/docker/libcontainer/netlink/netlink_linux_notarm.go: -------------------------------------------------------------------------------- 1 | // +build !arm 2 | 3 | package netlink 4 | 5 | func ifrDataByte(b byte) int8 { 6 | return int8(b) 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/jmespath/go-jmespath/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | sudo: false 4 | 5 | go: 6 | - 1.4 7 | 8 | install: go get -v -t ./... 9 | script: make test 10 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/configs/cgroup_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !windows,!linux,!freebsd 2 | 3 | package configs 4 | 5 | type Cgroup struct { 6 | } 7 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package grpc implements an RPC system called gRPC. 3 | 4 | See www.grpc.io for more information about gRPC. 5 | */ 6 | package grpc 7 | -------------------------------------------------------------------------------- /vendor/gopkg.in/tomb.v1/README.md: -------------------------------------------------------------------------------- 1 | Installation and usage 2 | ---------------------- 3 | 4 | See [gopkg.in/tomb.v1](https://gopkg.in/tomb.v1) for documentation and usage details. 5 | -------------------------------------------------------------------------------- /appliance/redis/Tupfile: -------------------------------------------------------------------------------- 1 | include_rules 2 | : |> !go ./cmd/flynn-redis |> bin/flynn-redis 3 | : |> !go ./cmd/flynn-redis-api |> bin/flynn-redis-api 4 | : bin/* |> !image-bootstrapped |> 5 | -------------------------------------------------------------------------------- /bootstrap/README.md: -------------------------------------------------------------------------------- 1 | # Bootstrap 2 | 3 | Bootstrap performs a list of actions against a Flynn cluster. It is typically 4 | used to boot Flynn layer 1 services on a new layer 0 cluster. 5 | -------------------------------------------------------------------------------- /discoverd/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM flynn/busybox:trusty-20160217 2 | 3 | ADD ./bin/discoverd /bin/discoverd 4 | ADD start.sh /bin/start-discoverd 5 | 6 | ENTRYPOINT ["/bin/start-discoverd"] 7 | -------------------------------------------------------------------------------- /test/apps/oom/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "bytes" 4 | 5 | func main() { 6 | var buf bytes.Buffer 7 | for { 8 | buf.Write(make([]byte, 1024*1024)) 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/README.md: -------------------------------------------------------------------------------- 1 | The MongoDB driver for Go 2 | ------------------------- 3 | 4 | Please go to [http://labix.org/mgo](http://labix.org/mgo) for all project details. 5 | -------------------------------------------------------------------------------- /flannel/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM flynn/busybox:trusty-20160217 2 | 3 | ADD bin/flanneld /bin/flanneld 4 | ADD bin/flannel-wrapper /bin/flannel-wrapper 5 | 6 | ENTRYPOINT ["/bin/flannel-wrapper"] 7 | -------------------------------------------------------------------------------- /vendor/github.com/awslabs/aws-sdk-go/aws/doc.go: -------------------------------------------------------------------------------- 1 | // Package aws contains support code for the various AWS clients in the 2 | // github.com/awslabs/aws-sdk-go/gen subpackages. 3 | package aws 4 | -------------------------------------------------------------------------------- /vendor/github.com/cupcake/jsonschema/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "JSON-Schema-Test-Suite"] 2 | path = JSON-Schema-Test-Suite 3 | url = git@github.com:json-schema/JSON-Schema-Test-Suite.git 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/libtrust/MAINTAINERS: -------------------------------------------------------------------------------- 1 | Solomon Hykes 2 | Josh Hawn (github: jlhawn) 3 | Derek McGowan (github: dmcgowan) 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/stats_solaris.go: -------------------------------------------------------------------------------- 1 | package libcontainer 2 | 3 | // Solaris - TODO 4 | 5 | type Stats struct { 6 | Interfaces []*NetworkInterface 7 | } 8 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .tup 2 | bin 3 | *.deb 4 | .vagrant 5 | /images.json 6 | /log 7 | script/custom-vagrant 8 | demo/*.log 9 | util/_toolchain/go 10 | *.swp 11 | *.test 12 | /tmp 13 | /image 14 | -------------------------------------------------------------------------------- /appliance/mariadb/Tupfile: -------------------------------------------------------------------------------- 1 | include_rules 2 | : |> !go ./cmd/flynn-mariadb |> bin/flynn-mariadb 3 | : |> !go ./cmd/flynn-mariadb-api |> bin/flynn-mariadb-api 4 | : bin/* |> !image-bootstrapped |> 5 | -------------------------------------------------------------------------------- /appliance/mongodb/Tupfile: -------------------------------------------------------------------------------- 1 | include_rules 2 | : |> !go ./cmd/flynn-mongodb |> bin/flynn-mongodb 3 | : |> !go ./cmd/flynn-mongodb-api |> bin/flynn-mongodb-api 4 | : bin/* |> !image-bootstrapped |> 5 | -------------------------------------------------------------------------------- /tup.config: -------------------------------------------------------------------------------- 1 | CONFIG_IMAGE_REPOSITORY=https://dl.flynn.io/tuf 2 | CONFIG_TUF_ROOT_KEYS=[{"keytype":"ed25519","keyval":{"public":"6cfda23aa48f530aebd5b9c01030d06d02f25876b5508d681675270027af4731"}}] 3 | -------------------------------------------------------------------------------- /dashboard/app/lib/stylesheets/dashboard/app-env.scss: -------------------------------------------------------------------------------- 1 | @import "./mixins"; 2 | 3 | .app-env { 4 | .save-btn { 5 | @extend %btn-green; 6 | @extend %btn-block; 7 | } 8 | } 9 | 10 | -------------------------------------------------------------------------------- /host/upstart.conf: -------------------------------------------------------------------------------- 1 | description "Flynn host daemon" 2 | 3 | start on runlevel [2345] 4 | stop on runlevel [!2345] 5 | respawn 6 | respawn limit 100 60 7 | 8 | exec /usr/local/bin/flynn-host daemon 9 | -------------------------------------------------------------------------------- /pkg/pprof/nopprof.go: -------------------------------------------------------------------------------- 1 | // +build !pprof 2 | 3 | package pprof 4 | 5 | import ( 6 | "net/http" 7 | ) 8 | 9 | const Enabled = false 10 | 11 | var Handler = http.HandlerFunc(http.NotFound) 12 | -------------------------------------------------------------------------------- /test/apps/env-dir/bin/compile: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | envdir="$3" 4 | 5 | if [ -z "${envdir}" ]; then 6 | echo "missing envdir" 7 | exit 1 8 | fi 9 | 10 | cat "${envdir}/FOO" 11 | echo 12 | -------------------------------------------------------------------------------- /test/util/file-server/README.md: -------------------------------------------------------------------------------- 1 | HTTP File Server 2 | ================ 3 | 4 | A simple HTTP file server used in tests for pulling updated Flynn components 5 | (see `ReleaseSuite.TestReleaseImages`). 6 | -------------------------------------------------------------------------------- /vendor/github.com/flynn/tail/ratelimiter/storage.go: -------------------------------------------------------------------------------- 1 | package ratelimiter 2 | 3 | type Storage interface { 4 | GetBucketFor(string) (*LeakyBucket, error) 5 | SetBucketFor(string, LeakyBucket) error 6 | } 7 | -------------------------------------------------------------------------------- /discoverd/types/types.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | type TargetLogIndex struct { 4 | LastIndex uint64 `json:"last_index"` 5 | } 6 | 7 | type RaftLeader struct { 8 | Host string `json:"host"` 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/cupcake/jsonschema/README.md: -------------------------------------------------------------------------------- 1 | # Test Setup 2 | 3 | git submodule update --init 4 | 5 | # Test 6 | 7 | go test 8 | 9 | Note that tests load external schemas by default. 10 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/README.md: -------------------------------------------------------------------------------- 1 | securecookie 2 | ============ 3 | [![Build Status](https://travis-ci.org/gorilla/securecookie.png?branch=master)](https://travis-ci.org/gorilla/securecookie) 4 | -------------------------------------------------------------------------------- /vendor/github.com/vanillahsu/go_reuseport/reuseport_bsd.go: -------------------------------------------------------------------------------- 1 | // +build darwin dragonfly freebsd netbsd openbsd 2 | 3 | package reuseport 4 | 5 | import "syscall" 6 | 7 | var reusePort = syscall.SO_REUSEPORT 8 | -------------------------------------------------------------------------------- /slugbuilder/Tupfile: -------------------------------------------------------------------------------- 1 | include_rules 2 | : |> !go ./artifact |> bin/create-artifact 3 | : |> !go ./migrator |> bin/migrator 4 | : bin/create-artifact bin/migrator $(ROOT)/util/cedarish/ |> !image-cedarish |> 5 | -------------------------------------------------------------------------------- /util/dep_stub/stub_windows.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | // hack in imports to make godep happy about some binaries we vendor 4 | import ( 5 | _ "github.com/jteeuwen/go-bindata/go-bindata" 6 | ) 7 | 8 | func main() {} 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/driver_freebsd.go: -------------------------------------------------------------------------------- 1 | package graphdriver 2 | 3 | var ( 4 | // Slice of drivers that should be used in an order 5 | priority = []string{ 6 | "zfs", 7 | } 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/vanillahsu/go_reuseport/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.2 4 | - release 5 | - tip 6 | 7 | before_install: 8 | - sudo uname -a 9 | 10 | script: 11 | - go test -v ./... 12 | -------------------------------------------------------------------------------- /vendor/gopkg.in/natefinch/lumberjack.v2/chown.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package lumberjack 4 | 5 | import ( 6 | "os" 7 | ) 8 | 9 | func chown(_ string, _ os.FileInfo) error { 10 | return nil 11 | } 12 | -------------------------------------------------------------------------------- /schema/router/error.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "https://flynn.io/schema/router/error#", 3 | "allOf": [ 4 | { 5 | "sortIndex": 2 6 | }, 7 | { "$ref": "https://flynn.io/schema/error#" } 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/flynn/oauth2/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/dns/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Alex A. Skinner 2 | Andrew Tunnell-Jones 3 | Ask Bjørn Hansen 4 | Dave Cheney 5 | Dusty Wilson 6 | Marek Majkowski 7 | Peter van Dijk 8 | Omri Bahumi 9 | Alex Sergeyev 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/oauth2/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/oauth2/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /dashboard/app/Gemfile.lock: -------------------------------------------------------------------------------- 1 | GEM 2 | remote: https://rubygems.org/ 3 | specs: 4 | yajl-ruby (1.2.1) 5 | 6 | PLATFORMS 7 | ruby 8 | 9 | DEPENDENCIES 10 | yajl-ruby 11 | 12 | BUNDLED WITH 13 | 1.10.5 14 | -------------------------------------------------------------------------------- /dashboard/app/lib/stylesheets/dashboard/app-delete.scss: -------------------------------------------------------------------------------- 1 | @import "./mixins"; 2 | 3 | .app-delete, .app-delete-resource { 4 | .delete-btn { 5 | @extend %btn-red; 6 | @extend %btn-block; 7 | } 8 | } 9 | 10 | -------------------------------------------------------------------------------- /installer/app/Gemfile.lock: -------------------------------------------------------------------------------- 1 | GEM 2 | remote: https://rubygems.org/ 3 | specs: 4 | yajl-ruby (1.2.1) 5 | 6 | PLATFORMS 7 | ruby 8 | 9 | DEPENDENCIES 10 | yajl-ruby 11 | 12 | BUNDLED WITH 13 | 1.10.5 14 | -------------------------------------------------------------------------------- /script/lib/util.sh: -------------------------------------------------------------------------------- 1 | # Various utility functions 2 | 3 | sha256() { 4 | local file=$1 5 | sha256sum "${file}" | cut -d " " -f 1 6 | } 7 | 8 | join() { 9 | local IFS="$1" 10 | shift 11 | echo "$*" 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/service/s3/platform_handlers.go: -------------------------------------------------------------------------------- 1 | // +build !go1.6 2 | 3 | package s3 4 | 5 | import "github.com/aws/aws-sdk-go/aws/request" 6 | 7 | func platformRequestHandlers(r *request.Request) { 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/bufs/README.md: -------------------------------------------------------------------------------- 1 | bufs 2 | ==== 3 | 4 | Package bufs implements a simple buffer cache. 5 | 6 | installation: go get github.com/cznic/bufs 7 | 8 | documentation: http://godoc.org/github.com/cznic/bufs 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/opts/hosts_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package opts 4 | 5 | // DefaultHost constant defines the default host string used by docker on Windows 6 | var DefaultHost = DefaultTCPHost 7 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/archive/copy_windows.go: -------------------------------------------------------------------------------- 1 | package archive 2 | 3 | import ( 4 | "path/filepath" 5 | ) 6 | 7 | func normalizePath(path string) string { 8 | return filepath.FromSlash(path) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/flynn/go-docopt/test_golang.docopt: -------------------------------------------------------------------------------- 1 | r"""usage: prog [NAME_-2]...""" 2 | $ prog 10 20 3 | {"NAME_-2": ["10", "20"]} 4 | 5 | $ prog 10 6 | {"NAME_-2": ["10"]} 7 | 8 | $ prog 9 | {"NAME_-2": []} 10 | -------------------------------------------------------------------------------- /vendor/github.com/flynn/oauth2/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/jteeuwen/go-bindata/LICENSE: -------------------------------------------------------------------------------- 1 | This work is subject to the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication 2 | license. Its contents can be found at: 3 | http://creativecommons.org/publicdomain/zero/1.0 4 | -------------------------------------------------------------------------------- /vendor/github.com/stevvooe/resumable/README.md: -------------------------------------------------------------------------------- 1 | # go-crypto 2 | A Subset of the Go `crypto` Package with a Resumable Hash Interface 3 | 4 | ### Documentation 5 | 6 | GoDocs: http://godoc.org/github.com/stevvooe/resumable 7 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/service/s3/s3manager/doc.go: -------------------------------------------------------------------------------- 1 | // Package s3manager provides utilities to upload and download objects from 2 | // S3 concurrently. Helpful for when working with large objects. 3 | package s3manager 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/registry/storage/doc.go: -------------------------------------------------------------------------------- 1 | // Package storage contains storage services for use in the registry 2 | // application. It should be considered an internal package, as of Go 1.4. 3 | package storage 4 | -------------------------------------------------------------------------------- /vendor/github.com/go-sql-driver/mysql/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | go: 4 | - 1.2 5 | - 1.3 6 | - 1.4 7 | - 1.5 8 | - tip 9 | 10 | before_script: 11 | - mysql -e 'create database gotest;' 12 | -------------------------------------------------------------------------------- /dashboard/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | /app 3 | /compiler 4 | .sass-cache 5 | /dashboard.tar 6 | /lib/installer 7 | /.gitrepos 8 | /node_modules 9 | /erb.rb 10 | /scss.js 11 | /transformer.js 12 | /.bundle/ 13 | /vendor/bundle/ 14 | -------------------------------------------------------------------------------- /dashboard/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "log" 5 | "net/http" 6 | ) 7 | 8 | func main() { 9 | conf := LoadConfigFromEnv() 10 | h := APIHandler(conf) 11 | log.Fatal(http.ListenAndServe(conf.Addr, h)) 12 | } 13 | -------------------------------------------------------------------------------- /taffy/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:trusty-20160217 2 | 3 | RUN apt-get update && apt-get -qy install git && apt-get clean 4 | 5 | ADD bin/taffy /bin/taffy 6 | ADD bin/flynn-receiver /bin/flynn-receiver 7 | 8 | ENTRYPOINT ["/bin/taffy"] 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/MAINTAINERS: -------------------------------------------------------------------------------- 1 | Solomon Hykes (@shykes) 2 | Olivier Gambier (@dmp42) 3 | Sam Alba (@samalba) 4 | Stephen Day (@stevvooe) 5 | -------------------------------------------------------------------------------- /vendor/github.com/flynn/tail/tail_posix.go: -------------------------------------------------------------------------------- 1 | // +build linux darwin freebsd 2 | 3 | package tail 4 | 5 | import ( 6 | "os" 7 | ) 8 | 9 | func OpenFile(name string) (file *os.File, err error) { 10 | return os.Open(name) 11 | } 12 | -------------------------------------------------------------------------------- /blobstore/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:trusty-20160217 2 | 3 | RUN apt-get update && apt-get -qy install ca-certificates curl && apt-get clean 4 | ADD ./bin/flynn-blobstore /bin/flynn-blobstore 5 | 6 | ENTRYPOINT ["/bin/flynn-blobstore", "server"] 7 | -------------------------------------------------------------------------------- /vendor/github.com/boltdb/bolt/boltsync_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows,!plan9,!linux,!openbsd 2 | 3 | package bolt 4 | 5 | // fdatasync flushes written data to a file descriptor. 6 | func fdatasync(db *DB) error { 7 | return db.file.Sync() 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/plugin_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !experimental 2 | 3 | package graphdriver 4 | 5 | func lookupPlugin(name, home string, opts []string) (Driver, error) { 6 | return nil, ErrNotSupported 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/fileutils/fileutils_windows.go: -------------------------------------------------------------------------------- 1 | package fileutils 2 | 3 | // GetTotalUsedFds Returns the number of used File Descriptors. Not supported 4 | // on Windows. 5 | func GetTotalUsedFds() int { 6 | return -1 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/flynn/tail/Makefile: -------------------------------------------------------------------------------- 1 | default: test 2 | 3 | test: *.go 4 | go test -v ./... 5 | 6 | fmt: 7 | gofmt -w . 8 | 9 | # Run the test in an isolated environment. 10 | fulltest: 11 | docker build -t ActiveState/tail . 12 | -------------------------------------------------------------------------------- /vendor/github.com/howeyc/fsnotify/.gitignore: -------------------------------------------------------------------------------- 1 | # Setup a Global .gitignore for OS and editor generated files: 2 | # https://help.github.com/articles/ignoring-files 3 | # git config --global core.excludesfile ~/.gitignore_global 4 | 5 | .vagrant 6 | -------------------------------------------------------------------------------- /vendor/github.com/Sirupsen/logrus/terminal_bsd.go: -------------------------------------------------------------------------------- 1 | // +build darwin freebsd openbsd netbsd dragonfly 2 | 3 | package logrus 4 | 5 | import "syscall" 6 | 7 | const ioctlReadTermios = syscall.TIOCGETA 8 | 9 | type Termios syscall.Termios 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/archive/copy_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package archive 4 | 5 | import ( 6 | "path/filepath" 7 | ) 8 | 9 | func normalizePath(path string) string { 10 | return filepath.ToSlash(path) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/go-ini/ini/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: build test bench vet 2 | 3 | build: vet bench 4 | 5 | test: 6 | go test -v -cover -race 7 | 8 | bench: 9 | go test -v -cover -race -test.bench=. -test.benchmem 10 | 11 | vet: 12 | go vet 13 | -------------------------------------------------------------------------------- /vendor/github.com/awslabs/aws-sdk-go/aws/example.ini: -------------------------------------------------------------------------------- 1 | [default] 2 | aws_access_key_id = accessKey 3 | aws_secret_access_key = secret 4 | aws_session_token = token 5 | 6 | [no_token] 7 | aws_access_key_id = accessKey 8 | aws_secret_access_key = secret 9 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/b/README.md: -------------------------------------------------------------------------------- 1 | b 2 | = 3 | 4 | Package b implements a B+tree. 5 | 6 | Installation: 7 | 8 | $ go get github.com/cznic/b 9 | 10 | Documentation: [godoc.org/github.com/cznic/b](http://godoc.org/github.com/cznic/b) 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/errors/error.go: -------------------------------------------------------------------------------- 1 | package errors 2 | 3 | // This file contains all of the errors that can be generated from the 4 | // docker engine but are not tied to any specific top-level component. 5 | 6 | const errGroup = "engine" 7 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/configs/cgroup_windows.go: -------------------------------------------------------------------------------- 1 | package configs 2 | 3 | // TODO Windows: This can ultimately be entirely factored out on Windows as 4 | // cgroups are a Unix-specific construct. 5 | type Cgroup struct { 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/criu_opts_windows.go: -------------------------------------------------------------------------------- 1 | package libcontainer 2 | 3 | // TODO Windows: This can ultimately be entirely factored out as criu is 4 | // a Unix concept not relevant on Windows. 5 | type CriuOpts struct { 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/armon/go-metrics/const_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package metrics 4 | 5 | import ( 6 | "syscall" 7 | ) 8 | 9 | const ( 10 | // DefaultSignal is used with DefaultInmemSignal 11 | DefaultSignal = syscall.SIGUSR1 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/symlink/fs_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package symlink 4 | 5 | import ( 6 | "path/filepath" 7 | ) 8 | 9 | func evalSymlinks(path string) (string, error) { 10 | return filepath.EvalSymlinks(path) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/flynn/go-check/export.go: -------------------------------------------------------------------------------- 1 | package check 2 | 3 | func PrintLine(filename string, line int) (string, error) { 4 | return printLine(filename, line) 5 | } 6 | 7 | func Indent(s, with string) string { 8 | return indent(s, with) 9 | } 10 | -------------------------------------------------------------------------------- /dashboard/app/lib/stylesheets/dashboard/app-deploy.scss: -------------------------------------------------------------------------------- 1 | @import "./mixins"; 2 | 3 | .app-deploy { 4 | .deploy-btn { 5 | @extend %btn-green; 6 | @extend %btn-block; 7 | } 8 | 9 | .alert-error { 10 | margin-top: 1rem; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /host/zfs-mknod.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # A script to create ZFS device nodes 4 | # (expected to be called by udevd inside a container) 5 | 6 | set -e 7 | 8 | if ! [[ -e "${DEVNAME}" ]]; then 9 | mknod "${DEVNAME}" "b" "${MAJOR}" "${MINOR}" 10 | fi 11 | -------------------------------------------------------------------------------- /router/Procfile: -------------------------------------------------------------------------------- 1 | # This Procfile boots router's development dependencies 2 | discoverd: sleep 1; discoverd 3 | sample_backend: sleep 2; ./examples/server/server :9999 4 | 5 | # router you would run yourself during development. 6 | #router: sleep 2; build/router 7 | -------------------------------------------------------------------------------- /vendor/github.com/boltdb/bolt/bolt_linux.go: -------------------------------------------------------------------------------- 1 | package bolt 2 | 3 | import ( 4 | "syscall" 5 | ) 6 | 7 | // fdatasync flushes written data to a file descriptor. 8 | func fdatasync(db *DB) error { 9 | return syscall.Fdatasync(int(db.file.Fd())) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/utils/utils_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package utils 4 | 5 | import ( 6 | "path/filepath" 7 | ) 8 | 9 | func getContextRoot(srcPath string) (string, error) { 10 | return filepath.Join(srcPath, "."), nil 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/stats_linux.go: -------------------------------------------------------------------------------- 1 | package libcontainer 2 | 3 | import "github.com/opencontainers/runc/libcontainer/cgroups" 4 | 5 | type Stats struct { 6 | Interfaces []*NetworkInterface 7 | CgroupStats *cgroups.Stats 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/utimes_darwin.go: -------------------------------------------------------------------------------- 1 | package system 2 | 3 | import "syscall" 4 | 5 | // LUtimesNano is not supported by darwin platform. 6 | func LUtimesNano(path string, ts []syscall.Timespec) error { 7 | return ErrNotSupportedPlatform 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/system/unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package system 4 | 5 | // RunningInUserNS is a stub for non-Linux systems 6 | // Always returns false 7 | func RunningInUserNS() bool { 8 | return false 9 | } 10 | -------------------------------------------------------------------------------- /controller/examples/Tupfile: -------------------------------------------------------------------------------- 1 | include_rules 2 | : |> !go |> flynn-controller-examples 3 | : flynn-controller-examples | $(ROOT)/util/imagebuilder/build-image |> ^ build-image controller-examples^ $(BUILDIMAGE) controller-examples > %o |> $(ROOT)/image/controller-examples.json 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/registry/handlers/basicauth.go: -------------------------------------------------------------------------------- 1 | // +build go1.4 2 | 3 | package handlers 4 | 5 | import ( 6 | "net/http" 7 | ) 8 | 9 | func basicAuth(r *http.Request) (username, password string, ok bool) { 10 | return r.BasicAuth() 11 | } 12 | -------------------------------------------------------------------------------- /dashboard/app/lib/stylesheets/dashboard/app-route-new.scss: -------------------------------------------------------------------------------- 1 | @import "./mixins"; 2 | .app-route-new { 3 | .alert-info, .alert-error { 4 | margin: 1rem 0; 5 | } 6 | 7 | .create-btn { 8 | @extend %btn-green; 9 | @extend %btn-block; 10 | } 11 | } 12 | 13 | -------------------------------------------------------------------------------- /vendor/github.com/boltdb/bolt/bolt_386.go: -------------------------------------------------------------------------------- 1 | package bolt 2 | 3 | // maxMapSize represents the largest mmap size supported by Bolt. 4 | const maxMapSize = 0x7FFFFFFF // 2GB 5 | 6 | // maxAllocSize is the size used when creating array pointers. 7 | const maxAllocSize = 0xFFFFFFF 8 | -------------------------------------------------------------------------------- /vendor/github.com/boltdb/bolt/bolt_arm.go: -------------------------------------------------------------------------------- 1 | package bolt 2 | 3 | // maxMapSize represents the largest mmap size supported by Bolt. 4 | const maxMapSize = 0x7FFFFFFF // 2GB 5 | 6 | // maxAllocSize is the size used when creating array pointers. 7 | const maxAllocSize = 0xFFFFFFF 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/aufs/mount_linux.go: -------------------------------------------------------------------------------- 1 | package aufs 2 | 3 | import "syscall" 4 | 5 | func mount(source string, target string, fstype string, flags uintptr, data string) error { 6 | return syscall.Mount(source, target, fstype, flags, data) 7 | } 8 | -------------------------------------------------------------------------------- /vendor/gopkg.in/inconshreveable/log15.v2/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Contributors to log15: 2 | 3 | - Aaron L 4 | - Alan Shreve 5 | - Chris Hines 6 | - Ciaran Downey 7 | - Dmitry Chestnykh 8 | - Evan Shaw 9 | - Péter Szilágyi 10 | - Trevor Gattis 11 | - Vincent Vanackere 12 | -------------------------------------------------------------------------------- /discoverd/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec /bin/discoverd \ 4 | -data-dir=/data \ 5 | -host="${EXTERNAL_IP}" \ 6 | -peers="${DISCOVERD_PEERS}" \ 7 | -addr="${LISTEN_IP}:${PORT_0}" \ 8 | -notify="http://${EXTERNAL_IP}:1113/host/discoverd" \ 9 | -wait-net-dns=true 10 | -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.1 4 | - 1.2 5 | - tip 6 | install: 7 | - go install ./... 8 | - go get github.com/BurntSushi/toml-test 9 | script: 10 | - export PATH="$PATH:$HOME/gopath/bin" 11 | - make test 12 | 13 | -------------------------------------------------------------------------------- /vendor/github.com/howeyc/fsnotify/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | ## Moving Notice 4 | 5 | There is a fork being actively developed with a new API in preparation for the Go Standard Library: 6 | [github.com/go-fsnotify/fsnotify](https://github.com/go-fsnotify/fsnotify) 7 | 8 | -------------------------------------------------------------------------------- /vendor/github.com/jmespath/go-jmespath/README.md: -------------------------------------------------------------------------------- 1 | # go-jmespath - A JMESPath implementation in Go 2 | 3 | [![Build Status](https://img.shields.io/travis/jmespath/go-jmespath.svg)](https://travis-ci.org/jmespath/go-jmespath) 4 | 5 | 6 | 7 | See http://jmespath.org for more info. 8 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/saslstub.go: -------------------------------------------------------------------------------- 1 | //+build !sasl 2 | 3 | package mgo 4 | 5 | import ( 6 | "fmt" 7 | ) 8 | 9 | func saslNew(cred Credential, host string) (saslStepper, error) { 10 | return nil, fmt.Errorf("SASL support not enabled during build (-tags sasl)") 11 | } 12 | -------------------------------------------------------------------------------- /gitreceive/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:trusty-20160217 2 | 3 | RUN apt-get update && apt-get -qy install git && apt-get clean 4 | ADD start.sh /bin/start-flynn-receiver 5 | ADD flynn-receiver /bin/flynn-receiver 6 | ADD gitreceived /bin/gitreceived 7 | 8 | CMD ["/bin/start-flynn-receiver"] 9 | -------------------------------------------------------------------------------- /vendor/github.com/boltdb/bolt/bolt_amd64.go: -------------------------------------------------------------------------------- 1 | package bolt 2 | 3 | // maxMapSize represents the largest mmap size supported by Bolt. 4 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB 5 | 6 | // maxAllocSize is the size used when creating array pointers. 7 | const maxAllocSize = 0x7FFFFFFF 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/opts/hosts_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package opts 4 | 5 | import "fmt" 6 | 7 | // DefaultHost constant defines the default host string used by docker on other hosts than Windows 8 | var DefaultHost = fmt.Sprintf("unix://%s", DefaultUnixSocket) 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/meminfo_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!windows 2 | 3 | package system 4 | 5 | // ReadMemInfo is not supported on platforms other than linux and windows. 6 | func ReadMemInfo() (*MemInfo, error) { 7 | return nil, ErrNotSupportedPlatform 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pty/doc.go: -------------------------------------------------------------------------------- 1 | // Package pty provides functions for working with Unix terminals. 2 | package pty 3 | 4 | import ( 5 | "os" 6 | ) 7 | 8 | // Opens a pty and its corresponding tty. 9 | func Open() (pty, tty *os.File, err error) { 10 | return open() 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/nsenter/nsenter.go: -------------------------------------------------------------------------------- 1 | // +build linux,!gccgo 2 | 3 | package nsenter 4 | 5 | /* 6 | #cgo CFLAGS: -Wall 7 | extern void nsexec(); 8 | void __attribute__((constructor)) init(void) { 9 | nsexec(); 10 | } 11 | */ 12 | import "C" 13 | -------------------------------------------------------------------------------- /appliance/redis/dump.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Passthrough arguments and dump RDB to temporary location. 4 | TMPFILE=`mktemp /tmp/dump.XXXXXXXXXX` 5 | /usr/bin/redis-cli $@ --rdb $TMPFILE 6 | 7 | # Write dump to STDOUT. 8 | cat $TMPFILE 9 | 10 | # Remove dump file. 11 | rm $TMPFILE 12 | -------------------------------------------------------------------------------- /dashboard/app/lib/stylesheets/dashboard/command-output.scss: -------------------------------------------------------------------------------- 1 | @import "./colors"; 2 | 3 | .command-output { 4 | background-color: $blackGrayColor; 5 | color: $whiteColor; 6 | border-radius: 4px; 7 | padding: 1em; 8 | max-height: 400px; 9 | overflow-y: auto; 10 | } 11 | 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/errors.go: -------------------------------------------------------------------------------- 1 | package system 2 | 3 | import ( 4 | "errors" 5 | ) 6 | 7 | var ( 8 | // ErrNotSupportedPlatform means the platform is not supported. 9 | ErrNotSupportedPlatform = errors.New("platform and architecture is not supported") 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/utils/experimental.go: -------------------------------------------------------------------------------- 1 | // +build experimental 2 | 3 | package utils 4 | 5 | // ExperimentalBuild is a stub which always returns true for 6 | // builds that include the "experimental" build tag 7 | func ExperimentalBuild() bool { 8 | return true 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/godbus/dbus/homedir_dynamic.go: -------------------------------------------------------------------------------- 1 | // +build !static_build 2 | 3 | package dbus 4 | 5 | import ( 6 | "os/user" 7 | ) 8 | 9 | func lookupHomeDir() string { 10 | u, err := user.Current() 11 | if err != nil { 12 | return "/" 13 | } 14 | return u.HomeDir 15 | } 16 | -------------------------------------------------------------------------------- /appliance/redis/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | case $1 in 4 | redis) 5 | shift 6 | exec /bin/flynn-redis $* 7 | ;; 8 | api) 9 | shift 10 | exec /bin/flynn-redis-api $* 11 | ;; 12 | *) 13 | echo "Usage: $0 {redis|api}" 14 | exit 2 15 | ;; 16 | esac 17 | -------------------------------------------------------------------------------- /controller/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | case $1 in 4 | controller) exec /bin/flynn-controller ;; 5 | scheduler) exec /bin/flynn-scheduler ;; 6 | worker) exec /bin/flynn-worker ;; 7 | *) 8 | echo "Usage: $0 {controller|scheduler|worker}" 9 | exit 2 10 | ;; 11 | esac 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/autogen/dockerversion/dockerversion.go: -------------------------------------------------------------------------------- 1 | package dockerversion 2 | 3 | var ( 4 | GITCOMMIT string = "" 5 | VERSION string = "" 6 | BUILDTIME string = "" 7 | 8 | IAMSTATIC string = "true" 9 | INITSHA1 string = "" 10 | INITPATH string = "" 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/utils/stubs.go: -------------------------------------------------------------------------------- 1 | // +build !experimental 2 | 3 | package utils 4 | 5 | // ExperimentalBuild is a stub which always returns false for 6 | // builds that do not include the "experimental" build tag 7 | func ExperimentalBuild() bool { 8 | return false 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/flynn/tail/tail_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package tail 4 | 5 | import ( 6 | "os" 7 | 8 | "github.com/flynn/tail/winfile" 9 | ) 10 | 11 | func OpenFile(name string) (file *os.File, err error) { 12 | return winfile.OpenFile(name, os.O_RDONLY, 0) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/configs/hugepage_limit.go: -------------------------------------------------------------------------------- 1 | package configs 2 | 3 | type HugepageLimit struct { 4 | // which type of hugepage to limit. 5 | Pagesize string `json:"page_size"` 6 | 7 | // usage limit for hugepage. 8 | Limit uint64 `json:"limit"` 9 | } 10 | -------------------------------------------------------------------------------- /cli/tuf.go.tmpl: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "encoding/json" 4 | 5 | func init() { 6 | updater = &Updater{ 7 | repo: "{{TUF-REPO}}", 8 | } 9 | if err := json.Unmarshal([]byte(`{{TUF-ROOT-KEYS}}`), &updater.rootKeys); err != nil { 10 | panic("error decoding root keys") 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/signal/signal_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!darwin,!freebsd,!windows 2 | 3 | package signal 4 | 5 | import ( 6 | "syscall" 7 | ) 8 | 9 | // SignalMap is an empty map of signals for unsupported platform. 10 | var SignalMap = map[string]syscall.Signal{} 11 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/mux/README.md: -------------------------------------------------------------------------------- 1 | mux 2 | === 3 | [![Build Status](https://travis-ci.org/gorilla/mux.png?branch=master)](https://travis-ci.org/gorilla/mux) 4 | 5 | gorilla/mux is a powerful URL router and dispatcher. 6 | 7 | Read the full documentation here: http://www.gorillatoolkit.org/pkg/mux 8 | -------------------------------------------------------------------------------- /appliance/redis/restore.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | HOST= 4 | while getopts :h: FLAG; do 5 | case $FLAG in 6 | h) 7 | HOST=$OPTARG 8 | ;; 9 | esac 10 | done 11 | 12 | # Send STDIN as body to redis process HTTP interface. 13 | curl -X POST --data-binary @- http://$HOST:6380/restore 14 | -------------------------------------------------------------------------------- /vendor/github.com/armon/go-metrics/const_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package metrics 4 | 5 | import ( 6 | "syscall" 7 | ) 8 | 9 | const ( 10 | // DefaultSignal is used with DefaultInmemSignal 11 | // Windows has no SIGUSR1, use SIGBREAK 12 | DefaultSignal = syscall.Signal(21) 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/version.go: -------------------------------------------------------------------------------- 1 | // Package aws provides core functionality for making requests to AWS services. 2 | package aws 3 | 4 | // SDKName is the name of this AWS SDK 5 | const SDKName = "aws-sdk-go" 6 | 7 | // SDKVersion is the version of this SDK 8 | const SDKVersion = "1.1.35" 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/ioutils/temp_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package ioutils 4 | 5 | import "io/ioutil" 6 | 7 | // TempDir on Unix systems is equivalent to ioutil.TempDir. 8 | func TempDir(dir, prefix string) (string, error) { 9 | return ioutil.TempDir(dir, prefix) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/configs/namespaces_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!freebsd 2 | 3 | package configs 4 | 5 | // Namespace defines configuration for each namespace. It specifies an 6 | // alternate path that is able to be joined via setns. 7 | type Namespace struct { 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/kr/binarydist/Readme.md: -------------------------------------------------------------------------------- 1 | # binarydist 2 | 3 | Package binarydist implements binary diff and patch as described on 4 | . It reads and writes files 5 | compatible with the tools there. 6 | 7 | Documentation at . 8 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-colorable/colorable_others.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package colorable 4 | 5 | import ( 6 | "io" 7 | "os" 8 | ) 9 | 10 | func NewColorableStdout() io.Writer { 11 | return os.Stdout 12 | } 13 | 14 | func NewColorableStderr() io.Writer { 15 | return os.Stderr 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/browser/browser_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!windows,!darwin 2 | 3 | package browser 4 | 5 | import ( 6 | "fmt" 7 | "runtime" 8 | ) 9 | 10 | func openBrowser(url string) error { 11 | return fmt.Errorf("openBrowser: unsupported operating system: %v", runtime.GOOS) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | TEXT ·use(SB),NOSPLIT,$0 10 | RET 11 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/saslimpl.go: -------------------------------------------------------------------------------- 1 | //+build sasl 2 | 3 | package mgo 4 | 5 | import ( 6 | "gopkg.in/mgo.v2/internal/sasl" 7 | ) 8 | 9 | func saslNew(cred Credential, host string) (saslStepper, error) { 10 | return sasl.New(cred.Username, cred.Password, cred.Mechanism, cred.Service, host) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/ql/vendored/github.com/cznic/exp/lldb/README.md: -------------------------------------------------------------------------------- 1 | lldb 2 | ==== 3 | 4 | Package lldb (WIP) implements a low level database engine. 5 | 6 | Installation: $ go get github.com/cznic/exp/lldb 7 | 8 | Documentation: [godoc.org/github.com/cznic/exp/lldb](http://godoc.org/github.com/cznic/exp/lldb) 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/umask_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package system 4 | 5 | // Umask is not supported on the windows platform. 6 | func Umask(newmask int) (oldmask int, err error) { 7 | // should not be called on cli code path 8 | return 0, ErrNotSupportedPlatform 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/rnd42/go-jsonpointer/README.md: -------------------------------------------------------------------------------- 1 | go-jsonschema 2 | ============= 3 | 4 | See [GoDoc](https://godoc.org/github.com/rnd42/go-jsonpointer) for documentation. 5 | 6 | License 7 | ------- 8 | 9 | ISC License, See the [LICENSE](https://github.com/rnd42/go-jsonpointer/blob/master/LICENSE) file for exact text. -------------------------------------------------------------------------------- /router/proxy/stream_conn.go: -------------------------------------------------------------------------------- 1 | package proxy 2 | 3 | import ( 4 | "bufio" 5 | "net" 6 | ) 7 | 8 | // streamConn buffers reads but not writes. 9 | type streamConn struct { 10 | *bufio.Reader 11 | net.Conn 12 | } 13 | 14 | func (c *streamConn) Read(b []byte) (int, error) { 15 | return c.Reader.Read(b) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/boltdb/bolt/bolt_arm64.go: -------------------------------------------------------------------------------- 1 | // +build arm64 2 | 3 | package bolt 4 | 5 | // maxMapSize represents the largest mmap size supported by Bolt. 6 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB 7 | 8 | // maxAllocSize is the size used when creating array pointers. 9 | const maxAllocSize = 0x7FFFFFFF 10 | -------------------------------------------------------------------------------- /vendor/github.com/boltdb/bolt/bolt_s390x.go: -------------------------------------------------------------------------------- 1 | // +build s390x 2 | 3 | package bolt 4 | 5 | // maxMapSize represents the largest mmap size supported by Bolt. 6 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB 7 | 8 | // maxAllocSize is the size used when creating array pointers. 9 | const maxAllocSize = 0x7FFFFFFF 10 | -------------------------------------------------------------------------------- /vendor/github.com/cheggaaa/pb/pb_win.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package pb 4 | 5 | import ( 6 | "github.com/olekukonko/ts" 7 | ) 8 | 9 | func bold(str string) string { 10 | return str 11 | } 12 | 13 | func terminalWidth() (int, error) { 14 | size, err := ts.GetSize() 15 | return size.Col(), err 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/flynn/tail/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | # depman needs to be installed with GOPATH pointing to a single directory. 4 | script: 5 | - GOPATH=$HOME/gopath go get github.com/vube/depman 6 | - GOPATH=$HOME/gopath $HOME/gopath/bin/depman 7 | - go test -v ./... 8 | 9 | go: 10 | - 1.2.1 11 | -------------------------------------------------------------------------------- /vendor/github.com/flynn/tail/watch/polling_posix.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2013 ActiveState Software Inc. All rights reserved. 2 | // +build linux darwin freebsd 3 | 4 | package watch 5 | 6 | func permissionErrorRetry(err error, retry *int) bool { 7 | // No need for this on linux, don't retry 8 | return false 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/isatty_appengine.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package isatty 4 | 5 | // IsTerminal returns true if the file descriptor is terminal which 6 | // is always false on on appengine classic which is a sandboxed PaaS. 7 | func IsTerminal(fd uintptr) bool { 8 | return false 9 | } 10 | -------------------------------------------------------------------------------- /schema/controller/error.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "https://flynn.io/schema/controller/error#", 3 | "allOf": [ 4 | { 5 | "sortIndex": 15, 6 | "examples": [ 7 | "schema/examples/controller/app_create_error#" 8 | ] 9 | }, 10 | { "$ref": "https://flynn.io/schema/error#" } 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /test/apps/http/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "log" 6 | "net/http" 7 | "os" 8 | ) 9 | 10 | func main() { 11 | http.HandleFunc("/", func(w http.ResponseWriter, req *http.Request) { 12 | fmt.Fprintln(w, "ok") 13 | }) 14 | log.Fatal(http.ListenAndServe(":"+os.Getenv("PORT"), nil)) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/boltdb/bolt/bolt_ppc64le.go: -------------------------------------------------------------------------------- 1 | // +build ppc64le 2 | 3 | package bolt 4 | 5 | // maxMapSize represents the largest mmap size supported by Bolt. 6 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB 7 | 8 | // maxAllocSize is the size used when creating array pointers. 9 | const maxAllocSize = 0x7FFFFFFF 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/reexec/command_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!windows,!freebsd 2 | 3 | package reexec 4 | 5 | import ( 6 | "os/exec" 7 | ) 8 | 9 | // Command is unsupported on operating systems apart from Linux and Windows. 10 | func Command(args ...string) *exec.Cmd { 11 | return nil 12 | } 13 | -------------------------------------------------------------------------------- /host/cli/version.go: -------------------------------------------------------------------------------- 1 | package cli 2 | 3 | import ( 4 | "fmt" 5 | 6 | "github.com/flynn/flynn/pkg/version" 7 | ) 8 | 9 | func init() { 10 | Register("version", runVersion, ` 11 | usage: flynn-host version 12 | 13 | Show current version`) 14 | } 15 | 16 | func runVersion() { 17 | fmt.Println(version.String()) 18 | } 19 | -------------------------------------------------------------------------------- /test/apps/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM flynn/busybox:trusty-20160217 2 | 3 | ADD bin/echoer /bin/echoer 4 | ADD bin/ping /bin/pingserv 5 | ADD bin/signal /bin/signal 6 | ADD bin/ish /bin/ish 7 | ADD bin/partial-logger /bin/partial-logger 8 | ADD bin/http-blocker /bin/http-blocker 9 | ADD bin/oom /bin/oom 10 | ADD bin/proxy /bin/proxy 11 | -------------------------------------------------------------------------------- /appliance/postgresql/Tupfile: -------------------------------------------------------------------------------- 1 | include_rules 2 | : |> !go ./cmd/flynn-postgres|> bin/flynn-postgres 3 | : |> !go ./cmd/flynn-postgres-api |> bin/flynn-postgres-api 4 | : bin/* | $(ROOT)/util/imagebuilder/build-image |> ^ build-image postgres^ $(BUILDIMAGE) postgres > %o |> $(ROOT)/image/bootstrapped/postgres.json $(ROOT)/ 5 | -------------------------------------------------------------------------------- /cli/version.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | 6 | "github.com/flynn/flynn/pkg/version" 7 | ) 8 | 9 | func init() { 10 | register("version", runVersion, ` 11 | usage: flynn version 12 | 13 | Show flynn version string. 14 | `) 15 | } 16 | 17 | func runVersion() { 18 | fmt.Println(version.String()) 19 | } 20 | -------------------------------------------------------------------------------- /dashboard/app/lib/stylesheets/dashboard/headings.scss: -------------------------------------------------------------------------------- 1 | @import "./colors"; 2 | 3 | h1 { 4 | color: $blackGrayColor; 5 | font-weight: 400; 6 | line-height: 1em; 7 | 8 | &.inline-block { 9 | margin-right: 0.75em; 10 | } 11 | 12 | small { 13 | margin-left: 1em; 14 | font-size: 0.5em; 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /flannel/subnet/rand.go: -------------------------------------------------------------------------------- 1 | package subnet 2 | 3 | import ( 4 | "math/rand" 5 | "time" 6 | ) 7 | 8 | var rnd *rand.Rand 9 | 10 | func init() { 11 | seed := time.Now().UnixNano() 12 | rnd = rand.New(rand.NewSource(seed)) 13 | } 14 | 15 | func randInt(lo, hi int) int { 16 | return lo + int(rnd.Int31n(int32(hi-lo))) 17 | } 18 | -------------------------------------------------------------------------------- /host/types/job_statuses.dot: -------------------------------------------------------------------------------- 1 | // generate with `dot -Tsvg job_statuses.dot -o statuses.svg` (also supports pdf, png, etc) 2 | digraph G { 3 | starting [shape=box]; 4 | running [shape=box]; 5 | 6 | starting -> failed; 7 | starting -> running -> done; 8 | running -> crashed; 9 | 10 | label = "Job Statuses"; 11 | } 12 | -------------------------------------------------------------------------------- /test/scripts/test-unit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -exo pipefail 3 | 4 | util/commit-validator/validate-dco 5 | 6 | util/commit-validator/validate-gofmt 7 | 8 | bats script/test 9 | 10 | export PGHOST=/var/run/postgresql 11 | sudo service postgresql start 12 | 13 | make test-unit-root 14 | 15 | sudo service postgresql stop 16 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/compat_1.5_linux.go: -------------------------------------------------------------------------------- 1 | // +build linux,!go1.5 2 | 3 | package libcontainer 4 | 5 | import "syscall" 6 | 7 | // GidMappingsEnableSetgroups was added in Go 1.5, so do nothing when building 8 | // with earlier versions 9 | func enableSetgroups(sys *syscall.SysProcAttr) { 10 | } 11 | -------------------------------------------------------------------------------- /docker-receive/Tupfile: -------------------------------------------------------------------------------- 1 | include_rules 2 | : |> !go |> bin/docker-receive 3 | : |> !go ./artifact |> bin/docker-artifact 4 | : |> !go ./migrator |> bin/docker-migrator 5 | : $(ROOT)/util/ca-certs/ca-certs.pem |> !cp |> bin/ca-certs.pem 6 | : bin/docker-receive bin/docker-artifact bin/docker-migrator bin/ca-certs.pem |> !image-bootstrapped |> 7 | -------------------------------------------------------------------------------- /host/cleanup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # A script to cleanup after flynn-host has exited inside a container. 4 | 5 | set -ex 6 | 7 | JOB_ID="$1" 8 | 9 | mknod -m 0600 /dev/zfs c $(sed 's|:| |' /sys/class/misc/zfs/dev) 10 | ln -nfs /proc/mounts /etc/mtab 11 | zpool destroy "flynn-${JOB_ID}" 12 | rm -rf "/var/lib/flynn/${JOB_ID}" 13 | -------------------------------------------------------------------------------- /schema/controller/ca_cert.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-04/schema#", 3 | "id": "https://flynn.io/schema/controller/ca_cert#", 4 | "title": "CA Cert", 5 | "description": "", 6 | "sortIndex": 17, 7 | "type": "string", 8 | "examples": [ 9 | "schema/examples/controller/ca_cert#" 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /util/release/Tupfile: -------------------------------------------------------------------------------- 1 | include_rules 2 | : |> !go |> flynn-release 3 | : flynn-release | $(ROOT)/bootstrap/ |> ^ images.json^ cat $(ROOT)/image/bootstrapped.json > /dev/null && ./flynn-release manifest --output=%o --image-dir=$(ROOT)/image/bootstrapped --image-repository=@(IMAGE_REPOSITORY) images_template.json |> $(ROOT)/images.json 4 | -------------------------------------------------------------------------------- /MAINTAINERS: -------------------------------------------------------------------------------- 1 | Alex Nobert (github: nobert) 2 | Daniel Siders (github: danielsiders) 3 | Jesse Stuart (github: jvatic) 4 | Jonathan Rudenberg (github: titanous) 5 | Joseph Glanville (github: josephglanville) 6 | Lewis Marshall (github: lmars) 7 | -------------------------------------------------------------------------------- /vendor/github.com/docker/go-units/circle.yml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | post: 3 | # install golint 4 | - go get github.com/golang/lint/golint 5 | 6 | test: 7 | pre: 8 | # run analysis before tests 9 | - go vet ./... 10 | - test -z "$(golint ./... | tee /dev/stderr)" 11 | - test -z "$(gofmt -s -l . | tee /dev/stderr)" 12 | -------------------------------------------------------------------------------- /vendor/github.com/godbus/dbus/transport_unixcred_openbsd.go: -------------------------------------------------------------------------------- 1 | package dbus 2 | 3 | import "io" 4 | 5 | func (t *unixTransport) SendNullByte() error { 6 | n, _, err := t.UnixConn.WriteMsgUnix([]byte{0}, nil, nil) 7 | if err != nil { 8 | return err 9 | } 10 | if n != 1 { 11 | return io.ErrShortWrite 12 | } 13 | return nil 14 | } 15 | -------------------------------------------------------------------------------- /docker-receive/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:trusty-20160217 2 | 3 | RUN apt-get install --yes squashfs-tools 4 | 5 | ADD bin/docker-receive /bin/docker-receive 6 | ADD bin/docker-artifact /bin/docker-artifact 7 | ADD bin/docker-migrator /bin/docker-migrator 8 | ADD bin/ca-certs.pem /etc/ssl/certs/ca-certs.pem 9 | 10 | CMD ["/bin/docker-receive"] 11 | -------------------------------------------------------------------------------- /vendor/github.com/cheggaaa/pb/reader.go: -------------------------------------------------------------------------------- 1 | package pb 2 | 3 | import ( 4 | "io" 5 | ) 6 | 7 | // It's proxy reader, implement io.Reader 8 | type Reader struct { 9 | io.Reader 10 | bar *ProgressBar 11 | } 12 | 13 | func (r *Reader) Read(p []byte) (n int, err error) { 14 | n, err = r.Reader.Read(p) 15 | r.bar.Add(n) 16 | return 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/mount/mounter_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!freebsd freebsd,!cgo 2 | 3 | package mount 4 | 5 | func mount(device, target, mType string, flag uintptr, data string) error { 6 | panic("Not implemented") 7 | } 8 | 9 | func unmount(target string, flag int) error { 10 | panic("Not implemented") 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/umask.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package system 4 | 5 | import ( 6 | "syscall" 7 | ) 8 | 9 | // Umask sets current process's file mode creation mask to newmask 10 | // and return oldmask. 11 | func Umask(newmask int) (oldmask int, err error) { 12 | return syscall.Umask(newmask), nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/context/README.md: -------------------------------------------------------------------------------- 1 | context 2 | ======= 3 | [![Build Status](https://travis-ci.org/gorilla/context.png?branch=master)](https://travis-ci.org/gorilla/context) 4 | 5 | gorilla/context is a general purpose registry for global request variables. 6 | 7 | Read the full documentation here: http://www.gorillatoolkit.org/pkg/context 8 | -------------------------------------------------------------------------------- /pkg/sirenia/xlog/xlog.go: -------------------------------------------------------------------------------- 1 | package xlog 2 | 3 | type Position string 4 | 5 | type XLog interface { 6 | // Returns the zero position for this xlog 7 | Zero() Position 8 | // Compare compares two xlog positions returning -1 if xlog1 < xlog2, 0 if xlog1 9 | // == xlog2, and 1 if xlog1 > xlog2. 10 | Compare(Position, Position) (int, error) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/mount/mountinfo_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!freebsd freebsd,!cgo 2 | 3 | package mount 4 | 5 | import ( 6 | "fmt" 7 | "runtime" 8 | ) 9 | 10 | func parseMountTable() ([]*Info, error) { 11 | return nil, fmt.Errorf("mount.parseMountTable is not implemented on %s/%s", runtime.GOOS, runtime.GOARCH) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/reexec/README.md: -------------------------------------------------------------------------------- 1 | ## reexec 2 | 3 | The `reexec` package facilitates the busybox style reexec of the docker binary that we require because 4 | of the forking limitations of using Go. Handlers can be registered with a name and the argv 0 of 5 | the exec of the binary will be used to find and execute custom init paths. 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/utimes_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!freebsd,!darwin 2 | 3 | package system 4 | 5 | import "syscall" 6 | 7 | // LUtimesNano is not supported on platforms other than linux, freebsd and darwin. 8 | func LUtimesNano(path string, ts []syscall.Timespec) error { 9 | return ErrNotSupportedPlatform 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/stevvooe/resumable/sha512/sha512block_decl.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build amd64 6 | 7 | package sha512 8 | 9 | //go:noescape 10 | 11 | func block(dig *digest, p []byte) 12 | -------------------------------------------------------------------------------- /vendor/github.com/thoj/go-ircevent/irc_test_fuzz.go: -------------------------------------------------------------------------------- 1 | // +build gofuzz 2 | 3 | package irc 4 | 5 | func Fuzz(data []byte) int { 6 | b := bytes.NewBuffer(data) 7 | event, err := parseToEvent(b.String()) 8 | if err == nil { 9 | irc := IRC("go-eventirc", "go-eventirc") 10 | irc.RunCallbacks(event) 11 | return 1 12 | } 13 | return 0 14 | } 15 | -------------------------------------------------------------------------------- /dashboard/app/lib/javascripts/dashboard/actions.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable no-unused-vars */ 2 | import Deploy from 'dashboard/actions/deploy'; 3 | import AppDelete from 'dashboard/actions/app-delete'; 4 | import AppEnv from 'dashboard/actions/app-env'; 5 | import AppRoutes from 'dashboard/actions/app-routes'; 6 | import Providers from 'dashboard/actions/providers'; 7 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/credentials/example.ini: -------------------------------------------------------------------------------- 1 | [default] 2 | aws_access_key_id = accessKey 3 | aws_secret_access_key = secret 4 | aws_session_token = token 5 | 6 | [no_token] 7 | aws_access_key_id = accessKey 8 | aws_secret_access_key = secret 9 | 10 | [with_colon] 11 | aws_access_key_id: accessKey 12 | aws_secret_access_key: secret 13 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/bufs/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This file lists people who contributed code to this repository. The AUTHORS 2 | # file lists the copyright holders; this file lists people. 3 | # 4 | # Names should be added to this file like so: 5 | # Name 6 | # 7 | # Please keep the list sorted. 8 | 9 | Jan Mercl <0xjnml@gmail.com> 10 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/strutil/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This file lists people who contributed code to this repository. The AUTHORS 2 | # file lists the copyright holders; this file lists people. 3 | # 4 | # Names should be added to this file like so: 5 | # Name 6 | # 7 | # Please keep the list sorted. 8 | 9 | Jan Mercl <0xjnml@gmail.com> 10 | -------------------------------------------------------------------------------- /vendor/github.com/howeyc/fsnotify/fsnotify_open_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin 6 | 7 | package fsnotify 8 | 9 | import "syscall" 10 | 11 | const open_FLAGS = syscall.O_EVTONLY 12 | -------------------------------------------------------------------------------- /vendor/github.com/stevvooe/resumable/sha256/sha256block_decl.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build 386 amd64 6 | 7 | package sha256 8 | 9 | //go:noescape 10 | 11 | func block(dig *digest, p []byte) 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/oauth2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - tip 5 | 6 | install: 7 | - export GOPATH="$HOME/gopath" 8 | - mkdir -p "$GOPATH/src/golang.org/x" 9 | - mv "$TRAVIS_BUILD_DIR" "$GOPATH/src/golang.org/x/oauth2" 10 | - go get -v -t -d golang.org/x/oauth2/... 11 | 12 | script: 13 | - go test -v golang.org/x/oauth2/... 14 | -------------------------------------------------------------------------------- /dashboard/app/lib/stylesheets/dashboard/back-link.scss: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | @import "./colors"; 3 | 4 | .back-link { 5 | text-decoration: none; 6 | color: $darkerGrayBlueColor; 7 | 8 | &:before { 9 | content: "« "; 10 | } 11 | 12 | &:after { 13 | display: block; 14 | content: " "; 15 | margin-bottom: 1rem; 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /dashboard/app/lib/stylesheets/dashboard/text-input.scss: -------------------------------------------------------------------------------- 1 | @import "./colors"; 2 | 3 | input[type="text"], input[type="email"], input[type="password"] { 4 | padding: 0.4rem 0.8rem; 5 | border: 1px solid $grayBlueColor; 6 | border-radius: 2px; 7 | box-shadow: inset 0px 0px 1px $grayBlueColor; 8 | font-size: 1em; 9 | line-height: 1.5em; 10 | } 11 | 12 | -------------------------------------------------------------------------------- /pkg/iptables/NOTICE: -------------------------------------------------------------------------------- 1 | Flynn is a trademark of Prime Directive, Inc. 2 | Copyright (c) 2014 Prime Directive, Inc. All rights reserved. 3 | 4 | Some modifications developed by Prime Directive, Inc. for the Flynn project (https://flynn.io). 5 | 6 | Copyright 2012-2014 Docker, Inc. 7 | 8 | This product includes software developed at Docker, Inc. (http://www.docker.com). 9 | -------------------------------------------------------------------------------- /test/release/repository/targets.json: -------------------------------------------------------------------------------- 1 | {"signed":{"_type":"Targets","expires":"2016-05-03T00:07:01Z","targets":{},"version":2},"signatures":[{"keyid":"8c86492d3d70bc049d72fa05a0e3516b85160540f314cfea9b062945d9c1fea5","method":"ed25519","sig":"a969c430bb0ef54c0783ff0a727d99b394f3293a6ed3ca72d7e7bb3286d3631ccfd55a5e80d758c6f05022ae326935ece1951010343392554dbe482529e17403"}]} -------------------------------------------------------------------------------- /vendor/github.com/cznic/zappy/README.md: -------------------------------------------------------------------------------- 1 | zappy 2 | ===== 3 | 4 | Package zappy implements the zappy block-based compression format. It aims for 5 | a combination of good speed and reasonable compression. 6 | 7 | Installation: $ go get github.com/cznic/zappy 8 | 9 | Documentation: [godoc.org/github.com/cznic/zappy](http://godoc.org/github.com/cznic/zappy) 10 | -------------------------------------------------------------------------------- /appliance/mongodb/dump.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # Create temporary directory for dump 4 | TMPFILE=`mktemp -d /tmp/dump.XXXXXXXXXX` 5 | trap "rm -rf ${TMPFILE}" EXIT 6 | 7 | # Passthrough arguments and dump to temporary path. 8 | /usr/bin/mongodump $@ -o $TMPFILE 9 | 10 | # Archive dump directory, gzip, & write to STDOUT. 11 | cd $TMPFILE 12 | tar -cf - * 13 | -------------------------------------------------------------------------------- /schema/lib/flynn-schema.rb: -------------------------------------------------------------------------------- 1 | require 'flynn-schema/version' 2 | 3 | module FlynnSchema 4 | def self.dir 5 | @dir ||= File.expand_path(File.join(__FILE__, '..', '..')) 6 | end 7 | 8 | def self.paths 9 | @paths ||= Dir[File.join(dir, '**', '*.json')].reject do |path| 10 | path.index(File.join(dir, 'lib', '')) 11 | end 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/strutil/README: -------------------------------------------------------------------------------- 1 | This is a goinstall-able mirror of modified code already published at: 2 | http://git.nic.cz/redmine/projects/gostrutil/repository 3 | 4 | Online godoc documentation for this package (should be) available at: 5 | http://gopkgdoc.appspot.com/pkg/github.com/cznic/strutil 6 | 7 | Installation: 8 | $ go get github.com/cznic/strutil 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/archive/time_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package archive 4 | 5 | import ( 6 | "syscall" 7 | "time" 8 | ) 9 | 10 | func timeToTimespec(time time.Time) (ts syscall.Timespec) { 11 | nsec := int64(0) 12 | if !time.IsZero() { 13 | nsec = time.UnixNano() 14 | } 15 | return syscall.NsecToTimespec(nsec) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/ioutils/scheduler_gccgo.go: -------------------------------------------------------------------------------- 1 | // +build gccgo 2 | 3 | package ioutils 4 | 5 | import ( 6 | "runtime" 7 | ) 8 | 9 | func callSchedulerIfNecessary() { 10 | //allow or force Go scheduler to switch context, without explicitly 11 | //forcing this will make it hang when using gccgo implementation 12 | runtime.Gosched() 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/vbatts/tar-split/tar/asm/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package asm provides the API for streaming assembly and disassembly of tar 3 | archives. 4 | 5 | Using the `github.com/vbatts/tar-split/tar/storage` for Packing/Unpacking the 6 | metadata for a stream, as well as an implementation of Getting/Putting the file 7 | entries' payload. 8 | */ 9 | package asm 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/go18.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.8 6 | 7 | package http2 8 | 9 | import "crypto/tls" 10 | 11 | func cloneTLSConfig(c *tls.Config) *tls.Config { return c.Clone() } 12 | -------------------------------------------------------------------------------- /dashboard/app/lib/stylesheets/dashboard/apps.scss: -------------------------------------------------------------------------------- 1 | .app-panel { 2 | flex-basis: 654px; 3 | min-width: 654px; 4 | max-width: 950px; 5 | } 6 | 7 | .apps-list-panel { 8 | flex-basis: 410px; 9 | min-width: 410px; 10 | max-width: 410px; 11 | height: 100%; 12 | overflow-y: auto; 13 | } 14 | 15 | .system-applications-link { 16 | text-align: right; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/doc.go: -------------------------------------------------------------------------------- 1 | // Package distribution will define the interfaces for the components of 2 | // docker distribution. The goal is to allow users to reliably package, ship 3 | // and store content related to docker images. 4 | // 5 | // This is currently a work in progress. More details are available in the 6 | // README.md. 7 | package distribution 8 | -------------------------------------------------------------------------------- /vendor/github.com/flynn/oauth2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.3 5 | - 1.4 6 | 7 | install: 8 | - export GOPATH="$HOME/gopath" 9 | - mkdir -p "$GOPATH/src/golang.org/x" 10 | - mv "$TRAVIS_BUILD_DIR" "$GOPATH/src/golang.org/x/oauth2" 11 | - go get -v -t -d golang.org/x/oauth2/... 12 | 13 | script: 14 | - go test -v golang.org/x/oauth2/... 15 | -------------------------------------------------------------------------------- /pkg/testutils/utils.go: -------------------------------------------------------------------------------- 1 | package testutils 2 | 3 | import ( 4 | "os" 5 | 6 | . "github.com/flynn/go-check" 7 | ) 8 | 9 | /* 10 | Skips a test if the UID isn't 0. 11 | 12 | Use in a suite's `SetUpSuite` method for great effect. 13 | */ 14 | func SkipIfNotRoot(t *C) { 15 | if os.Getuid() != 0 { 16 | t.Skip("cannot perform operations requiring root") 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/term/windows/windows.go: -------------------------------------------------------------------------------- 1 | // These files implement ANSI-aware input and output streams for use by the Docker Windows client. 2 | // When asked for the set of standard streams (e.g., stdin, stdout, stderr), the code will create 3 | // and return pseudo-streams that convert ANSI sequences to / from Windows Console API calls. 4 | 5 | package windows 6 | -------------------------------------------------------------------------------- /dashboard/app/lib/javascripts/dashboard/actions/nav.js: -------------------------------------------------------------------------------- 1 | import Config from 'dashboard/config'; 2 | import Dispatcher from '../dispatcher'; 3 | 4 | var Nav = { 5 | handleAuthBtnClick: function () { 6 | if (Config.isNavFrozen) { 7 | return; 8 | } 9 | Dispatcher.handleViewAction({ 10 | name: "AUTH_BTN_CLICK" 11 | }); 12 | } 13 | }; 14 | 15 | export default Nav; 16 | -------------------------------------------------------------------------------- /test/apps/build-cache/bin/compile: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | cache="$2" 4 | file="${cache}/a" 5 | i=$(cat "${file}") 6 | 7 | if [[ -n "${i}" ]]; then 8 | echo "cached: ${i}" 9 | ((i++)) 10 | echo "${i}" > "${file}" 11 | else 12 | echo 0 > "${file}" 13 | fi 14 | 15 | # Ensure there are no regressions for #1757, directories missing the +x bit 16 | mkdir $1/foo/bar || exit 1 17 | -------------------------------------------------------------------------------- /util/flynn-in-flynn/boot.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "log" 5 | 6 | "github.com/flynn/flynn/test/cluster2" 7 | ) 8 | 9 | func main() { 10 | _, err := cluster2.Boot(&cluster2.BootConfig{ 11 | Size: 1, 12 | ImagesPath: "images.json", 13 | ManifestPath: "bootstrap/bin/manifest.json", 14 | }) 15 | if err != nil { 16 | log.Fatal(err) 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/Azure/go-ansiterm/winterm/utilities.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package winterm 4 | 5 | // AddInRange increments a value by the passed quantity while ensuring the values 6 | // always remain within the supplied min / max range. 7 | func AddInRange(n SHORT, increment SHORT, min SHORT, max SHORT) SHORT { 8 | return ensureInRange(n+increment, min, max) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/mathutil/test_deps.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014 The mathutil Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package mathutil 6 | 7 | // Pull test dependencies too. 8 | // Enables easy 'go test X' after 'go get X' 9 | import ( 10 | // nothing yet 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/configs/interface_priority_map.go: -------------------------------------------------------------------------------- 1 | package configs 2 | 3 | import ( 4 | "fmt" 5 | ) 6 | 7 | type IfPrioMap struct { 8 | Interface string `json:"interface"` 9 | Priority int64 `json:"priority"` 10 | } 11 | 12 | func (i *IfPrioMap) CgroupString() string { 13 | return fmt.Sprintf("%s %d", i.Interface, i.Priority) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/constants.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin dragonfly freebsd linux netbsd openbsd solaris 6 | 7 | package unix 8 | 9 | const ( 10 | R_OK = 0x4 11 | W_OK = 0x2 12 | X_OK = 0x1 13 | ) 14 | -------------------------------------------------------------------------------- /appliance/mongodb/restore.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # Extract dump into a temporary directory. 4 | TMPFILE=`mktemp -d /tmp/dump.XXXXXXXXXX` 5 | mkdir -p $TMPFILE 6 | trap "rm -rf ${TMPFILE}" EXIT 7 | 8 | # Extract tar archive into temporary directory. 9 | tar -x -C $TMPFILE <&0 10 | 11 | # Restore from temporary directory into database. 12 | /usr/bin/mongorestore $@ $TMPFILE/* 13 | -------------------------------------------------------------------------------- /host/cli/root_keys.go.tmpl: -------------------------------------------------------------------------------- 1 | package cli 2 | 3 | import ( 4 | "encoding/json" 5 | 6 | tufdata "github.com/flynn/go-tuf/data" 7 | ) 8 | 9 | const rootKeysJSON = `{{TUF-ROOT-KEYS}}` 10 | 11 | var rootKeys []*tufdata.Key 12 | 13 | func init() { 14 | if err := json.Unmarshal([]byte(rootKeysJSON), &rootKeys); err != nil { 15 | panic("error decoding root keys") 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /installer/app/src/cluster.js: -------------------------------------------------------------------------------- 1 | import BaseCluster from './base-cluster'; 2 | import AWSCluster from './aws-cluster'; 3 | import DigitalOceanCluster from './digitalocean-cluster'; 4 | import AzureCluster from './azure-cluster'; 5 | import SSHCluster from './ssh-cluster'; 6 | 7 | export { BaseCluster, AWSCluster, DigitalOceanCluster, AzureCluster, SSHCluster }; 8 | export default BaseCluster; 9 | -------------------------------------------------------------------------------- /installer/app/src/views/cluster.js.jsx: -------------------------------------------------------------------------------- 1 | import Dashboard from './dashboard'; 2 | 3 | var Cluster = React.createClass({ 4 | render: function () { 5 | var state = this.props.state; 6 | var clusterID = this.props.clusterID; 7 | return ( 8 |
9 | 10 |
11 | ); 12 | } 13 | }); 14 | export default Cluster; 15 | -------------------------------------------------------------------------------- /pkg/schedutil/simple.go: -------------------------------------------------------------------------------- 1 | package schedutil 2 | 3 | import ( 4 | "github.com/flynn/flynn/pkg/cluster" 5 | "github.com/flynn/flynn/pkg/random" 6 | ) 7 | 8 | type HostSlice []*cluster.Host 9 | 10 | func PickHost(hosts HostSlice) *cluster.Host { 11 | if len(hosts) == 0 { 12 | return nil 13 | } 14 | // Return a random pick 15 | return hosts[random.Math.Intn(len(hosts))] 16 | } 17 | -------------------------------------------------------------------------------- /test/runner/assets/style.css: -------------------------------------------------------------------------------- 1 | p.more-btn { 2 | text-align: center 3 | } 4 | 5 | .label { 6 | display: inline-block; 7 | padding: 9px 12px; 8 | } 9 | 10 | .label-reason { 11 | background-color: #611BBD; 12 | } 13 | 14 | .modal label { 15 | width: 100%; 16 | padding: 10px 20px; 17 | } 18 | 19 | #logs { 20 | color: #D4D5C0; 21 | background-color: #1F1F1F; 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/client/metadata/client_info.go: -------------------------------------------------------------------------------- 1 | package metadata 2 | 3 | // ClientInfo wraps immutable data from the client.Client structure. 4 | type ClientInfo struct { 5 | ServiceName string 6 | APIVersion string 7 | Endpoint string 8 | SigningName string 9 | SigningRegion string 10 | JSONVersion string 11 | TargetPrefix string 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/promise/promise.go: -------------------------------------------------------------------------------- 1 | package promise 2 | 3 | // Go is a basic promise implementation: it wraps calls a function in a goroutine, 4 | // and returns a channel which will later return the function's return value. 5 | func Go(f func() error) chan error { 6 | ch := make(chan error, 1) 7 | go func() { 8 | ch <- f() 9 | }() 10 | return ch 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/howeyc/fsnotify/fsnotify_open_bsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build freebsd openbsd netbsd 6 | 7 | package fsnotify 8 | 9 | import "syscall" 10 | 11 | const open_FLAGS = syscall.O_NONBLOCK | syscall.O_RDONLY 12 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/stats.go: -------------------------------------------------------------------------------- 1 | package libcontainer 2 | 3 | type NetworkInterface struct { 4 | // Name is the name of the network interface. 5 | Name string 6 | 7 | RxBytes uint64 8 | RxPackets uint64 9 | RxErrors uint64 10 | RxDropped uint64 11 | TxBytes uint64 12 | TxPackets uint64 13 | TxErrors uint64 14 | TxDropped uint64 15 | } 16 | -------------------------------------------------------------------------------- /flannel/backend/common.go: -------------------------------------------------------------------------------- 1 | package backend 2 | 3 | import ( 4 | "net" 5 | 6 | "github.com/flynn/flynn/flannel/pkg/ip" 7 | ) 8 | 9 | type SubnetDef struct { 10 | Net ip.IP4Net 11 | MTU int 12 | } 13 | 14 | type Backend interface { 15 | Init(extIface *net.Interface, extIP net.IP, httpPort string, ipMasq bool) (*SubnetDef, error) 16 | Run() 17 | Stop() 18 | Name() string 19 | } 20 | -------------------------------------------------------------------------------- /test/Tupfile: -------------------------------------------------------------------------------- 1 | include_rules 2 | # use an 'image' directory so docker only reads the files it needs 3 | : |> !cgo |> image/bin/flynn-test 4 | : |> !cgo ./runner |> bin/flynn-test-runner 5 | : |> !cgo ./util/file-server |> image/bin/flynn-test-file-server 6 | : image/bin/* | $(ROOT)/util/imagebuilder/build-image |> ^ build-image test^ $(BUILDIMAGE) --dir image test > %o |> $(ROOT)/image/test.json 7 | -------------------------------------------------------------------------------- /vendor/github.com/Sirupsen/logrus/terminal_linux.go: -------------------------------------------------------------------------------- 1 | // Based on ssh/terminal: 2 | // Copyright 2013 The Go Authors. All rights reserved. 3 | // Use of this source code is governed by a BSD-style 4 | // license that can be found in the LICENSE file. 5 | 6 | package logrus 7 | 8 | import "syscall" 9 | 10 | const ioctlReadTermios = syscall.TCGETS 11 | 12 | type Termios syscall.Termios 13 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/internal/main.go: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Google Inc. All rights reserved. 2 | // Use of this source code is governed by the Apache 2.0 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build appengine 6 | 7 | package internal 8 | 9 | import ( 10 | "appengine_internal" 11 | ) 12 | 13 | func Main() { 14 | appengine_internal.Main() 15 | } 16 | -------------------------------------------------------------------------------- /slugbuilder/builder/create-user.sh: -------------------------------------------------------------------------------- 1 | # create a user with a well known name / uid / gid 2 | export USER="flynn" 3 | export USER_UID="5000" 4 | export USER_GID="5000" 5 | 6 | groupadd \ 7 | --gid "${USER_GID}" \ 8 | "${USER}" 9 | 10 | useradd \ 11 | --uid "${USER_UID}" \ 12 | --gid "${USER_GID}" \ 13 | --comment "Flynn slug user" \ 14 | --home "/app" \ 15 | "${USER}" 16 | -------------------------------------------------------------------------------- /vendor/github.com/armon/go-metrics/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/mathutil/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This file lists people who contributed code to this repository. The AUTHORS 2 | # file lists the copyright holders; this file lists people. 3 | # 4 | # Names should be added to this file like so: 5 | # Name 6 | # 7 | # Please keep the list sorted. 8 | 9 | Gary Burd 10 | Jan Mercl <0xjnml@gmail.com> 11 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/sortutil/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This file lists people who contributed code to this repository. The AUTHORS 2 | # file lists the copyright holders; this file lists people. 3 | # 4 | # Names should be added to this file like so: 5 | # Name 6 | # 7 | # Please keep the list sorted. 8 | 9 | Gary Burd 10 | Jan Mercl <0xjnml@gmail.com> 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/archive/time_linux.go: -------------------------------------------------------------------------------- 1 | package archive 2 | 3 | import ( 4 | "syscall" 5 | "time" 6 | ) 7 | 8 | func timeToTimespec(time time.Time) (ts syscall.Timespec) { 9 | if time.IsZero() { 10 | // Return UTIME_OMIT special value 11 | ts.Sec = 0 12 | ts.Nsec = ((1 << 30) - 2) 13 | return 14 | } 15 | return syscall.NsecToTimespec(time.UnixNano()) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/utils/utils_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package utils 4 | 5 | import ( 6 | "path/filepath" 7 | 8 | "github.com/docker/docker/pkg/longpath" 9 | ) 10 | 11 | func getContextRoot(srcPath string) (string, error) { 12 | cr, err := filepath.Abs(srcPath) 13 | if err != nil { 14 | return "", err 15 | } 16 | return longpath.AddPrefix(cr), nil 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/handlers/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | 4 | matrix: 5 | include: 6 | - go: 1.4 7 | - go: 1.5 8 | - go: 1.6 9 | - go: tip 10 | allow_failures: 11 | - go: tip 12 | 13 | script: 14 | - go get -t -v ./... 15 | - diff -u <(echo -n) <(gofmt -d .) 16 | - go vet $(go list ./... | grep -v /vendor/) 17 | - go test -v -race ./... 18 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/console.go: -------------------------------------------------------------------------------- 1 | package libcontainer 2 | 3 | import "io" 4 | 5 | // Console represents a pseudo TTY. 6 | type Console interface { 7 | io.ReadWriter 8 | io.Closer 9 | 10 | // Path returns the filesystem path to the slave side of the pty. 11 | Path() string 12 | 13 | // Fd returns the fd for the master of the pty. 14 | Fd() uintptr 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_no_getwd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build dragonfly freebsd netbsd openbsd 6 | 7 | package unix 8 | 9 | const ImplementsGetwd = false 10 | 11 | func Getwd() (string, error) { return "", ENOTSUP } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/zsysnum_solaris_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build amd64,solaris 6 | 7 | package unix 8 | 9 | // TODO(aram): remove these before Go 1.3. 10 | const ( 11 | SYS_EXECVE = 59 12 | SYS_FCNTL = 62 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/github.com/badgerodon/ioutil/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | -------------------------------------------------------------------------------- /vendor/github.com/jtacoma/uritemplates/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | -------------------------------------------------------------------------------- /vendor/github.com/vishvananda/netlink/link_tuntap_linux.go: -------------------------------------------------------------------------------- 1 | package netlink 2 | 3 | // ideally golang.org/x/sys/unix would define IfReq but it only has 4 | // IFNAMSIZ, hence this minimalistic implementation 5 | const ( 6 | SizeOfIfReq = 40 7 | IFNAMSIZ = 16 8 | ) 9 | 10 | type ifReq struct { 11 | Name [IFNAMSIZ]byte 12 | Flags uint16 13 | pad [SizeOfIfReq - IFNAMSIZ - 2]byte 14 | } 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/oauth2/google/appengine_hook.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build appengine 6 | 7 | package google 8 | 9 | import "google.golang.org/appengine" 10 | 11 | func init() { 12 | appengineTokenFunc = appengine.AccessToken 13 | } 14 | -------------------------------------------------------------------------------- /vendor/gopkg.in/inconshreveable/log15.v2/term/terminal_linux.go: -------------------------------------------------------------------------------- 1 | // Based on ssh/terminal: 2 | // Copyright 2013 The Go Authors. All rights reserved. 3 | // Use of this source code is governed by a BSD-style 4 | // license that can be found in the LICENSE file. 5 | 6 | package term 7 | 8 | import "syscall" 9 | 10 | const ioctlReadTermios = syscall.TCGETS 11 | 12 | type Termios syscall.Termios 13 | -------------------------------------------------------------------------------- /dashboard/app/lib/javascripts/dashboard/actions/app-delete.js: -------------------------------------------------------------------------------- 1 | import Dispatcher from 'dashboard/dispatcher'; 2 | import Config from 'dashboard/config'; 3 | 4 | var deleteApp = function (appID) { 5 | var client = Config.client; 6 | client.deleteApp(appID); 7 | }; 8 | 9 | Dispatcher.register(function (event) { 10 | if (event.name === 'DELETE_APP') { 11 | deleteApp(event.appID); 12 | } 13 | }); 14 | -------------------------------------------------------------------------------- /dashboard/app/lib/javascripts/dashboard/views/helpers/findScrollParent.js: -------------------------------------------------------------------------------- 1 | var findScrollParent = function (el) { 2 | var ref = el; 3 | while (ref) { 4 | switch (window.getComputedStyle(ref).overflow) { 5 | case "auto": 6 | return ref; 7 | case "scroll": 8 | return ref; 9 | } 10 | ref = ref.parentElement; 11 | } 12 | return window; 13 | }; 14 | 15 | export default findScrollParent; 16 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/zappy/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This file lists people who contributed code to this repository. The AUTHORS 2 | # file lists the copyright holders; this file lists people. 3 | # 4 | # Names should be added to this file like so: 5 | # Name 6 | # 7 | # Please keep the list sorted. 8 | 9 | Jan Mercl <0xjnml@gmail.com> 10 | Mathieu Lonjaret 11 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/raft/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/setgroups_linux.go: -------------------------------------------------------------------------------- 1 | // +build linux,go1.5 2 | 3 | package libcontainer 4 | 5 | import "syscall" 6 | 7 | // Set the GidMappingsEnableSetgroups member to true, so the process's 8 | // setgroups proc entry wont be set to 'deny' if GidMappings are set 9 | func enableSetgroups(sys *syscall.SysProcAttr) { 10 | sys.GidMappingsEnableSetgroups = true 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/vanillahsu/go_reuseport/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/env_unset.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.4 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | func Unsetenv(key string) error { 12 | // This was added in Go 1.4. 13 | return syscall.Unsetenv(key) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/gopkg.in/inconshreveable/log15.v2/term/terminal_darwin.go: -------------------------------------------------------------------------------- 1 | // Based on ssh/terminal: 2 | // Copyright 2013 The Go Authors. All rights reserved. 3 | // Use of this source code is governed by a BSD-style 4 | // license that can be found in the LICENSE file. 5 | 6 | package term 7 | 8 | import "syscall" 9 | 10 | const ioctlReadTermios = syscall.TIOCGETA 11 | 12 | type Termios syscall.Termios 13 | -------------------------------------------------------------------------------- /dashboard/app/lib/javascripts/dashboard/actions/github-branches.js: -------------------------------------------------------------------------------- 1 | import Dispatcher from '../dispatcher'; 2 | 3 | var GithubBranches = { 4 | branchSelected: function (storeId, branchName) { 5 | Dispatcher.handleViewAction({ 6 | name: "GITHUB_BRANCH_SELECTOR:BRANCH_SELECTED", 7 | storeId: storeId, 8 | branchName: branchName 9 | }); 10 | } 11 | }; 12 | 13 | export default GithubBranches; 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/mknod_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package system 4 | 5 | // Mknod is not implemented on Windows. 6 | func Mknod(path string, mode uint32, dev int) error { 7 | return ErrNotSupportedPlatform 8 | } 9 | 10 | // Mkdev is not implemented on Windows. 11 | func Mkdev(major int64, minor int64) uint32 { 12 | panic("Mkdev not implemented on Windows.") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/gopkg.in/inconshreveable/log15.v2/stack/stack_pool.go: -------------------------------------------------------------------------------- 1 | // +build go1.3 2 | 3 | package stack 4 | 5 | import ( 6 | "sync" 7 | ) 8 | 9 | var pcStackPool = sync.Pool{ 10 | New: func() interface{} { return make([]uintptr, 1000) }, 11 | } 12 | 13 | func poolBuf() []uintptr { 14 | return pcStackPool.Get().([]uintptr) 15 | } 16 | 17 | func putPoolBuf(p []uintptr) { 18 | pcStackPool.Put(p) 19 | } 20 | -------------------------------------------------------------------------------- /controller/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM flynn/busybox:trusty-20160217 2 | 3 | ADD bin/flynn-controller /bin/flynn-controller 4 | ADD bin/flynn-scheduler /bin/flynn-scheduler 5 | ADD bin/flynn-worker /bin/flynn-worker 6 | ADD bin/ca-certs.pem /etc/ssl/certs/ca-certs.pem 7 | ADD start.sh /bin/start-flynn-controller 8 | ADD bin/jsonschema /etc/flynn-controller/jsonschema 9 | 10 | ENTRYPOINT ["/bin/start-flynn-controller"] 11 | -------------------------------------------------------------------------------- /dashboard/app/lib/javascripts/dashboard/actions/app-processes.js: -------------------------------------------------------------------------------- 1 | import Dispatcher from '../dispatcher'; 2 | 3 | var AppProcesses = { 4 | createFormation: function (appId, formation) { 5 | Dispatcher.handleViewAction({ 6 | name: "APP_PROCESSES:CREATE_FORMATION", 7 | storeId: { 8 | appId: appId 9 | }, 10 | formation: formation 11 | }); 12 | } 13 | }; 14 | 15 | export default AppProcesses; 16 | -------------------------------------------------------------------------------- /test/apps/ping/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "net/http" 5 | "os" 6 | 7 | "github.com/flynn/flynn/pkg/shutdown" 8 | ) 9 | 10 | func main() { 11 | defer shutdown.Exit() 12 | 13 | port := os.Getenv("PORT") 14 | addr := ":" + port 15 | 16 | http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { 17 | w.Write([]byte("OK")) 18 | }) 19 | http.ListenAndServe(addr, nil) 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/Azure/go-ansiterm/utilities.go: -------------------------------------------------------------------------------- 1 | package ansiterm 2 | 3 | import ( 4 | "strconv" 5 | ) 6 | 7 | func sliceContains(bytes []byte, b byte) bool { 8 | for _, v := range bytes { 9 | if v == b { 10 | return true 11 | } 12 | } 13 | 14 | return false 15 | } 16 | 17 | func convertBytesToInteger(bytes []byte) int { 18 | s := string(bytes) 19 | i, _ := strconv.Atoi(s) 20 | return i 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/Makefile: -------------------------------------------------------------------------------- 1 | install: 2 | go install ./... 3 | 4 | test: install 5 | go test -v 6 | toml-test toml-test-decoder 7 | toml-test -encoder toml-test-encoder 8 | 9 | fmt: 10 | gofmt -w *.go */*.go 11 | colcheck *.go */*.go 12 | 13 | tags: 14 | find ./ -name '*.go' -print0 | xargs -0 gotags > TAGS 15 | 16 | push: 17 | git push origin master 18 | git push github master 19 | 20 | -------------------------------------------------------------------------------- /vendor/gopkg.in/natefinch/lumberjack.v2/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | -------------------------------------------------------------------------------- /appliance/mariadb/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | case $1 in 4 | mariadb) 5 | chown -R mysql:mysql /data 6 | chmod 0700 /data 7 | shift 8 | exec sudo \ 9 | -u mysql \ 10 | -E -H \ 11 | /bin/flynn-mariadb $* 12 | ;; 13 | api) 14 | shift 15 | exec /bin/flynn-mariadb-api $* 16 | ;; 17 | *) 18 | echo "Usage: $0 {mariadb|api}" 19 | exit 2 20 | ;; 21 | esac 22 | -------------------------------------------------------------------------------- /pkg/httphelper/flushwriter.go: -------------------------------------------------------------------------------- 1 | package httphelper 2 | 3 | import ( 4 | "io" 5 | "net/http" 6 | ) 7 | 8 | type FlushWriter struct { 9 | io.Writer 10 | Enabled bool 11 | } 12 | 13 | func (f FlushWriter) Write(p []byte) (int, error) { 14 | if f.Enabled { 15 | defer func() { 16 | if fw, ok := f.Writer.(http.Flusher); ok { 17 | fw.Flush() 18 | } 19 | }() 20 | } 21 | return f.Writer.Write(p) 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/fileutil/test_deps.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014 The fileutil Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // blame: jnml, labs.nic.cz 6 | 7 | package fileutil 8 | 9 | // Pull test dependencies too. 10 | // Enables easy 'go test X' after 'go get X' 11 | import ( 12 | // nothing yet 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/aufs/mount_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package aufs 4 | 5 | import "errors" 6 | 7 | // MsRemount declared to specify a non-linux system mount. 8 | const MsRemount = 0 9 | 10 | func mount(source string, target string, fstype string, flags uintptr, data string) (err error) { 11 | return errors.New("mount is not implemented on this platform") 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/tarsum/writercloser.go: -------------------------------------------------------------------------------- 1 | package tarsum 2 | 3 | import ( 4 | "io" 5 | ) 6 | 7 | type writeCloseFlusher interface { 8 | io.WriteCloser 9 | Flush() error 10 | } 11 | 12 | type nopCloseFlusher struct { 13 | io.Writer 14 | } 15 | 16 | func (n *nopCloseFlusher) Close() error { 17 | return nil 18 | } 19 | 20 | func (n *nopCloseFlusher) Flush() error { 21 | return nil 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/jackc/pgx/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | 24 | conn_config_test.go 25 | -------------------------------------------------------------------------------- /schema/controller/volume_req.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-04/schema#", 3 | "id": "https://flynn.io/schema/controller/volume_req#", 4 | "title": "Volume Request", 5 | "description": "", 6 | "sortIndex": 20, 7 | "type": "object", 8 | "require": ["path"], 9 | "additionalProperties": false, 10 | "properties": { 11 | "path": { 12 | "type": "string" 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/b/AUTHORS: -------------------------------------------------------------------------------- 1 | # This file lists authors for copyright purposes. This file is distinct from 2 | # the CONTRIBUTORS files. See the latter for an explanation. 3 | # 4 | # Names should be added to this file as: 5 | # Name or Organization 6 | # 7 | # The email address is not required for organizations. 8 | # 9 | # Please keep the list sorted. 10 | 11 | Jan Mercl <0xjnml@gmail.com> 12 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/bufs/AUTHORS: -------------------------------------------------------------------------------- 1 | # This file lists authors for copyright purposes. This file is distinct from 2 | # the CONTRIBUTORS files. See the latter for an explanation. 3 | # 4 | # Names should be added to this file as: 5 | # Name or Organization 6 | # 7 | # The email address is not required for organizations. 8 | # 9 | # Please keep the list sorted. 10 | 11 | Jan Mercl <0xjnml@gmail.com> 12 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/ql/AUTHORS: -------------------------------------------------------------------------------- 1 | # This file lists authors for copyright purposes. This file is distinct from 2 | # the CONTRIBUTORS files. See the latter for an explanation. 3 | # 4 | # Names should be added to this file as: 5 | # Name or Organization 6 | # 7 | # The email address is not required for organizations. 8 | # 9 | # Please keep the list sorted. 10 | 11 | Jan Mercl <0xjnml@gmail.com> 12 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/ql/vendored/github.com/cznic/exp/lldb/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This file lists people who contributed code to this repository. The AUTHORS 2 | # file lists the copyright holders; this file lists people. 3 | # 4 | # Names should be added to this file like so: 5 | # Name 6 | # 7 | # Please keep the list sorted. 8 | 9 | Jan Mercl <0xjnml@gmail.com> 10 | Patrick Mézard 11 | -------------------------------------------------------------------------------- /vendor/github.com/stevvooe/resumable/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | -------------------------------------------------------------------------------- /appliance/mongodb/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | case $1 in 4 | mongodb) 5 | chown -R mongodb:mongodb /data 6 | chmod 0700 /data 7 | shift 8 | exec sudo \ 9 | -u mongodb \ 10 | -E -H \ 11 | /bin/flynn-mongodb $* 12 | ;; 13 | api) 14 | shift 15 | exec /bin/flynn-mongodb-api $* 16 | ;; 17 | *) 18 | echo "Usage: $0 {mongodb|api}" 19 | exit 2 20 | ;; 21 | esac 22 | -------------------------------------------------------------------------------- /dashboard/app/lib/stylesheets/dashboard/edit-env.scss: -------------------------------------------------------------------------------- 1 | .edit-env { 2 | list-style: none; 3 | margin: 0; 4 | padding: 0; 5 | text-align: center; 6 | 7 | > li { 8 | margin-bottom: 0.25em; 9 | } 10 | 11 | input[type="text"] { 12 | width: 347px; 13 | line-height: 1.5em; 14 | height: 2.8em; 15 | padding: 0.4em 0.8em; 16 | } 17 | 18 | .name { 19 | text-align: right; 20 | } 21 | } 22 | 23 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/sortutil/AUTHORS: -------------------------------------------------------------------------------- 1 | # This file lists authors for copyright purposes. This file is distinct from 2 | # the CONTRIBUTORS files. See the latter for an explanation. 3 | # 4 | # Names should be added to this file as: 5 | # Name or Organization 6 | # 7 | # The email address is not required for organizations. 8 | # 9 | # Please keep the list sorted. 10 | 11 | Jan Mercl <0xjnml@gmail.com> 12 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/zappy/purego.sh: -------------------------------------------------------------------------------- 1 | # Copyright 2014 The zappy Authors. All rights reserved. 2 | # Use of this source code is governed by a BSD-style 3 | # license that can be found in the LICENSE file. 4 | 5 | set -e 6 | set -v 7 | 8 | CGO_ENABLED=0 go test -purego true 9 | CGO_ENABLED=0 go test -purego true -tags purego 10 | CGO_ENABLED=1 go test -purego false 11 | CGO_ENABLED=1 go test -purego true -tags purego 12 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/handlers/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package handlers is a collection of handlers (aka "HTTP middleware") for use 3 | with Go's net/http package (or any framework supporting http.Handler). 4 | 5 | The package includes handlers for logging in standardised formats, compressing 6 | HTTP responses, validating content types and other useful tools for manipulating 7 | requests and responses. 8 | */ 9 | package handlers 10 | -------------------------------------------------------------------------------- /cli/install.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "github.com/flynn/flynn/installer" 5 | "github.com/flynn/go-docopt" 6 | ) 7 | 8 | func init() { 9 | register("install", runInstaller, ` 10 | usage: flynn install 11 | 12 | Starts server for installer web interface. 13 | 14 | Examples: 15 | 16 | $ flynn install 17 | `) 18 | } 19 | 20 | func runInstaller(args *docopt.Args) error { 21 | return installer.ServeHTTP() 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/awslabs/aws-sdk-go/aws/error.go: -------------------------------------------------------------------------------- 1 | package aws 2 | 3 | // An APIError is an error returned by an AWS API. 4 | type APIError struct { 5 | StatusCode int // HTTP status code e.g. 200 6 | Type string 7 | Code string 8 | Message string 9 | RequestID string 10 | HostID string 11 | Specifics map[string]string 12 | } 13 | 14 | func (e APIError) Error() string { 15 | return e.Message 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/raft/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.4 5 | - 1.5 6 | - 1.6 7 | - tip 8 | 9 | install: make deps 10 | script: 11 | - make integ 12 | 13 | notifications: 14 | flowdock: 15 | secure: fZrcf9rlh2IrQrlch1sHkn3YI7SKvjGnAl/zyV5D6NROe1Bbr6d3QRMuCXWWdhJHzjKmXk5rIzbqJhUc0PNF7YjxGNKSzqWMQ56KcvN1k8DzlqxpqkcA3Jbs6fXCWo2fssRtZ7hj/wOP1f5n6cc7kzHDt9dgaYJ6nO2fqNPJiTc= 16 | 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/oauth2/google/appenginevm_hook.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The oauth2 Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build appenginevm 6 | 7 | package google 8 | 9 | import "google.golang.org/appengine" 10 | 11 | func init() { 12 | appengineVM = true 13 | appengineTokenFunc = appengine.AccessToken 14 | } 15 | -------------------------------------------------------------------------------- /appliance/postgresql/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | case $1 in 4 | postgres) 5 | chown -R postgres:postgres /data 6 | chmod 0700 /data 7 | shift 8 | exec sudo \ 9 | -u postgres \ 10 | -E -H \ 11 | /bin/flynn-postgres $* 12 | ;; 13 | api) 14 | shift 15 | exec /bin/flynn-postgres-api $* 16 | ;; 17 | *) 18 | echo "Usage: $0 {postgres|api}" 19 | exit 2 20 | ;; 21 | esac 22 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/b/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This file lists people who contributed code to this repository. The AUTHORS 2 | # file lists the copyright holders; this file lists people. 3 | # 4 | # Names should be added to this file like so: 5 | # Name 6 | # 7 | # Please keep the list sorted. 8 | 9 | Brian Fallik 10 | Dan Kortschak 11 | Jan Mercl <0xjnml@gmail.com> 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/driver_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!windows,!freebsd 2 | 3 | package graphdriver 4 | 5 | var ( 6 | // Slice of drivers that should be used in an order 7 | priority = []string{ 8 | "unsupported", 9 | } 10 | ) 11 | 12 | // GetFSMagic returns the filesystem id given the path. 13 | func GetFSMagic(rootpath string) (FsMagic, error) { 14 | return FsMagicUnsupported, nil 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/mathutil/README: -------------------------------------------------------------------------------- 1 | This is a goinstall-able mirror of modified code already published at: 2 | http://git.nic.cz/redmine/projects/gornd/repository 3 | 4 | Packages in this repository: 5 | 6 | Install: $ go get github.com/cznic/mathutil 7 | Godocs: http://godoc.org/github.com/cznic/mathutil 8 | 9 | Install: $ go get github.com/cznic/mathutil/mersenne 10 | Godocs: http://godoc.org/github.com/cznic/mathutil/mersenne 11 | -------------------------------------------------------------------------------- /vendor/github.com/flynn/go-docopt/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | 24 | # coverage droppings 25 | profile.cov 26 | -------------------------------------------------------------------------------- /dashboard/app/lib/stylesheets/dashboard/colors.scss: -------------------------------------------------------------------------------- 1 | $whiteColor: #ffffff; 2 | $almostWhiteColor: #f3f4f7; 3 | $greenColor: #08a14b; 4 | $blueColor: #3498db; 5 | $orangeColor: #e67e22; 6 | $purpleColor: #9b59b6; 7 | $turquoiseColor: #1abc9c; 8 | $redColor: #de4407; 9 | $grayBlueColor: #ced3e1; 10 | $darkerGrayBlueColor: #838997; 11 | $grayColor: #939599; 12 | $blackGrayColor: #272b34; 13 | $almostBlackColor: #191d23; 14 | $blackColor: #000000; 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/symlink/README.md: -------------------------------------------------------------------------------- 1 | Package symlink implements EvalSymlinksInScope which is an extension of filepath.EvalSymlinks, 2 | as well as a Windows long-path aware version of filepath.EvalSymlinks 3 | from the [Go standard library](https://golang.org/pkg/path/filepath). 4 | 5 | The code from filepath.EvalSymlinks has been adapted in fs.go. 6 | Please read the LICENSE.BSD file that governs fs.go and LICENSE.APACHE for fs_test.go. 7 | -------------------------------------------------------------------------------- /vendor/github.com/flynn/go-check/README.md: -------------------------------------------------------------------------------- 1 | Instructions 2 | ============ 3 | 4 | Install the package with: 5 | 6 | go get gopkg.in/check.v1 7 | 8 | Import it with: 9 | 10 | import "gopkg.in/check.v1" 11 | 12 | and use _check_ as the package name inside the code. 13 | 14 | For more details, visit the project page: 15 | 16 | * http://labix.org/gocheck 17 | 18 | and the API documentation: 19 | 20 | * https://gopkg.in/check.v1 21 | -------------------------------------------------------------------------------- /vendor/github.com/flynn/que-go/util.go: -------------------------------------------------------------------------------- 1 | package que 2 | 3 | // intPow returns x**y, the base-x exponential of y. 4 | func intPow(x, y int) (r int) { 5 | if x == r || y < r { 6 | return 7 | } 8 | r = 1 9 | if x == r { 10 | return 11 | } 12 | if x < 0 { 13 | x = -x 14 | if y&1 == 1 { 15 | r = -1 16 | } 17 | } 18 | for y > 0 { 19 | if y&1 == 1 { 20 | r *= x 21 | } 22 | x *= x 23 | y >>= 1 24 | } 25 | return 26 | } 27 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/zappy/AUTHORS: -------------------------------------------------------------------------------- 1 | # This file lists authors for copyright purposes. This file is distinct from 2 | # the CONTRIBUTORS files. See the latter for an explanation. 3 | # 4 | # Names should be added to this file as: 5 | # Name or Organization 6 | # 7 | # The email address is not required for organizations. 8 | # 9 | # Please keep the list sorted. 10 | 11 | Jan Mercl <0xjnml@gmail.com> 12 | The Snappy-Go Authors 13 | -------------------------------------------------------------------------------- /vendor/github.com/olekukonko/ts/ts_linux.go: -------------------------------------------------------------------------------- 1 | // +build linux 2 | 3 | // Copyright 2014 Oleku Konko All rights reserved. 4 | // Use of this source code is governed by a MIT 5 | // license that can be found in the LICENSE file. 6 | 7 | // This module is a Terminal API for the Go Programming Language. 8 | // The protocols were written in pure Go and works on windows and unix systems 9 | package ts 10 | 11 | const ( 12 | TIOCGWINSZ = 0x5413 13 | ) 14 | -------------------------------------------------------------------------------- /host/cli/fix.go: -------------------------------------------------------------------------------- 1 | package cli 2 | 3 | import ( 4 | "github.com/flynn/flynn/host/fixer" 5 | ) 6 | 7 | func init() { 8 | Register("fix", (&fixer.ClusterFixer{}).Run, ` 9 | usage: flynn-host fix [options] 10 | 11 | Attempts to fix a broken cluster by starting missing jobs. 12 | 13 | Options: 14 | -n, --min-hosts= minimum expected number of hosts (required) 15 | --peer-ips= list of host IPs (required if discoverd is down) 16 | `) 17 | } 18 | -------------------------------------------------------------------------------- /pkg/typeconv/typeconv.go: -------------------------------------------------------------------------------- 1 | package typeconv 2 | 3 | import "time" 4 | 5 | func IntPtr(i int) *int { return &i } 6 | func Int32Ptr(i int32) *int32 { return &i } 7 | func Uint32Ptr(i uint32) *uint32 { return &i } 8 | func Int64Ptr(i int64) *int64 { return &i } 9 | func StringPtr(s string) *string { return &s } 10 | func TimePtr(t time.Time) *time.Time { return &t } 11 | func BoolPtr(b bool) *bool { return &b } 12 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/ql/vendored/github.com/cznic/exp/lldb/AUTHORS: -------------------------------------------------------------------------------- 1 | # This file lists authors for copyright purposes. This file is distinct from 2 | # the CONTRIBUTORS files. See the latter for an explanation. 3 | # 4 | # Names should be added to this file as: 5 | # Name or Organization 6 | # 7 | # The email address is not required for organizations. 8 | # 9 | # Please keep the list sorted. 10 | 11 | Jan Mercl <0xjnml@gmail.com> 12 | -------------------------------------------------------------------------------- /script/lib/release.sh: -------------------------------------------------------------------------------- 1 | # Release helpers 2 | 3 | # next_release_version takes the previous release version 4 | # and returns the next one 5 | next_release_version() { 6 | local previous=$1 7 | local date=$(date +%Y%m%d) 8 | local iteration 9 | if [[ $previous =~ $date ]]; then 10 | previous_iteration="${previous##*.}" 11 | iteration=$((previous_iteration+1)) 12 | else 13 | iteration=0 14 | fi 15 | echo "v${date}.${iteration}" 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/stat_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!windows,!freebsd 2 | 3 | package system 4 | 5 | import ( 6 | "syscall" 7 | ) 8 | 9 | // fromStatT creates a system.StatT type from a syscall.Stat_t type 10 | func fromStatT(s *syscall.Stat_t) (*StatT, error) { 11 | return &StatT{size: s.Size, 12 | mode: uint32(s.Mode), 13 | uid: s.Uid, 14 | gid: s.Gid, 15 | rdev: uint64(s.Rdev), 16 | mtim: s.Mtimespec}, nil 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/olekukonko/ts/ts_darwin.go: -------------------------------------------------------------------------------- 1 | // +build darwin 2 | 3 | // Copyright 2014 Oleku Konko All rights reserved. 4 | // Use of this source code is governed by a MIT 5 | // license that can be found in the LICENSE file. 6 | 7 | // This module is a Terminal API for the Go Programming Language. 8 | // The protocols were written in pure Go and works on windows and unix systems 9 | 10 | package ts 11 | 12 | const ( 13 | TIOCGWINSZ = 0x40087468 14 | ) 15 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/mathutil/AUTHORS: -------------------------------------------------------------------------------- 1 | # This file lists authors for copyright purposes. This file is distinct from 2 | # the CONTRIBUTORS files. See the latter for an explanation. 3 | # 4 | # Names should be added to this file as: 5 | # Name or Organization 6 | # 7 | # The email address is not required for organizations. 8 | # 9 | # Please keep the list sorted. 10 | 11 | CZ.NIC z.s.p.o. 12 | Jan Mercl <0xjnml@gmail.com> 13 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/strutil/AUTHORS: -------------------------------------------------------------------------------- 1 | # This file lists authors for copyright purposes. This file is distinct from 2 | # the CONTRIBUTORS files. See the latter for an explanation. 3 | # 4 | # Names should be added to this file as: 5 | # Name or Organization 6 | # 7 | # The email address is not required for organizations. 8 | # 9 | # Please keep the list sorted. 10 | 11 | CZ.NIC z.s.p.o. 12 | Jan Mercl <0xjnml@gmail.com> 13 | -------------------------------------------------------------------------------- /vendor/github.com/kardianos/osext/README.md: -------------------------------------------------------------------------------- 1 | ### Extensions to the "os" package. 2 | 3 | ## Find the current Executable and ExecutableFolder. 4 | 5 | There is sometimes utility in finding the current executable file 6 | that is running. This can be used for upgrading the current executable 7 | or finding resources located relative to the executable file. 8 | 9 | Multi-platform and supports: 10 | * Linux 11 | * OS X 12 | * Windows 13 | * Plan 9 14 | * BSDs. 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/flock_linux_32bit.go: -------------------------------------------------------------------------------- 1 | // +build linux,386 linux,arm 2 | 3 | // Copyright 2014 The Go Authors. All rights reserved. 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file. 6 | 7 | package unix 8 | 9 | func init() { 10 | // On 32-bit Linux systems, the fcntl syscall that matches Go's 11 | // Flock_t type is SYS_FCNTL64, not SYS_FCNTL. 12 | fcntl64Syscall = SYS_FCNTL64 13 | } 14 | -------------------------------------------------------------------------------- /test/apps/Tupfile: -------------------------------------------------------------------------------- 1 | include_rules 2 | : |> !go ./echoer |> bin/echoer 3 | : |> !go ./ping |> bin/ping 4 | : |> !go ./signal |> bin/signal 5 | : |> !go ./ish |> bin/ish 6 | : |> !go ./partial-logger |> bin/partial-logger 7 | : |> !go ./http-blocker |> bin/http-blocker 8 | : |> !go ./oom |> bin/oom 9 | : |> !go ./proxy |> bin/proxy 10 | : bin/* | $(ROOT)/util/imagebuilder/build-image |> ^ build-image test-apps^ $(BUILDIMAGE) test-apps > %o |> $(ROOT)/image/test-apps.json 11 | -------------------------------------------------------------------------------- /controller/README.md: -------------------------------------------------------------------------------- 1 | # controller 2 | 3 | This is the Flynn Controller. It is loosely inspired by the [Heroku Platform 4 | API](https://devcenter.heroku.com/articles/platform-api-reference) and enables 5 | management of applications running on Flynn via an HTTP API. 6 | 7 | The controller depends on PostgreSQL and is typically booted by 8 | [bootstrap](/bootstrap). 9 | 10 | The API is in a state of flux and is undocumented. [cli](/cli) is one of the API 11 | consumers. 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/xattrs_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package system 4 | 5 | // Lgetxattr is not supported on platforms other than linux. 6 | func Lgetxattr(path string, attr string) ([]byte, error) { 7 | return nil, ErrNotSupportedPlatform 8 | } 9 | 10 | // Lsetxattr is not supported on platforms other than linux. 11 | func Lsetxattr(path string, attr string, data []byte, flags int) error { 12 | return ErrNotSupportedPlatform 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/jtacoma/uritemplates/.godocdown.md: -------------------------------------------------------------------------------- 1 | {{ .EmitHeader }} 2 | 3 | [![Build Status](https://travis-ci.org/jtacoma/uritemplates.png)](https://travis-ci.org/jtacoma/uritemplates) [![Coverage Status](https://coveralls.io/repos/jtacoma/uritemplates/badge.png)](https://coveralls.io/r/jtacoma/uritemplates) 4 | 5 | {{ .EmitSynopsis }} 6 | 7 | ## License 8 | 9 | Use of this source code is governed by a BSD-style license that can be found in 10 | the LICENSE file. 11 | -------------------------------------------------------------------------------- /vendor/github.com/olekukonko/ts/ts_unix.go: -------------------------------------------------------------------------------- 1 | // +build freebsd netbsd openbsd 2 | 3 | // Copyright 2014 Oleku Konko All rights reserved. 4 | // Use of this source code is governed by a MIT 5 | // license that can be found in the LICENSE file. 6 | 7 | // This module is a Terminal API for the Go Programming Language. 8 | // The protocols were written in pure Go and works on windows and unix systems 9 | 10 | package ts 11 | 12 | const ( 13 | TIOCGWINSZ = 0x40087468 14 | ) 15 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/apparmor/apparmor_disabled.go: -------------------------------------------------------------------------------- 1 | // +build !apparmor !linux 2 | 3 | package apparmor 4 | 5 | import ( 6 | "errors" 7 | ) 8 | 9 | var ErrApparmorNotEnabled = errors.New("apparmor: config provided but apparmor not supported") 10 | 11 | func IsEnabled() bool { 12 | return false 13 | } 14 | 15 | func ApplyProfile(name string) error { 16 | if name != "" { 17 | return ErrApparmorNotEnabled 18 | } 19 | return nil 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/console_solaris.go: -------------------------------------------------------------------------------- 1 | package libcontainer 2 | 3 | import ( 4 | "errors" 5 | ) 6 | 7 | // NewConsole returns an initalized console that can be used within a container by copying bytes 8 | // from the master side to the slave that is attached as the tty for the container's init process. 9 | func NewConsole(uid, gid int) (Console, error) { 10 | return nil, errors.New("libcontainer console is not supported on Solaris") 11 | } 12 | -------------------------------------------------------------------------------- /vendor/gopkg.in/inconshreveable/log15.v2/term/terminal_freebsd.go: -------------------------------------------------------------------------------- 1 | package term 2 | 3 | import ( 4 | "syscall" 5 | ) 6 | 7 | const ioctlReadTermios = syscall.TIOCGETA 8 | 9 | // Go 1.2 doesn't include Termios for FreeBSD. This should be added in 1.3 and this could be merged with terminal_darwin. 10 | type Termios struct { 11 | Iflag uint32 12 | Oflag uint32 13 | Cflag uint32 14 | Lflag uint32 15 | Cc [20]uint8 16 | Ispeed uint32 17 | Ospeed uint32 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/ql/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This file lists people who contributed code to this repository. The AUTHORS 2 | # file lists the copyright holders; this file lists people. 3 | # 4 | # Names should be added to this file like so: 5 | # Name 6 | # 7 | # Please keep the list sorted. 8 | 9 | Dan Kortschak 10 | Jan Mercl <0xjnml@gmail.com> 11 | OpenNota 12 | Viktor Kojouharov 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/graph/load_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!windows 2 | 3 | package graph 4 | 5 | import ( 6 | "fmt" 7 | "io" 8 | ) 9 | 10 | // Load method is implemented here for non-linux and non-windows platforms and 11 | // may return an error indicating that image load is not supported on other platforms. 12 | func (s *TagStore) Load(inTar io.ReadCloser, outStream io.Writer) error { 13 | return fmt.Errorf("Load is not supported on this platform") 14 | } 15 | -------------------------------------------------------------------------------- /bootstrap/Tupfile: -------------------------------------------------------------------------------- 1 | include_rules 2 | : | $(ROOT)/ |> ^ BOOTSTRAPPED^ cat $(ROOT)/image/bootstrapped/* > %o |> $(ROOT)/image/bootstrapped.json 3 | : $(ROOT)/util/release/flynn-release $(ROOT)/image/bootstrapped.json |> ^ bootstrap_manifest.json^ cat $(ROOT)/image/bootstrapped.json > /dev/null && $(ROOT)/util/release/flynn-release manifest --output=%o --image-dir=$(ROOT)/image/bootstrapped --image-repository=@(IMAGE_REPOSITORY) manifest_template.json |> bin/manifest.json 4 | -------------------------------------------------------------------------------- /test/release/repository/1466c7b093646f8ee5a82c6d034f3565ad32ef798039c338baa91ba7eed3e4f57bdf6fa88de36b8cb6f97c5d73478e2e1ae44913c62b2edb40ba25529ecee5df.targets.json: -------------------------------------------------------------------------------- 1 | {"signed":{"_type":"Targets","expires":"2015-05-01T19:10:34Z","targets":{},"version":1},"signatures":[{"keyid":"8c86492d3d70bc049d72fa05a0e3516b85160540f314cfea9b062945d9c1fea5","method":"ed25519","sig":"5ab57fa531c091816987aa98d210b08c3276d7b9693417588e6922988bc75729629f421f106638ee49d262978587f808e34718d08ad5549f3e6dcb791e24890e"}]} -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/driver_windows.go: -------------------------------------------------------------------------------- 1 | package graphdriver 2 | 3 | var ( 4 | // Slice of drivers that should be used in order 5 | priority = []string{ 6 | "windowsfilter", 7 | "windowsdiff", 8 | "vfs", 9 | } 10 | ) 11 | 12 | // GetFSMagic returns the filesystem id given the path. 13 | func GetFSMagic(rootpath string) (FsMagic, error) { 14 | // Note it is OK to return FsMagicUnsupported on Windows. 15 | return FsMagicUnsupported, nil 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/mistifyio/go-zfs/error.go: -------------------------------------------------------------------------------- 1 | package zfs 2 | 3 | import ( 4 | "fmt" 5 | ) 6 | 7 | // Error is an error which is returned when the `zfs` or `zpool` shell 8 | // commands return with a non-zero exit code. 9 | type Error struct { 10 | Err error 11 | Debug string 12 | Stderr string 13 | } 14 | 15 | // Error returns the string representation of an Error. 16 | func (e Error) Error() string { 17 | return fmt.Sprintf("%s: %q => %s", e.Err, e.Debug, e.Stderr) 18 | } 19 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/internal/sasl/sasl_windows.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "sspi_windows.h" 4 | 5 | SECURITY_STATUS SEC_ENTRY sspi_acquire_credentials_handle(CredHandle* cred_handle, char* username, char* password, char* domain); 6 | int sspi_step(CredHandle* cred_handle, int has_context, CtxtHandle* context, PVOID* buffer, ULONG* buffer_length, char* target); 7 | int sspi_send_client_authz_id(CtxtHandle* context, PVOID* buffer, ULONG* buffer_length, char* user_plus_realm); 8 | -------------------------------------------------------------------------------- /schema/controller/port.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-04/schema#", 3 | "id": "https://flynn.io/schema/controller/port#", 4 | "title": "Port", 5 | "description": "", 6 | "sortIndex": 8, 7 | "type": "object", 8 | "require": ["proto"], 9 | "additionalProperties": false, 10 | "properties": { 11 | "port": { 12 | "type": "integer" 13 | }, 14 | "proto": { 15 | "type": "string", 16 | "enum": ["tcp", "udp"] 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /util/_toolchain/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -eo pipefail 4 | 5 | version=1.7.3 6 | shasum=508028aac0654e993564b6e2014bf2d4a9751e3b286661b0b0040046cf18028e 7 | pkg="go${version}.linux-amd64" 8 | go=go/bin/go 9 | 10 | test -f ${go} && ${go} version | grep -q ${version} && exit 11 | 12 | rm -rf go.tar.gz go 13 | 14 | curl -o go.tar.gz -L "https://storage.googleapis.com/golang/${pkg}.tar.gz" 15 | echo "${shasum} go.tar.gz" | shasum -c - 16 | 17 | tar xzf go.tar.gz 18 | rm go.tar.gz 19 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/lstat.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package system 4 | 5 | import ( 6 | "syscall" 7 | ) 8 | 9 | // Lstat takes a path to a file and returns 10 | // a system.StatT type pertaining to that file. 11 | // 12 | // Throws an error if the file does not exist 13 | func Lstat(path string) (*StatT, error) { 14 | s := &syscall.Stat_t{} 15 | if err := syscall.Lstat(path, s); err != nil { 16 | return nil, err 17 | } 18 | return fromStatT(s) 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/godbus/dbus/homedir.go: -------------------------------------------------------------------------------- 1 | package dbus 2 | 3 | import ( 4 | "os" 5 | "sync" 6 | ) 7 | 8 | var ( 9 | homeDir string 10 | homeDirLock sync.Mutex 11 | ) 12 | 13 | func getHomeDir() string { 14 | homeDirLock.Lock() 15 | defer homeDirLock.Unlock() 16 | 17 | if homeDir != "" { 18 | return homeDir 19 | } 20 | 21 | homeDir = os.Getenv("HOME") 22 | if homeDir != "" { 23 | return homeDir 24 | } 25 | 26 | homeDir = lookupHomeDir() 27 | return homeDir 28 | } 29 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/raft/Makefile: -------------------------------------------------------------------------------- 1 | DEPS = $(go list -f '{{range .TestImports}}{{.}} {{end}}' ./...) 2 | 3 | test: 4 | go test -timeout=30s ./... 5 | 6 | integ: test 7 | INTEG_TESTS=yes go test -timeout=3s -run=Integ ./... 8 | 9 | deps: 10 | go get -d -v ./... 11 | echo $(DEPS) | xargs -n1 go get -d 12 | 13 | cov: 14 | INTEG_TESTS=yes gocov test github.com/hashicorp/raft | gocov-html > /tmp/coverage.html 15 | open /tmp/coverage.html 16 | 17 | .PHONY: test cov integ deps 18 | -------------------------------------------------------------------------------- /vendor/gopkg.in/inconshreveable/go-update.v0/hide_windows.go: -------------------------------------------------------------------------------- 1 | package update 2 | 3 | import ( 4 | "syscall" 5 | "unsafe" 6 | ) 7 | 8 | func hideFile(path string) error { 9 | kernel32 := syscall.NewLazyDLL("kernel32.dll") 10 | setFileAttributes := kernel32.NewProc("SetFileAttributesW") 11 | 12 | r1, _, err := setFileAttributes.Call(uintptr(unsafe.Pointer(syscall.StringToUTF16Ptr(path))), 2) 13 | 14 | if r1 == 0 { 15 | return err 16 | } else { 17 | return nil 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/utils/names.go: -------------------------------------------------------------------------------- 1 | package utils 2 | 3 | import "regexp" 4 | 5 | // RestrictedNameChars collects the characters allowed to represent a name, normally used to validate container and volume names. 6 | const RestrictedNameChars = `[a-zA-Z0-9][a-zA-Z0-9_.-]` 7 | 8 | // RestrictedNamePattern is a regular expression to validate names against the collection of restricted characters. 9 | var RestrictedNamePattern = regexp.MustCompile(`^/?` + RestrictedNameChars + `+$`) 10 | -------------------------------------------------------------------------------- /vendor/github.com/olekukonko/ts/ts_other.go: -------------------------------------------------------------------------------- 1 | // +build !windows,!darwin,!freebsd,!netbsd,!openbsd,!linux 2 | 3 | // Copyright 2014 Oleku Konko All rights reserved. 4 | // Use of this source code is governed by a MIT 5 | // license that can be found in the LICENSE file. 6 | 7 | // This module is a Terminal API for the Go Programming Language. 8 | // The protocols were written in pure Go and works on windows and unix systems 9 | 10 | package ts 11 | 12 | const ( 13 | TIOCGWINSZ = 0 14 | ) 15 | -------------------------------------------------------------------------------- /vendor/github.com/tent/http-link-go/README.md: -------------------------------------------------------------------------------- 1 | # http-link-go [![Build Status](https://travis-ci.org/tent/http-link-go.png?branch=master)](https://travis-ci.org/tent/http-link-go) 2 | 3 | http-link-go implements parsing and serialization of Link header values as 4 | defined in [RFC 5988](https://tools.ietf.org/html/rfc5988). 5 | 6 | [**Documentation**](http://godoc.org/github.com/tent/http-link-go) 7 | 8 | ## Installation 9 | 10 | ```text 11 | go get github.com/tent/http-link-go 12 | ``` 13 | -------------------------------------------------------------------------------- /demo/README.md: -------------------------------------------------------------------------------- 1 | # Flynn Demo Environment 2 | 3 | This repo contains a Vagrantfile and Makefile that boots up Flynn layer 0 and then bootstraps 4 | Flynn layer 1. 5 | 6 | ## Usage 7 | 8 | To run this demo environment on your machine, follow the [Demo Installation Instructions] 9 | (https://flynn.io/docs/installation#vagrant). 10 | 11 | Once up and running, check out the [Using Flynn](https://flynn.io/docs) guide 12 | for instructions on deploying and scaling applications in the demo environment. 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/parsers/kernel/uname_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package kernel 4 | 5 | import ( 6 | "errors" 7 | ) 8 | 9 | // Utsname represents the system name structure. 10 | // It is defined here to make it portable as it is available on linux but not 11 | // on windows. 12 | type Utsname struct { 13 | Release [65]byte 14 | } 15 | 16 | func uname() (*Utsname, error) { 17 | return nil, errors.New("Kernel version detection is available only on linux") 18 | } 19 | -------------------------------------------------------------------------------- /bootstrap/log_action.go: -------------------------------------------------------------------------------- 1 | package bootstrap 2 | 3 | type LogAction struct { 4 | ID string `json:"id"` 5 | Output string `json:"output"` 6 | } 7 | 8 | type LogMessage struct { 9 | Msg string `json:"message"` 10 | } 11 | 12 | func (l *LogMessage) String() string { 13 | return l.Msg 14 | } 15 | 16 | func init() { 17 | Register("log", &LogAction{}) 18 | } 19 | 20 | func (a *LogAction) Run(s *State) error { 21 | s.StepData[a.ID] = &LogMessage{Msg: interpolate(s, a.Output)} 22 | return nil 23 | } 24 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/fileutil/AUTHORS: -------------------------------------------------------------------------------- 1 | # This file lists authors for copyright purposes. This file is distinct from 2 | # the CONTRIBUTORS files. See the latter for an explanation. 3 | # 4 | # Names should be added to this file as: 5 | # Name or Organization 6 | # 7 | # The email address is not required for organizations. 8 | # 9 | # Please keep the list sorted. 10 | 11 | CZ.NIC z.s.p.o. 12 | Jan Mercl <0xjnml@gmail.com> 13 | Aaron Bieber 14 | 15 | -------------------------------------------------------------------------------- /vendor/github.com/cznic/ql/README.md: -------------------------------------------------------------------------------- 1 | ql 2 | == 3 | 4 | Package ql is a pure Go embedded (S)QL database. 5 | 6 | Installation 7 | 8 | $ go get github.com/cznic/ql 9 | 10 | Documentation: [godoc.org/github.com/cznic/ql](http://godoc.org/github.com/cznic/ql) 11 | 12 | ---- 13 | 14 | Accompanying tool to play with a DB 15 | 16 | Installation 17 | 18 | $ go get github.com/cznic/ql/ql 19 | 20 | Documentation: [godoc.org/github.com/cznic/ql/ql](http://godoc.org/github.com/cznic/ql/ql) 21 | 22 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/meminfo.go: -------------------------------------------------------------------------------- 1 | package system 2 | 3 | // MemInfo contains memory statistics of the host system. 4 | type MemInfo struct { 5 | // Total usable RAM (i.e. physical RAM minus a few reserved bits and the 6 | // kernel binary code). 7 | MemTotal int64 8 | 9 | // Amount of free memory. 10 | MemFree int64 11 | 12 | // Total amount of swap space available. 13 | SwapTotal int64 14 | 15 | // Amount of swap space that is currently unused. 16 | SwapFree int64 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/docker/libtrust/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package libtrust provides an interface for managing authentication and 3 | authorization using public key cryptography. Authentication is handled 4 | using the identity attached to the public key and verified through TLS 5 | x509 certificates, a key challenge, or signature. Authorization and 6 | access control is managed through a trust graph distributed between 7 | both remote trust servers and locally cached and managed data. 8 | */ 9 | package libtrust 10 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/console_freebsd.go: -------------------------------------------------------------------------------- 1 | // +build freebsd 2 | 3 | package libcontainer 4 | 5 | import ( 6 | "errors" 7 | ) 8 | 9 | // NewConsole returns an initalized console that can be used within a container by copying bytes 10 | // from the master side to the slave that is attached as the tty for the container's init process. 11 | func NewConsole(uid, gid int) (Console, error) { 12 | return nil, errors.New("libcontainer console is not supported on FreeBSD") 13 | } 14 | -------------------------------------------------------------------------------- /script/development-aliases: -------------------------------------------------------------------------------- 1 | # Some useful aliases when working on the vagrant box. 2 | # 3 | # You can revert to using the built-in commands by escaping these aliases, e.g. to run 4 | # /usr/bin/flynn-host, use "\flynn-host" which will not use the alias. 5 | # 6 | # You may find it useful to add "source /vagrant/script/development-aliases" to ~/.bashrc 7 | 8 | alias flynn="/vagrant/cli/bin/flynn" 9 | alias flynn-host="/vagrant/host/bin/flynn-host" 10 | alias flynn-release="/vagrant/util/release/flynn-release" 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/runconfig/config_windows.go: -------------------------------------------------------------------------------- 1 | package runconfig 2 | 3 | // ContainerConfigWrapper is a Config wrapper that hold the container Config (portable) 4 | // and the corresponding HostConfig (non-portable). 5 | type ContainerConfigWrapper struct { 6 | *Config 7 | HostConfig *HostConfig `json:"HostConfig,omitempty"` 8 | } 9 | 10 | // getHostConfig gets the HostConfig of the Config. 11 | func (w *ContainerConfigWrapper) getHostConfig() *HostConfig { 12 | return w.HostConfig 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/flynn/tail/watch/polling_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package watch 4 | 5 | import ( 6 | "os" 7 | ) 8 | 9 | const permissionDeniedRetryCount int = 5 10 | 11 | func permissionErrorRetry(err error, retry *int) bool { 12 | if os.IsPermission(err) && *retry < permissionDeniedRetryCount { 13 | // While pooling a file that does not exist yet, but will be created by another process we can get Permission Denied 14 | (*retry)++ 15 | return true 16 | } 17 | return false 18 | } 19 | -------------------------------------------------------------------------------- /vendor/gopkg.in/inconshreveable/log15.v2/stack/stack_pool_chan.go: -------------------------------------------------------------------------------- 1 | // +build !go1.3 2 | 3 | package stack 4 | 5 | const ( 6 | stackPoolSize = 64 7 | ) 8 | 9 | var ( 10 | pcStackPool = make(chan []uintptr, stackPoolSize) 11 | ) 12 | 13 | func poolBuf() []uintptr { 14 | select { 15 | case p := <-pcStackPool: 16 | return p 17 | default: 18 | return make([]uintptr, 1000) 19 | } 20 | } 21 | 22 | func putPoolBuf(p []uintptr) { 23 | select { 24 | case pcStackPool <- p: 25 | default: 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /installer/app/src/views/css/colors.js: -------------------------------------------------------------------------------- 1 | var Colors = { 2 | whiteColor: '#ffffff', 3 | almostWhiteColor: '#f3f4f7', 4 | greenColor: '#08a14b', 5 | blueColor: '#3498db', 6 | orangeColor: '#e67e22', 7 | purpleColor: '#9b59b6', 8 | turquoiseColor: '#1abc9c', 9 | redColor: '#de4407', 10 | grayBlueColor: '#ced3e1', 11 | darkerGrayBlueColor: '#838997', 12 | grayColor: '#939599', 13 | blackGrayColor: '#272b34', 14 | almostBlackColor: '#191d23', 15 | blackColor: '#000000' 16 | }; 17 | export default Colors; 18 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/ioutils/temp_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package ioutils 4 | 5 | import ( 6 | "io/ioutil" 7 | 8 | "github.com/docker/docker/pkg/longpath" 9 | ) 10 | 11 | // TempDir is the equivalent of ioutil.TempDir, except that the result is in Windows longpath format. 12 | func TempDir(dir, prefix string) (string, error) { 13 | tempDir, err := ioutil.TempDir(dir, prefix) 14 | if err != nil { 15 | return "", err 16 | } 17 | return longpath.AddPrefix(tempDir), nil 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/isatty_linux.go: -------------------------------------------------------------------------------- 1 | // +build linux 2 | // +build !appengine 3 | 4 | package isatty 5 | 6 | import ( 7 | "syscall" 8 | "unsafe" 9 | ) 10 | 11 | const ioctlReadTermios = syscall.TCGETS 12 | 13 | // IsTerminal return true if the file descriptor is terminal. 14 | func IsTerminal(fd uintptr) bool { 15 | var termios syscall.Termios 16 | _, _, err := syscall.Syscall6(syscall.SYS_IOCTL, fd, ioctlReadTermios, uintptr(unsafe.Pointer(&termios)), 0, 0, 0) 17 | return err == 0 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/utils/timeout.go: -------------------------------------------------------------------------------- 1 | package utils 2 | 3 | import ( 4 | "net" 5 | "net/url" 6 | ) 7 | 8 | // IsTimeout takes an error returned from (generally) the http package and determines if it is a timeout error. 9 | func IsTimeout(err error) bool { 10 | switch e := err.(type) { 11 | case net.Error: 12 | return e.Timeout() 13 | case *url.Error: 14 | if t, ok := e.Err.(net.Error); ok { 15 | return t.Timeout() 16 | } 17 | return false 18 | default: 19 | return false 20 | } 21 | } 22 | --------------------------------------------------------------------------------