├── .gitignore ├── Gruntfile.js ├── LICENSE ├── Makefile ├── README.md ├── api ├── api.go ├── api_suite_test.go ├── auth_handler.go ├── bosh_handler.go ├── bosh_ssh_handler.go ├── config.go ├── config_test.go ├── payload_test.go ├── test │ └── etc │ │ ├── config.xml │ │ └── empty.yml ├── utils.go └── webserver.go ├── bosh ├── api.go ├── api_test.go ├── bosh_suite_test.go ├── bosh_test.go ├── client.go ├── client_test.go ├── model.go └── payload_test.go ├── ci ├── pipeline.yml ├── repipe ├── scripts │ ├── shipit │ └── test └── settings.yml ├── config.yml.example ├── glide.lock ├── glide.yaml ├── images └── BOSH_Admin_UI.png ├── main.go ├── package.json ├── uaa ├── client.go ├── client_test.go ├── model.go ├── payload_test.go ├── uaa_suite_test.go └── uaa_test.go ├── ui ├── app │ ├── app.js │ ├── components │ │ ├── dashboard │ │ │ ├── app.html │ │ │ ├── dashboard.html │ │ │ ├── dashboardController.js │ │ │ └── masterController.js │ │ ├── deployment │ │ │ ├── deployment.html │ │ │ ├── deploymentController.js │ │ │ ├── index.html │ │ │ ├── indexController.js │ │ │ ├── instances.html │ │ │ ├── instancesController.js │ │ │ ├── manifest.html │ │ │ ├── manifestController.js │ │ │ ├── ssh.html │ │ │ └── sshController.js │ │ ├── deployments │ │ │ ├── deployments.html │ │ │ └── deploymentsController.js │ │ ├── login │ │ │ ├── login.html │ │ │ └── loginController.js │ │ ├── releases │ │ │ ├── releases.html │ │ │ └── releasesController.js │ │ └── stemcells │ │ │ ├── stemcells.html │ │ │ └── stemcellsController.js │ └── shared │ │ └── login.js ├── css │ ├── app-blue.css │ ├── app-custom.css │ ├── app-green.css │ ├── app-orange.css │ ├── app-purple.css │ ├── app-red.css │ ├── app-seagreen.css │ ├── app.css │ ├── vendor.css │ └── xterm.css ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ └── fontawesome-webfont.woff2 ├── index.html └── js │ ├── ace.js │ ├── angular-cookies.min.js │ ├── angular-route.min.js │ ├── angular-ui-router.min.js │ ├── angular.min.js │ ├── app.js │ ├── bui.min.js │ ├── js-yaml.min.js │ ├── mode-yaml.js │ ├── theme-panda.js │ ├── theme-twilight.js │ ├── ui-ace.js │ ├── vendor.js │ ├── xterm.js │ └── xterm.js.map └── vendor ├── github.com ├── codegangsta │ └── inject │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── inject.go │ │ ├── inject_test.go │ │ ├── translations │ │ └── README_zh_cn.md │ │ └── update_readme.sh ├── coreos │ ├── go-log │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── README.md │ │ └── log │ │ │ ├── commands.go │ │ │ ├── fields.go │ │ │ ├── logger.go │ │ │ ├── priority.go │ │ │ ├── sinks.go │ │ │ ├── sinks_unix.go │ │ │ └── sinks_windows.go │ └── go-systemd │ │ ├── .travis.yml │ │ ├── CONTRIBUTING.md │ │ ├── DCO │ │ ├── LICENSE │ │ ├── README.md │ │ ├── activation │ │ ├── files.go │ │ ├── files_test.go │ │ ├── listeners.go │ │ ├── listeners_test.go │ │ ├── packetconns.go │ │ └── packetconns_test.go │ │ ├── daemon │ │ ├── sdnotify.go │ │ ├── sdnotify_test.go │ │ ├── watchdog.go │ │ └── watchdog_test.go │ │ ├── dbus │ │ ├── dbus.go │ │ ├── dbus_test.go │ │ ├── methods.go │ │ ├── methods_test.go │ │ ├── properties.go │ │ ├── set.go │ │ ├── set_test.go │ │ ├── subscription.go │ │ ├── subscription_set.go │ │ ├── subscription_set_test.go │ │ └── subscription_test.go │ │ ├── examples │ │ └── activation │ │ │ ├── activation.go │ │ │ ├── httpserver │ │ │ ├── README.md │ │ │ ├── hello.service │ │ │ ├── hello.socket │ │ │ └── httpserver.go │ │ │ ├── listen.go │ │ │ └── udpconn.go │ │ ├── fixtures │ │ ├── enable-disable.service │ │ ├── mask-unmask.service │ │ ├── reload.service │ │ ├── start-failed.service │ │ ├── start-stop.service │ │ ├── subscribe-events-set.service │ │ └── subscribe-events.service │ │ ├── journal │ │ └── journal.go │ │ ├── login1 │ │ ├── dbus.go │ │ └── dbus_test.go │ │ ├── machine1 │ │ ├── dbus.go │ │ └── dbus_test.go │ │ ├── sdjournal │ │ ├── functions.go │ │ ├── functions_test.go │ │ ├── journal.go │ │ ├── journal_test.go │ │ └── read.go │ │ ├── test │ │ ├── unit │ │ ├── deserialize.go │ │ ├── deserialize_test.go │ │ ├── end_to_end_test.go │ │ ├── escape.go │ │ ├── escape_test.go │ │ ├── option.go │ │ ├── option_test.go │ │ ├── serialize.go │ │ └── serialize_test.go │ │ └── util │ │ ├── util.go │ │ ├── util_cgo.go │ │ ├── util_stub.go │ │ └── util_test.go ├── go-martini │ └── martini │ │ ├── .gitignore │ │ ├── Godeps │ │ └── Godeps.json │ │ ├── LICENSE │ │ ├── README.md │ │ ├── env.go │ │ ├── env_test.go │ │ ├── go_version.go │ │ ├── logger.go │ │ ├── logger_test.go │ │ ├── martini.go │ │ ├── martini_test.go │ │ ├── recovery.go │ │ ├── recovery_test.go │ │ ├── response_writer.go │ │ ├── response_writer_test.go │ │ ├── return_handler.go │ │ ├── router.go │ │ ├── router_test.go │ │ ├── static.go │ │ ├── static_test.go │ │ ├── translations │ │ ├── README_de_DE.md │ │ ├── README_es_ES.md │ │ ├── README_fr_FR.md │ │ ├── README_ja_JP.md │ │ ├── README_ko_kr.md │ │ ├── README_pl_PL.md │ │ ├── README_pt_br.md │ │ ├── README_ru_RU.md │ │ ├── README_tr_TR.md │ │ ├── README_zh_cn.md │ │ └── README_zh_tw.md │ │ └── wercker.yml ├── gorilla │ ├── context │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── context.go │ │ ├── context_test.go │ │ └── doc.go │ ├── mux │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bench_test.go │ │ ├── doc.go │ │ ├── mux.go │ │ ├── mux_test.go │ │ ├── old_test.go │ │ ├── regexp.go │ │ └── route.go │ ├── securecookie │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── doc.go │ │ ├── fuzz.go │ │ ├── fuzz │ │ │ ├── corpus │ │ │ │ ├── 0.sc │ │ │ │ ├── 05a79f06cf3f67f726dae68d18a2290f6c9a50c9-1 │ │ │ │ ├── 05aefe7b48db1dcf464048449ac4fa6af2fbc73b-5 │ │ │ │ ├── 1.sc │ │ │ │ ├── 10.sc │ │ │ │ ├── 11.sc │ │ │ │ ├── 12.sc │ │ │ │ ├── 13.sc │ │ │ │ ├── 14.sc │ │ │ │ ├── 15.sc │ │ │ │ ├── 16.sc │ │ │ │ ├── 169c3e89cd10efe9bce3a1fdb69a31229e618fc0 │ │ │ │ ├── 17.sc │ │ │ │ ├── 18.sc │ │ │ │ ├── 19.sc │ │ │ │ ├── 2.sc │ │ │ │ ├── 20.sc │ │ │ │ ├── 202ad82e80f70c37f893e47d23f91b1de5067219-7 │ │ │ │ ├── 21.sc │ │ │ │ ├── 21606782c65e44cac7afbb90977d8b6f82140e76-1 │ │ │ │ ├── 22.sc │ │ │ │ ├── 23.sc │ │ │ │ ├── 24.sc │ │ │ │ ├── 25.sc │ │ │ │ ├── 25c648c4c5161116b9b3b883338ddae51f25a901-1 │ │ │ │ ├── 26.sc │ │ │ │ ├── 27.sc │ │ │ │ ├── 28.sc │ │ │ │ ├── 29.sc │ │ │ │ ├── 2aad7069353f2b76fa70b9e0b22115bb42025ec0-2 │ │ │ │ ├── 2b28c8193457fb5385d22ef4ca733c4e364f00e7-4 │ │ │ │ ├── 3.sc │ │ │ │ ├── 30.sc │ │ │ │ ├── 31.sc │ │ │ │ ├── 32.sc │ │ │ │ ├── 33.sc │ │ │ │ ├── 34.sc │ │ │ │ ├── 35.sc │ │ │ │ ├── 36.sc │ │ │ │ ├── 366e3e0397c8ceca170311fb9db5ffcddf228b51-5 │ │ │ │ ├── 37.sc │ │ │ │ ├── 38.sc │ │ │ │ ├── 39.sc │ │ │ │ ├── 3916f239f9da91baa003ee6dc147cca7f7f95bd7-2 │ │ │ │ ├── 3e70a0a4bb1ecd96f554cbef9f20c674ff43e2f6-10 │ │ │ │ ├── 4.sc │ │ │ │ ├── 40.sc │ │ │ │ ├── 41.sc │ │ │ │ ├── 42.sc │ │ │ │ ├── 43.sc │ │ │ │ ├── 44.sc │ │ │ │ ├── 45.sc │ │ │ │ ├── 46.sc │ │ │ │ ├── 47.sc │ │ │ │ ├── 48.sc │ │ │ │ ├── 49.sc │ │ │ │ ├── 4b6a3b5efec9fd7ff70c713e135f825772ee0c5b-6 │ │ │ │ ├── 5.sc │ │ │ │ ├── 50.sc │ │ │ │ ├── 51.sc │ │ │ │ ├── 5122906052326fb2d0f65fef576c1437b95256af-5 │ │ │ │ ├── 52.sc │ │ │ │ ├── 53.sc │ │ │ │ ├── 54.sc │ │ │ │ ├── 55.sc │ │ │ │ ├── 56.sc │ │ │ │ ├── 5601b416f11820e0203c84570e4068cf87acad17-4 │ │ │ │ ├── 57.sc │ │ │ │ ├── 58.sc │ │ │ │ ├── 59.sc │ │ │ │ ├── 6.sc │ │ │ │ ├── 60.sc │ │ │ │ ├── 61.sc │ │ │ │ ├── 62.sc │ │ │ │ ├── 63.sc │ │ │ │ ├── 64.sc │ │ │ │ ├── 65.sc │ │ │ │ ├── 66.sc │ │ │ │ ├── 67.sc │ │ │ │ ├── 68.sc │ │ │ │ ├── 68c721c56a20c85b4aefdffcd60437cf2902b0fa-10 │ │ │ │ ├── 69.sc │ │ │ │ ├── 7.sc │ │ │ │ ├── 70.sc │ │ │ │ ├── 7095a5454c9f66801f2b298e577a488a9cadf52d │ │ │ │ ├── 71.sc │ │ │ │ ├── 71853c6197a6a7f222db0f1978c7cb232b87c5ee-3 │ │ │ │ ├── 72.sc │ │ │ │ ├── 73.sc │ │ │ │ ├── 74.sc │ │ │ │ ├── 75.sc │ │ │ │ ├── 76.sc │ │ │ │ ├── 77.sc │ │ │ │ ├── 78.sc │ │ │ │ ├── 79.sc │ │ │ │ ├── 8.sc │ │ │ │ ├── 80.sc │ │ │ │ ├── 81.sc │ │ │ │ ├── 82.sc │ │ │ │ ├── 83.sc │ │ │ │ ├── 84.sc │ │ │ │ ├── 85.sc │ │ │ │ ├── 86.sc │ │ │ │ ├── 87.sc │ │ │ │ ├── 878643f2e5fb1c89d90d7b5c65957914bb7fe2c6-1 │ │ │ │ ├── 88.sc │ │ │ │ ├── 89.sc │ │ │ │ ├── 8ed2598d72255e78e1cdecba1a0a3b0cb4e4d8be-1 │ │ │ │ ├── 9.sc │ │ │ │ ├── 90.sc │ │ │ │ ├── 91.sc │ │ │ │ ├── 92.sc │ │ │ │ ├── 93.sc │ │ │ │ ├── 94.sc │ │ │ │ ├── 95.sc │ │ │ │ ├── 96.sc │ │ │ │ ├── 97.sc │ │ │ │ ├── 98.sc │ │ │ │ ├── 99.sc │ │ │ │ ├── 9e34c6aae8f2c610f838fed4a5bab0da097c5135-2 │ │ │ │ ├── 9eecb7ef73e5211948391dfc0c2d586e3822b028-1 │ │ │ │ ├── adc83b19e793491b1c6ea0fd8b46cd9f32e592fc-2 │ │ │ │ ├── ae3eb68089a89eb0a707c1de4b60edfeb6efc6e0-4 │ │ │ │ ├── b4f6322316fe4501272935267ab8b1c26684c884 │ │ │ │ ├── bf3f814c978c0fc01c46c8d5b337b024697186cc-7 │ │ │ │ ├── c63ae6dd4fc9f9dda66970e827d13f7c73fe841c-1 │ │ │ │ ├── cebedf21435b903c4013fb902fb5b753e40a100e-8 │ │ │ │ ├── da39a3ee5e6b4b0d3255bfef95601890afd80709-1 │ │ │ │ ├── da5f06015af7bb09d3e421d086939d888f93271c-3 │ │ │ │ ├── df60b2ac6f14afbf990d366fa820ee4906f1436e-2 │ │ │ │ ├── ec54cdb4f33539c9b852b89ebcc67b4ec31a2b01-5 │ │ │ │ ├── ec80b4b6f256eb0f29955c2bc000931d3b766c57-6 │ │ │ │ ├── f2c59710b18847b10176f19fb0426cb597bafef0-9 │ │ │ │ ├── f4de882915d90ead3b18371ab004abb24b3cd320-3 │ │ │ │ ├── f82d23aaf2be2cfc7aa8e323922208cdfce8d35a-3 │ │ │ │ └── fa0f4cd7fee9eb65ebb95a3dc88b6fa198a2c986-1 │ │ │ └── gencorpus.go │ │ ├── securecookie.go │ │ └── securecookie_test.go │ ├── sessions │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── doc.go │ │ ├── lex.go │ │ ├── sessions.go │ │ ├── sessions_test.go │ │ ├── store.go │ │ └── store_test.go │ └── websocket │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── AUTHORS │ │ ├── LICENSE │ │ ├── README.md │ │ ├── client.go │ │ ├── client_server_test.go │ │ ├── client_test.go │ │ ├── compression.go │ │ ├── compression_test.go │ │ ├── conn.go │ │ ├── conn_read.go │ │ ├── conn_read_legacy.go │ │ ├── conn_test.go │ │ ├── doc.go │ │ ├── example_test.go │ │ ├── examples │ │ ├── autobahn │ │ │ ├── README.md │ │ │ ├── fuzzingclient.json │ │ │ └── server.go │ │ ├── chat │ │ │ ├── README.md │ │ │ ├── client.go │ │ │ ├── home.html │ │ │ ├── hub.go │ │ │ └── main.go │ │ ├── command │ │ │ ├── README.md │ │ │ ├── home.html │ │ │ └── main.go │ │ ├── echo │ │ │ ├── README.md │ │ │ ├── client.go │ │ │ └── server.go │ │ └── filewatch │ │ │ ├── README.md │ │ │ └── main.go │ │ ├── json.go │ │ ├── json_test.go │ │ ├── mask.go │ │ ├── mask_test.go │ │ ├── server.go │ │ ├── server_test.go │ │ ├── util.go │ │ └── util_test.go ├── kardianos │ └── osext │ │ ├── LICENSE │ │ ├── README.md │ │ ├── osext.go │ │ ├── osext_plan9.go │ │ ├── osext_procfs.go │ │ ├── osext_sysctl.go │ │ ├── osext_test.go │ │ └── osext_windows.go ├── kr │ └── pty │ │ ├── .gitignore │ │ ├── License │ │ ├── README.md │ │ ├── doc.go │ │ ├── ioctl.go │ │ ├── ioctl_bsd.go │ │ ├── mktypes.bash │ │ ├── pty_darwin.go │ │ ├── pty_dragonfly.go │ │ ├── pty_freebsd.go │ │ ├── pty_linux.go │ │ ├── pty_unsupported.go │ │ ├── run.go │ │ ├── types.go │ │ ├── types_dragonfly.go │ │ ├── types_freebsd.go │ │ ├── util.go │ │ ├── ztypes_386.go │ │ ├── ztypes_amd64.go │ │ ├── ztypes_arm.go │ │ ├── ztypes_arm64.go │ │ ├── ztypes_dragonfly_amd64.go │ │ ├── ztypes_freebsd_386.go │ │ ├── ztypes_freebsd_amd64.go │ │ ├── ztypes_freebsd_arm.go │ │ ├── ztypes_ppc64.go │ │ ├── ztypes_ppc64le.go │ │ └── ztypes_s390x.go ├── martini-contrib │ └── render │ │ ├── LICENSE │ │ ├── README.md │ │ ├── fixtures │ │ ├── basic │ │ │ ├── admin │ │ │ │ └── index.tmpl │ │ │ ├── another_layout.tmpl │ │ │ ├── content.tmpl │ │ │ ├── current_layout.tmpl │ │ │ ├── delims.tmpl │ │ │ ├── hello.tmpl │ │ │ ├── hypertext.html │ │ │ └── layout.tmpl │ │ └── custom_funcs │ │ │ └── index.tmpl │ │ ├── render.go │ │ ├── render_test.go │ │ └── wercker.yml ├── onsi │ ├── ginkgo │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── config │ │ │ └── config.go │ │ ├── ginkgo │ │ │ ├── bootstrap_command.go │ │ │ ├── build_command.go │ │ │ ├── convert │ │ │ │ ├── ginkgo_ast_nodes.go │ │ │ │ ├── import.go │ │ │ │ ├── package_rewriter.go │ │ │ │ ├── test_finder.go │ │ │ │ ├── testfile_rewriter.go │ │ │ │ └── testing_t_rewriter.go │ │ │ ├── convert_command.go │ │ │ ├── generate_command.go │ │ │ ├── help_command.go │ │ │ ├── interrupthandler │ │ │ │ ├── interrupt_handler.go │ │ │ │ ├── sigquit_swallower_unix.go │ │ │ │ └── sigquit_swallower_windows.go │ │ │ ├── main.go │ │ │ ├── nodot │ │ │ │ ├── nodot.go │ │ │ │ ├── nodot_suite_test.go │ │ │ │ └── nodot_test.go │ │ │ ├── nodot_command.go │ │ │ ├── notifications.go │ │ │ ├── run_command.go │ │ │ ├── run_watch_and_build_command_flags.go │ │ │ ├── suite_runner.go │ │ │ ├── testrunner │ │ │ │ ├── log_writer.go │ │ │ │ ├── run_result.go │ │ │ │ └── test_runner.go │ │ │ ├── testsuite │ │ │ │ ├── test_suite.go │ │ │ │ ├── testsuite_suite_test.go │ │ │ │ └── testsuite_test.go │ │ │ ├── unfocus_command.go │ │ │ ├── version_command.go │ │ │ ├── watch │ │ │ │ ├── delta.go │ │ │ │ ├── delta_tracker.go │ │ │ │ ├── dependencies.go │ │ │ │ ├── package_hash.go │ │ │ │ ├── package_hashes.go │ │ │ │ └── suite.go │ │ │ └── watch_command.go │ │ ├── ginkgo_dsl.go │ │ ├── integration │ │ │ ├── _fixtures │ │ │ │ ├── convert_fixtures │ │ │ │ │ ├── extra_functions_test.go │ │ │ │ │ ├── nested │ │ │ │ │ │ └── nested_test.go │ │ │ │ │ ├── nested_without_gofiles │ │ │ │ │ │ └── subpackage │ │ │ │ │ │ │ └── nested_subpackage_test.go │ │ │ │ │ ├── outside_package_test.go │ │ │ │ │ └── xunit_test.go │ │ │ │ ├── convert_goldmasters │ │ │ │ │ ├── extra_functions_test.go │ │ │ │ │ ├── fixtures_suite_test.go │ │ │ │ │ ├── nested_subpackage_test.go │ │ │ │ │ ├── nested_suite_test.go │ │ │ │ │ ├── nested_test.go │ │ │ │ │ ├── outside_package_test.go │ │ │ │ │ ├── suite_test.go │ │ │ │ │ └── xunit_test.go │ │ │ │ ├── coverage_fixture │ │ │ │ │ ├── coverage.go │ │ │ │ │ ├── coverage_fixture_suite_test.go │ │ │ │ │ ├── coverage_fixture_test.go │ │ │ │ │ └── external_coverage_fixture │ │ │ │ │ │ └── external_coverage.go │ │ │ │ ├── does_not_compile │ │ │ │ │ ├── does_not_compile_suite_test.go │ │ │ │ │ └── does_not_compile_test.go │ │ │ │ ├── eventually_failing │ │ │ │ │ ├── eventually_failing_suite_test.go │ │ │ │ │ └── eventually_failing_test.go │ │ │ │ ├── exiting_synchronized_setup_tests │ │ │ │ │ └── exiting_synchronized_setup_tests_suite_test.go │ │ │ │ ├── fail_fixture │ │ │ │ │ ├── fail_fixture_suite_test.go │ │ │ │ │ └── fail_fixture_test.go │ │ │ │ ├── failing_after_suite │ │ │ │ │ ├── failing_after_suite_suite_test.go │ │ │ │ │ └── failing_after_suite_test.go │ │ │ │ ├── failing_before_suite │ │ │ │ │ ├── failing_before_suite_suite_test.go │ │ │ │ │ └── failing_before_suite_test.go │ │ │ │ ├── failing_ginkgo_tests │ │ │ │ │ ├── failing_ginkgo_tests.go │ │ │ │ │ ├── failing_ginkgo_tests_suite_test.go │ │ │ │ │ └── failing_ginkgo_tests_test.go │ │ │ │ ├── flags_tests │ │ │ │ │ ├── flags.go │ │ │ │ │ ├── flags_suite_test.go │ │ │ │ │ └── flags_test.go │ │ │ │ ├── focused_fixture │ │ │ │ │ ├── focused_fixture_suite_test.go │ │ │ │ │ └── focused_fixture_test.go │ │ │ │ ├── hanging_suite │ │ │ │ │ ├── hanging_suite_suite_test.go │ │ │ │ │ └── hanging_suite_test.go │ │ │ │ ├── more_ginkgo_tests │ │ │ │ │ ├── more_ginkgo_tests.go │ │ │ │ │ ├── more_ginkgo_tests_suite_test.go │ │ │ │ │ └── more_ginkgo_tests_test.go │ │ │ │ ├── no_tests │ │ │ │ │ └── no_tests.go │ │ │ │ ├── passing_ginkgo_tests │ │ │ │ │ ├── passing_ginkgo_tests.go │ │ │ │ │ ├── passing_ginkgo_tests_suite_test.go │ │ │ │ │ └── passing_ginkgo_tests_test.go │ │ │ │ ├── passing_suite_setup │ │ │ │ │ ├── passing_suite_setup_suite_test.go │ │ │ │ │ └── passing_suite_test.go │ │ │ │ ├── progress_fixture │ │ │ │ │ ├── progress_fixture_suite_test.go │ │ │ │ │ └── progress_fixture_test.go │ │ │ │ ├── suite_command_tests │ │ │ │ │ ├── suite_command.go │ │ │ │ │ ├── suite_command_suite_test.go │ │ │ │ │ └── suite_command_test.go │ │ │ │ ├── synchronized_setup_tests │ │ │ │ │ └── synchronized_setup_tests_suite_test.go │ │ │ │ ├── tags_tests │ │ │ │ │ ├── ignored_test.go │ │ │ │ │ ├── tags_tests_suite_test.go │ │ │ │ │ └── tags_tests_test.go │ │ │ │ ├── test_description │ │ │ │ │ ├── test_description_suite_test.go │ │ │ │ │ └── test_description_test.go │ │ │ │ ├── watch_fixtures │ │ │ │ │ ├── A │ │ │ │ │ │ ├── A.go │ │ │ │ │ │ ├── A_suite_test.go │ │ │ │ │ │ └── A_test.go │ │ │ │ │ ├── B │ │ │ │ │ │ ├── B.go │ │ │ │ │ │ ├── B_suite_test.go │ │ │ │ │ │ └── B_test.go │ │ │ │ │ ├── C │ │ │ │ │ │ ├── C.go │ │ │ │ │ │ ├── C_suite_test.go │ │ │ │ │ │ └── C_test.go │ │ │ │ │ └── D │ │ │ │ │ │ ├── D.go │ │ │ │ │ │ ├── D_suite_test.go │ │ │ │ │ │ └── D_test.go │ │ │ │ └── xunit_tests │ │ │ │ │ ├── xunit_tests.go │ │ │ │ │ └── xunit_tests_test.go │ │ │ ├── convert_test.go │ │ │ ├── coverage_test.go │ │ │ ├── fail_test.go │ │ │ ├── flags_test.go │ │ │ ├── integration.go │ │ │ ├── integration_suite_test.go │ │ │ ├── interrupt_test.go │ │ │ ├── precompiled_test.go │ │ │ ├── progress_test.go │ │ │ ├── run_test.go │ │ │ ├── subcommand_test.go │ │ │ ├── suite_command_test.go │ │ │ ├── suite_setup_test.go │ │ │ ├── tags_test.go │ │ │ ├── test_description_test.go │ │ │ ├── verbose_and_succinct_test.go │ │ │ └── watch_test.go │ │ ├── internal │ │ │ ├── codelocation │ │ │ │ ├── code_location.go │ │ │ │ ├── code_location_suite_test.go │ │ │ │ └── code_location_test.go │ │ │ ├── containernode │ │ │ │ ├── container_node.go │ │ │ │ ├── container_node_suite_test.go │ │ │ │ └── container_node_test.go │ │ │ ├── failer │ │ │ │ ├── failer.go │ │ │ │ ├── failer_suite_test.go │ │ │ │ └── failer_test.go │ │ │ ├── leafnodes │ │ │ │ ├── benchmarker.go │ │ │ │ ├── interfaces.go │ │ │ │ ├── it_node.go │ │ │ │ ├── it_node_test.go │ │ │ │ ├── leaf_node_suite_test.go │ │ │ │ ├── measure_node.go │ │ │ │ ├── measure_node_test.go │ │ │ │ ├── runner.go │ │ │ │ ├── setup_nodes.go │ │ │ │ ├── setup_nodes_test.go │ │ │ │ ├── shared_runner_test.go │ │ │ │ ├── suite_nodes.go │ │ │ │ ├── suite_nodes_test.go │ │ │ │ ├── synchronized_after_suite_node.go │ │ │ │ ├── synchronized_after_suite_node_test.go │ │ │ │ ├── synchronized_before_suite_node.go │ │ │ │ └── synchronized_before_suite_node_test.go │ │ │ ├── remote │ │ │ │ ├── aggregator.go │ │ │ │ ├── aggregator_test.go │ │ │ │ ├── fake_output_interceptor_test.go │ │ │ │ ├── fake_poster_test.go │ │ │ │ ├── forwarding_reporter.go │ │ │ │ ├── forwarding_reporter_test.go │ │ │ │ ├── output_interceptor.go │ │ │ │ ├── output_interceptor_unix.go │ │ │ │ ├── output_interceptor_win.go │ │ │ │ ├── remote_suite_test.go │ │ │ │ ├── server.go │ │ │ │ └── server_test.go │ │ │ ├── spec │ │ │ │ ├── index_computer.go │ │ │ │ ├── index_computer_test.go │ │ │ │ ├── spec.go │ │ │ │ ├── spec_suite_test.go │ │ │ │ ├── spec_test.go │ │ │ │ ├── specs.go │ │ │ │ └── specs_test.go │ │ │ ├── specrunner │ │ │ │ ├── random_id.go │ │ │ │ ├── spec_runner.go │ │ │ │ ├── spec_runner_suite_test.go │ │ │ │ └── spec_runner_test.go │ │ │ ├── suite │ │ │ │ ├── suite.go │ │ │ │ ├── suite_suite_test.go │ │ │ │ └── suite_test.go │ │ │ ├── testingtproxy │ │ │ │ └── testing_t_proxy.go │ │ │ └── writer │ │ │ │ ├── fake_writer.go │ │ │ │ ├── writer.go │ │ │ │ ├── writer_suite_test.go │ │ │ │ └── writer_test.go │ │ ├── reporters │ │ │ ├── default_reporter.go │ │ │ ├── default_reporter_test.go │ │ │ ├── fake_reporter.go │ │ │ ├── junit_reporter.go │ │ │ ├── junit_reporter_test.go │ │ │ ├── reporter.go │ │ │ ├── reporters_suite_test.go │ │ │ ├── stenographer │ │ │ │ ├── console_logging.go │ │ │ │ ├── fake_stenographer.go │ │ │ │ └── stenographer.go │ │ │ ├── teamcity_reporter.go │ │ │ └── teamcity_reporter_test.go │ │ └── types │ │ │ ├── code_location.go │ │ │ ├── synchronization.go │ │ │ ├── types.go │ │ │ ├── types_suite_test.go │ │ │ └── types_test.go │ └── gomega │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── format │ │ ├── format.go │ │ ├── format_suite_test.go │ │ └── format_test.go │ │ ├── gbytes │ │ ├── buffer.go │ │ ├── buffer_test.go │ │ ├── gbuffer_suite_test.go │ │ ├── say_matcher.go │ │ └── say_matcher_test.go │ │ ├── gexec │ │ ├── _fixture │ │ │ └── firefly │ │ │ │ └── main.go │ │ ├── build.go │ │ ├── build_test.go │ │ ├── exit_matcher.go │ │ ├── exit_matcher_test.go │ │ ├── gexec_suite_test.go │ │ ├── prefixed_writer.go │ │ ├── prefixed_writer_test.go │ │ ├── session.go │ │ └── session_test.go │ │ ├── ghttp │ │ ├── handlers.go │ │ ├── protobuf │ │ │ ├── protobuf.go │ │ │ ├── simple_message.pb.go │ │ │ └── simple_message.proto │ │ ├── test_server.go │ │ ├── test_server_suite_test.go │ │ └── test_server_test.go │ │ ├── gomega_dsl.go │ │ ├── gstruct │ │ ├── elements.go │ │ ├── elements_test.go │ │ ├── errors │ │ │ └── nested_types.go │ │ ├── fields.go │ │ ├── fields_test.go │ │ ├── gstruct_tests_suite_test.go │ │ ├── ignore.go │ │ ├── ignore_test.go │ │ ├── pointer.go │ │ ├── pointer_test.go │ │ └── types.go │ │ ├── internal │ │ ├── assertion │ │ │ ├── assertion.go │ │ │ ├── assertion_suite_test.go │ │ │ └── assertion_test.go │ │ ├── asyncassertion │ │ │ ├── async_assertion.go │ │ │ ├── async_assertion_suite_test.go │ │ │ └── async_assertion_test.go │ │ ├── fakematcher │ │ │ └── fake_matcher.go │ │ ├── oraclematcher │ │ │ └── oracle_matcher.go │ │ └── testingtsupport │ │ │ ├── testing_t_support.go │ │ │ └── testing_t_support_test.go │ │ ├── matchers.go │ │ ├── matchers │ │ ├── and.go │ │ ├── and_test.go │ │ ├── assignable_to_type_of_matcher.go │ │ ├── assignable_to_type_of_matcher_test.go │ │ ├── be_a_directory.go │ │ ├── be_a_directory_test.go │ │ ├── be_a_regular_file.go │ │ ├── be_a_regular_file_test.go │ │ ├── be_an_existing_file.go │ │ ├── be_an_existing_file_test.go │ │ ├── be_closed_matcher.go │ │ ├── be_closed_matcher_test.go │ │ ├── be_empty_matcher.go │ │ ├── be_empty_matcher_test.go │ │ ├── be_equivalent_to_matcher.go │ │ ├── be_equivalent_to_matcher_test.go │ │ ├── be_false_matcher.go │ │ ├── be_false_matcher_test.go │ │ ├── be_identical_to.go │ │ ├── be_identical_to_test.go │ │ ├── be_nil_matcher.go │ │ ├── be_nil_matcher_test.go │ │ ├── be_numerically_matcher.go │ │ ├── be_numerically_matcher_test.go │ │ ├── be_sent_matcher.go │ │ ├── be_sent_matcher_test.go │ │ ├── be_temporally_matcher.go │ │ ├── be_temporally_matcher_test.go │ │ ├── be_true_matcher.go │ │ ├── be_true_matcher_test.go │ │ ├── be_zero_matcher.go │ │ ├── be_zero_matcher_test.go │ │ ├── consist_of.go │ │ ├── consist_of_test.go │ │ ├── contain_element_matcher.go │ │ ├── contain_element_matcher_test.go │ │ ├── contain_substring_matcher.go │ │ ├── contain_substring_matcher_test.go │ │ ├── equal_matcher.go │ │ ├── equal_matcher_test.go │ │ ├── have_cap_matcher.go │ │ ├── have_cap_matcher_test.go │ │ ├── have_key_matcher.go │ │ ├── have_key_matcher_test.go │ │ ├── have_key_with_value_matcher.go │ │ ├── have_key_with_value_matcher_test.go │ │ ├── have_len_matcher.go │ │ ├── have_len_matcher_test.go │ │ ├── have_occurred_matcher.go │ │ ├── have_occurred_matcher_test.go │ │ ├── have_prefix_matcher.go │ │ ├── have_prefix_matcher_test.go │ │ ├── have_suffix_matcher.go │ │ ├── have_suffix_matcher_test.go │ │ ├── match_error_matcher.go │ │ ├── match_error_matcher_test.go │ │ ├── match_json_matcher.go │ │ ├── match_json_matcher_test.go │ │ ├── match_regexp_matcher.go │ │ ├── match_regexp_matcher_test.go │ │ ├── match_yaml_matcher.go │ │ ├── match_yaml_matcher_test.go │ │ ├── matcher_tests_suite_test.go │ │ ├── not.go │ │ ├── not_test.go │ │ ├── or.go │ │ ├── or_test.go │ │ ├── panic_matcher.go │ │ ├── panic_matcher_test.go │ │ ├── receive_matcher.go │ │ ├── receive_matcher_test.go │ │ ├── succeed_matcher.go │ │ ├── succeed_matcher_test.go │ │ ├── support │ │ │ └── goraph │ │ │ │ ├── MIT.LICENSE │ │ │ │ ├── bipartitegraph │ │ │ │ ├── bipartitegraph.go │ │ │ │ └── bipartitegraphmatching.go │ │ │ │ ├── edge │ │ │ │ └── edge.go │ │ │ │ ├── node │ │ │ │ └── node.go │ │ │ │ └── util │ │ │ │ └── util.go │ │ ├── type_support.go │ │ ├── with_transform.go │ │ └── with_transform_test.go │ │ └── types │ │ └── types.go ├── oxtoacart │ └── bpool │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bpool.go │ │ ├── bufferpool.go │ │ ├── bufferpool_test.go │ │ ├── bytepool.go │ │ ├── bytepool_test.go │ │ ├── sizedbufferpool.go │ │ └── sizedbufferpool_test.go ├── satori │ └── go.uuid │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── benchmarks_test.go │ │ ├── uuid.go │ │ └── uuid_test.go ├── starkandwayne │ └── goutils │ │ ├── README.md │ │ ├── ansi │ │ ├── printf.go │ │ └── printf_test.go │ │ ├── botta │ │ ├── Godeps │ │ │ ├── Godeps.json │ │ │ └── Readme │ │ ├── LICENSE │ │ ├── README.md │ │ ├── TODO │ │ ├── assets │ │ │ ├── empty │ │ │ ├── invalid │ │ │ ├── test │ │ │ └── test_json │ │ ├── botta_suite_test.go │ │ ├── http.go │ │ ├── http_test.go │ │ ├── response.go │ │ └── response_test.go │ │ ├── log │ │ └── log.go │ │ ├── timestamp │ │ └── timestamp.go │ │ └── tree │ │ ├── cursor.go │ │ ├── cursor_test.go │ │ ├── err.go │ │ ├── examples │ │ └── abc.go │ │ ├── find.go │ │ ├── find_test.go │ │ ├── tree.go │ │ ├── tree_suite_test.go │ │ └── tree_test.go └── voxelbrain │ └── goptions │ ├── .gitignore │ ├── CHANGELOG.md │ ├── CONTRIBUTORS.md │ ├── LICENSE.txt │ ├── README.md │ ├── circle.yml │ ├── examples │ └── readme_example.go │ ├── examples_test.go │ ├── flag.go │ ├── flagset.go │ ├── goptions.go │ ├── helpfunc.go │ ├── marshaler.go │ ├── marshaler_test.go │ ├── mutexgroup.go │ ├── options.go │ ├── parse_test.go │ ├── parsetag_test.go │ ├── special_types.go │ ├── tagparser.go │ ├── valueparser.go │ └── valueparser_test.go ├── golang.org └── x │ └── crypto │ ├── .gitattributes │ ├── .gitignore │ ├── AUTHORS │ ├── CONTRIBUTING.md │ ├── CONTRIBUTORS │ ├── LICENSE │ ├── PATENTS │ ├── README │ ├── acme │ ├── acme.go │ ├── acme_test.go │ ├── autocert │ │ ├── autocert.go │ │ ├── autocert_test.go │ │ ├── cache.go │ │ ├── cache_test.go │ │ ├── renewal.go │ │ └── renewal_test.go │ ├── jws.go │ ├── jws_test.go │ └── types.go │ ├── bcrypt │ ├── base64.go │ ├── bcrypt.go │ └── bcrypt_test.go │ ├── blake2b │ ├── blake2b.go │ ├── blake2bAVX2_amd64.go │ ├── blake2bAVX2_amd64.s │ ├── blake2b_amd64.go │ ├── blake2b_amd64.s │ ├── blake2b_generic.go │ ├── blake2b_ref.go │ └── blake2b_test.go │ ├── blake2s │ ├── blake2s.go │ ├── blake2s_386.go │ ├── blake2s_386.s │ ├── blake2s_amd64.go │ ├── blake2s_amd64.s │ ├── blake2s_generic.go │ ├── blake2s_ref.go │ └── blake2s_test.go │ ├── blowfish │ ├── block.go │ ├── blowfish_test.go │ ├── cipher.go │ └── const.go │ ├── bn256 │ ├── bn256.go │ ├── bn256_test.go │ ├── constants.go │ ├── curve.go │ ├── example_test.go │ ├── gfp12.go │ ├── gfp2.go │ ├── gfp6.go │ ├── optate.go │ └── twist.go │ ├── cast5 │ ├── cast5.go │ └── cast5_test.go │ ├── chacha20poly1305 │ ├── chacha20poly1305.go │ ├── chacha20poly1305_amd64.go │ ├── chacha20poly1305_amd64.s │ ├── chacha20poly1305_generic.go │ ├── chacha20poly1305_noasm.go │ ├── chacha20poly1305_test.go │ ├── chacha20poly1305_test_vectors.go │ └── internal │ │ └── chacha20 │ │ ├── chacha_generic.go │ │ └── chacha_test.go │ ├── codereview.cfg │ ├── curve25519 │ ├── const_amd64.s │ ├── cswap_amd64.s │ ├── curve25519.go │ ├── curve25519_test.go │ ├── doc.go │ ├── freeze_amd64.s │ ├── ladderstep_amd64.s │ ├── mont25519_amd64.go │ ├── mul_amd64.s │ └── square_amd64.s │ ├── ed25519 │ ├── ed25519.go │ ├── ed25519_test.go │ ├── internal │ │ └── edwards25519 │ │ │ ├── const.go │ │ │ └── edwards25519.go │ └── testdata │ │ └── sign.input.gz │ ├── hkdf │ ├── example_test.go │ ├── hkdf.go │ └── hkdf_test.go │ ├── md4 │ ├── md4.go │ ├── md4_test.go │ └── md4block.go │ ├── nacl │ ├── box │ │ ├── box.go │ │ └── box_test.go │ └── secretbox │ │ ├── example_test.go │ │ ├── secretbox.go │ │ └── secretbox_test.go │ ├── ocsp │ ├── ocsp.go │ └── ocsp_test.go │ ├── openpgp │ ├── armor │ │ ├── armor.go │ │ ├── armor_test.go │ │ └── encode.go │ ├── canonical_text.go │ ├── canonical_text_test.go │ ├── clearsign │ │ ├── clearsign.go │ │ └── clearsign_test.go │ ├── elgamal │ │ ├── elgamal.go │ │ └── elgamal_test.go │ ├── errors │ │ └── errors.go │ ├── keys.go │ ├── keys_test.go │ ├── packet │ │ ├── compressed.go │ │ ├── compressed_test.go │ │ ├── config.go │ │ ├── encrypted_key.go │ │ ├── encrypted_key_test.go │ │ ├── literal.go │ │ ├── ocfb.go │ │ ├── ocfb_test.go │ │ ├── one_pass_signature.go │ │ ├── opaque.go │ │ ├── opaque_test.go │ │ ├── packet.go │ │ ├── packet_test.go │ │ ├── private_key.go │ │ ├── private_key_test.go │ │ ├── public_key.go │ │ ├── public_key_test.go │ │ ├── public_key_v3.go │ │ ├── public_key_v3_test.go │ │ ├── reader.go │ │ ├── signature.go │ │ ├── signature_test.go │ │ ├── signature_v3.go │ │ ├── signature_v3_test.go │ │ ├── symmetric_key_encrypted.go │ │ ├── symmetric_key_encrypted_test.go │ │ ├── symmetrically_encrypted.go │ │ ├── symmetrically_encrypted_test.go │ │ ├── userattribute.go │ │ ├── userattribute_test.go │ │ ├── userid.go │ │ └── userid_test.go │ ├── read.go │ ├── read_test.go │ ├── s2k │ │ ├── s2k.go │ │ └── s2k_test.go │ ├── write.go │ └── write_test.go │ ├── otr │ ├── libotr_test_helper.c │ ├── otr.go │ ├── otr_test.go │ └── smp.go │ ├── pbkdf2 │ ├── pbkdf2.go │ └── pbkdf2_test.go │ ├── pkcs12 │ ├── bmp-string.go │ ├── bmp-string_test.go │ ├── crypto.go │ ├── crypto_test.go │ ├── errors.go │ ├── internal │ │ └── rc2 │ │ │ ├── bench_test.go │ │ │ ├── rc2.go │ │ │ └── rc2_test.go │ ├── mac.go │ ├── mac_test.go │ ├── pbkdf.go │ ├── pbkdf_test.go │ ├── pkcs12.go │ ├── pkcs12_test.go │ └── safebags.go │ ├── poly1305 │ ├── poly1305.go │ ├── poly1305_test.go │ ├── sum_amd64.go │ ├── sum_amd64.s │ ├── sum_arm.go │ ├── sum_arm.s │ └── sum_ref.go │ ├── ripemd160 │ ├── ripemd160.go │ ├── ripemd160_test.go │ └── ripemd160block.go │ ├── salsa20 │ ├── salsa │ │ ├── hsalsa20.go │ │ ├── salsa2020_amd64.s │ │ ├── salsa208.go │ │ ├── salsa20_amd64.go │ │ ├── salsa20_ref.go │ │ └── salsa_test.go │ ├── salsa20.go │ └── salsa20_test.go │ ├── scrypt │ ├── scrypt.go │ └── scrypt_test.go │ ├── sha3 │ ├── doc.go │ ├── hashes.go │ ├── keccakf.go │ ├── keccakf_amd64.go │ ├── keccakf_amd64.s │ ├── register.go │ ├── sha3.go │ ├── sha3_test.go │ ├── shake.go │ ├── testdata │ │ └── keccakKats.json.deflate │ ├── xor.go │ ├── xor_generic.go │ └── xor_unaligned.go │ ├── ssh │ ├── agent │ │ ├── client.go │ │ ├── client_test.go │ │ ├── example_test.go │ │ ├── forward.go │ │ ├── keyring.go │ │ ├── keyring_test.go │ │ ├── server.go │ │ ├── server_test.go │ │ └── testdata_test.go │ ├── benchmark_test.go │ ├── buffer.go │ ├── buffer_test.go │ ├── certs.go │ ├── certs_test.go │ ├── channel.go │ ├── cipher.go │ ├── cipher_test.go │ ├── client.go │ ├── client_auth.go │ ├── client_auth_test.go │ ├── client_test.go │ ├── common.go │ ├── connection.go │ ├── doc.go │ ├── example_test.go │ ├── handshake.go │ ├── handshake_test.go │ ├── kex.go │ ├── kex_test.go │ ├── keys.go │ ├── keys_test.go │ ├── mac.go │ ├── mempipe_test.go │ ├── messages.go │ ├── messages_test.go │ ├── mux.go │ ├── mux_test.go │ ├── server.go │ ├── session.go │ ├── session_test.go │ ├── tcpip.go │ ├── tcpip_test.go │ ├── terminal │ │ ├── terminal.go │ │ ├── terminal_test.go │ │ ├── util.go │ │ ├── util_bsd.go │ │ ├── util_linux.go │ │ ├── util_plan9.go │ │ ├── util_solaris.go │ │ └── util_windows.go │ ├── test │ │ ├── agent_unix_test.go │ │ ├── cert_test.go │ │ ├── doc.go │ │ ├── forward_unix_test.go │ │ ├── session_test.go │ │ ├── tcpip_test.go │ │ ├── test_unix_test.go │ │ └── testdata_test.go │ ├── testdata │ │ ├── doc.go │ │ └── keys.go │ ├── testdata_test.go │ ├── transport.go │ └── transport_test.go │ ├── tea │ ├── cipher.go │ └── tea_test.go │ ├── twofish │ ├── twofish.go │ └── twofish_test.go │ ├── xtea │ ├── block.go │ ├── cipher.go │ └── xtea_test.go │ └── xts │ ├── xts.go │ └── xts_test.go └── gopkg.in └── yaml.v2 ├── .travis.yml ├── LICENSE ├── LICENSE.libyaml ├── README.md ├── apic.go ├── decode.go ├── decode_test.go ├── emitterc.go ├── encode.go ├── encode_test.go ├── parserc.go ├── readerc.go ├── resolve.go ├── scannerc.go ├── sorter.go ├── suite_test.go ├── writerc.go ├── yaml.go ├── yamlh.go └── yamlprivateh.go /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | artifacts 3 | config.yml -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | BUILD_TYPE?=build 2 | 3 | bui: 4 | go $(BUILD_TYPE) . 5 | 6 | 7 | ARTIFACTS := artifacts/bui-{{.OS}}-{{.Arch}} 8 | LDFLAGS := -X main.Version=$(VERSION) 9 | release: 10 | @echo "Checking that VERSION was defined in the calling environment" 11 | @test -n "$(VERSION)" 12 | @echo "OK. VERSION=$(VERSION)" 13 | 14 | @echo "Checking that TARGETS was defined in the calling environment" 15 | @test -n "$(TARGETS)" 16 | @echo "OK. TARGETS='$(TARGETS)'" 17 | rm -rf artifacts 18 | gox -osarch="$(TARGETS)" -ldflags="$(LDFLAGS)" --output="$(ARTIFACTS)/bui" . 19 | 20 | cd artifacts && for x in bui-*; do cp -a ../ui/ $$x/ui; tar -czvf $$x.tar.gz $$x; rm -r $$x; done -------------------------------------------------------------------------------- /api/api.go: -------------------------------------------------------------------------------- 1 | package api 2 | 3 | type Api struct { 4 | Web *WebServer /* Webserver that gets spawned to handle http requests */ 5 | 6 | } 7 | 8 | var Version = "(development)" 9 | 10 | func NewApi() *Api { 11 | return &Api{} 12 | } 13 | 14 | func (a *Api) Run() error { 15 | a.Web.Start() 16 | return nil 17 | } 18 | -------------------------------------------------------------------------------- /api/auth_handler.go: -------------------------------------------------------------------------------- 1 | package api 2 | 3 | import ( 4 | "net/http" 5 | 6 | "github.com/gorilla/sessions" 7 | ) 8 | 9 | type authHandler struct { 10 | CookieSession *sessions.CookieStore 11 | handler http.Handler 12 | } 13 | 14 | func AuthHandler(cookieSession *sessions.CookieStore, h http.Handler) http.Handler { 15 | return authHandler{cookieSession, h} 16 | } 17 | 18 | func (h authHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { 19 | session, err := h.CookieSession.Get(r, "auth") 20 | if err != nil { 21 | http.Error(w, err.Error(), http.StatusInternalServerError) 22 | return 23 | } 24 | if session.Values["auth_type"] == nil { 25 | http.Redirect(w, r, "/#!/login", http.StatusFound) 26 | return 27 | } 28 | h.handler.ServeHTTP(w, r) 29 | } 30 | -------------------------------------------------------------------------------- /api/payload_test.go: -------------------------------------------------------------------------------- 1 | package api_test 2 | 3 | const info = `{"name":"Bosh Lite Director","uuid":"092cd4a6-e1ee-4456-8354-c756f2772438","version":"260.1.0 (00000000)","user":null,"cpi":"warden_cpi","user_authentication":{"type":"uaa","options":{"url":"https://10.244.66.2:8443","urls":["https://10.244.66.2:8443"]}},"features":{"dns":{"status":false,"extras":{"domain_name":"bosh"}},"compiled_package_cache":{"status":false,"extras":{"provider":null}},"snapshots":{"status":false}}}` 4 | -------------------------------------------------------------------------------- /api/test/etc/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | this document 6 | 7 | 8 | Contact GitHub API Training Shop Blog About 9 | -------------------------------------------------------------------------------- /api/test/etc/empty.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # this space intentionally left blank -------------------------------------------------------------------------------- /bosh/bosh_suite_test.go: -------------------------------------------------------------------------------- 1 | package bosh_test 2 | 3 | import ( 4 | "fmt" 5 | "os" 6 | "testing" 7 | 8 | . "github.com/onsi/ginkgo" 9 | . "github.com/onsi/gomega" 10 | ) 11 | 12 | func TestSupervisor(t *testing.T) { 13 | RegisterFailHandler(Fail) 14 | 15 | wd, err := os.Getwd() 16 | if err != nil { 17 | panic(err) 18 | } 19 | os.Setenv("PATH", fmt.Sprintf("%s:%s/../bin", os.Getenv("PATH"), wd)) 20 | 21 | RunSpecs(t, "BOSH Test Suite") 22 | } 23 | -------------------------------------------------------------------------------- /ci/scripts/test: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | export GOPATH=${PWD}/gopath 6 | export PATH=${PATH}:${GOPATH}/bin 7 | cd ${GOPATH}/src/${MODULE} 8 | 9 | go get github.com/Masterminds/glide 10 | 11 | go vet $(glide novendor) 12 | go test $(glide novendor) -------------------------------------------------------------------------------- /ci/settings.yml: -------------------------------------------------------------------------------- 1 | --- 2 | meta: 3 | name: bui 4 | release: Bui 5 | target: sw 6 | url: https://ci.vsphere.starkandwayne.com 7 | 8 | initial_version: 0.1.0 9 | 10 | aws: 11 | access_key: (( vault "secret/aws/cfcommunity:access" )) 12 | secret_key: (( vault "secret/aws/cfcommunity:secret" )) 13 | 14 | github: 15 | owner: cloudfoundry-community 16 | repo: bui 17 | private_key: (( vault "secret/pipelines/bui/github:private" )) 18 | access_token: (( vault "secret/pipelines/bui/github:token" )) 19 | 20 | slack: 21 | webhook: (( vault "secret/pipelines/bui/slack:webhook" )) 22 | channel: '#botspam' -------------------------------------------------------------------------------- /config.yml.example: -------------------------------------------------------------------------------- 1 | listen_addr: :9304 2 | web_root: ui 3 | cookie_secret: my-secret-cookie 4 | bosh_addr: https://192.168.50.4:25555 5 | -------------------------------------------------------------------------------- /glide.yaml: -------------------------------------------------------------------------------- 1 | package: github.com/cloudfoundry-community/bui 2 | import: 3 | - package: github.com/coreos/go-log 4 | subpackages: 5 | - log 6 | - package: github.com/gorilla/mux 7 | - package: github.com/gorilla/sessions 8 | - package: github.com/gorilla/websocket 9 | - package: github.com/kr/pty 10 | - package: github.com/satori/go.uuid 11 | - package: github.com/starkandwayne/goutils 12 | subpackages: 13 | - log 14 | - package: github.com/voxelbrain/goptions 15 | - package: golang.org/x/crypto 16 | subpackages: 17 | - ssh 18 | - package: gopkg.in/yaml.v2 19 | testImport: 20 | - package: github.com/go-martini/martini 21 | - package: github.com/martini-contrib/render 22 | - package: github.com/onsi/ginkgo 23 | - package: github.com/onsi/gomega 24 | -------------------------------------------------------------------------------- /images/BOSH_Admin_UI.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/bui/eb83a626f07321e7c7fab3868ad42b48a8b1c8e1/images/BOSH_Admin_UI.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bui", 3 | "version": "0.1.0", 4 | "scripts": { 5 | "build": "grunt uglify", 6 | "watch": "grunt watch" 7 | }, 8 | "devDependencies": { 9 | "grunt": "^1.0.1", 10 | "grunt-contrib-uglify": "^2.0.0", 11 | "grunt-contrib-watch": "^1.0.0" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /uaa/model.go: -------------------------------------------------------------------------------- 1 | package uaa 2 | 3 | type TokenResp struct { 4 | AccessToken string `json:"access_token"` 5 | TokenType string `json:"token_type"` 6 | RefreshToken string `json:"refresh_token"` 7 | ExpiresIn int `json:"expires_in"` 8 | Scope string `json:"scope"` 9 | JTI string `json:"jti"` 10 | } 11 | 12 | type Info struct { 13 | App struct { 14 | Version string `json:"version"` 15 | } `json:"app"` 16 | ZoneName string `json:"zone_name"` 17 | Links struct { 18 | UAA string `json:"uaa"` 19 | Password string `json:"passwd"` 20 | Login string `json:"login"` 21 | Register string `json:"register"` 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /uaa/uaa_suite_test.go: -------------------------------------------------------------------------------- 1 | package uaa_test 2 | 3 | import ( 4 | "fmt" 5 | "os" 6 | "testing" 7 | 8 | . "github.com/onsi/ginkgo" 9 | . "github.com/onsi/gomega" 10 | ) 11 | 12 | func TestSupervisor(t *testing.T) { 13 | RegisterFailHandler(Fail) 14 | 15 | wd, err := os.Getwd() 16 | if err != nil { 17 | panic(err) 18 | } 19 | os.Setenv("PATH", fmt.Sprintf("%s:%s/../bin", os.Getenv("PATH"), wd)) 20 | 21 | RunSpecs(t, "UAA Test Suite") 22 | } 23 | -------------------------------------------------------------------------------- /ui/app/components/deployment/deployment.html: -------------------------------------------------------------------------------- 1 |
2 |
3 | {{name}} 4 | 15 |
16 |
17 |
-------------------------------------------------------------------------------- /ui/app/components/deployment/deploymentController.js: -------------------------------------------------------------------------------- 1 | angular.module('deployment',[]) 2 | .controller('DeploymentController', ['$scope','$http', '$stateParams', '$state', 3 | function ($scope, $http, $stateParams, $state) { 4 | $scope.name = $stateParams.name 5 | }]) 6 | -------------------------------------------------------------------------------- /ui/app/components/deployment/instancesController.js: -------------------------------------------------------------------------------- 1 | angular.module('deploymentInstances', []) 2 | .controller('DeploymentInstancesController', ['$scope', '$http', '$stateParams', 3 | function($scope, $http, $stateParams) { 4 | 5 | $http.get('/deployments/' + $stateParams.name + "/vms", config) 6 | .success(function(data, status) { 7 | $scope.instances = data 8 | }) 9 | .error(function(data, status) { 10 | console.log("something went wrong getting deployment") 11 | }) 12 | 13 | 14 | $scope.getLabel = function(state) { 15 | if (state == "running") { 16 | return "success" 17 | } 18 | return "danger" 19 | } 20 | 21 | } 22 | ]) -------------------------------------------------------------------------------- /ui/app/components/deployment/manifest.html: -------------------------------------------------------------------------------- 1 |
-------------------------------------------------------------------------------- /ui/app/components/deployment/manifestController.js: -------------------------------------------------------------------------------- 1 | angular.module('deploymentManifest',[]) 2 | .controller('DeploymentManifestController', ['$scope','$http', '$stateParams', 3 | function ($scope, $http, $stateParams) { 4 | console.log("MANIFEST BRO") 5 | $http.get('/deployments/' + $stateParams.name , config) 6 | .success(function(data, status) { 7 | $scope.manifest = data.manifest 8 | }) 9 | .error(function(data, status) { 10 | console.log("something went wrong getting deployment") 11 | }) 12 | }]) 13 | -------------------------------------------------------------------------------- /ui/app/components/deployment/ssh.html: -------------------------------------------------------------------------------- 1 |
2 | 3 |
-------------------------------------------------------------------------------- /ui/app/components/deployments/deploymentsController.js: -------------------------------------------------------------------------------- 1 | angular.module('deployments',[]) 2 | .controller('DeploymentsController', ['$scope','$http', 3 | function ($scope,$http) { 4 | $http.get('/deployments', config) 5 | .success(function(data, status) { 6 | $scope.deployments = data 7 | }) 8 | .error(function(data, status) { 9 | console.log("something went wrong getting deployments") 10 | }) 11 | }]) 12 | -------------------------------------------------------------------------------- /ui/app/components/login/loginController.js: -------------------------------------------------------------------------------- 1 | angular.module('login',[]) 2 | .controller('LoginController', ['$scope','$http','$state','$window','Auth', 3 | function ($scope, $http, $state, $window, Auth) { 4 | $scope.login = function(user) { 5 | var data = $.param({ 6 | auth_type: "basic", 7 | username: user.name, 8 | password: user.password 9 | }); 10 | var config = { 11 | headers: { 12 | 'Content-Type': 'application/x-www-form-urlencoded' 13 | } 14 | } 15 | $http.post('/login', data, config) 16 | .success(function(data, status) { 17 | Auth.setUser(data) 18 | console.log("login") 19 | console.log(data) 20 | $state.go('app.dashboard') 21 | }) 22 | .error(function(data, status) { 23 | console.log("fail") 24 | $window.location.href = '#/login?error=unauthorized' 25 | }) 26 | 27 | } 28 | }]) 29 | -------------------------------------------------------------------------------- /ui/app/components/releases/releasesController.js: -------------------------------------------------------------------------------- 1 | angular.module('releases',[]) 2 | .controller('ReleasesController', ['$scope','$http', 3 | function ($scope, $http) { 4 | $http.get('/releases', config) 5 | .success(function(data, status) { 6 | $scope.releases = data 7 | }) 8 | .error(function(data, status) { 9 | console.log("something went wrong getting releases") 10 | }) 11 | $scope.getLabel = function(state) { 12 | if (state) { 13 | return "success" 14 | } 15 | return "danger" 16 | } 17 | }]) 18 | -------------------------------------------------------------------------------- /ui/app/components/stemcells/stemcellsController.js: -------------------------------------------------------------------------------- 1 | angular.module('stemcells',[]) 2 | .controller('StemcellsController', ['$scope', '$http', 3 | function ($scope, $http) { 4 | $http.get('/stemcells', config) 5 | .success(function(data, status) { 6 | $scope.stemcells = data 7 | }) 8 | .error(function(data, status) { 9 | console.log("something went wrong getting stemcells") 10 | }) 11 | }]) 12 | -------------------------------------------------------------------------------- /ui/app/shared/login.js: -------------------------------------------------------------------------------- 1 | angular.module('auth',[]) 2 | .factory('Auth', function() { 3 | var user; 4 | 5 | return{ 6 | setUser : function(aUser){ 7 | user = aUser; 8 | }, 9 | isLoggedIn : function(){ 10 | return(user)? user : false; 11 | } 12 | } 13 | }); -------------------------------------------------------------------------------- /ui/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/bui/eb83a626f07321e7c7fab3868ad42b48a8b1c8e1/ui/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /ui/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/bui/eb83a626f07321e7c7fab3868ad42b48a8b1c8e1/ui/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /ui/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/bui/eb83a626f07321e7c7fab3868ad42b48a8b1c8e1/ui/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /ui/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/bui/eb83a626f07321e7c7fab3868ad42b48a8b1c8e1/ui/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /ui/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/bui/eb83a626f07321e7c7fab3868ad42b48a8b1c8e1/ui/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /vendor/github.com/codegangsta/inject/.gitignore: -------------------------------------------------------------------------------- 1 | inject 2 | inject.test 3 | -------------------------------------------------------------------------------- /vendor/github.com/codegangsta/inject/update_readme.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | go get github.com/robertkrimen/godocdown/godocdown 3 | godocdown > README.md 4 | -------------------------------------------------------------------------------- /vendor/github.com/coreos/go-log/.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/coreos/go-systemd/examples/activation/httpserver/README.md: -------------------------------------------------------------------------------- 1 | ## socket activated http server 2 | 3 | This is a simple example of using socket activation with systemd to serve a 4 | simple HTTP server on http://127.0.0.1:8076 5 | 6 | To try it out `go get` the httpserver and run it under the systemd-activate helper 7 | 8 | ```bash 9 | export GOPATH="$PWD" 10 | go get github.com/coreos/go-systemd/examples/activation/httpserver 11 | /usr/lib/systemd/systemd-activate -l 127.0.0.1:8076 ./bin/httpserver 12 | ``` 13 | 14 | Then curl the URL and you will notice that it starts up: 15 | 16 | ``` 17 | curl 127.0.0.1:8076 18 | hello socket activated world! 19 | ``` 20 | -------------------------------------------------------------------------------- /vendor/github.com/coreos/go-systemd/examples/activation/httpserver/hello.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Hello World HTTP 3 | Requires=network.target 4 | After=multi-user.target 5 | 6 | [Service] 7 | Type=simple 8 | ExecStart=/usr/local/bin/httpserver 9 | 10 | [Install] 11 | WantedBy=multi-user.target 12 | -------------------------------------------------------------------------------- /vendor/github.com/coreos/go-systemd/examples/activation/httpserver/hello.socket: -------------------------------------------------------------------------------- 1 | [Socket] 2 | ListenStream=127.0.0.1:8076 3 | 4 | [Install] 5 | WantedBy=sockets.target 6 | -------------------------------------------------------------------------------- /vendor/github.com/coreos/go-systemd/fixtures/enable-disable.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=enable disable test 3 | 4 | [Service] 5 | ExecStart=/bin/sleep 400 6 | -------------------------------------------------------------------------------- /vendor/github.com/coreos/go-systemd/fixtures/mask-unmask.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=mask unmask test 3 | 4 | [Service] 5 | ExecStart=/bin/sleep 400 6 | -------------------------------------------------------------------------------- /vendor/github.com/coreos/go-systemd/fixtures/reload.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=reload test 3 | 4 | [Service] 5 | ExecStart=/bin/bash -c "trap '' HUP; /bin/sleep 400" 6 | ExecReload=-/bin/systemctl kill -s HUP reload.service 7 | -------------------------------------------------------------------------------- /vendor/github.com/coreos/go-systemd/fixtures/start-failed.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=starting a failed test 3 | 4 | [Service] 5 | ExecStartPre=/bin/false 6 | ExecStart=/bin/sleep 400 7 | -------------------------------------------------------------------------------- /vendor/github.com/coreos/go-systemd/fixtures/start-stop.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=start stop test 3 | 4 | [Service] 5 | ExecStart=/bin/sleep 400 6 | -------------------------------------------------------------------------------- /vendor/github.com/coreos/go-systemd/fixtures/subscribe-events-set.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=start stop test 3 | 4 | [Service] 5 | ExecStart=/bin/sleep 400 6 | -------------------------------------------------------------------------------- /vendor/github.com/coreos/go-systemd/fixtures/subscribe-events.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=start stop test 3 | 4 | [Service] 5 | ExecStart=/bin/sleep 400 6 | -------------------------------------------------------------------------------- /vendor/github.com/coreos/go-systemd/login1/dbus_test.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 CoreOS, Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package login1 16 | 17 | import ( 18 | "testing" 19 | ) 20 | 21 | // TestNew ensures that New() works without errors. 22 | func TestNew(t *testing.T) { 23 | _, err := New() 24 | 25 | if err != nil { 26 | t.Fatal(err) 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/github.com/coreos/go-systemd/util/util_stub.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 CoreOS, Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // +build !cgo 16 | 17 | package util 18 | 19 | func getRunningSlice() (string, error) { return "", ErrNoCGO } 20 | 21 | func runningFromSystemService() (bool, error) { return false, ErrNoCGO } 22 | 23 | func currentUnitName() (string, error) { return "", ErrNoCGO } 24 | -------------------------------------------------------------------------------- /vendor/github.com/go-martini/martini/Godeps/Godeps.json: -------------------------------------------------------------------------------- 1 | { 2 | "ImportPath": "github.com/go-martini/martini", 3 | "GoVersion": "go1.4.2", 4 | "Deps": [ 5 | { 6 | "ImportPath": "github.com/codegangsta/inject", 7 | "Comment": "v1.0-rc1-10-g33e0aa1", 8 | "Rev": "33e0aa1cb7c019ccc3fbe049a8262a6403d30504" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/go-martini/martini/env.go: -------------------------------------------------------------------------------- 1 | package martini 2 | 3 | import ( 4 | "os" 5 | ) 6 | 7 | // Envs 8 | const ( 9 | Dev string = "development" 10 | Prod string = "production" 11 | Test string = "test" 12 | ) 13 | 14 | // Env is the environment that Martini is executing in. The MARTINI_ENV is read on initialization to set this variable. 15 | var Env = Dev 16 | var Root string 17 | 18 | func setENV(e string) { 19 | if len(e) > 0 { 20 | Env = e 21 | } 22 | } 23 | 24 | func init() { 25 | setENV(os.Getenv("MARTINI_ENV")) 26 | var err error 27 | Root, err = os.Getwd() 28 | if err != nil { 29 | panic(err) 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /vendor/github.com/go-martini/martini/env_test.go: -------------------------------------------------------------------------------- 1 | package martini 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | func Test_SetENV(t *testing.T) { 8 | tests := []struct { 9 | in string 10 | out string 11 | }{ 12 | {"", "development"}, 13 | {"not_development", "not_development"}, 14 | } 15 | 16 | for _, test := range tests { 17 | setENV(test.in) 18 | if Env != test.out { 19 | expect(t, Env, test.out) 20 | } 21 | } 22 | } 23 | 24 | func Test_Root(t *testing.T) { 25 | if len(Root) == 0 { 26 | t.Errorf("Expected root path will be set") 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/github.com/go-martini/martini/go_version.go: -------------------------------------------------------------------------------- 1 | // +build !go1.1 2 | 3 | package martini 4 | 5 | func MartiniDoesNotSupportGo1Point0() { 6 | "Martini requires Go 1.1 or greater." 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/go-martini/martini/logger.go: -------------------------------------------------------------------------------- 1 | package martini 2 | 3 | import ( 4 | "log" 5 | "net/http" 6 | "time" 7 | ) 8 | 9 | // Logger returns a middleware handler that logs the request as it goes in and the response as it goes out. 10 | func Logger() Handler { 11 | return func(res http.ResponseWriter, req *http.Request, c Context, log *log.Logger) { 12 | start := time.Now() 13 | 14 | addr := req.Header.Get("X-Real-IP") 15 | if addr == "" { 16 | addr = req.Header.Get("X-Forwarded-For") 17 | if addr == "" { 18 | addr = req.RemoteAddr 19 | } 20 | } 21 | 22 | log.Printf("Started %s %s for %s", req.Method, req.URL.Path, addr) 23 | 24 | rw := res.(ResponseWriter) 25 | c.Next() 26 | 27 | log.Printf("Completed %v %s in %v\n", rw.Status(), http.StatusText(rw.Status()), time.Since(start)) 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /vendor/github.com/go-martini/martini/logger_test.go: -------------------------------------------------------------------------------- 1 | package martini 2 | 3 | import ( 4 | "bytes" 5 | "log" 6 | "net/http" 7 | "net/http/httptest" 8 | "testing" 9 | ) 10 | 11 | func Test_Logger(t *testing.T) { 12 | buff := bytes.NewBufferString("") 13 | recorder := httptest.NewRecorder() 14 | 15 | m := New() 16 | // replace log for testing 17 | m.Map(log.New(buff, "[martini] ", 0)) 18 | m.Use(Logger()) 19 | m.Use(func(res http.ResponseWriter) { 20 | res.WriteHeader(http.StatusNotFound) 21 | }) 22 | 23 | req, err := http.NewRequest("GET", "http://localhost:3000/foobar", nil) 24 | if err != nil { 25 | t.Error(err) 26 | } 27 | 28 | m.ServeHTTP(recorder, req) 29 | expect(t, recorder.Code, http.StatusNotFound) 30 | refute(t, len(buff.String()), 0) 31 | } 32 | -------------------------------------------------------------------------------- /vendor/github.com/go-martini/martini/wercker.yml: -------------------------------------------------------------------------------- 1 | box: wercker/golang@1.1.1 -------------------------------------------------------------------------------- /vendor/github.com/gorilla/context/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | 4 | matrix: 5 | include: 6 | - go: 1.3 7 | - go: 1.4 8 | - go: 1.5 9 | - go: 1.6 10 | - go: 1.7 11 | - go: tip 12 | allow_failures: 13 | - go: tip 14 | 15 | script: 16 | - go get -t -v ./... 17 | - diff -u <(echo -n) <(gofmt -d .) 18 | - go vet $(go list ./... | grep -v /vendor/) 19 | - go test -v -race ./... 20 | -------------------------------------------------------------------------------- /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 | > Note: gorilla/context, having been born well before `context.Context` existed, does not play well 8 | > with the shallow copying of the request that [`http.Request.WithContext`](https://golang.org/pkg/net/http/#Request.WithContext) (added to net/http Go 1.7 onwards) performs. You should either use *just* gorilla/context, or moving forward, the new `http.Request.Context()`. 9 | 10 | Read the full documentation here: http://www.gorillatoolkit.org/pkg/context 11 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/mux/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | 4 | matrix: 5 | include: 6 | - go: 1.2 7 | - go: 1.3 8 | - go: 1.4 9 | - go: 1.5 10 | - go: 1.6 11 | - go: tip 12 | 13 | install: 14 | - go get golang.org/x/tools/cmd/vet 15 | 16 | script: 17 | - go get -t -v ./... 18 | - diff -u <(echo -n) <(gofmt -d .) 19 | - go tool vet . 20 | - go test -v -race ./... 21 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | 4 | matrix: 5 | include: 6 | - go: 1.3 7 | - go: 1.4 8 | - go: 1.5 9 | - go: 1.6 10 | - go: 1.7 11 | - go: tip 12 | allow_failures: 13 | - go: tip 14 | 15 | script: 16 | - go get -t -v ./... 17 | - diff -u <(echo -n) <(gofmt -d .) 18 | - go vet $(go list ./... | grep -v /vendor/) 19 | - go test -v -race ./... 20 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz.go: -------------------------------------------------------------------------------- 1 | // +build gofuzz 2 | 3 | package securecookie 4 | 5 | var hashKey = []byte("very-secret12345") 6 | var blockKey = []byte("a-lot-secret1234") 7 | var s = New(hashKey, blockKey) 8 | 9 | type Cookie struct { 10 | B bool 11 | I int 12 | S string 13 | } 14 | 15 | func Fuzz(data []byte) int { 16 | datas := string(data) 17 | var c Cookie 18 | if err := s.Decode("fuzz", datas, &c); err != nil { 19 | return 0 20 | } 21 | if _, err := s.Encode("fuzz", c); err != nil { 22 | panic(err) 23 | } 24 | return 1 25 | } 26 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/0.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxjRDhCaG9WdS1IMUVoSVc0N0RRYVVMX0ZJcHlPNU9vZ0tLNnhaSm94U3dWVFRFUzBxZ3FTOEtnMWt5d1JsZnRvVFJSTy1VNEFqUXJfVGp0dVBKWTRpTHp0SjhyUlJWbEpMVlF2ZV9CdU5Vb2d0cEE9fFomN3uC7sVpjIiNqJ7nSmSW0OcB-1nXJndHHUK35Z_o -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/05a79f06cf3f67f726dae68d18a2290f6c9a50c9-1: -------------------------------------------------------------------------------- 1 | : -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/05aefe7b48db1dcf464048449ac4fa6af2fbc73b-5: -------------------------------------------------------------------------------- 1 | 2 | 3 |  -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/1.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxURmd2SUVTenFSNDBMTU84ZDkxY01Kc1JhVTY2dnFqdjUtOFRQZ3p4N2FiN3ctMWVtSnVtZ1kxVjZkR24wdVVWWG9keHMwZXFXek9XTUs0QVo4dXNkZFdPQXRScUo5RzJLZG8teGVNLXFEMEJwcE1lTk9GeVprdjJ0SlpjRkVfbEZBLS1TNXlmTlFidWZCWkh5TEE2WE5YaERuenZjZTZWczFyV0xONFEyc0hWNjZ6RFBGUlFxaUdBcjlZOF9SMzBTV1ctb25NLWxxUWh5X2hhNk1jd3plaWZ0NFV0cGNRYWpqSjlWSjMzUU9QSHdMUUlYdVVQVHNHOEJsd2tra2h3ODJtWkVkRVhLQ0ZRNUJlZVdva0U3RWRyWk1NaTZjaEhOdkppejNnPXyQsRqNFNx_AMU6do1StnhxPHRr3HHtfu7dVvDF3qiDNQ== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/10.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxROFk0ZzZkLTYwWWx1NlJOVFdRZS1YeEZkVGN3TkI5bXdlRkFtTkFTRXZKck1aSGI4TVJ3Vy1Sc2FVWFI4N3REYU9DYzdLb1JRQjBMemhtNHhaOUtMNnhlQjZhUExUeEVwOEJJXzNVcnhqMzZsc2ZyVDFPdlBrcVAxQjhwTE9JdFF2WG9FTWxqcjFWT1ZGZ20yVVdDckFVUE1QQW1EbURlU3lxcEJYRmh3RllhRkNaQnFDNXNGWGx1bm1vYWd3RFF3VWlxaVgtckhkTWZldktzWkZvcFpHTkxwd1Y1SENqdGFpbE9VOUpRZkhSN2RKcHJ4akhteFE4Z2xodVZRSWRyUk83WHpQbW04dEZFVi04Zkd5VHR2WFdGcUdvQWRlWWs4dnZGVUlNRjF1VT18Ylj4DXWIZQD6Tmf1UTA54iJj49qE2sUFzr69lsBdJXo= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/11.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxvY1g0WGhRNVNaRHVLX1lPODEyOGlRWXFIb2diNFd1Tmt0YWF0TWcyeXhKb1pDZE55Wk50MFlodmYzUWwtRnp1bkVHZ3ZoZlFWZnc4WGluVWNyaDhPTlRlaGlMWTNJcDV5dFJxSFJWQWIyYjM4V0RxaDVJQy1nREtiaGZHMUhQNzUzZ014SWtVU3p4QTdlV3NBclVzSHYtQ05CNVZrNGszb0VRbVphZTB5RG5QellrbjlpeTNZX0RXZGtQaXhZTnkzQ0ZNdXhCZlNLNENqTEZGSHkxNzBBV1ZpZHV0c0FGU1FSSDc5QXdIaDdJZlFrUFVUVGdOZmEyeGwxYTBUc1RUNzRQTC1uWmZlWUp1eV93dkQzMnZkZjdRMUE9PXyAdVeo7mS4I2iCVT_RBaAtFggrM1ATqiz1Qfl_yGMLdg== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/12.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxabVUwLTZRMUc2VXpoN2tLaC1uSlRUS0pUelplUFB5UHlrU194QUJfem1zZ0F6Q2ZxbU04dWhOWTB2RE42MUFIeDF0U3dVdzZtaHNXOFFTbmZxd1FIaEtTUk1HdnNZTGRaNHBLWE5JMkhlWDg0UGwwcnphZVFGc1Z5YVRISDB6bjZmZHNJaWJIbmdfR3ZKSTJCZjdVNlZaaVlPaFRFNURMLWlPNXFrWUYyaUc0U1FGQzlGS0FwS2NVcks4ZUVHUWc3QVo0OFA5ZzczYUhzYjY5cGZSbi1YLVI2RENnalZRZl96V3MxdUdTVkE9PXw8F0WJVogg9iGVRsENzrQyPuDs2ZiPEoax9PhGEuae8Q== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/13.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3Mnw4N3pMcHc3NlAzS2JwTHBzSGgxQ0k0cWtMOUZwc0JJSGVUVnJDTnE1MTh1WXpLZFB0MHFNejBXOGV1MGs0VHRzQVlrTWRnREpoZ214Qm1ldEJnNUkyVFc0U3pHbC1hc3JRbDRnLVpDNFhLcmNQaGM9fHfi4gFT970lAhbTpz5WB_N8a8ps0mDRnW-T9-5gUqur -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/14.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxVSFpwR0lpMVVsQmF2bjNya1dVTTZfQW9McWk2dFhVSEkyWGZva1NNbE1uOWc4aVNBU0N0V3hLU1k0eGpDVEQ5dWtYZ3EwdldzZFM0eTQ4ZHRsS2Rjbmp2YjNUZkt4ejRtWThuUnY3UVR0SVE3dFFkMnBwaHdjR0VVS3o5N25NY0tiWllUTlgyNDc1MzVEN1dZSTQ0NVktWVlvNzlaMkYweVZndFFacmtxNVhmS2otN0FFRU1SWi1aX0kycUo3OEtkT0ZhbTliZ3J6cDZtUUhvVGdUQnZQRU1KaFNWWVJvNnp4MjFfOXlGSjlKc1VpZkxnRmV0WkNFZmM3ZGlOcG5NQnBGc2VwME5PemNpbFdxaG8tZHJtdVJvLTd2XzRvS05sVk1oTEswV0MxUmk1c0F6VUU5bVQxMHdPbVpzY0M1b3Q3dVNKUmh5b202TFVwQjBfdENNalB6N2hrcTR8xUFEKJ42IacQ7V72qt2NSe4yPms5fjuFSgAVnoIzTe4= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/15.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3Mnw3X05zSEM3ekZZZW9iN0pwOW9MT25acVlJbGRTaWNNbEt6Y0RYaGpWRUo0dXVySjQtRm1ndFdGTEhyT2dNcE5laFJMZWluOUkySFVORzFlYzEtZ2xzU1NwU3RXSGdER2RoUmJsWWpERjl0d1BvTTJVbW9yZ2V6QkNiRy1ESnNwUVhpZmNsdEhyR0p4RVpCX2V3ZmxReVk4PXwxMDjJkXSAv2j7SOCkQI6DhctO1rmkfe5TLCemSgF5TQ== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/16.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxVLUNuN1Bmb2owRVUwLWJHRUVwUGZPNmUxSDJkeDlBeE45NDIxLUZaVE16VU5tUF8tMEpZZlc0QmxFSmlJMVdNU0tfdWlGRDFadWNTb2ZBbjlJRng2bzAxa0hCY0cyM2R4SlhKZjZuV1dCdGFRdFRBS1ltaU5lMWtPdm9wcmVQZzZlT21UYWNMVGQwUjM1R0NBTVYyZHlldnlRPT18NfdAQbuBFXoRDB2lcBp3PsOZOoRyGXOD_5Vb5mOYfdk= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/169c3e89cd10efe9bce3a1fdb69a31229e618fc0: -------------------------------------------------------------------------------- 1 | 8Q=== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/17.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxPSEJsU0FQMUh5OUYwTWRLRnFFckJXalVSSnNET1hmeV9Tb3IzRXlqS05IR0s3YnhmSkU5SVVYTlFzU09OcEpKcGpQaHd6NDU2ZWhoLXQ2ckpoM3cwSGJMMk9VbkpWX0ZVUlB1aFNnaWlSYXBzb2ViNXJMRjhBcF9WVmRSelhOaWtuODRHV1E2QjA3b2ZnQ19IUFdQS2x1Q0VuaWxHN21SLTVGZUs3MFVvTFhzZmdoSXZ5VTFJaXF5LUZLVUg3aXV3clFmfHWnnWaZO5H5ZBokfQp9DE0Vqo52hWUySU2Qb5dOis4X -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/18.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3Mnx6UzgxOUtEd0RRVE9fUzIxVGdjV0xvZExBM25HSFU0R05BZ2FSVzFEX29hRzQyTEdSZHVOdGNBU1pJVk9fZ3hlU0toY3RHSjJiZjVXdGNXY095cVNqV2owWm9OdXJfY1BHMlFib3hWZ2dwQzFteVBWWTNJQU9TcWtTbjF5STJPQ2Z1RGsxbzJzSGpyYnBZR3gwSDc0VjJlYkxkVkswbjd1c01VWUdLR3RhWEFLd3p1RkNvV3F1QWVJNURtZXQtY3EyOVZ1WEdCN19lUFZibFV3WDhvb0JwNE5nMEVqbDRmdWloN1g1WWRTNWdNMDB6aUhTQkxvWFBzcFdka1R3N0p2Y3ROR0pyRmdCaU85cEgxVlhOYjhHbGJUdlFMNDlSVTlMbGFfZ09ZREhnPT18O_WDUgPOoZz_Tj8Xl5xmVh8MW4DNTlR1Z_RKXp25EgE= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/19.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxWTzdmRjR5X0pDT2J0VVpEUlZuMkFhQTBUQUd5TG5fa2xSZndZTTB2SVdCcHpZaG4yRFdpSFRQamx2VW5RZlIwZ0h0MjRKTEdIb25RNFh1N0VGQjhBQzJSenl1d0V0d1NkNy1WU0FNaFB6cl9tWW9xQzJUOW5yelVicHAyVkJ5ekZuVnhRVVFTTTFDQmhFRHp6QVNkSjFMdndWd0tuamhTUEtEUTAyZHVCcWhiMFpsSHN2V19yby1tQ0lVQjlPTXcxaDZLa3BFTnkzYnlBTTlLTTZWdHFKbjVIejVwRjJKbFpGd2J3TXJwYnQxQ0gtTT18fWdsGgvMPIXZ2GFuTHyx7UEQxVQZ5kuLef2HuTWuMmc= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/2.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxWZTY5Rmh6Tjctc2Q0LUNKS1JjckZCYlFrdTVHZDY1SGN5Y25yY21DTVhOaXMyVTZSeEVnZEhwd3hrOXpFdk1MZXRJM1lOY3BrQzM0eExFSUtsMG8zTVZGNV91SDI3cV9BRDAzVVpFNEg2WWljQk5kOHRFRVlya3J6Y1NuTWhqVnA0eDhLelY3MkVGZmdRbXdvS2VXSWxicWxiX2drOXZHQkVOY1VzQWdUNktheTZ2UC1hMHRFMEdubmF2RmNxLTF6cVZhM1VQTnJSR1RJVm1MSHRiX05XVkc1bEpjWGFLQ0dMS08xMm1QQTFtekFUNUlCZz09fDoYy22cGspOxGc5hXTDyuC2dUigy05-6F9jWgzcQAhq -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/20.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxVWW9MekhaTFowaW9PdjkyUU9pX2M3WHNma1E0bXltbE54N3kyLVhuUU1ya3cyaG9FdFJGRkdIcEY0bmE3RkoyTkFUSlJBSEhmSDlLRW1qN0xUM2EyVEZPeTJyNHlFaERIMng2eWljeGNOaFNXVTZoUlJUbDdLMUExRmE0NW5qRzhZWlpreUdCMGh2QmpPcmEwYm1wam5UVzR2NnI0c2Z4dEdQZnlaZz18gq2BDyZoxUhCEdkDBJI-CKd_dBMqivkn0JPOWKVU5w0= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/202ad82e80f70c37f893e47d23f91b1de5067219-7: -------------------------------------------------------------------------------- 1 | 8Q== 2 | 3 | = -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/21.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxMXzFTTy10UHl2ejdOVnBtU3o0VmM0ZnRmN0dMbnk3Wlc1WVRlOXRZRTA5aVBOaHlxUDJWZ2gxcDRlZk50aGJNOUdqSlpyNmFBZGdmcUtiMEFZTFpPbTF5d1VfT1UzRHl4M19uelJBemgxYzVOU0lqYlI1Wnd0SW1MRGw0Tmw4ZUNOdWxWZF9fZlZVNnJUYVZXcDl4Q0JBSmJmd3N3Mnltam13UGtxQVBKTkkxcm5mUUNhWVprNUZYMXFPRG80aFhTODhfRXhVTU1uckJHYzJTQUhCeEFYVmVQSUpuWmFmSzFTaz180bgqBZn9nHXblgUiVtub8vMX5yoi0kbhENzp6sddMt8= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/21606782c65e44cac7afbb90977d8b6f82140e76-1: -------------------------------------------------------------------------------- 1 | = -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/22.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxTd180RjZHLWF5bjhuazNjQ1hmZXFIdlJMQnk3dDBDLTZpdUgzeHU2V0dFWFFUTnBhaEc1Y1ZHVllnUGROS1BjTGdnM2M1X3drSEotdGNCMEhwVE1tS19nMURTdDhCTUNGMjN1WHpFd25yc29XeWVzQkhvUXI1Qjlnb01fbkxZaEpsVVhsLTJhTFVaeEJjVGt1QjR6T3pNek9aeTRtQzlFQ2FTZDRRLWpTcjRaT1BHUFJRTFd2aUNXZmNlX29BRGgyWGFNUUhBRHJVSGpmVmlEbDVXTjlVcE1aR1JCM3lTZTNNMHdsbzNVVVdzUkt4aWV3c0cwenUtdFVaX0prOUZvTDFjTXwmW7ViLzDpDQ4HYcVtkyAja04RfLbwMybME8V1n2KnJQ== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/23.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxxQkhqeVh5R1NmamdQVXVKcXpZa1UxWG1JdmxsZ192RDF5RmlXem1IaWU5cm1nVzhEWThJR05sQTJhTWFWOHhmZVNkWUFseUtNS2NVTlRaaFpFWElrS1hpZ1AzMFdkVUNEeklGT0lIUDNVQ0pMU3g3RjZJb2RkUnAzVkFRNDA5RzI1ekg4TFpUWU5KTDhsNGY4QVA2NVpmcTdYbWNXWEw2OGRtWWozQ1NhVlRzaW93VHl0RXR1VDBIMDBrRy1IZFBiZFNyVGU0bVEtQ1NPNVVkb0FHREM5UnR4Vi1LajdsclJzbnF3OTlMU09TdFBTcTM1eEo3WEVISFJwRlNhMC1lQTZiS0tlSDJjRTZMc1FKT0VrSWIzdXZtRkw5UHlQTTZxQT09fLEJ3Ff2tP3aJxgI5TrhzBOYMEF5guG6Lkn4PrPGh_uU -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/24.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxWQUVBX01zRWJrdkcwektCQU5FNWdJTmZmQkVvenRaTVVNTmFCcUtJS2gtWUM1MlltMExlcHFrVEdGNnQxbDNvOGFpSHQ3c1pQak1DbUw0Z29KT213QkJneTZrYTE0a3hpc2Q3SHNZV01LWGJqdWY2Q1p6TjlTX21pOU82Y2pVUTJzWE1ITElVLXZNUkxJT0hEVy1XalJmc1NNZGVYdlRFSjhPQUFBTEdTLUhYcldPQXJubWdXUnRNYkpkSmtJSklTZEhQajZVbGw1cWYwUmZPaEE9PXzAmHnGMLYEU2NdJfNpx0XFAoVqZEexvIbAIvvO1oggig== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/25.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxUUy1RMHhjTm5rM1hHWHRPT3prM0lUT2F4NGxERmNZMmdDbTJpdk1ObUpXZGZnSEZ6czQtWHRkNHFDVXBaREhYc2xIS1FnM0FjUzlBb1ItVVBRR0c4THRLaXJyOUVwTndCSzdpTGliR0xsQmpzX2FjRmhWaDdISGlYVFJFNmowZC1FYlpsbnNRVUtFei0xZVpUV3loUDluaGhQM2FNSlZaVmRwYThySm5RcVpEdm9rVVdMUkVpY0JuQ3g5RDNyUFZkQjVldzVQazdVZC1vemkxTjRGVTlwWlRsTGZZNURXU2IyeGVQV2JiNS04OVVFSW9QR1B1dUVtUXBRPT18YY5iRJLicxAb8HQ3ztH55VaIsETVU-ih8XWjqvUFdWc= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/25c648c4c5161116b9b3b883338ddae51f25a901-1: -------------------------------------------------------------------------------- 1 | 8Q== 2 | : -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/26.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxWckxCcURZVzN5ZXpGWUNKUU16LWN6eEwxeERyVERpeUFZQzJNOWhrN3ZPSV9HbTU0bnJmcm13dnNTSWFWdElnMlA3OTg2cDhubDctNGo2WklHS0dSZm1Oc3FuVk9TMDFzckN3WGEzRzNuNDNvd0hGMVNtS2hXNnVkbmg0Skx1MUhmTkU3dVd2TGUzaEV0TV9PdEdWcl9wNlNqbEZyTXcwRjAwc2NjOGJhUEp0b0Z5YzE3RWFCZV9JekdXSmhxWlQzdk5wblE3SjFoeVc5dXVlc0RGN3RSMD18GWFHfNiy-kbdyUHsI7sohnd2psiLzBQsh4EqtAkWNbw= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/27.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnwxT2JtNzdGVGpFeEtTMDBtLVYwbDd1djEzbzJtbnJqU0hsNExlb2F1VkwteGY1VkJESGp1TEx2T1M4MWhfbndNN0tsSzJ5cXdyWEhrc1JnVEt2NWh4VnoxMHkwWF8yMlpOWnVLYnR1ZEJOWHEwUmpaRWI4Njd2Y21XN3JnYzd5d1RIeEtDU1YtdGdyX2tFN1AtY3JZZDRNdVVJSG9EWGEybEdGUDVENE1tWjYtNnE5UEpLYlJEYTNaN285LTVaeU98-s7M5tZwxQHP__ru0pr2s2RvJoHKw3UvrX5RySOdkyI= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/28.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxaZ0RRU3NQbkRQMEU2eE9IM0pPY3JKdnppcFJnVHhHZ2FiQmh1YWU0ZFh2eUREdmNkSmtmdTBueHJqWkJhS3ZJN2YxdGpWQUZQaXBZWlFMd3ZwUDlhZ2J4dlJhbGtCMmFmbmNGQTVlSmFZckh3T01oZUYyT1kwb0RvejJZMlg4QTZxaVJ4a2FoeE93U1QwU19BREo4SklicGxkYWZBY0FucE5VbXJkWnNwaXpjR1o1QUxQTzlZNl9Jam13Nm9IZmhsUFBfazBpcUNKMHdyOU13OWtMSThpYkJRZ25pbWhUaExxRzRUTlRBTjBjanVlZWc5WW1rSS1KdlpUSUo4YVEzeEN1VDhlc0stSFJ4YmRyVmNWdWRZZGZpM0hudEZ1aF8wV1hjMEFrWHJVTEhGdz09fNbtYysnGt4wf4hzwKO35zhSLDX9GXSzLkircCuJMmzK -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/29.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxNN2xITzVlekdrNzhMT1BPSmdZZnJuOFppblJjSWNpTDhfdXFiVEpIR1pqeFdnRHlnZEJrN0o1UDNLQm9MaC1lN1NLMVFiOWw5ekpKUktJaklZQWJKODZJUlZlZlBFZ2JObmpVVFZtUzI3R01HQ3RHNEI4RF9Hakw3bGMtUW1Ucll1Mjl2SXlJRDJmdnRaS2I3SENGSDA2U3hDbGZSZkVMQW9xRXEtREl3RzY4cklDSlZVV09mWm0tU0JwaGxKXzVWTU5GY0plZTBIY0RCOXh5cVI1dktGRy1XVGk3aWhJcllTX3cxa2RHVUZnLW45eUl0VFZRTHVrYUpMVWlrYlBSaTdOME5PWTVWYm9SeXFpM0dQUW1HOGFJWGFOWlllNV9fSG4wWktlNW5FNzZ8ZrFQcdFDl_-VscnBXTUhM2XvBRo4Ev0Ap24dqkH3jnI= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/2aad7069353f2b76fa70b9e0b22115bb42025ec0-2: -------------------------------------------------------------------------------- 1 | 2 | : -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/2b28c8193457fb5385d22ef4ca733c4e364f00e7-4: -------------------------------------------------------------------------------- 1 | 8Q== 2 | 3 | 4 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/3.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3Mnw0b1JaSmp2TWp5M1pFeUJVRVN1VDZBSmxFNXpMMGJ2LTU5aXM2N3g0Y2RRdGlyWEczT1ZoY01fZldvRWZhYXAtYm1OQ3FQUG1IY1N2M1dTZV8yeEpuMWtQeDdXcno2QjI4UUptYklOOHdQZnhTQkFJRmVmNF9tVHpHNUpJdWJ0cUVHZXdacWFabU1HaWdfcnMxX2RpTWNkbU4zRDBfMnlLUjYwTlRMa2NnajlkemxKNVpLTTJPNnRtcDIxNUJ1TU9Uczh6S2FmUGk0YVF2UVAzS2o5Y29IM1FYZz09fGpjKWy2IhR07BHKlkb0Zr7qxojZDZLU2AKB-1azftV0 -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/30.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxZUHVVYmEyUHNRUFlDV3FLU2s5WDdIY3NYWlpYNENISEVta053YzFMQkp1M01pLW1Cck1neUVNZ3BpZ1A1UXNNVXcwQ0NYd1k3bkNtUV9hMDRlTDJHUFM3Sm1NLXREWUkweElOc0xHV0NYQW16dUU0QnQ2S3FQdGl3UnlxX3I5NGdwenVFajlXMDVON3VwZjVJYXh2cndSVFlicHNXY2NUOU9SU0ZDQm5ySFpGNVV4dnY0dWdQVFY2U2hJMmR5MDNRcmJickE9PXygp9rjsTBYaNuCDC0IRxtbTx47LZzJqOHHkfbe1LGNXA== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/31.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxGWHN6bWdhWlRTeHBJTGlJcVdkVXZVaUpjSkRxMDF6VzU1eDlDQmFUbjJFaU5RUzB6WUJ4c2cxUTAwMDAxZU0zNGR6REF4cG1CNzQ4QnJBVlZaT3dnOTBBTUVnYXFiaGFESUswMEtaQWNCUGNQQ3BwbmtMY21hUU5CaG1PdmtLY0VoMk1PaWNJd0VfLV9DZW93QXFjalhRZE1ieUZBUjF4QWhDeVBaUnQzMjV4SnFuZE1fOU9ra2ZOV0ppLTRHNXg3QzktLTVtYnlkRUJaTDRMbllxSW5kaHhxd1FZYWllLWZQUW11ZlhUVWhLMHZ3anNRUVVIbEVDd0F1cXFjNUFTQlZoNTJWT2RNVVJyM3hEY3IwZDZkQ1JuNThfT3pvUXVvbjZWOVNNTWY3X3hEbnM9fLxht7FvJD4a_FPtZFHY-Jty04388qOsUPtYAh_v7RzR -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/32.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxDN1d0UkJ5Z295QWp2QmJEaXdUajBEelJRRDNGVEJDalR6Z05wUGpoeWc5TjdEZC0wTEljZUp5VVlHQmR3ZmRkWkM3SndCaGMwclQxSDJfVEpjSjlQVUxLQ01zZnV6TmVpVWZwelZrNGgyTHFKODFNZGt2LVVySDJ0RnlpQk40UWNFQ1BTTF83cjVBVGhzNDJCTnZycWk4Ulo2TnlxZ1RtXzlEMXJpel8xMDV3emc5aHFiN2dDS1NyV2FqcFVIci1OVVA0bGtlNXNaS1Q4dDdIaDVnY2lDeGdoUFk9fABSA5I3BIpmZmQgqbHgTAqVXIli2piNjBtxOxdjvqOo -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/33.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxTOXU3QS16QzVwMnA0cW9rYV9xOGJaSnd0TE9mU0ItTEhIaXp0OHpTVVBiZDllTlAzV2RrS2tzdDBzM3JSWkFCSWc3ZWxEZm5sLUVydnFVT2x0eFo0QWZYTTJUMDNsa3QxZldnUV9mX05pcklvSXpmX2c1bzdGLVdQdFd1U2VrTkdscHpJZVNyUkMtSGlwXzNnMFRZbnJZNmNrT1dCNjNiakpYNjl3QVF3bzJMMi1HRHzsH2Tt9rxpZH3zsEqJu4iMDx3b0HY_DG8ww5NHxWnf_g== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/34.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxyYXZWSDBFYlhuT3dJd1RORjQyck9LU0RJcXFnNTNpVzlkNkliZzhJMUpOWnFfMW4wSmhpblZZRUpkMnZ5S01uUnZPd2ZROFZpcFduTXVzSDlHMVZyZmFqV09odm0xWkV5RXNoazEwbnNsOUdQV0hXQjNpVkIzWTFJUi1sQk9IZHluM0dubndmbkxLUnw71foKMZj5sjRaa8r9NSKLljA4s-sV3iSuUIDE-rhFeQ== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/35.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxwT0pPY3dJdDVuWVVwdzY2ZHhWS0xsemNXdDJnNkp6VWk0X2k5bS1ZMHUwdERuSmx4SFp6LVJ1R21IcDJRMnFlOVZVUHI4SFBoUWlZY0RQd1NkeTFzRDlnemNVSXVuMU1EZV9OLVNHcm1BRlQ1d2xXQ1AzTzN6dGNWdzgzTW9VbjJQU09CbkVZWVBXTHVHbTNFZ1BzbThGSzNFdmhqREpSS0FtVkhFbTBxV0RHUUpBPXyJHQBE0YGJZylQO-9FgF9v1AR1MQt9RRljMVjtSJWJrw== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/36.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxkZ0pabTA5S0VrZFFhTG5vbGx0NjVoai1pbkR0RmI4VWhVaG8yZGNabWJmRW1lajlRdmlkT3Q2dFhFZTFLNXFrMWtCamlEV25SeTYxTGJqWV83M1Y1STd2ei1vaXFqY19pWnlwU0I2STdOakhpd1ZGTGRKV3R3VE5VZ01EcldPUVZpaDgwUnN1Z3p3YkZGdHk0QkhxWWNTcGFranFhcTdCR1NteGZQb05jOWkzVTd3a0tnPT18_ii97jAl3_Q3XFaUY2r8Fk4bqBhysx1rSQw_ppe-oSw= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/366e3e0397c8ceca170311fb9db5ffcddf228b51-5: -------------------------------------------------------------------------------- 1 | 8Q== T -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/37.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxNMEpYckdpU2JSV0VGS04tOXFGbFZmOFBxRnE0akZZZGZYazh5ZUxnYnhLU3g0YmNaU2RYQ1BUZUdaYXluTnZmQktleFY2WTQtWFhyblptOGk5Zkc1c0FhTkpjTmMtNmxjbEV0dkZNT203cWVUSXgzMFhscmxsQXpkd043cEQzU3Fpc0dXWk95Q213cTJGSUxoZjBWREQ2aVdfZXdyWHluMElmeWRHZnZzVFBDUE1ub2tCZTIxa011UDduc3hscEZjMHF0NHdRdnBtLTQxZF96c1h2WlZfbnV0V1B4ZjJwWTlodFpLOEU9fCETOj9CrLkOjHQ49IVc1S1yDcqlwQ4iVFaSZIiovrrN -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/38.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3Mnx6dWpVS3poT2ZaVDhwZVhGS3ZSa3hCckVuTkNPbWNiOGZtak92Rklrc0Y4dEZVbWlfNk9DZmNNMjZ6cEpaeHptNEdIWEp6dWo4YVBEbW1Da2VZMU5LX2FyelJlRmdzQkNwdXZGaDVLQXM1eVp2OVV5TjNBMUYtN0ExMlhMMkZCUklRPT18uOhvGznCMRvXlfsraWq4DfbciJOMOzHzoW7PMo0aIxo= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/39.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxSUTlaRTRnVHkyMktVSWJCZHBCVzdWUDRtRlJ4TmV5OGFCd0pPNllNdEFJMk96RDdLOWtqN1hTNFR1MzA0cVd5M01KM2d1Z0Fud1BQcTQxaUJGTFNkd3lqZTFpMGxnbnVwdGFPX0x1Rm9aVWVyVHlxeUdoaWFRdUtPeEhyY3ZYQWF6eVFRSE41eFhIZmxkaWloeXlmN3Y2dFJya2tvNl9WZkhXaU9IdTdPcHMtXzQ4V2FHOGRwSFJ1ZjdES3VqMTFRRjZEalozWVpjOTFBY1FoeFc0VDhZdFdCeVJhS2JCc25PVGdIaFl4cFF6Yml0ZHlCSEk5c1NhSHppNUpEdF93bjRTUENoOFFrMjlUVU1yeHNhb0ViWEFwWFVWRnBfQkxhZmN3aE9XcTVyVkVvVkRWb09sRkFKMWpnbTZaa1pRSmxORTBVS2xVUEtvSm43MD18oCSPYwyWuG4Fi_L4i-Ck2AtkAP_DFNm2P25AONmh8PI= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/3916f239f9da91baa003ee6dc147cca7f7f95bd7-2: -------------------------------------------------------------------------------- 1 | MT=` -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/3e70a0a4bb1ecd96f554cbef9f20c674ff43e2f6-10: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | = -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/4.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxBdWtBNGVWdUtUN2pwcFBUWGl0anpObmNRYmlkMkdZamxZTEotQk9UWHJpX19ydk51a0pkNklaRHN1SVVGYzdWSHRNRTRtZVdyT0VOTkZncUxPaWtZTkE5TzBOeTBOc0RyWEZuTzl6eEpHQ2lRSVh3MFNmc1JNekxfMzFkOVhmN0FldTdlMGFfbXh6bWRpYTZuQT09fIXGQXlpKRx2z84DdIjKzSaH-rt1LNVccss7Pok37t5R -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/40.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxzTl9JWlczZmFOeEltLU45SjQ5NDhkSEJkdnpBU091ODZPY04yQUJPV055cjJkaUVtdTJXbzd1WTZRdElzMlVBdUExeGVZZHo3ZHQ5SFRBZGs1cFhkVF8xRUxLOU5Tcm44Z1FyMm1INW9CeEFZbDJ2aUZyeHRfbTBlY3EzcXd2Vll1Q0tQQ2FkOHV2QmdUazdESXN0NWNqY0tILVBkd2FJbUhENVh4cXBPT1NhNG9LVlJUSWZ6eC00a1RLVmRXWUhBVFNjbUVDeWFHd0kyN2JDLVVrR0oyai1XRTJzQWdTZ1ZnMGNlVU1pTWtjc0VkQTNRdFJEdE1TdURyTnNCd0w2Mm5FV3Y3dUtpZ0J1eDhjQWVKWDJXSF9SR1pDS2s1Njk1OV9YSXNNbEg4Z0RQbW1lQnl3OVNRPT18xpN1Gzy5f8THuL4VpHgE6rkEAgP8s-JALzUMIdCy46s= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/41.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3Mnx4XzhJbWhsRF8tNXhHWE40QkJqSC12dVNPQVRZcHJYcXhOSlp1MHRERlA4Y2Nhd1dpV3YwRktxMy1WRDRkSHhsOEJhMnFmMms0d080dG9NMlM2Y3NSbzZoOWpjeUFkZjRod0xFNTF0RzI4ZDJlZzRzUzhXSDU2ZHZfdlhnY2RfNGRqTzQ5VUJCaHVVOWNXczR4bnF3cU5XQURvdmFDSkJKVy1HT3dvZ1VPVzVDOFliMFhaazBYVkJfVk1oU3B4UExYcllOU3VUTnAwYi0wa0dvd0JvcFF6dzVuQ3ljdENIUHzmuNnj2ddk2WHZr5R7DCU110FZIt0WYBt2eswzaM4gug== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/42.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3Mnx4ekswcTZlZk1PZ01kMGxjbERUTERudFVIOWVRRzduU1FrZG5GRWdYN2VIcC1JRjllQjZnT2t0WWxFM3JxMmxHTExtazhfNU54eHNJNnlobFJoQjZreVFteUE4WkVrbFJ5MTluTlFyaEcxT0w2VUV2aUtaYWhvUUJ5WW55LUVHSFBpZGlwQXpRYWVZVVpXMElrWHJjYURqQVgzaHlhaERxNktwU3VLa19iVkY4QUp0WjlPTXcwNzNVNVRqTDFRVHBxYkZGc1ctU2plNWtqX0FvWDA0OWpkV0YwREk0MGNEM3AwQXcyT2FkNGVWeGtyWG1QMkUyTElZQWphYjl6ZTNVaGVEZHJZa1NneE9UamhnVGZkVnFFQmRGN2JfZGhKUnZCcE12THV1eFdpX090RDVrNThheGthUFlJSjJPTnEwSGZCNm9scC15TGRMVjk0YkNUOUE9fBemXTR7HKYdKtHj4eD9GyTuMPweT6BzKJORecQUOHiY -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/43.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxpdTBEREVHaWx6OW9YZ04xX2ZwYTh0bVY1UXZYY1dGSk9XM0NFZ2VKektIR0F0dVY0RVVYNC1lLWtaWFdXSDl4aXlhQnNqQ3pMYlNxRFhXeTZtTkJxcmhKckd3U2hMV2xGeEJ5WWxsNFNxSVhFdW4wek9XdDJNTWI5d01tLWxITkk1Tl9IRjRxZnJnY0JPZ0VBS2cwc0Fya29qNG13ZHRvb25ESUp1UTlQM2hYSnFvelZyLWpYNHJqSnRnaTRFbkhVVnZyc3Fhb2UyQ3NkdnpQVjBxZkFVOVoyVmVOVExDUXpHaXVMNlEzQkNzdzF0M2RGODk0U1VVX3lGcDViVHpPTF95bFhGaFJkU2ZORDFkaDBfem12Xy1FV1VSR3ZKTFpJdW5ZZFJWSHZhVHlqbWN0ejkyOWlKY08yYnllSnVITlZTeWdDMVFSckI3dHFsdDdDSDNFUzNHUWwxRm5JT0NqVHpFPXy6hn09Iaig1LeW5S8uecM1E6X9JRmTLzFDWXDDklk92Q== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/44.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxYdjBGa0xlZFhqMmlPMFgwQUxxbmtjRlRCMWJKWWV6dkNvWE85ZElQeUtKQjFfRzRMa2pqbE4tUTM4djFUV2lzNTBLa21XMXVMSEx6TTR4Qjk2WmhiejVic0ZiOEQ4UTAzSFU0Q21QWlp1SmRQVEhGMjZXdFFTRXBCNlpWZVlhVEdFbG1PYnNkSWpmSVRFcUZDT19ZUVBuaHRIUXpaNGFiQnBTOHVrMGVTdFFvb0ExS0pYbWp8Vj60yLafH82y8qhmu1BxIr3gUFi963hxiFAdnBspPXY= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/45.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3Mnx2aGc2ZVB6blVXVmdKNWVXTjlkU3RvVlRNcTFqY3czVFRDMUlwVEVzX0p1UHlfRmpmWmdualRhZmo0LVh0THBPVUhmUDZoekFkZEVrcFRhVm83dnU1cmZPdktOcFJ6UTIyN1I0MjcyUkU1S3ZfMlVBSGx0MFU5TWRuRWotMGhiWmhELVV8610FbnSvRth9SdVC1Am-lp-2-VAR5tdLzBQL7kFPeKw= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/46.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxUY09CUnpyeFZzakpjOVg5d1VENEFnRzBUemZZM3VwUzZSZExXQXp3Qm51d3d0REV2OFdkS3NpTTFQVEtzRWdTSFBMdklSQVAzRk5yTzRKOUJhXzBIMm13MkxZSVB5VFZjclNXbWVTQnRCeWRrWVNjenl4R3FtUm80RkJwNTFNVWFjYUhlb0psUGowVC1EdU9fR2hLVE95SVgxak1QR0llU0JxWjRQcWc5WlQ3dUUxRGVaU255QVhGeHFGSmlFeks5Wk9TQnpnYURyZjYtMnQ5eGxiREhPMnQwQ0dGTDI3bkxBakY4LXVkT1BBM0Y1UnNRYV82QlVZNDRDYml4cVhFRjFBUHFmQy1Td1N3VWlEcjI4aGdqQjhId1lKQkZSdXd5eVVScWJPVXNBdWpPTUs2S2JzeDdBQzdDWkxMX2hENkVkeXhIUT09fFSsK7EVDyN-twBBPhUpAJbKWVJL3e3e-oryTS0Gptk_ -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/47.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxrNlhBSTJrN3dKeVc4SzltRGVDNDVUcVpjSldJRklfaGtQcjMyN0EwVVp5ZFJUakZVM1ZzSlktdXBXVHF3bVl2ZFU2Y0xDTFRuRGJ5bGFvZWZJQ05qd1d3YkNNaVk5d3R4Qk9lR0lFX3A3UmxHQnZEUEhZMjF5Uzhra1pZaGxsVXVxN1ZkVHU2SnpkbUtCSmZmZ1JjRU9STkNLSkxmeGFfQThERG52VjlnM2g4ZU5oSVdCM218tzuauoYyLqD78b9QoY073Z90G2zU4SVn4AShBcQiZdk= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/48.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3Mnx4WE0wVjZ5eXRsN0ZSdzRnMkY3aUhQZHRjTjRlRXNuRDkxU3ZDeFBGUl9UelZPSnNsTVJuX1pNUWx3RW5USGoxbUtKNU9sT0dSZTRybnU5NEFrSmVDYy1SMEItVmVZblZqVHN0el9BMTBaY2NHZVlkMGE4ZDFKNTk3NnFnc0NweTFZdG4yUVItVG1rWV9ZdjYwai1XQTBXem1RZVJ0WUtqYmtuXzZVTGQ4b0JibklublZEWWJsUVRYaTRRNURSNWJUSDVEUlFvSDR2aEhqX009fHDobPXrZ7PCnuoYwkWqQHmvqwG9flgTnby1RqAp0eEk -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/49.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxPUzdKazJFaWlTQmtNVFltQ1hmb2FBdzZIZ1NndnlHWmNRbjBkeFE2b2ZZaF94TnVka09sUXJjUmw5UlZmYXdZTl92clpVV3ZxSzhWajBSUWtkV015STNtak5SNDNkSXc5NnNJTkk3SjVJTkVaQVJpaXpOVXl1R2ZlMldZa0lIVnprMk93TEl4UEd3TUhTNl91QU1BZ1p6dlBqSFdrOTlvcW8wbTlKa25KenNFS2Q0T0RPcy11cEp0ZVdrbG5kNlBkUk8zWG03VmF6TFdBLVVVYzJlQ3lvSVQtbDEtNmUtQUVQY2dFSHZtYUtpT0t4ZDZQNUliM01LbjJQdF9wc0lWNkFaNWdPSnMydz09fCUtVdRsGfGjq0xST1F2G02INSyzVO-RQV82fZAx-tF8 -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/4b6a3b5efec9fd7ff70c713e135f825772ee0c5b-6: -------------------------------------------------------------------------------- 1 | J 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/5.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3Mnx5UlRweXlJS0JZanJyRXNFeDBnVWNfUjhDb0dlWFVQNGpUSHdxSk81ZkRrRG1rTVppX3pSeEdFU0NGWnlJTnF5alJnT2lESDdRYnpxeWo3YU1aZVFuSkFYSlA4WjIwaVFQTFJrNTk2X0N0eHM1SURNbDR1Tkd0cmlXUEdzeDJFb2FSd2lfemN2NlJFOGt6TnJDRk9PejMzeWFFbzAwcUhzZTlXZVFpWmdEdEg1fKISvrG7Go5WiuNqKEVCmCg02rTvoDUJR1MDwNdR_a7Y -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/50.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxIWG9SVjBHTFFaZ1hTX0RYemlZZ3VtWktBSTNsYi1QZ25YbTdOV1ZWNTVNd1Z1a2ZzOU9sZzFyVklKUjJfbjY1bHNjbHRHZnR5Q3h5TVR3MGNXMlRDT0FqLVNnaGNfYmlGSllsSENJS2Zac2p3RHRwcm1hWER6eDdrVEdaT0ZuTy1YWlRoR2tPb1hWY2Q1ZmNVd2o1Znc0SHo1N3BUV2tmVk4weEZEMnRXRWhtTjlNSGRBUzRBZDNCWWVPMm4wVlA5TFNRR3l3Z2lMd0xyWVlzdEM1cHdoZzBvUjlVcThBN2dfQWt0NU9vR0ctX2h1U0hiUVFMfKEklV7w5Qdw5B-zHGdc_8KwMCEaJaU93kfrkF0UlCO9 -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/51.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3Mnx4QmExOVdwZHNGcUxERzVObjVVcGwyS3BGQWwzbDRMSWVEU25MMllkUHhTWU94cHI2SFJ4VTBUOExZeVZpcXlTUXV1N1RfMWkySWVHallzRHNnY2Vqbm1QSzBuY1BWQURZT29fQ1NfZXFSaUEzY05xc0dzSmw3a3UyZlh3bDhlTUJMcmN8WV5M_DCWr0mpbvysNGaacX1PWwZukYRGCUd7zasT1Z0= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/5122906052326fb2d0f65fef576c1437b95256af-5: -------------------------------------------------------------------------------- 1 | 8Q== 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/52.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxhWkw1N1lYaXhlYXd2ZmlIeXFKMGVwZWZrRG0tYmNBVzY5UG94U1lLTjlPcVNDS1JUR1NoNkd1cnpMbUQ3OHFmMVFMRDAwOUFBZzh1OGVJX2dPR3RlOWhUVVZXcEV1NGNBcGMtYlB0M2tidTNUWXpLTVlLMHAwZVRQN3JVcHk2QnVXSnJyRGVpWTEyREtEQ25KaUZmZGRsSTRtZzN6MFJKeFFjMVh4b1pvOXBOVFJTZDVhY3ZnaVJXa053bXRmSnRha3B6VkFxUFZrM1JtUWlLbWMxeXNuM0t4UmxGXzNBPXwxnzQayybnomVu9KKV09VJw2upuS6v6c1S3b0sJWkzYg== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/53.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3Mnx1WVpMRXFVYXY1X2JmVkd2X292V1NyYzdRc0k1ZGIwYm41all0Sy1veU5IWHNXYjg2OGxGdFQxdHNRR3RqS0pYZU10bmNVOHBEOG9OYXRSSXpnZnlwX2hlUV9aaU53dUZJWUdkM0FBcE1mTHc5QXpRWU5jYkxHY01SbDk1Qi1OaWRidmkwMnI1OXRIM1BPN3ZNMkx4M1NHRTVGb3pGaHQ5bnQ3U2dVOS00SmJ4MGZndW50T1ZUQllCWHBnZ2dxcTRZS09sSkJjTnNTZ0EyU0NufLwPEP2PJ8RYQ9tckzQTz1lelud5sVzo6Jlpg8JkdBnE -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/54.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxlM0tBMGdMZnE4V3JLTHAxMFdIOEZTTDcxMzFhNlFaa21sYWlVV0dPc01ST2t3eElrd0pYSk4tMzZEUUVCekdYYWo0aXVxdlNHRXJZN19YR3g4MDd5ODd2OUpMb2c4bUM4TDJCWmVqdGFwd3VBVHFqXzZaNFpoQzNqcGZmMzI5RUpOX3p3N29HUjNtdHV3MDNLb1o5Ui1HaDhEOWxIVmp3ekE0eEMzZlpEQTFWaUlKQjl4UzBleVZXajlsOHpKQm5PcjUySF8zRC04RnF3dV95SWdfcm96VnZQMFlNUTIxMkh2dkpvRGgtM1dNa3hhRElCVEdTWGhqQlFnTndEbjZZVXFiRUVQNVpmNFg0Uks0cU8ta2tmLUxwSTlBZW5KZ3g1WGJpMUtVT2RXSmxIOU1fOEV4cFc1Snc1c2h5eGlqWTkzQT18oYMWx-zYrvIFzHtsBzkW0omgLkRlrOi2tV236JFCT_M= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/55.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxwNXNlWnV2cS03bDdrdTItdUxtRUZyMC1KRWFJd2padHFyS2hhY005a0szS3hkanY4RUp5TnJPMU9Cd1BJVlduSV91SFhKQnBnZktlTUgxdG5MRV9IcWJEQ19fZzZzNDIxaF9hQ0J2YV91Undnc21XMlduMUptSV81Rl8xdnY5NWN1aFdmaDFQUTlkWXlnd2NsY0pLSlZGemR5UFNyMHdCMWc9PXz_khLrMOYAvmm8TxPWewFz30kjj7NEr2ySyO_Tmifbew== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/56.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxFY3ZmNU0xdF9GUGZJQ0FvRU5JOXRlWEFpcGZxTXNhQUFhZlJPMzlaT0tNZzY4Y0VZZ1ZxWDRtUkJhZXo2M2d4TERXd1Q0Tngyb0J1czdrMGV4RWVfLTFWZXFTR0hYZExSMDVuSUVNZ19RPT18GQy_KUXhl6Dgc-_uGeJPfHdhznbqAKhEA0jEZq0wSKM= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/5601b416f11820e0203c84570e4068cf87acad17-4: -------------------------------------------------------------------------------- 1 | 2 |  -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/57.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3Mnx2bVUtU0tHRFM4cTlKbXJ5Z01TdjFoTXE2VHM0eGlSQ2czV1h3aFM0Ym05YXVkWThqWWpwLWZMbVp2Tm52R0Q0QXhMVGNhQUh6YzVWc19fd2lVMUNGYmFZOHVJWkd5SXhlODhtMFp6dV9vc04xdkpVRDctcTBGUk1MSG4tTE5KNlZLQWQ3OXdqMTMzc3dMZXpza2lSVmdmX3lpejJZcHp1RVlFQXg2aEx3VTlyZl8xbmZxdkhpcHZySUVsNUR6eU51NEE5NUFaR0xSNG8tSk9OQjVRLUxsWldNdUF5M3RhQ3FGdjV0Qlk5Wl9hRzdkZndtTTd5QnBPcVNjV2xmOEg0QVJkSEFwZnRKOG03MjR6OEJIZjA5UEVvMTNHVHwcuDVKBM6I7Zpg7kt4Pk-iLloKwO8M8f1qNQH7qLp0sg== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/58.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxoMjc5X2Fyb1dtWUk2MmZlV0NyNWZMU3BZUl92ay15blBZWnNmQk1qWUlkOS1pLWxkUDIyLUZwY3R2X1lRQzZNMmJnZV9iYXdYNG9pMmVISjZsUHNMSUVwQnBHdHFoSXc4Mm8zcVY3UnpjYWZJaWdSelZWMEI1V2NqOWpFY01oUTVXR053TzlyRnB6LWFzQzJKckZ1cDJtZDJndGFPZFRxdWYtc0dGUGRhRkVsdGJ2WmptUmNlQnZONjAwOEdoamk2anItSzFWVXwHNj5MIcwy6_5z9_v4k_oCTN1AX7sFtrk25QICzUSuQQ== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/59.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxsRmNtVjk1VXdqbnlWeDVDd0Q3QlZSaXdaWkx5Sks3QmVNb3hKVWU5cE0tdXBtQmJuSUkwNHJ6SlJwUmVjcjFhNWp3RDZNN293eGtTb19RU1Y2Q3NpcXFFQnhVdWR0eUFKYmNjT1dPNG1xZGQyeVMzYVFuOWROaTQ1allsRzloQ1NseVVzcDQxY0hGdVFGWnZyMzFWZkNuajBzbGZmY0M1WXZTckxSS0tYOGNJU1Rzay1WWXh3MHBhV3hQZmdFUnlpeTVUbXR5NzF1OW5CQ0h3SHhyLU15MzdhSmVMbVlNem50ODNxT1RmQTkyVEc4NksxVWk3SU4wbnNKY2xPdz09fEL3LkMkHs9AH_Kktdn22O9rjO5cdPayirCVWvy7NdFK -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/6.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxpUFhiYVl5dWhheFJxclp4RURnSWpUTnZLd1NDT0hLOW44bnRhc3dES3VZYVJsYzlBZkgySGhfTnJYcU02ZG5zY2M1TmFOZDhETTFqT0tMSklESmZTa2VRTmJYcm5UM005X2p3UE9aUmx1Uy03MEY2R3lMQjlqVFRGd1NHWXhGUXNLTkwwbFN3a0VFcTF1ZzZlbmtvQ3luRDRBd0x1dGZxZlIxUWhwWWZhcDlHS21jay1PeW5VV0hXSFAyRDlERGpTa0pwOHhXcU5yRkQ3NHRHOFFrZVBManJDRlFvRl9qZUJvR3Z4V2F2T3JDT0x1QUtScjlrMlZ6bmFlTzhtd2FId0xBekktS240ZHEwQTJ0TG03UmJFR2tPVVdpY3FiN0xuM01ib3Z4dy1HZEFOUzQtYi12WkIyOWxPV1QzMk03SG9RPT18Oy9xErnKlbCafCV5ZRcdNQ4oAkM6AS78DKMLRzE3Gp0= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/60.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxXZ0t5V0dfQnlNV3Y4d0dTN3JseVBuUTVsSTlYWGdyRE1XWGRNZ19ncUtZRFR0RWJMX2FaV2hxWVRwakx0VDdNQlBrOFlWdURTa09Jd1JSUlgxTV8yc0R1V3hmcXlwTmdyc2dXVDdBTjR4WUstZEV3TXdFU2Q0NUVzb1JKNnNzaTZBSnhweWhFZnoxV0Jta3hfQUtySE1ZLU5aWGQzcVlrbTJYNXlTOVNwbjFPMnNzYWZNTzRVWXpKSGFpejNrN3FUandSVVUtYml3d0pvSWVIQVFENV9TZUdvajdGSm94eDZBOGtWZFFPOWJfal9CR0dfaEI3bk5rbDVZX2ZPSnlJQlZBaFVXalllMDFQY3c0aWtoYkctQ1YtX1VKT2sydVVPUDg9fLemJf00wrx74T_1wH-isE4OGkygea21I7GLkI4X7udr -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/61.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnwxaDl4VUR6MnlJNHU1alhmRi1tWGdabVowaEJsbzdWb0xIekw2SGdVS29Td1BWZjZrQ3Z2ZmQ5cF9SZ256Qkc4cHM0QVRXMWpVVm1yS25HRzdkY0hWM00zc2MwTVVfaWFDM0RBSzlqQ0VzVko3MkhJdXAydzY0VmRWQkdXQV9FeUI5ZER6VFhpSzBWVDlFcXNkM09QUUxUN0F1bmpKQ2VWWm5oUzVEalZLbC1oellOMUZzQjBnS2VxX3puOFdJdm45alhXVHBIZ0VZVEdkaVpmN2NHSGVwU0FlcTdzc2Y0amM4bnMzZTF6ZGtXLUR1TTdSZV9XaWZwZUdTMkp8GA8K9swZ2XKR0-0_JudwK_Qa4BiuzOOxvZWn6Gt1pBo= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/62.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxYaDYzWUFLYXh4VWJFVlM4eWMwcVpkWlZ2bEJxOFNYdk5sUTJfQ3RPYUxKT1ZOTGlfYmNIT2tzWUprUkFWQTdzdUgwQUpOcjgyYU5nYjFDRXIwUVhIaHpQbkVheXxTuTszScurs8XNj14TW9ZRbnD2xmn-zFDAIyc8ZUDrXg== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/63.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxEZHpBelhtbTZXUjQ1RGVsYmdvSEVCR3VtQk5vbEg0MDF5UUxwcmRGeEtjd2tqR2c0Y2VWMXlwanE5bnNndkllRTh0Yll2NU5aUXBSVTdwazE0bDZLNXF2bVZocHV4QVBpVlUxdjJJTWtHMy1VYTV1TXJvOGxPa3JXT3FFY3g2VDJiM2NEZ3ExTS1RUzB1SGgzVVl4el9hTkZycTZZU05vR1JSWVhocGNDeV8xT1dxNHViZndyS2VOeGJFbkxRPT18uzh6hDGbvGTPDjTotEtdXXbulR9ukML3n9YHQBzyX_U= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/64.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3Mnwwanp6eU51aGxsSEt0b0ZRNXhkUjU3YzZXWjJySnc2aXo2c2FYWFB3NjBnUDRnQUpPQ082bUZrTmJ5V1pvZVJXRi1JTzlsXy1KLVhpMzNidnlrV2xOT2RIVE5QalFqWklhSTU5c1BoSmQzY24yLUU3RFNMSXExTTE0djdyMDZqY0FIanhYWk14WUFERWk2a0pFbE9BYTgyOGJKalVCRm9SVWVYb2lvNW5pUkQwb09hUXo1bXBiUWRBRmx6cWpmU09NbWRLVWJsbnyekkTo3BRb4h8NxFsA-u3yJovwUt6YiFZRA6601AWliQ== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/65.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3Mnx6RXFNam1mMGdqdl9FdWdYbVhENlVnbElXVFVlVEloSWJFTFhQS1pqTzZONk90NDJIQ0pzTFdFMC1kdGlnaGJRR2lQTnZjVHVvbDd0SjlzUzhTdXJiNl9DMXl1eFN2Z2x6ZV9nSGJQNGxEQ1hDdHFoVGlSeGFmMzdsbG5ZcXZLbC0xMlJVOHJlU0E5WkFKcXBuVWNKbUQzRXhQdkswTlpNR1F5SFBndWs2dFZwRmNxS0Y2OVp2LWVvTmc9PXwa834Gqa_XEA5QQg7bVXgvdF3xnPxb8SYWMk2DYOmPfg== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/66.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnwyUmFwak85TjIxOG16amY0bnVyLWJ2cVpmdHdGOFRERExoQk5PajRIM09KaVBjWEN0UHB3T0NCUGstUE9EOEwyRE4zNVZERkx3anBQWFhwTjk1MTNTRWxTRVA0eDhpMERxUFdfUlFxdEZDU1hFT0pCUGNtR1JUTHB8vOPKYBrn6hBxJVx8lm83klo8lEfuN5HNBE6iMfRcVUo= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/67.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxCOXhFREpZaVJKem5Ec2lodER1RDd1Y3JsWngzQ0s3ZTE5RTAwRHVaRGhvWWpIa2wyWldaSHlUZXYzVGJ3eTRZa0oyNE83MGtxRl95SV9LdkRIQjlsYklwZjRYbzdKX3FpM1NkTnZNc0VlRi1kVTl3RGNjSXRkNFQ1ZkFJemJ0M2d5SG5QRmxiR1RwNkphUm52a01LQVlPSUZSaFl3aTlHbG42VlhnT0lwTHRUM1BkOUxKSjNKU1VEaWNNRVFna1FuY0dBQm1vemhWREpBaE5Na3JQWTV5WEtWZHRBWE96VFQ2RlljTlBkZnk3R25xQ1lXUHFEWjdPRXJMQ3pCOFFfS2hNcnUteWtDODA1WVVlZ182SDRQaUd2SFR6LUVnWnE2c2NXMldLX1ctQlpTV3RqUm1wclYxU25ZcnpvaUZpc3laTTVVcWw2RVZadFhYcE9sS0pmbEJLV216RUp81kEhfeuoPh7fasWg194BQUrNABxQRgO5E0UZhArboiA= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/68.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3Mnw4OGlmcDZDelEtZXJNQXBFSE92SXBFcjFGWVFYak5vTWRtX2oyclQwUmcteC1Bemx6bVktVTd6OUk3UVVkNGZ0TnZIOVlHRmRWbUVUeXNGSHBCbnNiQUpCcWZfa0Y3cmI2ZWMyd1ZST0puNE1qdmJXODlQa1JaVXhxQU9FcU51ZkpuaUFJZUV4ZW82YTVZUmEwZThfMUoweTFpYTBzWFlWMUlfZTJ6ZC1nc0hkNWcwR05nRWJYTjBkaXVLRVJaZ1lORnpNVGZ3SG10QVh1WWJuTzFnVFl3PT18NNpLAmbpk2NJ4nUzZwjMB67lvypX_GHa8s0CJ-ftV8A= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/68c721c56a20c85b4aefdffcd60437cf2902b0fa-10: -------------------------------------------------------------------------------- 1 | = 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/69.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxWc0FwTUN2ZFdZS1JuZHpjazFvYkluVUhrOERDLWo0TFNaSV85QnZ0N2x6b19TdEFYcWJOQU1XR1ZodVNubGNmUXN2UDdMeDB2OXdfV0s2a3JPb1k2STlwU1BZWnJ2ckZnaFVmdWlaMFRDMGxOaDNSTm03c3FpMEdvVWxhdFh2YTFtYXU1bElWZnpaeGJkQUJWVDdIazZsQUVlRl94TEtWeFE9PXx0Ao9dRKXodS2pdmdMxn4s2gqMdvIf0LyqafRO2A6Epg== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/7.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxOUkxmblc1cnZBRUlKWDN0X2NZYzlwZmJwalBvdWVST1M1dnRFb2lKd1ZVelJ4ZHcwSFNyRGZobUMtMUlwcUdlcUxUdlRLc25ubWVJSk1qR3J3Ql9sVXNpeWpFU3h5Wmd2dm94SFEtU3pqWHpvUzl0YTFjOWtWMjRNRUw1NFh5SlRQa0tPV21pVXFieTc2cFZCOXYxblhsdW9WZVR5cmlZYmc9PXyOjmpasY0soiOXocnIfIjXzLBdvcIJSUf7MtnecEiumQ== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/70.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxONy13NV9kajB6Q2l0cEpZcS1oUGMzbTh3UEZqTUVGaTB5WVBTQ1lFNnhOS1I0OW1sLV9FRWZPNVdmRDBTakdlTzVLbXRfVFh0dTN2d09CekI0ckhCZlF1NC1PRHJpOXRyNkdPeUlQeWZ1WEhIenlodWRzeUJ0OERWOU9pQVYxRTZpTU1CQVBaMWtuRGJDSEtIeXpBajFweUhfNXZMbmE4WGNLQWZUYVJUQ1U5dGNQeGdNSlIxTUhiSVRvZDFxa2hVWUdxR3RVYnBzSWtrV2pEVjFhTmZFdE9DYkJiMWxmcVI2bC1PdDJnWHMxOEdoY0laQkdaMGEwUUYyb3NHMkhUOUYxOUMyQi1FTTQ0MXJqazlVRy05dz09fAeQr50BUvNembveqXWEGP7rlr5dtj67s9wqE6gHzaaC -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/7095a5454c9f66801f2b298e577a488a9cadf52d: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxjMHF0NHdRdnBtLTQxZF96c1h2WlZfbnV0V1B4ZjJwWTlodFpLOEU9fCET -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/71.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxsLWpPOUZEdzRvVDY3OGRkMjNkNnFhV3lSYmVscS1SQlQ4X1FyZUU4NFFQaUp1cmxwSkFrZWRJc3BSSjhaeVlZalFxNnVNUHhGcWRGZzRvSFkyOE4xc2V2MHRxVHdMQ2RKVFk3UVJnZmxKSTZkRnBUYjZqTk1QMjBlVDhXN0dBYXA2b0hPSVRoNHZIYUkxeXRaZ3NzbzRLR1dEWE42ODVrTWhIUkJ6cXJvaW1GSDAwNDI4MUdlS0lIWXhncEVXVDJBSE13VkZaM0tyRT18W02jU9IYV9lzRqQQxfOLzy-8Bd9bDwNImCpHGH6rnF0= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/71853c6197a6a7f222db0f1978c7cb232b87c5ee-3: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/72.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxpZ3o4cWhqT2pvdDlFbDJkQXNadHBia0hOMUpIQXBCQVozVHNMRlFYZ280SkhGb1JZeUJORDloMVRWM09LUjRYeW92MF9qaHdJT3pua0hVMWNOVUhaYTdLTG5mQXpmX1NaMVNlaUhZPXxTJ2ptj0jydEz6XpNwmpmW61lddMyLC1R1pxzI1eELCw== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/73.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxpanVFSDVyc0RGd2JSQVdHaWl4TEdmQ2hKSzkwUnFPN2t1c0hSVUJ6OGtCREpsLWwxb29YaVY0azFIUzJmYUZCOXVxM1A3YlAwbVctM1FzR29JcUFYSV9qWEo0Q3hhZS1BNG1wTXJFUkg3czVfYkJmbG1FTUpYRWhuajRQUkVjVmo5MzUzUT09fBj3LQ__1HenyVLrv81zQEy48ViAGjoQY2cq3guJe9b3 -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/74.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxaY002LVp3cmEzR2VReVRBUWhkZTBsVkRUQi0wcWRrYVVaNUMxNy1vdjZldVpwWjFIUnhsRjlHaDFnQm1TWm1fUFhQMlppaHppTks3T1RudGJfN24tclpsZGl1NEdiQjJxLUQ3dlFDbExoMmJnVVpGX05FZDF3STg3NzJuSkRMZ2xnN3lqY2xDM3NBN1poaDlzMzBhWS1tWHB1clhybWxHQUdJckVrdWhrQT09fFQeJmtO8msJrVC858xkw_S8fMoaOZMkHV1aI4Jh-IO- -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/75.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxndjZkcXRUT25pNXdSRVY5bWRvbHNSemROWGJHZXBNZ2VXeUc2ZVcxSVpQa2pTcDVNU0h0aGdlcVZBeFFFcU5SMW5JVnUwakpfWjlOQmE3Ql8td1ExOTEzNXoxOXZ2RzlkclF6QnhTM1ZEYy0yc2xIUldRT2F3SUhacFJLYVhvPXw4CQ6cMxjmD2QJtJJz4nUnQIaNACfQALE6oAWm6m4r8g== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/76.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnwyNHNDMDlsaWw4ZG1MajRrTnNkcWxlV3BIMWZQWTdwZGJub043WU84T0FHQlBnc0NVZ0RsQzVTUEFDRi1JUU14X0pGV2JTUWVVWXFEd2JBNVFpbjlTYXNNM3huVmFNaEpsamdMWVNiX2xpZkUyWU1IbHJzaExCMzhKRHROWFotZGVWMEI1a09yNWNRbTkxM0FnNzkxeGRiSnliMTB0Vjd4eHoyc1ZDOFcyUExLeFZRTlVfWFF2YkdaRmtLNzVrdV84SGRWdU1NcmtnclQ1ODdHaVR5RExTR2xTUVFpQWJISmNpZzBRZ3VUX2wxeDFWLXgxa2RYVG8yVHdfWjFSYUhGc0ZPU3ZmRGFvNHdHNk5GLVZmUVJma0tLejFwMVlBPT18oNqBh6DhdbWHZytoN8fI9neyTMW05JckdFpJQVk84H8= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/77.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3Mnx2Nm9oUDJCSGQ1eUJtSFBTOWRsZzVhUGlpUGdpRmNiR1ZidElBbUZRX0RVanIzN3NvY0lFUzc2T2NRVjNFYUxjeURZTFdyLTRpZDl4RGlBbTBsby1DVGtoUmFnRjB1bTE1dUFMbkYwbjRiR0NvcUpEam81UjBzZ09CYl9SVURudGgwSnVQUHo2R0s5QmVYel95cDgzWnZUYnBBdmlESm1ReHBDazdGa1hoZjBPSENHYUFZVXgtZmlNT0R3MnU0SDBUdUVNYlhQUy11ZUVMazdVMlZOUXFBcDh4RVAxaFFVPXxDq1pbr8BUxXw2qZpJMevp_9IcMC85wOHzyARU2H_nWA== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/78.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxTV0Z2NnJRUkxfWUh6TDhnSG5OaWdWR0FjNG1FN1FoMTN5QXBTRmg3M0FPNjFYcmtXeTBBU29HQlpRY29hWHNZLXFKdEVGRHYtdUplQXpDeVBpSmhKY1oyZHBzelhPZnBoVURFbDBleVNzMkpONFg4S1YxYzktMHFHc2VoX3hWRUplelFvYk5lN0RwMERSbWxZYlN5dEVIUUlmNFd5SEhqRlhRaTFsR2NrQWQ3UE5SMG9zZkxCR0ZlbEs1LWlzdUxzYy0ybVZCWjQ2R29OOWhyckJmVHFPXzBHM2VYLWpocFhPdGFxci11UXJhQjhyUHh0a3N1WWd1dHJaSWZkUERwTTdiYXg1ZExnbENjMjhJUnFWak96dGQ1czdBQ3lxR01EV2xzVjF4ZFBPUlZYcGZ2RXJZNmVvOGRpUDN3ZUp5M1MyY2FVM19RUlprPXydkj-7EvCOCaQNbV34o-vAQ8d8-fUHjI-c8krAQRPnYQ== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/79.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxOY3l2VGo3WmNvWURFbmVsTEZlYmNKSXVWbmI1SGhOeEU1aFpKb3RKWjByQkRiaEV5TGJkMVhwV3JCQzBSMXhsRHBPd05VMjA2M2lmb3B0QmdhaWthMUdKSHV0QWU4M2ZLQWpqb2dpQWZKcm9YSnBlZkpYWE5ZY1pDWEV4TklMWXpMTnNoRDVSejc4Y2F4aWc4bk5ORUx6UlktUHFjVkxfSmxwVmVSYUs3YWhmZzNSUjNKYmRTY3N4cV8yWnlXX2lCX0ZrU0V3TXNrN3otTUd3YnpuSGstVjZya3RXM29KQUtHVnZybXdrLWdWRDRlSS1kMmRab2dmRE1uYlFQcWxJcTBwTWhsbGtURVUxSHROaVE0cVlzdlNZYXd2bnRteXUweFRzSXhZY3xD7IJyMO91H3LSSM2v0nyqzyfNexTgGNeSYxw1n1YrWA== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/8.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3Mnx5ZjFSUkZQWHF6R0lrUlY1cXBwZTZpd0NDQXh4TXlDNUJuQWtldTQzOF84NTRRNFZFcVdKck9Ya2pDX0xINm0ySTlDYlA3RzNXY2FKbk8yMk5vc05XbzVEV0NLTnA5V0lSc1BUdEtYUmpTQXRUNTJKMDRyc3FjcG0xOHlWMlYyNTVMQjl2T0JlMlVSWmxkd3R6SEhPck1nTEdZWG9pU2VBTFlKWG1NS21MeGVkT0RQUi1WdUhlT1lOZ0lNSVhCQnRMRlk1dDBfZnRtZUlMUTFuSWdJakhZY0d3VUNaLW1maDFEUTFwamxZcTA5V3d3MlQ3enVMaDdfajhjQjl4d0xyNlQtc3dOMEhDbWsxX3FQN0VRWkNBU0d0MXZHanZhZTdfaDFqZlIzSHRIWEJJX3haZUd0WG9FeXFYSU1Za0JkdHBsNFNxQk9TM0N6RWtmRElJZWhUfKjpFKhD4zyUX3Wrcy0WeL0FzV2CQX9amyu939W3kXSN -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/80.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3Mnx0bG43b1BVZzR4MUs5WUZNWVcwRGQ0cWVEbFRqY1FnRDJLdHVTMUdSUGdUdm5ZOW0xYUJUZW5YV3hUYVBqejU3VVhpMU5lQTg1LTNZSnNzajB5MktLTEZYamdVXzN5NVR3UF9fM0R4ZmtPMEtLT09ULXNWRWVPRkVUREVnUWhudDI1dDIteHZaVGV0SW83ZV93N3FoOElWckZqWGcxd1g1cmJHZlI1bUVxVHFOT1E9PXy7SPZGoPPnDxm8JiVZi9hmXvvaIker83ubu_xoQONmKg== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/81.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxKU19faFdTdGQ5S1NrdThZN25Fb1RmNE9HT3JQcjdIaGxIRXFBMDdMMHc3VzJsMnN1M2Y1aE1VQUVlS3lqQnlCcjJOdkZ0OXRQUE12VUJMRWJiR3VJVmI4N2EycjdZOWo2THJmcV8yNEVnWG90NU5JUjh4RzN6ek5HZmxINkJnd1JZbDNfR2VsNTJRN3lCY1BmY1J3UlBKa1FkZmZQNHJLZ1dBVFpaY0J3VTctamYwY1AxSFh6TGxObUxuZnR5aTcxV01ZMmc9PXxHixMgIoezOeAoBv4fBC7eHYtIrvhSSu_I2XJgVc76RA== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/82.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxtdTk0NmQzLU14OXVVMG5USzNXdnd0azFIcXFfOElxdG94T0tYWU56TzRhNS1qVDdjVFlURjlrdklZZ1BpNldHczg1SkVHSWhzNjlBRnN4dXI4ZkFObml4ZEM5VUdxVkxfSmRHV3dpWjNleVhyUERhYm9OdDZNMkl1TnlXaGRNa2hyaEdxNVptVzlOWEhaWkREM3JnZ3AxSVpRaU0tN1NPMTNraW1LS3hBQjZPaThxM05fUlliekVjWG1VPXwmvTU7eZgs2jKeks78dS_iaI9YAE5euzu6plCXKk2goQ== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/83.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnwwU3BYN3YtbTFrUm0xbUtKWUlidW0xVTJ6Y3Y4U2NLajRtczh4Mk9wUDJVM1RJa3o2T3ZHQm9zaElwMjJKTVp1M0FqYUtKNGplNkw5VHNiZGU4ak9ENVZwRVZ5OFhYTT18HGfGXzhKalF_Nuce6azPPzYwsYHXcq6aWlMSRTGnklw= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/84.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3Mnw0UE9TaHhpRk1TRnVlMDU1Q3c0STV1dHZaX0plb1RhRC1HeVR3V1lITC1HanpLMGl3T1RSXzE1YnBjUzUxT2sxWFp2VWQzSE5wellmai1BUm9nQi0zTy1MdERYWTBBU0lkQ0N5WHBZV19wNS03OVJPeUlRVWpsMnc2bjZfRlFjendVRzdzSm1aaG1TMmFoVEtORkg0aWJfSzlzSEZ5ZFc2amJsb1d4NklYNV90aEt5MDVTcjM2QTRYeTFhZEhoVTlrQlA5NEpNU2gyUTR2TTRUcDJxdk5jZXpIQ1FFSjVkOWI4b2g3RS1vWnRFPXwkqgChSUkX36GJC3EuUK4WURPWCCegxHB8tPv__n5PXw== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/85.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3Mnw2YjRRak5MaEZJcVpnamhkeWRkYWNnbGFSWnZVT01XUVRUY0piWGFhSl82dTRraEFDZEhnOHM1MG9YZnNIMWJBdkpmaUVscjBjTmE2czgxWTc0TDMxR1VlVFRqUERvaFUtSFBNUGVuclVTd3VjaDh0R3l0MTAtWkZ2Z0FBNmhCOHZ2NC00MlhrTVE9PXyKjjYod2keoNkH9xgBYzdhfn92OG0pynAFLXSXosy0Gw== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/86.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnwtZEpLQVA0dU1Ga1ZqaTd4SGJJandmbEFuVllnaXJmTnBPM0xCLW5LM2tvdzZlQ3JfdUlaLVFleUd2ZGZ1Q2tDUG5aNmhtUGpPdW8yVnZiaERDcnU1dHFwUVBjRFp4UDFLaGloX0Q3VkVZU0tESjJ0aGNKdHV3S0JESjNLVTRSd0lLclBtX1hNRFBfaDVKdjczQWtwa1o2M3N3RTd1RE5kSDlxbWRmT2RUQURpX180YTRWNHhQM0k1cjJnN1Y5R19aY3pYTk1tSWtMVWZwdzhUQ2Y4dVlaS0xYbVdrS2Zhdkp5TlNVTzF5M3hSSmp4MXN0LTdFTjhSUnp3X0Vpb21wcko1alZKSWRScDlVb0pWeTJoaDlZNmc0VDFQT0FId0c1WGJLSU41Ung3SlBsNVdld2FZaF9pbUh8m3-4Zy4L5KCxUET1y9iV5cJgt0FTXBulXvO6e_Aeg_c= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/87.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxBQ2R0b01ORnFrZzZIalNBVDlGLW9PXzRCVWVvYWIxWC1KdzJqUGRPMnZ1Q1VSYkNTd3lFV3VPS1VMSHRWWnEyempXVTRLY3NkUTBodWQwZ2p2Sm9RdFlPRzFxMGtqQ0NGWkV6SlB1a0Zkel9rNkRrYUpaOVpBcVF6Q0N1aHlRM3BpRTE4dVU1VWd0dmZ1dkxWXzhPTzNOeDJaeTJOWm5KS3RabWNPZENJRVhiZ3NOUk5KX0dWYkRtdEdaNlNCNy11T3pvWUpUNjBUTDVQdUFJeUZoazQwQlZCc1BYSHYxeWtfUmJKSTFHY2dBeExRa1ZXY2ZWWFlMOURwOGNYLWFKT3dRTUNqdnVPb3d4c0dWYlBRVWhmUmZ3SWlyS3BvQzN2SHJnRndOZnZKbzFUNkVPUGpIQ2RSeWRzSFlYbG5pdVhFbFpYdzA5RnBNdWVTdEh1ajVGdG9KWWFzMD184QvlQbFCVsttDDm-Pf8YvgzUBk51UFvHe1EZXrM-vXY= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/878643f2e5fb1c89d90d7b5c65957914bb7fe2c6-1: -------------------------------------------------------------------------------- 1 | YA= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/88.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxLM2xubFVwSU5qVnJHS1BYWThYZjFtYmcxNmVsLWxzRWR6VC00RkJOVUdUOWpuTzZTM1NIT0xUTXNGWTJpeWFGQjlZMlJabzR4OHJvSnpyVXIzVTBVZU1FcVIzc3pGS0Z6QzhCdnRDTE14dk1DYmhEUkFtOUREYWtQMDkwTW1IMWg4S2FrdEVvajRSbFRHaU9VVlhfZWhxU2ptTUdZdXNZeXVUd3FWZ21YRlhsREM1eWllM3lrWGw1TWN1NUxZcEViZ0ZnLVBNVDVGUTQ1QjAyRG55bUlYbEZad1ZpNkZNeFc0TDRfUmJKV0lUSUFWMDlEVnlLemZsNVl2T1kxYWY5U0pQV0VaRG5oVDlqVFB0U0k2cXlPTkpSVUNfalJndDhrdWJITW51cThPYVZ2RWVXQ0czVEFuUGxVUXVIakRiSUxLaG16OVNJWHBIeVRkUTlBMHc9fEYKEvjdgKBHD3Zn9ScjC71jYwMeS2-zY75xQnmpqCSO -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/89.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxEV2NSaUl0YS1kY2t0YnpWZnRDd3dfM2M5LXE4ZFI5TDhIdUZ1R05PTmlJTHoxMlNJaGxzMFA5dkljRVJRb01zdnBla2ZQZTFZSXdoNUthNzJiZ3JSc18yc0tRTHVJZ2hfZkF0WkUyNXg5OE85TXFGcUFIWWU3dml0bDUxdWpQbFQwQnpPS2NYek5kODZla21XY2Nrb0ljTVdRN2JZaWlGX0pOSUNmMWxzWDA2ZjM5N3RoWnFkSU1BdG5aSFFkcGQteW1ZbUlJV2NUcExtcFdPVC1nRV9neEtuX0VSMExXYXJTN29KZ0R0ZUgyNWU2ZThtVFMyZlNHS19xZHg2Zk5NcVN6bmxTVHNKTm9xa1g2TEVZNjhnNmlrRm9rU2R2S3AwYXBBUFJYMzNKbGs2LUllX01lVkxLRWxWUU44cEtia1U5ZWpPd0NWZFBySWlxeENLSWF3bXd3cFYwR1lwdnJZUURzPXwywZdJd17BJ8hx6xNXtwzgG0iX456897xLcR5CCw15RQ== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/8ed2598d72255e78e1cdecba1a0a3b0cb4e4d8be-1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/bui/eb83a626f07321e7c7fab3868ad42b48a8b1c8e1/vendor/github.com/gorilla/securecookie/fuzz/corpus/8ed2598d72255e78e1cdecba1a0a3b0cb4e4d8be-1 -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/9.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxXQXRMTzdlZUlRaUV2OGl6Z25YSTNtQUlSOFlsT3huQUExRy13dU1SM1l5Z29uOFFQRXg1Y2ZyQ3lHaFBhT3hJcVR5M2ZYdTF6RTlXaWd1Vy1fbE01X3pwbFRVZTdoT1FVUVNnRUJlZmJPT29KbzA3aUYyUUY0V3dJVnZzaWdWc3NBeDNHWXpQX0RwZHxGwb5E3feFV7AMx9UYDiBTrzOgKdxTfYxfFJS1UiMAXg== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/90.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxDUEl5WFB6dUV2ZEtCcy1MdXdaSERPQmgyOEN6Qm5xVUJuNlVFXzExMXpxeTl5amNCN05FRlhjQTkzaXFKOVdxdGptcncxcnNEXzlqV1pndUhVYjRyWV9mY3lUejZNcWJQWmdXaXBZd3hVSHhYMzJkbG9xNUdjWTJUSlJPSURGQUtrblU3YUg2b2UwbWI3TU80TFFSM1ktRkZLNVVaRjJON1pLWk9wbU9jd0NoeDdUZjFHaWFfeHFoNklJcnJ0YkFKZC1nbmVLTmxleXZ1VDlkZWIyZlNjai1CVUFMMzhtLS16SG9RQzdlTDQwazF1LU9UYllzZTRyWEg4X09YanlHZF9meGUyQ0UyLUthbEhMWGFKNVFBZDFfZzY1UWNHWWkzMTU4b3pCVmViXzJYQWFMd0c0UnE0alg3Ukd3enBNT0Z6cDVxaHo3R3c0PXwmpAcnVSB3YHD_PbruU0D3jg7IwrzBa5HtuCyeaCpsmQ== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/91.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxnNHlZNUxHdGlmQUU3T1VZWENOUGZVYWY1SVFPdXBHeDJZZE10amVCeEt3WVZwbktwYlNlNEJGdnk0X2RhRXd3RGlwVGZwNWZYcnJQRkNQQlVhNnlDNmZKa3NSTmRLd2FLZFljdHA4XzU2UEFmdVpDUjdtMzVtRjZfSHd2SDRsX0VnPT18TkfZK1nzBLYcMAQDkHIHtymNL6qBe7qQwUlIO9Znu7Q= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/92.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxXcS1wakRmNGdWRUhKb29EazlmVk1fS2lFUS1EUUt5dTdSeFpPLVQ2ZjIwaDRSeXBuOUJIMHFuSnd2TXREWU5vb2JybWZyNjNvLTQyVFZxN01BM09MZzA4QVhrNnV2bHp5WTZ4dUdDOC1XSDBrNmVxTjV1TzJSSGJVSXg0NFRkSHktZ0dSQmptTVdqSDdQRnFHRzJwalhCaTJjeElpMFp2a2U0dVNHMFBkMDZ5NG9yamhOcldpX2oxVW45d0xmV3VsbFhrTHFiaFZzZTMyVHV5RkFiMG5jRHo5OWFZWlIwc2hBbHl8GdvKOhv93iUO1tB87ROLC5-JCLe2y-R50Z5x_68YvRI= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/93.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxaRm5adFRCT3lweURrUWkyN09ab3M1N2hXcVIwd2QweG03NUNpZWx1a25BQmRVdy1LTnY2QktlVnpwSm9VbGpuRHNJUVdORk1qS2xqZl9FeWlFZWVvZHo3MndjaWN1eGNoT25hVWM4TEtWQnQ3QlNQeEx5R1F0bTFvUEg2a2wtMUFXdk82Z0RUdVUxa3pZekQ1R19XMDROSnlkTnhaZU9HOTh6ZG5UVHBycUNSRXBxVVJUSWZNTnZYRHl4UF96cVk3bFhRTUhlZ1lEVF9CeXY4cmM5QlFQYi1jSTllbHBCUTZ4aENNSjBUZGRQQk5lYTh1S0VzMEVIaFRPMUFxRmxsZVBCX1RxZmFKUERoS0ZxWi1pST18CZk1M1q6UbWa3CHGVtjBOeOMZHoe1hpdzHjAIaQ7cCo= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/94.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3Mnx1ZVNNc1hrMzQ0RmVDTUVpb01EaFlrT1BRdzhUQk9Oa3dIbWpmNE96OXB6X2F5ejVzUWlPdHppSDMxRVhrckhOMVA4MllBOWJTUXozWlFnanFoTDBpN3owc1VXX1FCai1ET29GS1A5Mjc2U2V5c2ZIQmJoUVIzWnNoYnY0TUdVcXU0M0Z4SGdKRHFQeVIzbzY2cXZGTVJBPXy-Le4iGLMrUB76xVGBZW3NOgKwpaYIku26_tyl93OhYA== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/95.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxQbFV1anRTQjZ0LVpjclVjM0JGeGhCTk5YZmx0QUh2QVR2MzMwa1NLVHhmc05hVndEMXU4TVQ1bXRGZ0o0UHE3Wnc3OHkwWVVjTFRfenhvYWZNWTBSMUlSVWxCYmcwNGRtUHA1czRtYjVIVkJBczFCM1RwRXpYTlZaUUFZWk1YZXJKRy1tUWQ0aGJBd0JQeEhWbmhvRTZQaGJtXzBsOVk9fKKCVRkqaBYWfLHjIU-cPjXaAV5uL4nHk2RI5jWj4jd1 -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/96.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxFUnRfR2doNzVNU2k0al8tUjk4ZEV3bEg0TVM0bXFGZGlKSVlLRVc0UWxjOHNiRWtBMWtKWUkyM21iN1Z1ZWtQaHlxYXJPZzRSbTdyZXZVQU1rLTRKZlhzWlVheDZiY1V3X29DSzZaMHFsMzlEeG1hN2xaQmNIWDktVE5tbVBvQVhyX3VLc0F4ZWkyN1FRUVByeTJRSW1VN0QteXJ8_in0ZHSD5jPWPsR4IcjuzTekZ_CGzQKgl3Zu5U0U8HM= -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/97.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnxWZ2p6d3JzUFFQNWpoNUFqakxTemdHaXNQM3pIQ1Z5aXp2bDhyUG10bk5qSVliNUlqRDdMMmp0VGpyeHdFanF4aE1LMzhaWUdUWnJlXzh0dEdRTzRUSWwza0pvYk9uRmZXOXNUclRoZnIwUVVwOTlPUnZUMDk2dDhTNUptZXg3aVhnZU5RVWw2YjhFUUwzNWxFeERpYlJFY01PMU0xcjljSUtMVVhoT1ZGU1RYdHZxRnJvVGJncXVBdUhDbHNUU3N2RnpZSEozVkw2cEJZSVE9fLwwrMqXB6g0r9yOzqZcTuiAc2OFEuK7AxEdTJGPoBgU -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/98.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3Mnx4WWZPcGdmeUE4LUZFX1pMMDBvdm1Gb1BobUtvVmpGdXVSUXJVZXJtZmtGbVJuRmtWOGI2dF90akdPbkNNam5IamtON3RDeU5yRUF0aGtuTDFRNlEtel91VEpYR281OEZVSXJjWEhoZ1dSX0hzTUNrV0hVZDlIbmxsLVNJWVk4aWJIM0p3OGc9fKEguloAVNTKMZbroD0NCrbjtVCLZt8rWBTnUYIX04Wh -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/99.sc: -------------------------------------------------------------------------------- 1 | MTQzOTkyMzI3MnwyemlkdjBTNVZrQ2Znd3ZpT2JkV19lSzAydHI2aDVUaGNTUGtSdGFLdlh0LU9DZ1Rlb3phWlludUw2RUswWUtfSzE0ckJXSlQ0WDBuYnExT2dtNlhhcFE4OEFiZTN2c1IySHdHWTNTQ0lZTlExZWp0MXhZUG5LNkozVWRORENpdmpUMk5ld2xtMURRVm5oa21Zck5OVFRWRXgtRlc3NFFzZk1pUHZGQkF3TW5nZHpiMS1tXzNiZUlpeFFwWk10S2l2bnVuV0NyR2Q5T0RtYzRDVDZva09aUjZCeW1Kd1lLNldiSWU5Y3ZzZVh0RUhLNFVVWXZSV0ZLYkdjcnJFV3VmVC1ESmktSy1ORlUyYW1uQmhGN2pKamhtRWFoNmd3R3dDVmEtUERxYTgtY2l0cmhVZ3BCYXpvdmpuNVQzMVRYdEkwMG1LVDRnbWpnWWpsZXFhUDdSZ2lmbHlrcXhzYUZPfP5o9bNi5YI5P5tq0ZQupy5n1-kqBqOl19ZMmTcZBCVN -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/9e34c6aae8f2c610f838fed4a5bab0da097c5135-2: -------------------------------------------------------------------------------- 1 | T 2 | 3 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/9eecb7ef73e5211948391dfc0c2d586e3822b028-1: -------------------------------------------------------------------------------- 1 | MnxBPXy- -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/adc83b19e793491b1c6ea0fd8b46cd9f32e592fc-2: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/ae3eb68089a89eb0a707c1de4b60edfeb6efc6e0-4: -------------------------------------------------------------------------------- 1 | J 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/bf3f814c978c0fc01c46c8d5b337b024697186cc-7: -------------------------------------------------------------------------------- 1 | = -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/c63ae6dd4fc9f9dda66970e827d13f7c73fe841c-1: -------------------------------------------------------------------------------- 1 | M -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/cebedf21435b903c4013fb902fb5b753e40a100e-8: -------------------------------------------------------------------------------- 1 | 1Q== 2 | 3 | 4 | 5 | = -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/da39a3ee5e6b4b0d3255bfef95601890afd80709-1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/bui/eb83a626f07321e7c7fab3868ad42b48a8b1c8e1/vendor/github.com/gorilla/securecookie/fuzz/corpus/da39a3ee5e6b4b0d3255bfef95601890afd80709-1 -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/da5f06015af7bb09d3e421d086939d888f93271c-3: -------------------------------------------------------------------------------- 1 | T 2 | 3 | 4 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/df60b2ac6f14afbf990d366fa820ee4906f1436e-2: -------------------------------------------------------------------------------- 1 | 8Q== 2 | : -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/ec54cdb4f33539c9b852b89ebcc67b4ec31a2b01-5: -------------------------------------------------------------------------------- 1 | J 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/ec80b4b6f256eb0f29955c2bc000931d3b766c57-6: -------------------------------------------------------------------------------- 1 | = -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/f2c59710b18847b10176f19fb0426cb597bafef0-9: -------------------------------------------------------------------------------- 1 | 1Q== 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | = -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/f4de882915d90ead3b18371ab004abb24b3cd320-3: -------------------------------------------------------------------------------- 1 | 8Q== 2 | 3 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/f82d23aaf2be2cfc7aa8e323922208cdfce8d35a-3: -------------------------------------------------------------------------------- 1 | 2 |  -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz/corpus/fa0f4cd7fee9eb65ebb95a3dc88b6fa198a2c986-1: -------------------------------------------------------------------------------- 1 | hYA== -------------------------------------------------------------------------------- /vendor/github.com/gorilla/sessions/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | 4 | matrix: 5 | include: 6 | - go: 1.3 7 | - go: 1.4 8 | - go: 1.5 9 | - go: 1.6 10 | - go: 1.7 11 | - go: tip 12 | allow_failures: 13 | - go: tip 14 | 15 | install: 16 | - # skip 17 | 18 | script: 19 | - go get -t -v ./... 20 | - diff -u <(echo -n) <(gofmt -d .) 21 | - go vet $(go list ./... | grep -v /vendor/) 22 | - go test -v -race ./... 23 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/.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 | .idea/ 25 | *.iml -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/.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: 1.7 10 | - go: tip 11 | allow_failures: 12 | - go: tip 13 | 14 | script: 15 | - go get -t -v ./... 16 | - diff -u <(echo -n) <(gofmt -d .) 17 | - go vet $(go list ./... | grep -v /vendor/) 18 | - go test -v -race ./... 19 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/AUTHORS: -------------------------------------------------------------------------------- 1 | # This is the official list of Gorilla WebSocket authors for copyright 2 | # purposes. 3 | # 4 | # Please keep the list sorted. 5 | 6 | Gary Burd 7 | Joachim Bauch 8 | 9 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/compression_test.go: -------------------------------------------------------------------------------- 1 | package websocket 2 | 3 | import ( 4 | "bytes" 5 | "io" 6 | "testing" 7 | ) 8 | 9 | type nopCloser struct{ io.Writer } 10 | 11 | func (nopCloser) Close() error { return nil } 12 | 13 | func TestTruncWriter(t *testing.T) { 14 | const data = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijlkmnopqrstuvwxyz987654321" 15 | for n := 1; n <= 10; n++ { 16 | var b bytes.Buffer 17 | w := &truncWriter{w: nopCloser{&b}} 18 | p := []byte(data) 19 | for len(p) > 0 { 20 | m := len(p) 21 | if m > n { 22 | m = n 23 | } 24 | w.Write(p[:m]) 25 | p = p[m:] 26 | } 27 | if b.String() != data[:len(data)-len(w.p)] { 28 | t.Errorf("%d: %q", n, b.String()) 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/conn_read.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Gorilla WebSocket 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.5 6 | 7 | package websocket 8 | 9 | import "io" 10 | 11 | func (c *Conn) read(n int) ([]byte, error) { 12 | p, err := c.br.Peek(n) 13 | if err == io.EOF { 14 | err = errUnexpectedEOF 15 | } 16 | c.br.Discard(len(p)) 17 | return p, err 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/conn_read_legacy.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Gorilla WebSocket 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.5 6 | 7 | package websocket 8 | 9 | import "io" 10 | 11 | func (c *Conn) read(n int) ([]byte, error) { 12 | p, err := c.br.Peek(n) 13 | if err == io.EOF { 14 | err = errUnexpectedEOF 15 | } 16 | if len(p) > 0 { 17 | // advance over the bytes just read 18 | io.ReadFull(c.br, p) 19 | } 20 | return p, err 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/examples/autobahn/README.md: -------------------------------------------------------------------------------- 1 | # Test Server 2 | 3 | This package contains a server for the [Autobahn WebSockets Test Suite](http://autobahn.ws/testsuite). 4 | 5 | To test the server, run 6 | 7 | go run server.go 8 | 9 | and start the client test driver 10 | 11 | wstest -m fuzzingclient -s fuzzingclient.json 12 | 13 | When the client completes, it writes a report to reports/clients/index.html. 14 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/examples/autobahn/fuzzingclient.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "options": {"failByDrop": false}, 4 | "outdir": "./reports/clients", 5 | "servers": [ 6 | {"agent": "ReadAllWriteMessage", "url": "ws://localhost:9000/m", "options": {"version": 18}}, 7 | {"agent": "ReadAllWrite", "url": "ws://localhost:9000/r", "options": {"version": 18}}, 8 | {"agent": "CopyFull", "url": "ws://localhost:9000/f", "options": {"version": 18}}, 9 | {"agent": "CopyWriterOnly", "url": "ws://localhost:9000/c", "options": {"version": 18}} 10 | ], 11 | "cases": ["*"], 12 | "exclude-cases": [], 13 | "exclude-agent-cases": {} 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/examples/command/README.md: -------------------------------------------------------------------------------- 1 | # Command example 2 | 3 | This example connects a websocket connection to stdin and stdout of a command. 4 | Received messages are written to stdin followed by a `\n`. Each line read from 5 | standard out is sent as a message to the client. 6 | 7 | $ go get github.com/gorilla/websocket 8 | $ cd `go list -f '{{.Dir}}' github.com/gorilla/websocket/examples/command` 9 | $ go run main.go 10 | # Open http://localhost:8080/ . 11 | 12 | Try the following commands. 13 | 14 | # Echo sent messages to the output area. 15 | $ go run main.go cat 16 | 17 | # Run a shell.Try sending "ls" and "cat main.go". 18 | $ go run main.go sh 19 | 20 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/examples/echo/README.md: -------------------------------------------------------------------------------- 1 | # Client and server example 2 | 3 | This example shows a simple client and server. 4 | 5 | The server echoes messages sent to it. The client sends a message every second 6 | and prints all messages received. 7 | 8 | To run the example, start the server: 9 | 10 | $ go run server.go 11 | 12 | Next, start the client: 13 | 14 | $ go run client.go 15 | 16 | The server includes a simple web client. To use the client, open 17 | http://127.0.0.1:8080 in the browser and follow the instructions on the page. 18 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/examples/filewatch/README.md: -------------------------------------------------------------------------------- 1 | # File Watch example. 2 | 3 | This example sends a file to the browser client for display whenever the file is modified. 4 | 5 | $ go get github.com/gorilla/websocket 6 | $ cd `go list -f '{{.Dir}}' github.com/gorilla/websocket/examples/filewatch` 7 | $ go run main.go 8 | # Open http://localhost:8080/ . 9 | # Modify the file to see it update in the browser. 10 | -------------------------------------------------------------------------------- /vendor/github.com/kardianos/osext/README.md: -------------------------------------------------------------------------------- 1 | ### Extensions to the "os" package. 2 | 3 | [![GoDoc](https://godoc.org/github.com/kardianos/osext?status.svg)](https://godoc.org/github.com/kardianos/osext) 4 | 5 | ## Find the current Executable and ExecutableFolder. 6 | 7 | There is sometimes utility in finding the current executable file 8 | that is running. This can be used for upgrading the current executable 9 | or finding resources located relative to the executable file. Both 10 | working directory and the os.Args[0] value are arbitrary and cannot 11 | be relied on; os.Args[0] can be "faked". 12 | 13 | Multi-platform and supports: 14 | * Linux 15 | * OS X 16 | * Windows 17 | * Plan 9 18 | * BSDs. 19 | -------------------------------------------------------------------------------- /vendor/github.com/kardianos/osext/osext_plan9.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 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 | package osext 6 | 7 | import ( 8 | "os" 9 | "strconv" 10 | "syscall" 11 | ) 12 | 13 | func executable() (string, error) { 14 | f, err := os.Open("/proc/" + strconv.Itoa(os.Getpid()) + "/text") 15 | if err != nil { 16 | return "", err 17 | } 18 | defer f.Close() 19 | return syscall.Fd2path(int(f.Fd())) 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/kardianos/osext/osext_windows.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 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 | package osext 6 | 7 | import ( 8 | "syscall" 9 | "unicode/utf16" 10 | "unsafe" 11 | ) 12 | 13 | var ( 14 | kernel = syscall.MustLoadDLL("kernel32.dll") 15 | getModuleFileNameProc = kernel.MustFindProc("GetModuleFileNameW") 16 | ) 17 | 18 | // GetModuleFileName() with hModule = NULL 19 | func executable() (exePath string, err error) { 20 | return getModuleFileName() 21 | } 22 | 23 | func getModuleFileName() (string, error) { 24 | var n uint32 25 | b := make([]uint16, syscall.MAX_PATH) 26 | size := uint32(len(b)) 27 | 28 | r0, _, e1 := getModuleFileNameProc.Call(0, uintptr(unsafe.Pointer(&b[0])), uintptr(size)) 29 | n = uint32(r0) 30 | if n == 0 { 31 | return "", e1 32 | } 33 | return string(utf16.Decode(b[0:n])), nil 34 | } 35 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pty/.gitignore: -------------------------------------------------------------------------------- 1 | [568].out 2 | _go* 3 | _test* 4 | _obj 5 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pty/README.md: -------------------------------------------------------------------------------- 1 | # pty 2 | 3 | Pty is a Go package for using unix pseudo-terminals. 4 | 5 | ## Install 6 | 7 | go get github.com/kr/pty 8 | 9 | ## Example 10 | 11 | ```go 12 | package main 13 | 14 | import ( 15 | "github.com/kr/pty" 16 | "io" 17 | "os" 18 | "os/exec" 19 | ) 20 | 21 | func main() { 22 | c := exec.Command("grep", "--color=auto", "bar") 23 | f, err := pty.Start(c) 24 | if err != nil { 25 | panic(err) 26 | } 27 | 28 | go func() { 29 | f.Write([]byte("foo\n")) 30 | f.Write([]byte("bar\n")) 31 | f.Write([]byte("baz\n")) 32 | f.Write([]byte{4}) // EOT 33 | }() 34 | io.Copy(os.Stdout, f) 35 | } 36 | ``` 37 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pty/doc.go: -------------------------------------------------------------------------------- 1 | // Package pty provides functions for working with Unix terminals. 2 | package pty 3 | 4 | import ( 5 | "errors" 6 | "os" 7 | ) 8 | 9 | // ErrUnsupported is returned if a function is not 10 | // available on the current platform. 11 | var ErrUnsupported = errors.New("unsupported") 12 | 13 | // Opens a pty and its corresponding tty. 14 | func Open() (pty, tty *os.File, err error) { 15 | return open() 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pty/ioctl.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package pty 4 | 5 | import "syscall" 6 | 7 | func ioctl(fd, cmd, ptr uintptr) error { 8 | _, _, e := syscall.Syscall(syscall.SYS_IOCTL, fd, cmd, ptr) 9 | if e != 0 { 10 | return e 11 | } 12 | return nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pty/mktypes.bash: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | GOOSARCH="${GOOS}_${GOARCH}" 4 | case "$GOOSARCH" in 5 | _* | *_ | _) 6 | echo 'undefined $GOOS_$GOARCH:' "$GOOSARCH" 1>&2 7 | exit 1 8 | ;; 9 | esac 10 | 11 | GODEFS="go tool cgo -godefs" 12 | 13 | $GODEFS types.go |gofmt > ztypes_$GOARCH.go 14 | 15 | case $GOOS in 16 | freebsd|dragonfly) 17 | $GODEFS types_$GOOS.go |gofmt > ztypes_$GOOSARCH.go 18 | ;; 19 | esac 20 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pty/pty_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!darwin,!freebsd,!dragonfly 2 | 3 | package pty 4 | 5 | import ( 6 | "os" 7 | ) 8 | 9 | func open() (pty, tty *os.File, err error) { 10 | return nil, nil, ErrUnsupported 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pty/run.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package pty 4 | 5 | import ( 6 | "os" 7 | "os/exec" 8 | "syscall" 9 | ) 10 | 11 | // Start assigns a pseudo-terminal tty os.File to c.Stdin, c.Stdout, 12 | // and c.Stderr, calls c.Start, and returns the File of the tty's 13 | // corresponding pty. 14 | func Start(c *exec.Cmd) (pty *os.File, err error) { 15 | pty, tty, err := Open() 16 | if err != nil { 17 | return nil, err 18 | } 19 | defer tty.Close() 20 | c.Stdout = tty 21 | c.Stdin = tty 22 | c.Stderr = tty 23 | if c.SysProcAttr == nil { 24 | c.SysProcAttr = &syscall.SysProcAttr{} 25 | } 26 | c.SysProcAttr.Setctty = true 27 | c.SysProcAttr.Setsid = true 28 | err = c.Start() 29 | if err != nil { 30 | pty.Close() 31 | return nil, err 32 | } 33 | return pty, err 34 | } 35 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pty/types.go: -------------------------------------------------------------------------------- 1 | // +build ignore 2 | 3 | package pty 4 | 5 | import "C" 6 | 7 | type ( 8 | _C_int C.int 9 | _C_uint C.uint 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pty/types_dragonfly.go: -------------------------------------------------------------------------------- 1 | // +build ignore 2 | 3 | package pty 4 | 5 | /* 6 | #define _KERNEL 7 | #include 8 | #include 9 | #include 10 | */ 11 | import "C" 12 | 13 | const ( 14 | _C_SPECNAMELEN = C.SPECNAMELEN /* max length of devicename */ 15 | ) 16 | 17 | type fiodgnameArg C.struct_fiodname_args 18 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pty/types_freebsd.go: -------------------------------------------------------------------------------- 1 | // +build ignore 2 | 3 | package pty 4 | 5 | /* 6 | #include 7 | #include 8 | */ 9 | import "C" 10 | 11 | const ( 12 | _C_SPECNAMELEN = C.SPECNAMELEN /* max length of devicename */ 13 | ) 14 | 15 | type fiodgnameArg C.struct_fiodgname_arg 16 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pty/util.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package pty 4 | 5 | import ( 6 | "os" 7 | "syscall" 8 | "unsafe" 9 | ) 10 | 11 | // Getsize returns the number of rows (lines) and cols (positions 12 | // in each line) in terminal t. 13 | func Getsize(t *os.File) (rows, cols int, err error) { 14 | var ws winsize 15 | err = windowrect(&ws, t.Fd()) 16 | return int(ws.ws_row), int(ws.ws_col), err 17 | } 18 | 19 | type winsize struct { 20 | ws_row uint16 21 | ws_col uint16 22 | ws_xpixel uint16 23 | ws_ypixel uint16 24 | } 25 | 26 | func windowrect(ws *winsize, fd uintptr) error { 27 | _, _, errno := syscall.Syscall( 28 | syscall.SYS_IOCTL, 29 | fd, 30 | syscall.TIOCGWINSZ, 31 | uintptr(unsafe.Pointer(ws)), 32 | ) 33 | if errno != 0 { 34 | return syscall.Errno(errno) 35 | } 36 | return nil 37 | } 38 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pty/ztypes_386.go: -------------------------------------------------------------------------------- 1 | // Created by cgo -godefs - DO NOT EDIT 2 | // cgo -godefs types.go 3 | 4 | package pty 5 | 6 | type ( 7 | _C_int int32 8 | _C_uint uint32 9 | ) 10 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pty/ztypes_amd64.go: -------------------------------------------------------------------------------- 1 | // Created by cgo -godefs - DO NOT EDIT 2 | // cgo -godefs types.go 3 | 4 | package pty 5 | 6 | type ( 7 | _C_int int32 8 | _C_uint uint32 9 | ) 10 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pty/ztypes_arm.go: -------------------------------------------------------------------------------- 1 | // Created by cgo -godefs - DO NOT EDIT 2 | // cgo -godefs types.go 3 | 4 | package pty 5 | 6 | type ( 7 | _C_int int32 8 | _C_uint uint32 9 | ) 10 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pty/ztypes_arm64.go: -------------------------------------------------------------------------------- 1 | // Created by cgo -godefs - DO NOT EDIT 2 | // cgo -godefs types.go 3 | 4 | // +build arm64 5 | 6 | package pty 7 | 8 | type ( 9 | _C_int int32 10 | _C_uint uint32 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pty/ztypes_dragonfly_amd64.go: -------------------------------------------------------------------------------- 1 | // Created by cgo -godefs - DO NOT EDIT 2 | // cgo -godefs types_dragonfly.go 3 | 4 | package pty 5 | 6 | const ( 7 | _C_SPECNAMELEN = 0x3f 8 | ) 9 | 10 | type fiodgnameArg struct { 11 | Name *byte 12 | Len uint32 13 | Pad_cgo_0 [4]byte 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pty/ztypes_freebsd_386.go: -------------------------------------------------------------------------------- 1 | // Created by cgo -godefs - DO NOT EDIT 2 | // cgo -godefs types_freebsd.go 3 | 4 | package pty 5 | 6 | const ( 7 | _C_SPECNAMELEN = 0x3f 8 | ) 9 | 10 | type fiodgnameArg struct { 11 | Len int32 12 | Buf *byte 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pty/ztypes_freebsd_amd64.go: -------------------------------------------------------------------------------- 1 | // Created by cgo -godefs - DO NOT EDIT 2 | // cgo -godefs types_freebsd.go 3 | 4 | package pty 5 | 6 | const ( 7 | _C_SPECNAMELEN = 0x3f 8 | ) 9 | 10 | type fiodgnameArg struct { 11 | Len int32 12 | Pad_cgo_0 [4]byte 13 | Buf *byte 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pty/ztypes_freebsd_arm.go: -------------------------------------------------------------------------------- 1 | // Created by cgo -godefs - DO NOT EDIT 2 | // cgo -godefs types_freebsd.go 3 | 4 | package pty 5 | 6 | const ( 7 | _C_SPECNAMELEN = 0x3f 8 | ) 9 | 10 | type fiodgnameArg struct { 11 | Len int32 12 | Buf *byte 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pty/ztypes_ppc64.go: -------------------------------------------------------------------------------- 1 | // +build ppc64 2 | 3 | // Created by cgo -godefs - DO NOT EDIT 4 | // cgo -godefs types.go 5 | 6 | package pty 7 | 8 | type ( 9 | _C_int int32 10 | _C_uint uint32 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pty/ztypes_ppc64le.go: -------------------------------------------------------------------------------- 1 | // +build ppc64le 2 | 3 | // Created by cgo -godefs - DO NOT EDIT 4 | // cgo -godefs types.go 5 | 6 | package pty 7 | 8 | type ( 9 | _C_int int32 10 | _C_uint uint32 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pty/ztypes_s390x.go: -------------------------------------------------------------------------------- 1 | // +build s390x 2 | 3 | // Created by cgo -godefs - DO NOT EDIT 4 | // cgo -godefs types.go 5 | 6 | package pty 7 | 8 | type ( 9 | _C_int int32 10 | _C_uint uint32 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/github.com/martini-contrib/render/fixtures/basic/admin/index.tmpl: -------------------------------------------------------------------------------- 1 |

Admin {{.}}

2 | -------------------------------------------------------------------------------- /vendor/github.com/martini-contrib/render/fixtures/basic/another_layout.tmpl: -------------------------------------------------------------------------------- 1 | another head 2 | {{ yield }} 3 | another foot 4 | -------------------------------------------------------------------------------- /vendor/github.com/martini-contrib/render/fixtures/basic/content.tmpl: -------------------------------------------------------------------------------- 1 |

{{ . }}

2 | -------------------------------------------------------------------------------- /vendor/github.com/martini-contrib/render/fixtures/basic/current_layout.tmpl: -------------------------------------------------------------------------------- 1 | {{ current }} head 2 | {{ yield }} 3 | {{ current }} foot 4 | -------------------------------------------------------------------------------- /vendor/github.com/martini-contrib/render/fixtures/basic/delims.tmpl: -------------------------------------------------------------------------------- 1 |

Hello {[{.}]}

-------------------------------------------------------------------------------- /vendor/github.com/martini-contrib/render/fixtures/basic/hello.tmpl: -------------------------------------------------------------------------------- 1 |

Hello {{.}}

2 | -------------------------------------------------------------------------------- /vendor/github.com/martini-contrib/render/fixtures/basic/hypertext.html: -------------------------------------------------------------------------------- 1 | Hypertext! 2 | -------------------------------------------------------------------------------- /vendor/github.com/martini-contrib/render/fixtures/basic/layout.tmpl: -------------------------------------------------------------------------------- 1 | head 2 | {{ yield }} 3 | foot 4 | -------------------------------------------------------------------------------- /vendor/github.com/martini-contrib/render/fixtures/custom_funcs/index.tmpl: -------------------------------------------------------------------------------- 1 | {{ myCustomFunc }} 2 | -------------------------------------------------------------------------------- /vendor/github.com/martini-contrib/render/wercker.yml: -------------------------------------------------------------------------------- 1 | box: wercker/golang@1.1.1 -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | TODO 3 | tmp/**/* 4 | *.coverprofile -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.3 4 | - 1.4 5 | - tip 6 | 7 | install: 8 | - go get -v ./... 9 | - go get golang.org/x/tools/cmd/cover 10 | - go get github.com/onsi/gomega 11 | - go install github.com/onsi/ginkgo/ginkgo 12 | - export PATH=$PATH:$HOME/gopath/bin 13 | 14 | script: $HOME/gopath/bin/ginkgo -r --randomizeAllSpecs --failOnPending --randomizeSuites --race 15 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/ginkgo/help_command.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "flag" 5 | "fmt" 6 | ) 7 | 8 | func BuildHelpCommand() *Command { 9 | return &Command{ 10 | Name: "help", 11 | FlagSet: flag.NewFlagSet("help", flag.ExitOnError), 12 | UsageCommand: "ginkgo help ", 13 | Usage: []string{ 14 | "Print usage information. If a command is passed in, print usage information just for that command.", 15 | }, 16 | Command: printHelp, 17 | } 18 | } 19 | 20 | func printHelp(args []string, additionalArgs []string) { 21 | if len(args) == 0 { 22 | usage() 23 | } else { 24 | command, found := commandMatching(args[0]) 25 | if !found { 26 | complainAndQuit(fmt.Sprintf("Unknown command: %s", args[0])) 27 | } 28 | 29 | usageForCommand(command, true) 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/ginkgo/interrupthandler/sigquit_swallower_unix.go: -------------------------------------------------------------------------------- 1 | // +build freebsd openbsd netbsd dragonfly darwin linux 2 | 3 | package interrupthandler 4 | 5 | import ( 6 | "os" 7 | "os/signal" 8 | "syscall" 9 | ) 10 | 11 | func SwallowSigQuit() { 12 | c := make(chan os.Signal, 1024) 13 | signal.Notify(c, syscall.SIGQUIT) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/ginkgo/interrupthandler/sigquit_swallower_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package interrupthandler 4 | 5 | func SwallowSigQuit() { 6 | //noop 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/ginkgo/testrunner/run_result.go: -------------------------------------------------------------------------------- 1 | package testrunner 2 | 3 | type RunResult struct { 4 | Passed bool 5 | HasProgrammaticFocus bool 6 | } 7 | 8 | func PassingRunResult() RunResult { 9 | return RunResult{ 10 | Passed: true, 11 | HasProgrammaticFocus: false, 12 | } 13 | } 14 | 15 | func FailingRunResult() RunResult { 16 | return RunResult{ 17 | Passed: false, 18 | HasProgrammaticFocus: false, 19 | } 20 | } 21 | 22 | func (r RunResult) Merge(o RunResult) RunResult { 23 | return RunResult{ 24 | Passed: r.Passed && o.Passed, 25 | HasProgrammaticFocus: r.HasProgrammaticFocus || o.HasProgrammaticFocus, 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/ginkgo/testsuite/testsuite_suite_test.go: -------------------------------------------------------------------------------- 1 | package testsuite_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestTestsuite(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Testsuite Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/ginkgo/unfocus_command.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "flag" 5 | "fmt" 6 | "os/exec" 7 | ) 8 | 9 | func BuildUnfocusCommand() *Command { 10 | return &Command{ 11 | Name: "unfocus", 12 | AltName: "blur", 13 | FlagSet: flag.NewFlagSet("unfocus", flag.ExitOnError), 14 | UsageCommand: "ginkgo unfocus (or ginkgo blur)", 15 | Usage: []string{ 16 | "Recursively unfocuses any focused tests under the current directory", 17 | }, 18 | Command: unfocusSpecs, 19 | } 20 | } 21 | 22 | func unfocusSpecs([]string, []string) { 23 | unfocus("Describe") 24 | unfocus("Context") 25 | unfocus("It") 26 | unfocus("Measure") 27 | } 28 | 29 | func unfocus(component string) { 30 | fmt.Printf("Removing F%s...\n", component) 31 | cmd := exec.Command("gofmt", fmt.Sprintf("-r=F%s -> %s", component, component), "-w", ".") 32 | out, _ := cmd.CombinedOutput() 33 | if string(out) != "" { 34 | println(string(out)) 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/ginkgo/version_command.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "flag" 5 | "fmt" 6 | "github.com/onsi/ginkgo/config" 7 | ) 8 | 9 | func BuildVersionCommand() *Command { 10 | return &Command{ 11 | Name: "version", 12 | FlagSet: flag.NewFlagSet("version", flag.ExitOnError), 13 | UsageCommand: "ginkgo version", 14 | Usage: []string{ 15 | "Print Ginkgo's version", 16 | }, 17 | Command: printVersion, 18 | } 19 | } 20 | 21 | func printVersion([]string, []string) { 22 | fmt.Printf("Ginkgo Version %s\n", config.VERSION) 23 | } 24 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/ginkgo/watch/delta.go: -------------------------------------------------------------------------------- 1 | package watch 2 | 3 | import "sort" 4 | 5 | type Delta struct { 6 | ModifiedPackages []string 7 | 8 | NewSuites []*Suite 9 | RemovedSuites []*Suite 10 | modifiedSuites []*Suite 11 | } 12 | 13 | type DescendingByDelta []*Suite 14 | 15 | func (a DescendingByDelta) Len() int { return len(a) } 16 | func (a DescendingByDelta) Swap(i, j int) { a[i], a[j] = a[j], a[i] } 17 | func (a DescendingByDelta) Less(i, j int) bool { return a[i].Delta() > a[j].Delta() } 18 | 19 | func (d Delta) ModifiedSuites() []*Suite { 20 | sort.Sort(DescendingByDelta(d.modifiedSuites)) 21 | return d.modifiedSuites 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_fixtures/extra_functions_test.go: -------------------------------------------------------------------------------- 1 | package tmp 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | func TestSomethingLessImportant(t *testing.T) { 8 | strp := "hello!" 9 | somethingImportant(t, &strp) 10 | } 11 | 12 | func somethingImportant(t *testing.T, message *string) { 13 | t.Log("Something important happened in a test: " + *message) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_fixtures/nested/nested_test.go: -------------------------------------------------------------------------------- 1 | package nested 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | func TestSomethingLessImportant(t *testing.T) { 8 | whatever := &UselessStruct{} 9 | t.Fail(whatever.ImportantField != "SECRET_PASSWORD") 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_fixtures/nested_without_gofiles/subpackage/nested_subpackage_test.go: -------------------------------------------------------------------------------- 1 | package subpackage 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | func TestNestedSubPackages(t *testing.T) { 8 | t.Fail(true) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_fixtures/outside_package_test.go: -------------------------------------------------------------------------------- 1 | package tmp_test 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | type UselessStruct struct { 8 | ImportantField string 9 | } 10 | 11 | func TestSomethingImportant(t *testing.T) { 12 | whatever := &UselessStruct{} 13 | if whatever.ImportantField != "SECRET_PASSWORD" { 14 | t.Fail() 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_goldmasters/extra_functions_test.go: -------------------------------------------------------------------------------- 1 | package tmp 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | ) 6 | 7 | var _ = Describe("Testing with Ginkgo", func() { 8 | It("something less important", func() { 9 | 10 | strp := "hello!" 11 | somethingImportant(GinkgoT(), &strp) 12 | }) 13 | }) 14 | 15 | func somethingImportant(t GinkgoTInterface, message *string) { 16 | t.Log("Something important happened in a test: " + *message) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_goldmasters/fixtures_suite_test.go: -------------------------------------------------------------------------------- 1 | package tmp 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestTmp(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Tmp Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_goldmasters/nested_subpackage_test.go: -------------------------------------------------------------------------------- 1 | package subpackage 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | ) 6 | 7 | var _ = Describe("Testing with Ginkgo", func() { 8 | It("nested sub packages", func() { 9 | GinkgoT().Fail(true) 10 | }) 11 | }) 12 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_goldmasters/nested_suite_test.go: -------------------------------------------------------------------------------- 1 | package nested_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestNested(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Nested Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_goldmasters/nested_test.go: -------------------------------------------------------------------------------- 1 | package nested 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | ) 6 | 7 | var _ = Describe("Testing with Ginkgo", func() { 8 | It("something less important", func() { 9 | 10 | whatever := &UselessStruct{} 11 | GinkgoT().Fail(whatever.ImportantField != "SECRET_PASSWORD") 12 | }) 13 | }) 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_goldmasters/outside_package_test.go: -------------------------------------------------------------------------------- 1 | package tmp_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | ) 6 | 7 | var _ = Describe("Testing with Ginkgo", func() { 8 | It("something important", func() { 9 | 10 | whatever := &UselessStruct{} 11 | if whatever.ImportantField != "SECRET_PASSWORD" { 12 | GinkgoT().Fail() 13 | } 14 | }) 15 | }) 16 | 17 | type UselessStruct struct { 18 | ImportantField string 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_goldmasters/suite_test.go: -------------------------------------------------------------------------------- 1 | package tmp_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestConvertFixtures(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "ConvertFixtures Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/coverage_fixture/coverage.go: -------------------------------------------------------------------------------- 1 | package coverage_fixture 2 | 3 | func A() string { 4 | return "A" 5 | } 6 | 7 | func B() string { 8 | return "B" 9 | } 10 | 11 | func C() string { 12 | return "C" 13 | } 14 | 15 | func D() string { 16 | return "D" 17 | } 18 | 19 | func E() string { 20 | return "untested" 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/coverage_fixture/coverage_fixture_suite_test.go: -------------------------------------------------------------------------------- 1 | package coverage_fixture_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestCoverageFixture(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "CoverageFixture Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/coverage_fixture/coverage_fixture_test.go: -------------------------------------------------------------------------------- 1 | package coverage_fixture_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo/integration/_fixtures/coverage_fixture" 5 | . "github.com/onsi/ginkgo/integration/_fixtures/coverage_fixture/external_coverage_fixture" 6 | 7 | . "github.com/onsi/ginkgo" 8 | . "github.com/onsi/gomega" 9 | ) 10 | 11 | var _ = Describe("CoverageFixture", func() { 12 | It("should test A", func() { 13 | Ω(A()).Should(Equal("A")) 14 | }) 15 | 16 | It("should test B", func() { 17 | Ω(B()).Should(Equal("B")) 18 | }) 19 | 20 | It("should test C", func() { 21 | Ω(C()).Should(Equal("C")) 22 | }) 23 | 24 | It("should test D", func() { 25 | Ω(D()).Should(Equal("D")) 26 | }) 27 | 28 | It("should test external package", func() { 29 | Ω(Tested()).Should(Equal("tested")) 30 | }) 31 | }) 32 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/coverage_fixture/external_coverage_fixture/external_coverage.go: -------------------------------------------------------------------------------- 1 | package external_coverage 2 | 3 | func Tested() string { 4 | return "tested" 5 | } 6 | 7 | func Untested() string { 8 | return "untested" 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/does_not_compile/does_not_compile_suite_test.go: -------------------------------------------------------------------------------- 1 | package does_not_compile_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestDoes_not_compile(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Does_not_compile Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/does_not_compile/does_not_compile_test.go: -------------------------------------------------------------------------------- 1 | package does_not_compile_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/ginkgo/integration/_fixtures/does_not_compile" 6 | . "github.com/onsi/gomega" 7 | ) 8 | 9 | var _ = Describe("DoesNotCompile", func() { 10 | 11 | }) 12 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/eventually_failing/eventually_failing_suite_test.go: -------------------------------------------------------------------------------- 1 | package eventually_failing_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestEventuallyFailing(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "EventuallyFailing Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/eventually_failing/eventually_failing_test.go: -------------------------------------------------------------------------------- 1 | package eventually_failing_test 2 | 3 | import ( 4 | "fmt" 5 | "io/ioutil" 6 | "strings" 7 | "time" 8 | 9 | . "github.com/onsi/ginkgo" 10 | . "github.com/onsi/gomega" 11 | ) 12 | 13 | var _ = Describe("EventuallyFailing", func() { 14 | It("should fail on the third try", func() { 15 | time.Sleep(time.Second) 16 | files, err := ioutil.ReadDir(".") 17 | Ω(err).ShouldNot(HaveOccurred()) 18 | 19 | numRuns := 1 20 | for _, file := range files { 21 | if strings.HasPrefix(file.Name(), "counter") { 22 | numRuns++ 23 | } 24 | } 25 | 26 | Ω(numRuns).Should(BeNumerically("<", 3)) 27 | ioutil.WriteFile(fmt.Sprintf("./counter-%d", numRuns), []byte("foo"), 0777) 28 | }) 29 | }) 30 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/exiting_synchronized_setup_tests/exiting_synchronized_setup_tests_suite_test.go: -------------------------------------------------------------------------------- 1 | package synchronized_setup_tests_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "fmt" 8 | "os" 9 | "testing" 10 | ) 11 | 12 | func TestSynchronized_setup_tests(t *testing.T) { 13 | RegisterFailHandler(Fail) 14 | RunSpecs(t, "Synchronized_setup_tests Suite") 15 | } 16 | 17 | var beforeData string 18 | 19 | var _ = SynchronizedBeforeSuite(func() []byte { 20 | fmt.Printf("BEFORE_A_%d\n", GinkgoParallelNode()) 21 | os.Exit(1) 22 | return []byte("WHAT EVZ") 23 | }, func(data []byte) { 24 | println("NEVER SEE THIS") 25 | }) 26 | 27 | var _ = Describe("Synchronized Setup", func() { 28 | It("should do nothing", func() { 29 | Ω(true).Should(BeTrue()) 30 | }) 31 | 32 | It("should do nothing", func() { 33 | Ω(true).Should(BeTrue()) 34 | }) 35 | }) 36 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/fail_fixture/fail_fixture_suite_test.go: -------------------------------------------------------------------------------- 1 | package fail_fixture_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFail_fixture(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Fail_fixture Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/failing_after_suite/failing_after_suite_suite_test.go: -------------------------------------------------------------------------------- 1 | package failing_before_suite_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFailingAfterSuite(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "FailingAfterSuite Suite") 13 | } 14 | 15 | var _ = BeforeSuite(func() { 16 | println("BEFORE SUITE") 17 | }) 18 | 19 | var _ = AfterSuite(func() { 20 | println("AFTER SUITE") 21 | panic("BAM!") 22 | }) 23 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/failing_after_suite/failing_after_suite_test.go: -------------------------------------------------------------------------------- 1 | package failing_before_suite_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | ) 6 | 7 | var _ = Describe("FailingBeforeSuite", func() { 8 | It("should run", func() { 9 | println("A TEST") 10 | }) 11 | 12 | It("should run", func() { 13 | println("A TEST") 14 | }) 15 | }) 16 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/failing_before_suite/failing_before_suite_suite_test.go: -------------------------------------------------------------------------------- 1 | package failing_before_suite_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFailing_before_suite(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Failing_before_suite Suite") 13 | } 14 | 15 | var _ = BeforeSuite(func() { 16 | println("BEFORE SUITE") 17 | panic("BAM!") 18 | }) 19 | 20 | var _ = AfterSuite(func() { 21 | println("AFTER SUITE") 22 | }) 23 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/failing_before_suite/failing_before_suite_test.go: -------------------------------------------------------------------------------- 1 | package failing_before_suite_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | ) 6 | 7 | var _ = Describe("FailingBeforeSuite", func() { 8 | It("should never run", func() { 9 | println("NEVER SEE THIS") 10 | }) 11 | 12 | It("should never run", func() { 13 | println("NEVER SEE THIS") 14 | }) 15 | }) 16 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/failing_ginkgo_tests/failing_ginkgo_tests.go: -------------------------------------------------------------------------------- 1 | package failing_ginkgo_tests 2 | 3 | func AlwaysFalse() bool { 4 | return false 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/failing_ginkgo_tests/failing_ginkgo_tests_suite_test.go: -------------------------------------------------------------------------------- 1 | package failing_ginkgo_tests_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFailing_ginkgo_tests(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Failing_ginkgo_tests Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/failing_ginkgo_tests/failing_ginkgo_tests_test.go: -------------------------------------------------------------------------------- 1 | package failing_ginkgo_tests_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/ginkgo/integration/_fixtures/failing_ginkgo_tests" 6 | . "github.com/onsi/gomega" 7 | ) 8 | 9 | var _ = Describe("FailingGinkgoTests", func() { 10 | It("should fail", func() { 11 | Ω(AlwaysFalse()).Should(BeTrue()) 12 | }) 13 | 14 | It("should pass", func() { 15 | Ω(AlwaysFalse()).Should(BeFalse()) 16 | }) 17 | }) 18 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/flags_tests/flags.go: -------------------------------------------------------------------------------- 1 | package flags 2 | 3 | func Tested() string { 4 | return "tested" 5 | } 6 | 7 | func Untested() string { 8 | return "untested" 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/flags_tests/flags_suite_test.go: -------------------------------------------------------------------------------- 1 | package flags_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFlags(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Flags Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/focused_fixture/focused_fixture_suite_test.go: -------------------------------------------------------------------------------- 1 | package focused_fixture_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFocused_fixture(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Focused_fixture Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/focused_fixture/focused_fixture_test.go: -------------------------------------------------------------------------------- 1 | package focused_fixture_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | ) 6 | 7 | var _ = Describe("FocusedFixture", func() { 8 | FDescribe("focused", func() { 9 | It("focused", func() { 10 | 11 | }) 12 | }) 13 | 14 | FContext("focused", func() { 15 | It("focused", func() { 16 | 17 | }) 18 | }) 19 | 20 | FIt("focused", func() { 21 | 22 | }) 23 | 24 | Describe("not focused", func() { 25 | It("not focused", func() { 26 | 27 | }) 28 | }) 29 | 30 | Context("not focused", func() { 31 | It("not focused", func() { 32 | 33 | }) 34 | }) 35 | 36 | It("not focused", func() { 37 | 38 | }) 39 | }) 40 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/hanging_suite/hanging_suite_suite_test.go: -------------------------------------------------------------------------------- 1 | package hanging_suite_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestHangingSuite(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "HangingSuite Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/hanging_suite/hanging_suite_test.go: -------------------------------------------------------------------------------- 1 | package hanging_suite_test 2 | 3 | import ( 4 | "fmt" 5 | "time" 6 | . "github.com/onsi/ginkgo" 7 | ) 8 | 9 | var _ = AfterSuite(func() { 10 | fmt.Println("Heading Out After Suite") 11 | }) 12 | 13 | var _ = Describe("HangingSuite", func() { 14 | BeforeEach(func() { 15 | fmt.Fprintln(GinkgoWriter, "Just beginning") 16 | }) 17 | 18 | Context("inner context", func() { 19 | BeforeEach(func() { 20 | fmt.Fprintln(GinkgoWriter, "Almost there...") 21 | }) 22 | 23 | It("should hang out for a while", func() { 24 | fmt.Fprintln(GinkgoWriter, "Hanging Out") 25 | fmt.Println("Sleeping...") 26 | time.Sleep(time.Hour) 27 | }) 28 | }) 29 | }) 30 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/more_ginkgo_tests/more_ginkgo_tests.go: -------------------------------------------------------------------------------- 1 | package more_ginkgo_tests 2 | 3 | func AlwaysTrue() bool { 4 | return true 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/more_ginkgo_tests/more_ginkgo_tests_suite_test.go: -------------------------------------------------------------------------------- 1 | package more_ginkgo_tests_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestMore_ginkgo_tests(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "More_ginkgo_tests Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/more_ginkgo_tests/more_ginkgo_tests_test.go: -------------------------------------------------------------------------------- 1 | package more_ginkgo_tests_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/ginkgo/integration/_fixtures/more_ginkgo_tests" 6 | . "github.com/onsi/gomega" 7 | ) 8 | 9 | var _ = Describe("MoreGinkgoTests", func() { 10 | It("should pass", func() { 11 | Ω(AlwaysTrue()).Should(BeTrue()) 12 | }) 13 | 14 | It("should always pass", func() { 15 | Ω(AlwaysTrue()).Should(BeTrue()) 16 | }) 17 | }) 18 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/no_tests/no_tests.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | func main() { 4 | } 5 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/passing_ginkgo_tests/passing_ginkgo_tests.go: -------------------------------------------------------------------------------- 1 | package passing_ginkgo_tests 2 | 3 | func StringIdentity(a string) string { 4 | return a 5 | } 6 | 7 | func IntegerIdentity(a int) int { 8 | return a 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/passing_ginkgo_tests/passing_ginkgo_tests_suite_test.go: -------------------------------------------------------------------------------- 1 | package passing_ginkgo_tests_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestPassing_ginkgo_tests(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Passing_ginkgo_tests Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/passing_ginkgo_tests/passing_ginkgo_tests_test.go: -------------------------------------------------------------------------------- 1 | package passing_ginkgo_tests_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/ginkgo/integration/_fixtures/passing_ginkgo_tests" 6 | . "github.com/onsi/gomega" 7 | ) 8 | 9 | var _ = Describe("PassingGinkgoTests", func() { 10 | It("should proxy strings", func() { 11 | Ω(StringIdentity("foo")).Should(Equal("foo")) 12 | }) 13 | 14 | It("should proxy integers", func() { 15 | Ω(IntegerIdentity(3)).Should(Equal(3)) 16 | }) 17 | 18 | It("should do it again", func() { 19 | Ω(StringIdentity("foo")).Should(Equal("foo")) 20 | Ω(IntegerIdentity(3)).Should(Equal(3)) 21 | }) 22 | 23 | It("should be able to run Bys", func() { 24 | By("emitting one By") 25 | Ω(3).Should(Equal(3)) 26 | 27 | By("emitting another By") 28 | Ω(4).Should(Equal(4)) 29 | }) 30 | }) 31 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/passing_suite_setup/passing_suite_setup_suite_test.go: -------------------------------------------------------------------------------- 1 | package passing_before_suite_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestPassingSuiteSetup(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "PassingSuiteSetup Suite") 13 | } 14 | 15 | var a string 16 | var b string 17 | 18 | var _ = BeforeSuite(func() { 19 | a = "ran before suite" 20 | println("BEFORE SUITE") 21 | }) 22 | 23 | var _ = AfterSuite(func() { 24 | b = "ran after suite" 25 | println("AFTER SUITE") 26 | }) 27 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/passing_suite_setup/passing_suite_test.go: -------------------------------------------------------------------------------- 1 | package passing_before_suite_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | ) 7 | 8 | var _ = Describe("PassingSuiteSetup", func() { 9 | It("should pass", func() { 10 | Ω(a).Should(Equal("ran before suite")) 11 | Ω(b).Should(BeEmpty()) 12 | }) 13 | 14 | It("should pass", func() { 15 | Ω(a).Should(Equal("ran before suite")) 16 | Ω(b).Should(BeEmpty()) 17 | }) 18 | 19 | It("should pass", func() { 20 | Ω(a).Should(Equal("ran before suite")) 21 | Ω(b).Should(BeEmpty()) 22 | }) 23 | 24 | It("should pass", func() { 25 | Ω(a).Should(Equal("ran before suite")) 26 | Ω(b).Should(BeEmpty()) 27 | }) 28 | }) 29 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/progress_fixture/progress_fixture_suite_test.go: -------------------------------------------------------------------------------- 1 | package progress_fixture_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestProgressFixture(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "ProgressFixture Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/progress_fixture/progress_fixture_test.go: -------------------------------------------------------------------------------- 1 | package progress_fixture_test 2 | 3 | import ( 4 | "fmt" 5 | 6 | . "github.com/onsi/ginkgo" 7 | ) 8 | 9 | var _ = Describe("ProgressFixture", func() { 10 | BeforeEach(func() { 11 | fmt.Fprintln(GinkgoWriter, ">outer before<") 12 | }) 13 | 14 | JustBeforeEach(func() { 15 | fmt.Fprintln(GinkgoWriter, ">outer just before<") 16 | }) 17 | 18 | AfterEach(func() { 19 | fmt.Fprintln(GinkgoWriter, ">outer after<") 20 | }) 21 | 22 | Context("Inner Context", func() { 23 | BeforeEach(func() { 24 | fmt.Fprintln(GinkgoWriter, ">inner before<") 25 | }) 26 | 27 | JustBeforeEach(func() { 28 | fmt.Fprintln(GinkgoWriter, ">inner just before<") 29 | }) 30 | 31 | AfterEach(func() { 32 | fmt.Fprintln(GinkgoWriter, ">inner after<") 33 | }) 34 | 35 | It("should emit progress as it goes", func() { 36 | fmt.Fprintln(GinkgoWriter, ">it<") 37 | }) 38 | }) 39 | }) 40 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/suite_command_tests/suite_command.go: -------------------------------------------------------------------------------- 1 | package suite_command 2 | 3 | func Tested() string { 4 | return "tested" 5 | } 6 | 7 | func Untested() string { 8 | return "untested" 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/suite_command_tests/suite_command_suite_test.go: -------------------------------------------------------------------------------- 1 | package suite_command_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestSuiteCommand(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Suite Command Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/suite_command_tests/suite_command_test.go: -------------------------------------------------------------------------------- 1 | package suite_command_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | ) 7 | 8 | var _ = Describe("Testing suite command", func() { 9 | It("it should succeed", func() { 10 | Ω(true).Should(Equal(true)) 11 | }) 12 | 13 | PIt("a failing test", func() { 14 | It("should fail", func() { 15 | Ω(true).Should(Equal(false)) 16 | }) 17 | }) 18 | }) 19 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/tags_tests/ignored_test.go: -------------------------------------------------------------------------------- 1 | // +build complex_tests 2 | 3 | package tags_tests_test 4 | 5 | import ( 6 | . "github.com/onsi/ginkgo" 7 | ) 8 | 9 | var _ = Describe("Ignored", func() { 10 | It("should not have these tests", func() { 11 | 12 | }) 13 | 14 | It("should not have these tests", func() { 15 | 16 | }) 17 | }) 18 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/tags_tests/tags_tests_suite_test.go: -------------------------------------------------------------------------------- 1 | package tags_tests_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestTagsTests(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "TagsTests Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/tags_tests/tags_tests_test.go: -------------------------------------------------------------------------------- 1 | package tags_tests_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | ) 6 | 7 | var _ = Describe("TagsTests", func() { 8 | It("should have a test", func() { 9 | 10 | }) 11 | }) 12 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/test_description/test_description_suite_test.go: -------------------------------------------------------------------------------- 1 | package test_description_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestTestDescription(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "TestDescription Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/test_description/test_description_test.go: -------------------------------------------------------------------------------- 1 | package test_description_test 2 | 3 | import ( 4 | "fmt" 5 | 6 | . "github.com/onsi/ginkgo" 7 | . "github.com/onsi/gomega" 8 | ) 9 | 10 | var _ = Describe("TestDescription", func() { 11 | It("should pass", func() { 12 | Ω(true).Should(BeTrue()) 13 | }) 14 | 15 | It("should fail", func() { 16 | Ω(true).Should(BeFalse()) 17 | }) 18 | 19 | AfterEach(func() { 20 | description := CurrentGinkgoTestDescription() 21 | fmt.Printf("%s:%t\n", description.FullTestText, description.Failed) 22 | }) 23 | }) 24 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/A/A.go: -------------------------------------------------------------------------------- 1 | package A 2 | 3 | import "github.com/onsi/B" 4 | 5 | func DoIt() string { 6 | return B.DoIt() 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/A/A_suite_test.go: -------------------------------------------------------------------------------- 1 | package A_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestA(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "A Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/A/A_test.go: -------------------------------------------------------------------------------- 1 | package A_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/A" 5 | 6 | . "github.com/onsi/ginkgo" 7 | . "github.com/onsi/gomega" 8 | ) 9 | 10 | var _ = Describe("A", func() { 11 | It("should do it", func() { 12 | Ω(DoIt()).Should(Equal("done!")) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/B/B.go: -------------------------------------------------------------------------------- 1 | package B 2 | 3 | import "github.com/onsi/C" 4 | 5 | func DoIt() string { 6 | return C.DoIt() 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/B/B_suite_test.go: -------------------------------------------------------------------------------- 1 | package B_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestB(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "B Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/B/B_test.go: -------------------------------------------------------------------------------- 1 | package B_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/B" 5 | 6 | . "github.com/onsi/ginkgo" 7 | . "github.com/onsi/gomega" 8 | ) 9 | 10 | var _ = Describe("B", func() { 11 | It("should do it", func() { 12 | Ω(DoIt()).Should(Equal("done!")) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/C/C.go: -------------------------------------------------------------------------------- 1 | package C 2 | 3 | func DoIt() string { 4 | return "done!" 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/C/C_suite_test.go: -------------------------------------------------------------------------------- 1 | package C_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestC(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "C Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/C/C_test.go: -------------------------------------------------------------------------------- 1 | package C_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/C" 5 | 6 | . "github.com/onsi/ginkgo" 7 | . "github.com/onsi/gomega" 8 | ) 9 | 10 | var _ = Describe("C", func() { 11 | It("should do it", func() { 12 | Ω(DoIt()).Should(Equal("done!")) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/D/D.go: -------------------------------------------------------------------------------- 1 | package D 2 | 3 | import "github.com/onsi/C" 4 | 5 | func DoIt() string { 6 | return C.DoIt() 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/D/D_suite_test.go: -------------------------------------------------------------------------------- 1 | package D_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestD(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "D Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/D/D_test.go: -------------------------------------------------------------------------------- 1 | package D_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/C" 5 | 6 | . "github.com/onsi/ginkgo" 7 | . "github.com/onsi/gomega" 8 | ) 9 | 10 | var _ = Describe("D", func() { 11 | It("should do it", func() { 12 | Ω(DoIt()).Should(Equal("done!")) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/xunit_tests/xunit_tests.go: -------------------------------------------------------------------------------- 1 | package xunit_tests 2 | 3 | func AlwaysTrue() bool { 4 | return true 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/xunit_tests/xunit_tests_test.go: -------------------------------------------------------------------------------- 1 | package xunit_tests 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | func TestAlwaysTrue(t *testing.T) { 8 | if AlwaysTrue() != true { 9 | t.Errorf("Expected true, got false") 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/integration.go: -------------------------------------------------------------------------------- 1 | package integration 2 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/tags_test.go: -------------------------------------------------------------------------------- 1 | package integration_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | "github.com/onsi/gomega/gexec" 7 | ) 8 | 9 | var _ = Describe("Tags", func() { 10 | var pathToTest string 11 | BeforeEach(func() { 12 | pathToTest = tmpPath("tags") 13 | copyIn("tags_tests", pathToTest) 14 | }) 15 | 16 | It("should honor the passed in -tags flag", func() { 17 | session := startGinkgo(pathToTest, "--noColor") 18 | Eventually(session).Should(gexec.Exit(0)) 19 | output := string(session.Out.Contents()) 20 | Ω(output).Should(ContainSubstring("Ran 1 of 1 Specs")) 21 | 22 | session = startGinkgo(pathToTest, "--noColor", "-tags=complex_tests") 23 | Eventually(session).Should(gexec.Exit(0)) 24 | output = string(session.Out.Contents()) 25 | Ω(output).Should(ContainSubstring("Ran 3 of 3 Specs")) 26 | }) 27 | }) 28 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/test_description_test.go: -------------------------------------------------------------------------------- 1 | package integration_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | "github.com/onsi/gomega/gbytes" 7 | "github.com/onsi/gomega/gexec" 8 | ) 9 | 10 | var _ = Describe("TestDescription", func() { 11 | var pathToTest string 12 | 13 | BeforeEach(func() { 14 | pathToTest = tmpPath("test_description") 15 | copyIn("test_description", pathToTest) 16 | }) 17 | 18 | It("should capture and emit information about the current test", func() { 19 | session := startGinkgo(pathToTest, "--noColor") 20 | Eventually(session).Should(gexec.Exit(1)) 21 | 22 | Ω(session).Should(gbytes.Say("TestDescription should pass:false")) 23 | Ω(session).Should(gbytes.Say("TestDescription should fail:true")) 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/codelocation/code_location_suite_test.go: -------------------------------------------------------------------------------- 1 | package codelocation_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestCodelocation(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "CodeLocation Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/containernode/container_node_suite_test.go: -------------------------------------------------------------------------------- 1 | package containernode_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestContainernode(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Containernode Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/failer/failer_suite_test.go: -------------------------------------------------------------------------------- 1 | package failer_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFailer(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Failer Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/leafnodes/interfaces.go: -------------------------------------------------------------------------------- 1 | package leafnodes 2 | 3 | import ( 4 | "github.com/onsi/ginkgo/types" 5 | ) 6 | 7 | type BasicNode interface { 8 | Type() types.SpecComponentType 9 | Run() (types.SpecState, types.SpecFailure) 10 | CodeLocation() types.CodeLocation 11 | } 12 | 13 | type SubjectNode interface { 14 | BasicNode 15 | 16 | Text() string 17 | Flag() types.FlagType 18 | Samples() int 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/leafnodes/it_node_test.go: -------------------------------------------------------------------------------- 1 | package leafnodes_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/ginkgo/internal/leafnodes" 6 | . "github.com/onsi/gomega" 7 | 8 | "github.com/onsi/ginkgo/internal/codelocation" 9 | "github.com/onsi/ginkgo/types" 10 | ) 11 | 12 | var _ = Describe("It Nodes", func() { 13 | It("should report the correct type, text, flag, and code location", func() { 14 | codeLocation := codelocation.New(0) 15 | it := NewItNode("my it node", func() {}, types.FlagTypeFocused, codeLocation, 0, nil, 3) 16 | Ω(it.Type()).Should(Equal(types.SpecComponentTypeIt)) 17 | Ω(it.Flag()).Should(Equal(types.FlagTypeFocused)) 18 | Ω(it.Text()).Should(Equal("my it node")) 19 | Ω(it.CodeLocation()).Should(Equal(codeLocation)) 20 | Ω(it.Samples()).Should(Equal(1)) 21 | }) 22 | }) 23 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/leafnodes/leaf_node_suite_test.go: -------------------------------------------------------------------------------- 1 | package leafnodes_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestLeafNode(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "LeafNode Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/remote/fake_output_interceptor_test.go: -------------------------------------------------------------------------------- 1 | package remote_test 2 | 3 | type fakeOutputInterceptor struct { 4 | DidStartInterceptingOutput bool 5 | DidStopInterceptingOutput bool 6 | InterceptedOutput string 7 | } 8 | 9 | func (interceptor *fakeOutputInterceptor) StartInterceptingOutput() error { 10 | interceptor.DidStartInterceptingOutput = true 11 | return nil 12 | } 13 | 14 | func (interceptor *fakeOutputInterceptor) StopInterceptingAndReturnOutput() (string, error) { 15 | interceptor.DidStopInterceptingOutput = true 16 | return interceptor.InterceptedOutput, nil 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/remote/fake_poster_test.go: -------------------------------------------------------------------------------- 1 | package remote_test 2 | 3 | import ( 4 | "io" 5 | "io/ioutil" 6 | "net/http" 7 | ) 8 | 9 | type post struct { 10 | url string 11 | bodyType string 12 | bodyContent []byte 13 | } 14 | 15 | type fakePoster struct { 16 | posts []post 17 | } 18 | 19 | func newFakePoster() *fakePoster { 20 | return &fakePoster{ 21 | posts: make([]post, 0), 22 | } 23 | } 24 | 25 | func (poster *fakePoster) Post(url string, bodyType string, body io.Reader) (resp *http.Response, err error) { 26 | bodyContent, _ := ioutil.ReadAll(body) 27 | poster.posts = append(poster.posts, post{ 28 | url: url, 29 | bodyType: bodyType, 30 | bodyContent: bodyContent, 31 | }) 32 | return nil, nil 33 | } 34 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/remote/output_interceptor.go: -------------------------------------------------------------------------------- 1 | package remote 2 | 3 | /* 4 | The OutputInterceptor is used by the ForwardingReporter to 5 | intercept and capture all stdin and stderr output during a test run. 6 | */ 7 | type OutputInterceptor interface { 8 | StartInterceptingOutput() error 9 | StopInterceptingAndReturnOutput() (string, error) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/remote/output_interceptor_win.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package remote 4 | 5 | import ( 6 | "errors" 7 | ) 8 | 9 | func NewOutputInterceptor() OutputInterceptor { 10 | return &outputInterceptor{} 11 | } 12 | 13 | type outputInterceptor struct { 14 | intercepting bool 15 | } 16 | 17 | func (interceptor *outputInterceptor) StartInterceptingOutput() error { 18 | if interceptor.intercepting { 19 | return errors.New("Already intercepting output!") 20 | } 21 | interceptor.intercepting = true 22 | 23 | // not working on windows... 24 | 25 | return nil 26 | } 27 | 28 | func (interceptor *outputInterceptor) StopInterceptingAndReturnOutput() (string, error) { 29 | // not working on windows... 30 | interceptor.intercepting = false 31 | 32 | return "", nil 33 | } 34 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/remote/remote_suite_test.go: -------------------------------------------------------------------------------- 1 | package remote_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestRemote(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Remote Spec Forwarding Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/spec/spec_suite_test.go: -------------------------------------------------------------------------------- 1 | package spec_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestSpec(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Spec Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/specrunner/random_id.go: -------------------------------------------------------------------------------- 1 | package specrunner 2 | 3 | import ( 4 | "crypto/rand" 5 | "fmt" 6 | ) 7 | 8 | func randomID() string { 9 | b := make([]byte, 8) 10 | _, err := rand.Read(b) 11 | if err != nil { 12 | return "" 13 | } 14 | return fmt.Sprintf("%x-%x-%x-%x", b[0:2], b[2:4], b[4:6], b[6:8]) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/specrunner/spec_runner_suite_test.go: -------------------------------------------------------------------------------- 1 | package specrunner_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestSpecRunner(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Spec Runner Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/suite/suite_suite_test.go: -------------------------------------------------------------------------------- 1 | package suite_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func Test(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Suite") 13 | } 14 | 15 | var numBeforeSuiteRuns = 0 16 | var numAfterSuiteRuns = 0 17 | 18 | var _ = BeforeSuite(func() { 19 | numBeforeSuiteRuns++ 20 | }) 21 | 22 | var _ = AfterSuite(func() { 23 | numAfterSuiteRuns++ 24 | Ω(numBeforeSuiteRuns).Should(Equal(1)) 25 | Ω(numAfterSuiteRuns).Should(Equal(1)) 26 | }) 27 | 28 | //Fakes 29 | type fakeTestingT struct { 30 | didFail bool 31 | } 32 | 33 | func (fakeT *fakeTestingT) Fail() { 34 | fakeT.didFail = true 35 | } 36 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/writer/fake_writer.go: -------------------------------------------------------------------------------- 1 | package writer 2 | 3 | type FakeGinkgoWriter struct { 4 | EventStream []string 5 | } 6 | 7 | func NewFake() *FakeGinkgoWriter { 8 | return &FakeGinkgoWriter{ 9 | EventStream: []string{}, 10 | } 11 | } 12 | 13 | func (writer *FakeGinkgoWriter) AddEvent(event string) { 14 | writer.EventStream = append(writer.EventStream, event) 15 | } 16 | 17 | func (writer *FakeGinkgoWriter) Truncate() { 18 | writer.EventStream = append(writer.EventStream, "TRUNCATE") 19 | } 20 | 21 | func (writer *FakeGinkgoWriter) DumpOut() { 22 | writer.EventStream = append(writer.EventStream, "DUMP") 23 | } 24 | 25 | func (writer *FakeGinkgoWriter) DumpOutWithHeader(header string) { 26 | writer.EventStream = append(writer.EventStream, "DUMP_WITH_HEADER: "+header) 27 | } 28 | 29 | func (writer *FakeGinkgoWriter) Write(data []byte) (n int, err error) { 30 | return 0, nil 31 | } 32 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/writer/writer_suite_test.go: -------------------------------------------------------------------------------- 1 | package writer_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestWriter(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Writer Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/reporters/reporter.go: -------------------------------------------------------------------------------- 1 | package reporters 2 | 3 | import ( 4 | "github.com/onsi/ginkgo/config" 5 | "github.com/onsi/ginkgo/types" 6 | ) 7 | 8 | type Reporter interface { 9 | SpecSuiteWillBegin(config config.GinkgoConfigType, summary *types.SuiteSummary) 10 | BeforeSuiteDidRun(setupSummary *types.SetupSummary) 11 | SpecWillRun(specSummary *types.SpecSummary) 12 | SpecDidComplete(specSummary *types.SpecSummary) 13 | AfterSuiteDidRun(setupSummary *types.SetupSummary) 14 | SpecSuiteDidEnd(summary *types.SuiteSummary) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/reporters/reporters_suite_test.go: -------------------------------------------------------------------------------- 1 | package reporters_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestReporters(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Reporters Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/types/code_location.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | import ( 4 | "fmt" 5 | ) 6 | 7 | type CodeLocation struct { 8 | FileName string 9 | LineNumber int 10 | FullStackTrace string 11 | } 12 | 13 | func (codeLocation CodeLocation) String() string { 14 | return fmt.Sprintf("%s:%d", codeLocation.FileName, codeLocation.LineNumber) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/types/synchronization.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | import ( 4 | "encoding/json" 5 | ) 6 | 7 | type RemoteBeforeSuiteState int 8 | 9 | const ( 10 | RemoteBeforeSuiteStateInvalid RemoteBeforeSuiteState = iota 11 | 12 | RemoteBeforeSuiteStatePending 13 | RemoteBeforeSuiteStatePassed 14 | RemoteBeforeSuiteStateFailed 15 | RemoteBeforeSuiteStateDisappeared 16 | ) 17 | 18 | type RemoteBeforeSuiteData struct { 19 | Data []byte 20 | State RemoteBeforeSuiteState 21 | } 22 | 23 | func (r RemoteBeforeSuiteData) ToJSON() []byte { 24 | data, _ := json.Marshal(r) 25 | return data 26 | } 27 | 28 | type RemoteAfterSuiteData struct { 29 | CanRun bool 30 | } 31 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/types/types_suite_test.go: -------------------------------------------------------------------------------- 1 | package types_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestTypes(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Types Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.test 3 | . 4 | .idea 5 | gomega.iml 6 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.6 4 | - 1.7 5 | 6 | install: 7 | - go get -v ./... 8 | - go get github.com/onsi/ginkgo 9 | - go install github.com/onsi/ginkgo/ginkgo 10 | 11 | script: $HOME/gopath/bin/ginkgo -r --randomizeAllSpecs --failOnPending --randomizeSuites --race 12 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/format/format_suite_test.go: -------------------------------------------------------------------------------- 1 | package format_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFormat(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Format Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/gbytes/gbuffer_suite_test.go: -------------------------------------------------------------------------------- 1 | package gbytes_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestGbytes(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Gbytes Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/gexec/gexec_suite_test.go: -------------------------------------------------------------------------------- 1 | package gexec_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | "github.com/onsi/gomega/gexec" 7 | 8 | "testing" 9 | ) 10 | 11 | var fireflyPath string 12 | 13 | func TestGexec(t *testing.T) { 14 | BeforeSuite(func() { 15 | var err error 16 | fireflyPath, err = gexec.Build("./_fixture/firefly") 17 | Ω(err).ShouldNot(HaveOccurred()) 18 | }) 19 | 20 | AfterSuite(func() { 21 | gexec.CleanupBuildArtifacts() 22 | }) 23 | 24 | RegisterFailHandler(Fail) 25 | RunSpecs(t, "Gexec Suite") 26 | } 27 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/ghttp/protobuf/protobuf.go: -------------------------------------------------------------------------------- 1 | package protobuf 2 | 3 | //go:generate protoc --go_out=. simple_message.proto 4 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/ghttp/protobuf/simple_message.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto2"; 2 | 3 | package protobuf; 4 | 5 | message SimpleMessage { 6 | required string description = 1; 7 | required int32 id = 2; 8 | optional string metadata = 3; 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/ghttp/test_server_suite_test.go: -------------------------------------------------------------------------------- 1 | package ghttp_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestGHTTP(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "GHTTP Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/gstruct/gstruct_tests_suite_test.go: -------------------------------------------------------------------------------- 1 | package gstruct_test 2 | 3 | import ( 4 | "testing" 5 | 6 | . "github.com/onsi/ginkgo" 7 | . "github.com/onsi/gomega" 8 | ) 9 | 10 | func Test(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Gstruct Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/gstruct/ignore_test.go: -------------------------------------------------------------------------------- 1 | package gstruct_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | . "github.com/onsi/gomega/gstruct" 7 | ) 8 | 9 | var _ = Describe("Ignore", func() { 10 | It("should always succeed", func() { 11 | Ω(nil).Should(Ignore()) 12 | Ω(struct{}{}).Should(Ignore()) 13 | Ω(0).Should(Ignore()) 14 | Ω(false).Should(Ignore()) 15 | }) 16 | 17 | It("should always fail", func() { 18 | Ω(nil).ShouldNot(Reject()) 19 | Ω(struct{}{}).ShouldNot(Reject()) 20 | Ω(1).ShouldNot(Reject()) 21 | Ω(true).ShouldNot(Reject()) 22 | }) 23 | }) 24 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/gstruct/pointer_test.go: -------------------------------------------------------------------------------- 1 | package gstruct_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | . "github.com/onsi/gomega/gstruct" 7 | ) 8 | 9 | var _ = Describe("PointTo", func() { 10 | It("should fail when passed nil", func() { 11 | var p *struct{} 12 | Ω(p).Should(BeNil()) 13 | }) 14 | 15 | It("should succeed when passed non-nil pointer", func() { 16 | var s struct{} 17 | Ω(&s).Should(PointTo(Ignore())) 18 | }) 19 | 20 | It("should unwrap the pointee value", func() { 21 | i := 1 22 | Ω(&i).Should(PointTo(Equal(1))) 23 | Ω(&i).ShouldNot(PointTo(Equal(2))) 24 | }) 25 | 26 | It("should work with nested pointers", func() { 27 | i := 1 28 | ip := &i 29 | ipp := &ip 30 | Ω(ipp).Should(PointTo(PointTo(Equal(1)))) 31 | Ω(ipp).ShouldNot(PointTo(PointTo(Equal(2)))) 32 | }) 33 | }) 34 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/gstruct/types.go: -------------------------------------------------------------------------------- 1 | package gstruct 2 | 3 | //Options is the type for options passed to some matchers. 4 | type Options int 5 | 6 | const ( 7 | //IgnoreExtras tells the matcher to ignore extra elements or fields, rather than triggering a failure. 8 | IgnoreExtras Options = 1 << iota 9 | //IgnoreMissing tells the matcher to ignore missing elements or fields, rather than triggering a failure. 10 | IgnoreMissing 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/internal/assertion/assertion_suite_test.go: -------------------------------------------------------------------------------- 1 | package assertion_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestAssertion(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Assertion Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/internal/asyncassertion/async_assertion_suite_test.go: -------------------------------------------------------------------------------- 1 | package asyncassertion_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestAsyncAssertion(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "AsyncAssertion Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/internal/fakematcher/fake_matcher.go: -------------------------------------------------------------------------------- 1 | package fakematcher 2 | 3 | import "fmt" 4 | 5 | type FakeMatcher struct { 6 | ReceivedActual interface{} 7 | MatchesToReturn bool 8 | ErrToReturn error 9 | } 10 | 11 | func (matcher *FakeMatcher) Match(actual interface{}) (bool, error) { 12 | matcher.ReceivedActual = actual 13 | 14 | return matcher.MatchesToReturn, matcher.ErrToReturn 15 | } 16 | 17 | func (matcher *FakeMatcher) FailureMessage(actual interface{}) string { 18 | return fmt.Sprintf("positive: %v", actual) 19 | } 20 | 21 | func (matcher *FakeMatcher) NegatedFailureMessage(actual interface{}) string { 22 | return fmt.Sprintf("negative: %v", actual) 23 | } 24 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/internal/oraclematcher/oracle_matcher.go: -------------------------------------------------------------------------------- 1 | package oraclematcher 2 | 3 | import "github.com/onsi/gomega/types" 4 | 5 | /* 6 | GomegaMatchers that also match the OracleMatcher interface can convey information about 7 | whether or not their result will change upon future attempts. 8 | 9 | This allows `Eventually` and `Consistently` to short circuit if success becomes impossible. 10 | 11 | For example, a process' exit code can never change. So, gexec's Exit matcher returns `true` 12 | for `MatchMayChangeInTheFuture` until the process exits, at which point it returns `false` forevermore. 13 | */ 14 | type OracleMatcher interface { 15 | MatchMayChangeInTheFuture(actual interface{}) bool 16 | } 17 | 18 | func MatchMayChangeInTheFuture(matcher types.GomegaMatcher, value interface{}) bool { 19 | oracleMatcher, ok := matcher.(OracleMatcher) 20 | if !ok { 21 | return true 22 | } 23 | 24 | return oracleMatcher.MatchMayChangeInTheFuture(value) 25 | } 26 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/internal/testingtsupport/testing_t_support_test.go: -------------------------------------------------------------------------------- 1 | package testingtsupport_test 2 | 3 | import ( 4 | . "github.com/onsi/gomega" 5 | 6 | "testing" 7 | ) 8 | 9 | func TestTestingT(t *testing.T) { 10 | RegisterTestingT(t) 11 | Ω(true).Should(BeTrue()) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/be_empty_matcher.go: -------------------------------------------------------------------------------- 1 | package matchers 2 | 3 | import ( 4 | "fmt" 5 | "github.com/onsi/gomega/format" 6 | ) 7 | 8 | type BeEmptyMatcher struct { 9 | } 10 | 11 | func (matcher *BeEmptyMatcher) Match(actual interface{}) (success bool, err error) { 12 | length, ok := lengthOf(actual) 13 | if !ok { 14 | return false, fmt.Errorf("BeEmpty matcher expects a string/array/map/channel/slice. Got:\n%s", format.Object(actual, 1)) 15 | } 16 | 17 | return length == 0, nil 18 | } 19 | 20 | func (matcher *BeEmptyMatcher) FailureMessage(actual interface{}) (message string) { 21 | return format.Message(actual, "to be empty") 22 | } 23 | 24 | func (matcher *BeEmptyMatcher) NegatedFailureMessage(actual interface{}) (message string) { 25 | return format.Message(actual, "not to be empty") 26 | } 27 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/be_false_matcher.go: -------------------------------------------------------------------------------- 1 | package matchers 2 | 3 | import ( 4 | "fmt" 5 | "github.com/onsi/gomega/format" 6 | ) 7 | 8 | type BeFalseMatcher struct { 9 | } 10 | 11 | func (matcher *BeFalseMatcher) Match(actual interface{}) (success bool, err error) { 12 | if !isBool(actual) { 13 | return false, fmt.Errorf("Expected a boolean. Got:\n%s", format.Object(actual, 1)) 14 | } 15 | 16 | return actual == false, nil 17 | } 18 | 19 | func (matcher *BeFalseMatcher) FailureMessage(actual interface{}) (message string) { 20 | return format.Message(actual, "to be false") 21 | } 22 | 23 | func (matcher *BeFalseMatcher) NegatedFailureMessage(actual interface{}) (message string) { 24 | return format.Message(actual, "not to be false") 25 | } 26 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/be_false_matcher_test.go: -------------------------------------------------------------------------------- 1 | package matchers_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | . "github.com/onsi/gomega/matchers" 7 | ) 8 | 9 | var _ = Describe("BeFalse", func() { 10 | It("should handle true and false correctly", func() { 11 | Ω(true).ShouldNot(BeFalse()) 12 | Ω(false).Should(BeFalse()) 13 | }) 14 | 15 | It("should only support booleans", func() { 16 | success, err := (&BeFalseMatcher{}).Match("foo") 17 | Ω(success).Should(BeFalse()) 18 | Ω(err).Should(HaveOccurred()) 19 | }) 20 | }) 21 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/be_nil_matcher.go: -------------------------------------------------------------------------------- 1 | package matchers 2 | 3 | import "github.com/onsi/gomega/format" 4 | 5 | type BeNilMatcher struct { 6 | } 7 | 8 | func (matcher *BeNilMatcher) Match(actual interface{}) (success bool, err error) { 9 | return isNil(actual), nil 10 | } 11 | 12 | func (matcher *BeNilMatcher) FailureMessage(actual interface{}) (message string) { 13 | return format.Message(actual, "to be nil") 14 | } 15 | 16 | func (matcher *BeNilMatcher) NegatedFailureMessage(actual interface{}) (message string) { 17 | return format.Message(actual, "not to be nil") 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/be_nil_matcher_test.go: -------------------------------------------------------------------------------- 1 | package matchers_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | ) 7 | 8 | var _ = Describe("BeNil", func() { 9 | It("should succeed when passed nil", func() { 10 | Ω(nil).Should(BeNil()) 11 | }) 12 | 13 | It("should succeed when passed a typed nil", func() { 14 | var a []int 15 | Ω(a).Should(BeNil()) 16 | }) 17 | 18 | It("should succeed when passing nil pointer", func() { 19 | var f *struct{} 20 | Ω(f).Should(BeNil()) 21 | }) 22 | 23 | It("should not succeed when not passed nil", func() { 24 | Ω(0).ShouldNot(BeNil()) 25 | Ω(false).ShouldNot(BeNil()) 26 | Ω("").ShouldNot(BeNil()) 27 | }) 28 | }) 29 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/be_true_matcher.go: -------------------------------------------------------------------------------- 1 | package matchers 2 | 3 | import ( 4 | "fmt" 5 | "github.com/onsi/gomega/format" 6 | ) 7 | 8 | type BeTrueMatcher struct { 9 | } 10 | 11 | func (matcher *BeTrueMatcher) Match(actual interface{}) (success bool, err error) { 12 | if !isBool(actual) { 13 | return false, fmt.Errorf("Expected a boolean. Got:\n%s", format.Object(actual, 1)) 14 | } 15 | 16 | return actual.(bool), nil 17 | } 18 | 19 | func (matcher *BeTrueMatcher) FailureMessage(actual interface{}) (message string) { 20 | return format.Message(actual, "to be true") 21 | } 22 | 23 | func (matcher *BeTrueMatcher) NegatedFailureMessage(actual interface{}) (message string) { 24 | return format.Message(actual, "not to be true") 25 | } 26 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/be_true_matcher_test.go: -------------------------------------------------------------------------------- 1 | package matchers_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | . "github.com/onsi/gomega/matchers" 7 | ) 8 | 9 | var _ = Describe("BeTrue", func() { 10 | It("should handle true and false correctly", func() { 11 | Ω(true).Should(BeTrue()) 12 | Ω(false).ShouldNot(BeTrue()) 13 | }) 14 | 15 | It("should only support booleans", func() { 16 | success, err := (&BeTrueMatcher{}).Match("foo") 17 | Ω(success).Should(BeFalse()) 18 | Ω(err).Should(HaveOccurred()) 19 | }) 20 | }) 21 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/be_zero_matcher.go: -------------------------------------------------------------------------------- 1 | package matchers 2 | 3 | import ( 4 | "github.com/onsi/gomega/format" 5 | "reflect" 6 | ) 7 | 8 | type BeZeroMatcher struct { 9 | } 10 | 11 | func (matcher *BeZeroMatcher) Match(actual interface{}) (success bool, err error) { 12 | if actual == nil { 13 | return true, nil 14 | } 15 | zeroValue := reflect.Zero(reflect.TypeOf(actual)).Interface() 16 | 17 | return reflect.DeepEqual(zeroValue, actual), nil 18 | 19 | } 20 | 21 | func (matcher *BeZeroMatcher) FailureMessage(actual interface{}) (message string) { 22 | return format.Message(actual, "to be zero-valued") 23 | } 24 | 25 | func (matcher *BeZeroMatcher) NegatedFailureMessage(actual interface{}) (message string) { 26 | return format.Message(actual, "not to be zero-valued") 27 | } 28 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/be_zero_matcher_test.go: -------------------------------------------------------------------------------- 1 | package matchers_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | ) 7 | 8 | var _ = Describe("BeZero", func() { 9 | It("should succeed if the passed in object is the zero value for its type", func() { 10 | Ω(nil).Should(BeZero()) 11 | 12 | Ω("").Should(BeZero()) 13 | Ω(" ").ShouldNot(BeZero()) 14 | 15 | Ω(0).Should(BeZero()) 16 | Ω(1).ShouldNot(BeZero()) 17 | 18 | Ω(0.0).Should(BeZero()) 19 | Ω(0.1).ShouldNot(BeZero()) 20 | 21 | // Ω([]int{}).Should(BeZero()) 22 | Ω([]int{1}).ShouldNot(BeZero()) 23 | 24 | // Ω(map[string]int{}).Should(BeZero()) 25 | Ω(map[string]int{"a": 1}).ShouldNot(BeZero()) 26 | 27 | Ω(myCustomType{}).Should(BeZero()) 28 | Ω(myCustomType{s: "a"}).ShouldNot(BeZero()) 29 | }) 30 | }) 31 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/have_cap_matcher.go: -------------------------------------------------------------------------------- 1 | package matchers 2 | 3 | import ( 4 | "fmt" 5 | 6 | "github.com/onsi/gomega/format" 7 | ) 8 | 9 | type HaveCapMatcher struct { 10 | Count int 11 | } 12 | 13 | func (matcher *HaveCapMatcher) Match(actual interface{}) (success bool, err error) { 14 | length, ok := capOf(actual) 15 | if !ok { 16 | return false, fmt.Errorf("HaveCap matcher expects a array/channel/slice. Got:\n%s", format.Object(actual, 1)) 17 | } 18 | 19 | return length == matcher.Count, nil 20 | } 21 | 22 | func (matcher *HaveCapMatcher) FailureMessage(actual interface{}) (message string) { 23 | return fmt.Sprintf("Expected\n%s\nto have capacity %d", format.Object(actual, 1), matcher.Count) 24 | } 25 | 26 | func (matcher *HaveCapMatcher) NegatedFailureMessage(actual interface{}) (message string) { 27 | return fmt.Sprintf("Expected\n%s\nnot to have capacity %d", format.Object(actual, 1), matcher.Count) 28 | } 29 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/have_len_matcher.go: -------------------------------------------------------------------------------- 1 | package matchers 2 | 3 | import ( 4 | "fmt" 5 | "github.com/onsi/gomega/format" 6 | ) 7 | 8 | type HaveLenMatcher struct { 9 | Count int 10 | } 11 | 12 | func (matcher *HaveLenMatcher) Match(actual interface{}) (success bool, err error) { 13 | length, ok := lengthOf(actual) 14 | if !ok { 15 | return false, fmt.Errorf("HaveLen matcher expects a string/array/map/channel/slice. Got:\n%s", format.Object(actual, 1)) 16 | } 17 | 18 | return length == matcher.Count, nil 19 | } 20 | 21 | func (matcher *HaveLenMatcher) FailureMessage(actual interface{}) (message string) { 22 | return fmt.Sprintf("Expected\n%s\nto have length %d", format.Object(actual, 1), matcher.Count) 23 | } 24 | 25 | func (matcher *HaveLenMatcher) NegatedFailureMessage(actual interface{}) (message string) { 26 | return fmt.Sprintf("Expected\n%s\nnot to have length %d", format.Object(actual, 1), matcher.Count) 27 | } 28 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/matcher_tests_suite_test.go: -------------------------------------------------------------------------------- 1 | package matchers_test 2 | 3 | import ( 4 | "testing" 5 | 6 | . "github.com/onsi/ginkgo" 7 | . "github.com/onsi/gomega" 8 | ) 9 | 10 | type myStringer struct { 11 | a string 12 | } 13 | 14 | func (s *myStringer) String() string { 15 | return s.a 16 | } 17 | 18 | type StringAlias string 19 | 20 | type myCustomType struct { 21 | s string 22 | n int 23 | f float32 24 | arr []string 25 | } 26 | 27 | func Test(t *testing.T) { 28 | RegisterFailHandler(Fail) 29 | RunSpecs(t, "Gomega Matchers") 30 | } 31 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/not.go: -------------------------------------------------------------------------------- 1 | package matchers 2 | 3 | import ( 4 | "github.com/onsi/gomega/internal/oraclematcher" 5 | "github.com/onsi/gomega/types" 6 | ) 7 | 8 | type NotMatcher struct { 9 | Matcher types.GomegaMatcher 10 | } 11 | 12 | func (m *NotMatcher) Match(actual interface{}) (bool, error) { 13 | success, err := m.Matcher.Match(actual) 14 | if err != nil { 15 | return false, err 16 | } 17 | return !success, nil 18 | } 19 | 20 | func (m *NotMatcher) FailureMessage(actual interface{}) (message string) { 21 | return m.Matcher.NegatedFailureMessage(actual) // works beautifully 22 | } 23 | 24 | func (m *NotMatcher) NegatedFailureMessage(actual interface{}) (message string) { 25 | return m.Matcher.FailureMessage(actual) // works beautifully 26 | } 27 | 28 | func (m *NotMatcher) MatchMayChangeInTheFuture(actual interface{}) bool { 29 | return oraclematcher.MatchMayChangeInTheFuture(m.Matcher, actual) // just return m.Matcher's value 30 | } 31 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/support/goraph/node/node.go: -------------------------------------------------------------------------------- 1 | package node 2 | 3 | type Node struct { 4 | Id int 5 | } 6 | 7 | type NodeOrderedSet []Node 8 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/support/goraph/util/util.go: -------------------------------------------------------------------------------- 1 | package util 2 | 3 | import "math" 4 | 5 | func Odd(n int) bool { 6 | return math.Mod(float64(n), 2.0) == 1.0 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/types/types.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | type GomegaFailHandler func(message string, callerSkip ...int) 4 | 5 | //A simple *testing.T interface wrapper 6 | type GomegaTestingT interface { 7 | Errorf(format string, args ...interface{}) 8 | } 9 | 10 | //All Gomega matchers must implement the GomegaMatcher interface 11 | // 12 | //For details on writing custom matchers, check out: http://onsi.github.io/gomega/#adding_your_own_matchers 13 | type GomegaMatcher interface { 14 | Match(actual interface{}) (success bool, err error) 15 | FailureMessage(actual interface{}) (message string) 16 | NegatedFailureMessage(actual interface{}) (message string) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/oxtoacart/bpool/bpool.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package bpool implements leaky pools of byte arrays and Buffers as bounded 3 | channels. It is based on the leaky buffer example from the Effective Go 4 | documentation: http://golang.org/doc/effective_go.html#leaky_buffer 5 | */ 6 | package bpool 7 | -------------------------------------------------------------------------------- /vendor/github.com/oxtoacart/bpool/bufferpool_test.go: -------------------------------------------------------------------------------- 1 | package bpool 2 | 3 | import ( 4 | "bytes" 5 | "testing" 6 | ) 7 | 8 | func TestBufferPool(t *testing.T) { 9 | var size int = 4 10 | 11 | bufPool := NewBufferPool(size) 12 | 13 | // Test Get/Put 14 | b := bufPool.Get() 15 | bufPool.Put(b) 16 | 17 | // Add some additional buffers beyond the pool size. 18 | for i := 0; i < size*2; i++ { 19 | bufPool.Put(bytes.NewBuffer([]byte{})) 20 | } 21 | 22 | // Close the channel so we can iterate over it. 23 | close(bufPool.c) 24 | 25 | // Check the size of the pool. 26 | if len(bufPool.c) != size { 27 | t.Fatalf("bufferpool size invalid: got %v want %v", len(bufPool.c), size) 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /vendor/github.com/satori/go.uuid/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | go: 4 | - 1.2 5 | - 1.3 6 | - 1.4 7 | - 1.5 8 | - 1.6 9 | - 1.7 10 | - tip 11 | matrix: 12 | allow_failures: 13 | - go: tip 14 | fast_finish: true 15 | before_install: 16 | - go get github.com/mattn/goveralls 17 | - go get golang.org/x/tools/cmd/cover 18 | script: 19 | - $HOME/gopath/bin/goveralls -service=travis-ci 20 | notifications: 21 | email: false 22 | -------------------------------------------------------------------------------- /vendor/github.com/starkandwayne/goutils/botta/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 | -------------------------------------------------------------------------------- /vendor/github.com/starkandwayne/goutils/botta/TODO: -------------------------------------------------------------------------------- 1 | GODOCS - examples 2 | -------------------------------------------------------------------------------- /vendor/github.com/starkandwayne/goutils/botta/assets/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/bui/eb83a626f07321e7c7fab3868ad42b48a8b1c8e1/vendor/github.com/starkandwayne/goutils/botta/assets/empty -------------------------------------------------------------------------------- /vendor/github.com/starkandwayne/goutils/botta/assets/invalid: -------------------------------------------------------------------------------- 1 | invalid json 2 | -------------------------------------------------------------------------------- /vendor/github.com/starkandwayne/goutils/botta/assets/test: -------------------------------------------------------------------------------- 1 | "test successful" 2 | -------------------------------------------------------------------------------- /vendor/github.com/starkandwayne/goutils/botta/assets/test_json: -------------------------------------------------------------------------------- 1 | { 2 | "valid": "json" 3 | } 4 | -------------------------------------------------------------------------------- /vendor/github.com/starkandwayne/goutils/botta/botta_suite_test.go: -------------------------------------------------------------------------------- 1 | package botta_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | "testing" 7 | ) 8 | 9 | func TestBotta(t *testing.T) { 10 | RegisterFailHandler(Fail) 11 | 12 | RunSpecs(t, "botta Test Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/starkandwayne/goutils/tree/examples/abc.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "github.com/starkandwayne/goutils/tree" 6 | ) 7 | 8 | func main() { 9 | t := tree.New("a", 10 | tree.New("b"), 11 | tree.New("c"), 12 | ) 13 | 14 | fmt.Printf("%s\n", t.Draw()) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/starkandwayne/goutils/tree/tree_suite_test.go: -------------------------------------------------------------------------------- 1 | package tree_test 2 | 3 | import ( 4 | "testing" 5 | 6 | . "github.com/onsi/ginkgo" 7 | . "github.com/onsi/gomega" 8 | ) 9 | 10 | func TestTree(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | 13 | RunSpecs(t, "tree Test Suite") 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/voxelbrain/goptions/.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | .DS_Store 3 | -------------------------------------------------------------------------------- /vendor/github.com/voxelbrain/goptions/CONTRIBUTORS.md: -------------------------------------------------------------------------------- 1 | Contributors 2 | ============ 3 | 4 | These people have contributed to goptions's design and implementation: 5 | 6 | * Andreas Krennmair 7 | * GDG Berlin Golang 8 | -------------------------------------------------------------------------------- /vendor/github.com/voxelbrain/goptions/circle.yml: -------------------------------------------------------------------------------- 1 | test: 2 | override: 3 | - go list -f "{{range .TestImports}}{{.}} {{end}}" . | xargs -r go get 4 | - go test 5 | -------------------------------------------------------------------------------- /vendor/github.com/voxelbrain/goptions/marshaler.go: -------------------------------------------------------------------------------- 1 | package goptions 2 | 3 | type Marshaler interface { 4 | MarshalGoption(s string) error 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/voxelbrain/goptions/special_types.go: -------------------------------------------------------------------------------- 1 | package goptions 2 | 3 | // Help Defines the common help flag. It is handled separately as it will cause 4 | // Parse() to return ErrHelpRequest. 5 | type Help bool 6 | 7 | // Verbs marks the point in the struct where the verbs start. Its value will be 8 | // the name of the selected verb. 9 | type Verbs string 10 | 11 | // A remainder catches all excessive arguments. If both a verb and 12 | // the containing options struct have a remainder field, only the latter one 13 | // will be used. 14 | type Remainder []string 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/.gitattributes: -------------------------------------------------------------------------------- 1 | # Treat all files in this repo as binary, with no git magic updating 2 | # line endings. Windows users contributing to Go will need to use a 3 | # modern version of git and editors capable of LF line endings. 4 | # 5 | # We'll prevent accidental CRLF line endings from entering the repo 6 | # via the git-review gofmt checks. 7 | # 8 | # See golang.org/issue/9281 9 | 10 | * -text 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/.gitignore: -------------------------------------------------------------------------------- 1 | # Add no patterns to .hgignore except for files generated by the build. 2 | last-change 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/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/crypto/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/golang.org/x/crypto/README: -------------------------------------------------------------------------------- 1 | This repository holds supplementary Go cryptography libraries. 2 | 3 | To submit changes to this repository, see http://golang.org/doc/contribute.html. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/blake2b/blake2b_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 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.7,amd64,!gccgo,!appengine 6 | 7 | package blake2b 8 | 9 | func init() { 10 | useSSE4 = supportsSSE4() 11 | } 12 | 13 | //go:noescape 14 | func supportsSSE4() bool 15 | 16 | //go:noescape 17 | func hashBlocksSSE4(h *[8]uint64, c *[2]uint64, flag uint64, blocks []byte) 18 | 19 | func hashBlocks(h *[8]uint64, c *[2]uint64, flag uint64, blocks []byte) { 20 | if useSSE4 { 21 | hashBlocksSSE4(h, c, flag, blocks) 22 | } else { 23 | hashBlocksGeneric(h, c, flag, blocks) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/blake2b/blake2b_ref.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 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 appengine gccgo 6 | 7 | package blake2b 8 | 9 | func hashBlocks(h *[8]uint64, c *[2]uint64, flag uint64, blocks []byte) { 10 | hashBlocksGeneric(h, c, flag, blocks) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/blake2s/blake2s_ref.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 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,!386 gccgo appengine 6 | 7 | package blake2s 8 | 9 | var ( 10 | useSSE4 = false 11 | useSSSE3 = false 12 | useSSE2 = false 13 | useGeneric = true 14 | ) 15 | 16 | func hashBlocks(h *[8]uint32, c *[2]uint32, flag uint32, blocks []byte) { 17 | hashBlocksGeneric(h, c, flag, blocks) 18 | } 19 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_noasm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 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 !go1.7 gccgo appengine 6 | 7 | package chacha20poly1305 8 | 9 | func (c *chacha20poly1305) seal(dst, nonce, plaintext, additionalData []byte) []byte { 10 | return c.sealGeneric(dst, nonce, plaintext, additionalData) 11 | } 12 | 13 | func (c *chacha20poly1305) open(dst, nonce, ciphertext, additionalData []byte) ([]byte, error) { 14 | return c.openGeneric(dst, nonce, ciphertext, additionalData) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/chacha20poly1305/internal/chacha20/chacha_test.go: -------------------------------------------------------------------------------- 1 | package chacha20 2 | 3 | import ( 4 | "encoding/hex" 5 | "testing" 6 | ) 7 | 8 | func TestCore(t *testing.T) { 9 | // This is just a smoke test that checks the example from 10 | // https://tools.ietf.org/html/rfc7539#section-2.3.2. The 11 | // chacha20poly1305 package contains much more extensive tests of this 12 | // code. 13 | var key [32]byte 14 | for i := range key { 15 | key[i] = byte(i) 16 | } 17 | 18 | var input [16]byte 19 | input[0] = 1 20 | input[7] = 9 21 | input[11] = 0x4a 22 | 23 | var out [64]byte 24 | XORKeyStream(out[:], out[:], &input, &key) 25 | const expected = "10f1e7e4d13b5915500fdd1fa32071c4c7d1f4c733c068030422aa9ac3d46c4ed2826446079faa0914c2d705d98b02a2b5129cd1de164eb9cbd083e8a2503c4e" 26 | if result := hex.EncodeToString(out[:]); result != expected { 27 | t.Errorf("wanted %x but got %x", expected, result) 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/curve25519/const_amd64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2012 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 | // This code was translated into a form compatible with 6a from the public 6 | // domain sources in SUPERCOP: http://bench.cr.yp.to/supercop.html 7 | 8 | // +build amd64,!gccgo,!appengine 9 | 10 | DATA ·REDMASK51(SB)/8, $0x0007FFFFFFFFFFFF 11 | GLOBL ·REDMASK51(SB), 8, $8 12 | 13 | DATA ·_121666_213(SB)/8, $996687872 14 | GLOBL ·_121666_213(SB), 8, $8 15 | 16 | DATA ·_2P0(SB)/8, $0xFFFFFFFFFFFDA 17 | GLOBL ·_2P0(SB), 8, $8 18 | 19 | DATA ·_2P1234(SB)/8, $0xFFFFFFFFFFFFE 20 | GLOBL ·_2P1234(SB), 8, $8 21 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/curve25519/curve25519_test.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 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 | package curve25519 6 | 7 | import ( 8 | "fmt" 9 | "testing" 10 | ) 11 | 12 | const expectedHex = "89161fde887b2b53de549af483940106ecc114d6982daa98256de23bdf77661a" 13 | 14 | func TestBaseScalarMult(t *testing.T) { 15 | var a, b [32]byte 16 | in := &a 17 | out := &b 18 | a[0] = 1 19 | 20 | for i := 0; i < 200; i++ { 21 | ScalarBaseMult(out, in) 22 | in, out = out, in 23 | } 24 | 25 | result := fmt.Sprintf("%x", in[:]) 26 | if result != expectedHex { 27 | t.Errorf("incorrect result: got %s, want %s", result, expectedHex) 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/ed25519/testdata/sign.input.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/bui/eb83a626f07321e7c7fab3868ad42b48a8b1c8e1/vendor/golang.org/x/crypto/ed25519/testdata/sign.input.gz -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/pkcs12/errors.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 | package pkcs12 6 | 7 | import "errors" 8 | 9 | var ( 10 | // ErrDecryption represents a failure to decrypt the input. 11 | ErrDecryption = errors.New("pkcs12: decryption error, incorrect padding") 12 | 13 | // ErrIncorrectPassword is returned when an incorrect password is detected. 14 | // Usually, P12/PFX data is signed to be able to verify the password. 15 | ErrIncorrectPassword = errors.New("pkcs12: decryption password incorrect") 16 | ) 17 | 18 | // NotImplementedError indicates that the input is not currently supported. 19 | type NotImplementedError string 20 | 21 | func (e NotImplementedError) Error() string { 22 | return "pkcs12: " + string(e) 23 | } 24 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/pkcs12/internal/rc2/bench_test.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 | package rc2 6 | 7 | import ( 8 | "testing" 9 | ) 10 | 11 | func BenchmarkEncrypt(b *testing.B) { 12 | r, _ := New([]byte{0, 0, 0, 0, 0, 0, 0, 0}, 64) 13 | b.ResetTimer() 14 | var src [8]byte 15 | for i := 0; i < b.N; i++ { 16 | r.Encrypt(src[:], src[:]) 17 | } 18 | } 19 | 20 | func BenchmarkDecrypt(b *testing.B) { 21 | r, _ := New([]byte{0, 0, 0, 0, 0, 0, 0, 0}, 64) 22 | b.ResetTimer() 23 | var src [8]byte 24 | for i := 0; i < b.N; i++ { 25 | r.Decrypt(src[:], src[:]) 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/poly1305/sum_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 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,!gccgo,!appengine 6 | 7 | package poly1305 8 | 9 | // This function is implemented in sum_amd64.s 10 | //go:noescape 11 | func poly1305(out *[16]byte, m *byte, mlen uint64, key *[32]byte) 12 | 13 | // Sum generates an authenticator for m using a one-time key and puts the 14 | // 16-byte result into out. Authenticating two different messages with the same 15 | // key allows an attacker to forge messages at will. 16 | func Sum(out *[16]byte, m []byte, key *[32]byte) { 17 | var mPtr *byte 18 | if len(m) > 0 { 19 | mPtr = &m[0] 20 | } 21 | poly1305(out, mPtr, uint64(len(m)), key) 22 | } 23 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/poly1305/sum_arm.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 arm,!gccgo,!appengine,!nacl 6 | 7 | package poly1305 8 | 9 | // This function is implemented in sum_arm.s 10 | //go:noescape 11 | func poly1305_auth_armv6(out *[16]byte, m *byte, mlen uint32, key *[32]byte) 12 | 13 | // Sum generates an authenticator for m using a one-time key and puts the 14 | // 16-byte result into out. Authenticating two different messages with the same 15 | // key allows an attacker to forge messages at will. 16 | func Sum(out *[16]byte, m []byte, key *[32]byte) { 17 | var mPtr *byte 18 | if len(m) > 0 { 19 | mPtr = &m[0] 20 | } 21 | poly1305_auth_armv6(out, mPtr, uint32(len(m)), key) 22 | } 23 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/salsa20/salsa/salsa20_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 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,!appengine,!gccgo 6 | 7 | package salsa 8 | 9 | // This function is implemented in salsa2020_amd64.s. 10 | 11 | //go:noescape 12 | 13 | func salsa2020XORKeyStream(out, in *byte, n uint64, nonce, key *byte) 14 | 15 | // XORKeyStream crypts bytes from in to out using the given key and counters. 16 | // In and out may be the same slice but otherwise should not overlap. Counter 17 | // contains the raw salsa20 counter bytes (both nonce and block counter). 18 | func XORKeyStream(out, in []byte, counter *[16]byte, key *[32]byte) { 19 | if len(in) == 0 { 20 | return 21 | } 22 | salsa2020XORKeyStream(&out[0], &in[0], uint64(len(in)), &counter[0], &key[0]) 23 | } 24 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/sha3/keccakf_amd64.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 amd64,!appengine,!gccgo 6 | 7 | package sha3 8 | 9 | // This function is implemented in keccakf_amd64.s. 10 | 11 | //go:noescape 12 | 13 | func keccakF1600(a *[25]uint64) 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/sha3/register.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 sha3 8 | 9 | import ( 10 | "crypto" 11 | ) 12 | 13 | func init() { 14 | crypto.RegisterHash(crypto.SHA3_224, New224) 15 | crypto.RegisterHash(crypto.SHA3_256, New256) 16 | crypto.RegisterHash(crypto.SHA3_384, New384) 17 | crypto.RegisterHash(crypto.SHA3_512, New512) 18 | } 19 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/sha3/testdata/keccakKats.json.deflate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/bui/eb83a626f07321e7c7fab3868ad42b48a8b1c8e1/vendor/golang.org/x/crypto/sha3/testdata/keccakKats.json.deflate -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/sha3/xor.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 !amd64,!386,!ppc64le appengine 6 | 7 | package sha3 8 | 9 | var ( 10 | xorIn = xorInGeneric 11 | copyOut = copyOutGeneric 12 | xorInUnaligned = xorInGeneric 13 | copyOutUnaligned = copyOutGeneric 14 | ) 15 | 16 | const xorImplementationUnaligned = "generic" 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/sha3/xor_generic.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 | package sha3 6 | 7 | import "encoding/binary" 8 | 9 | // xorInGeneric xors the bytes in buf into the state; it 10 | // makes no non-portable assumptions about memory layout 11 | // or alignment. 12 | func xorInGeneric(d *state, buf []byte) { 13 | n := len(buf) / 8 14 | 15 | for i := 0; i < n; i++ { 16 | a := binary.LittleEndian.Uint64(buf) 17 | d.a[i] ^= a 18 | buf = buf[8:] 19 | } 20 | } 21 | 22 | // copyOutGeneric copies ulint64s to a byte buffer. 23 | func copyOutGeneric(d *state, b []byte) { 24 | for i := 0; len(b) >= 8; i++ { 25 | binary.LittleEndian.PutUint64(b, d.a[i]) 26 | b = b[8:] 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/ssh/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2011 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 | /* 6 | Package ssh implements an SSH client and server. 7 | 8 | SSH is a transport security protocol, an authentication protocol and a 9 | family of application protocols. The most typical application level 10 | protocol is a remote shell and this is specifically implemented. However, 11 | the multiplexed nature of SSH is exposed to users that wish to support 12 | others. 13 | 14 | References: 15 | [PROTOCOL.certkeys]: http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/PROTOCOL.certkeys?rev=HEAD 16 | [SSH-PARAMETERS]: http://www.iana.org/assignments/ssh-parameters/ssh-parameters.xml#ssh-parameters-1 17 | */ 18 | package ssh // import "golang.org/x/crypto/ssh" 19 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/ssh/tcpip_test.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 | package ssh 6 | 7 | import ( 8 | "testing" 9 | ) 10 | 11 | func TestAutoPortListenBroken(t *testing.T) { 12 | broken := "SSH-2.0-OpenSSH_5.9hh11" 13 | works := "SSH-2.0-OpenSSH_6.1" 14 | if !isBrokenOpenSSHVersion(broken) { 15 | t.Errorf("version %q not marked as broken", broken) 16 | } 17 | if isBrokenOpenSSHVersion(works) { 18 | t.Errorf("version %q marked as broken", works) 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/ssh/terminal/util_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 darwin dragonfly freebsd netbsd openbsd 6 | 7 | package terminal 8 | 9 | import "syscall" 10 | 11 | const ioctlReadTermios = syscall.TIOCGETA 12 | const ioctlWriteTermios = syscall.TIOCSETA 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/ssh/terminal/util_linux.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 | package terminal 6 | 7 | // These constants are declared here, rather than importing 8 | // them from the syscall package as some syscall packages, even 9 | // on linux, for example gccgo, do not declare them. 10 | const ioctlReadTermios = 0x5401 // syscall.TCGETS 11 | const ioctlWriteTermios = 0x5402 // syscall.TCSETS 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/ssh/test/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 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 | // This package contains integration tests for the 6 | // golang.org/x/crypto/ssh package. 7 | package test // import "golang.org/x/crypto/ssh/test" 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/ssh/testdata/doc.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 | // This package contains test data shared between the various subpackages of 6 | // the golang.org/x/crypto/ssh package. Under no circumstance should 7 | // this data be used for production code. 8 | package testdata // import "golang.org/x/crypto/ssh/testdata" 9 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2011-2016 Canonical Ltd. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/suite_test.go: -------------------------------------------------------------------------------- 1 | package yaml_test 2 | 3 | import ( 4 | . "gopkg.in/check.v1" 5 | "testing" 6 | ) 7 | 8 | func Test(t *testing.T) { TestingT(t) } 9 | 10 | type S struct{} 11 | 12 | var _ = Suite(&S{}) 13 | --------------------------------------------------------------------------------