├── VERSION ├── vendor ├── golang.org │ └── x │ │ ├── sys │ │ ├── unix │ │ │ ├── .gitignore │ │ │ ├── endian_big.go │ │ │ ├── export_test.go │ │ │ ├── endian_little.go │ │ │ ├── constants.go │ │ │ ├── syscall_no_getwd.go │ │ │ ├── zsysnum_solaris_amd64.go │ │ │ ├── env_unset.go │ │ │ ├── syscall_linux_amd64_gc.go │ │ │ └── flock_linux_32bit.go │ │ ├── codereview.cfg │ │ ├── .gitignore │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── README │ │ ├── plan9 │ │ │ ├── asm.s │ │ │ └── env_unset.go │ │ ├── windows │ │ │ ├── svc │ │ │ │ └── go12.go │ │ │ ├── registry │ │ │ │ ├── mksyscall.go │ │ │ │ └── export_test.go │ │ │ ├── mksyscall.go │ │ │ ├── env_unset.go │ │ │ ├── asm_windows_386.s │ │ │ └── asm_windows_amd64.s │ │ └── .gitattributes │ │ └── net │ │ ├── codereview.cfg │ │ ├── http2 │ │ ├── .gitignore │ │ ├── h2demo │ │ │ ├── rootCA.srl │ │ │ ├── .gitignore │ │ │ └── Makefile │ │ ├── Makefile │ │ ├── not_go19.go │ │ ├── go16.go │ │ └── go19.go │ │ ├── .gitignore │ │ ├── html │ │ ├── charset │ │ │ └── testdata │ │ │ │ ├── UTF-16BE-BOM.html │ │ │ │ └── UTF-16LE-BOM.html │ │ └── testdata │ │ │ └── webkit │ │ │ ├── pending-spec-changes-plain-text-unsafe.dat │ │ │ └── scripted │ │ │ └── adoption01.dat │ │ ├── README │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── internal │ │ ├── socket │ │ │ ├── sys_darwin.go │ │ │ ├── sys_dragonfly.go │ │ │ ├── sys_linux_amd64.go │ │ │ ├── sys_linux_arm.go │ │ │ ├── sys_linux_arm64.go │ │ │ ├── sys_linux_mips.go │ │ │ ├── sys_linux_ppc64.go │ │ │ ├── sys_linux_mips64.go │ │ │ ├── sys_linux_mips64le.go │ │ │ ├── sys_linux_mipsle.go │ │ │ ├── sys_linux_ppc64le.go │ │ │ ├── msghdr_openbsd.go │ │ │ ├── iovec_stub.go │ │ │ ├── msghdr_bsdvar.go │ │ │ ├── sys_linux_386.s │ │ │ ├── sys_bsdvar.go │ │ │ ├── sys_linux_s390x.s │ │ │ ├── sys_solaris_amd64.s │ │ │ ├── cmsghdr_bsd.go │ │ │ ├── cmsghdr_solaris_64bit.go │ │ │ ├── cmsghdr_linux_32bit.go │ │ │ ├── iovec_solaris_64bit.go │ │ │ ├── cmsghdr_linux_64bit.go │ │ │ └── cmsghdr.go │ │ └── nettest │ │ │ ├── helper_nobsd.go │ │ │ └── rlimit.go │ │ ├── lif │ │ └── sys_solaris_amd64.s │ │ ├── icmp │ │ └── sys_freebsd.go │ │ ├── bpf │ │ └── setter.go │ │ ├── webdav │ │ ├── file_go1.7.go │ │ └── file_go1.6.go │ │ ├── ipv4 │ │ ├── sys_stub.go │ │ └── sys_bpf_stub.go │ │ ├── ipv6 │ │ ├── sys_stub.go │ │ └── sys_bpf_stub.go │ │ └── .gitattributes ├── github.com │ ├── Microsoft │ │ └── go-winio │ │ │ ├── .gitignore │ │ │ ├── archive │ │ │ └── tar │ │ │ │ └── testdata │ │ │ │ ├── small.txt │ │ │ │ ├── small2.txt │ │ │ │ ├── v7.tar │ │ │ │ ├── neg-size.tar │ │ │ │ ├── issue10968.tar │ │ │ │ ├── issue12435.tar │ │ │ │ ├── writer-big.tar │ │ │ │ └── writer-big-long.tar │ │ │ ├── backuptar │ │ │ └── noop.go │ │ │ └── syscall.go │ ├── Sirupsen │ │ └── logrus │ │ │ ├── .gitignore │ │ │ ├── terminal_appengine.go │ │ │ ├── terminal_bsd.go │ │ │ ├── .travis.yml │ │ │ └── terminal_linux.go │ ├── docker │ │ ├── docker │ │ │ ├── VERSION │ │ │ ├── hack │ │ │ │ ├── make │ │ │ │ │ ├── .build-deb │ │ │ │ │ │ ├── compat │ │ │ │ │ │ ├── docs │ │ │ │ │ │ ├── docker-engine.manpages │ │ │ │ │ │ ├── docker-engine.udev │ │ │ │ │ │ ├── docker-engine.bash-completion │ │ │ │ │ │ ├── docker-engine.docker.init │ │ │ │ │ │ ├── docker-engine.docker.upstart │ │ │ │ │ │ ├── docker-engine.docker.default │ │ │ │ │ │ └── docker-engine.postinst │ │ │ │ │ ├── tgz │ │ │ │ │ ├── .resources-windows │ │ │ │ │ │ ├── docker.rc │ │ │ │ │ │ ├── dockerd.rc │ │ │ │ │ │ ├── docker.ico │ │ │ │ │ │ └── docker.png │ │ │ │ │ ├── install-binary │ │ │ │ │ ├── test-integration-shell │ │ │ │ │ ├── .integration-daemon-setup │ │ │ │ │ ├── binary-daemon │ │ │ │ │ ├── binary │ │ │ │ │ ├── dynbinary │ │ │ │ │ ├── cover │ │ │ │ │ ├── .binary-setup │ │ │ │ │ ├── dynbinary-daemon │ │ │ │ │ └── build-integration-test-binary │ │ │ │ ├── validate │ │ │ │ │ ├── .swagger-yamllint │ │ │ │ │ ├── all │ │ │ │ │ ├── changelog-date-descending │ │ │ │ │ └── swagger │ │ │ │ ├── Jenkins │ │ │ │ │ └── readme.md │ │ │ │ └── integration-cli-on-swarm │ │ │ │ │ └── agent │ │ │ │ │ ├── vendor.conf │ │ │ │ │ └── Dockerfile │ │ │ ├── pkg │ │ │ │ ├── testutil │ │ │ │ │ └── pkg.go │ │ │ │ ├── chrootarchive │ │ │ │ │ ├── init_windows.go │ │ │ │ │ └── chroot_unix.go │ │ │ │ ├── archive │ │ │ │ │ ├── README.md │ │ │ │ │ ├── testdata │ │ │ │ │ │ └── broken.tar │ │ │ │ │ ├── archive_other.go │ │ │ │ │ ├── copy_windows.go │ │ │ │ │ ├── copy_unix.go │ │ │ │ │ ├── time_unsupported.go │ │ │ │ │ └── time_linux.go │ │ │ │ ├── stringutils │ │ │ │ │ └── README.md │ │ │ │ ├── sysinfo │ │ │ │ │ ├── README.md │ │ │ │ │ ├── numcpu.go │ │ │ │ │ ├── sysinfo_windows.go │ │ │ │ │ └── sysinfo_unix.go │ │ │ │ ├── stringid │ │ │ │ │ └── README.md │ │ │ │ ├── signal │ │ │ │ │ ├── README.md │ │ │ │ │ └── signal_unsupported.go │ │ │ │ ├── term │ │ │ │ │ └── windows │ │ │ │ │ │ └── windows_test.go │ │ │ │ ├── useragent │ │ │ │ │ └── README.md │ │ │ │ ├── mount │ │ │ │ │ ├── mountinfo_windows.go │ │ │ │ │ ├── mounter_unsupported.go │ │ │ │ │ └── mountinfo_unsupported.go │ │ │ │ ├── plugins │ │ │ │ │ ├── pluginrpc-gen │ │ │ │ │ │ └── fixtures │ │ │ │ │ │ │ └── otherfixture │ │ │ │ │ │ │ └── spaceship.go │ │ │ │ │ ├── discovery_unix.go │ │ │ │ │ ├── discovery_windows.go │ │ │ │ │ ├── plugins_unix.go │ │ │ │ │ └── plugins_windows.go │ │ │ │ ├── tarsum │ │ │ │ │ ├── testdata │ │ │ │ │ │ └── xattr │ │ │ │ │ │ │ └── layer.tar │ │ │ │ │ └── writercloser.go │ │ │ │ ├── system │ │ │ │ │ ├── lcow_windows.go │ │ │ │ │ ├── lcow_unix.go │ │ │ │ │ ├── errors.go │ │ │ │ │ ├── meminfo_unsupported.go │ │ │ │ │ ├── umask_windows.go │ │ │ │ │ ├── utimes_unsupported.go │ │ │ │ │ ├── syscall_windows_test.go │ │ │ │ │ ├── umask.go │ │ │ │ │ ├── path_unix.go │ │ │ │ │ ├── stat_openbsd.go │ │ │ │ │ ├── stat_solaris.go │ │ │ │ │ ├── chtimes_unix.go │ │ │ │ │ ├── lstat_windows.go │ │ │ │ │ ├── stat_darwin.go │ │ │ │ │ ├── stat_freebsd.go │ │ │ │ │ ├── mknod_windows.go │ │ │ │ │ └── xattrs_unsupported.go │ │ │ │ ├── fileutils │ │ │ │ │ ├── fileutils_windows.go │ │ │ │ │ └── fileutils_solaris.go │ │ │ │ ├── namesgenerator │ │ │ │ │ └── cmd │ │ │ │ │ │ └── names-generator │ │ │ │ │ │ └── main.go │ │ │ │ ├── ioutils │ │ │ │ │ └── temp_unix.go │ │ │ │ ├── parsers │ │ │ │ │ └── kernel │ │ │ │ │ │ └── uname_solaris.go │ │ │ │ ├── reexec │ │ │ │ │ ├── README.md │ │ │ │ │ └── command_unsupported.go │ │ │ │ ├── symlink │ │ │ │ │ ├── fs_unix.go │ │ │ │ │ └── README.md │ │ │ │ ├── pidfile │ │ │ │ │ ├── pidfile_unix.go │ │ │ │ │ └── pidfile_darwin.go │ │ │ │ ├── tlsconfig │ │ │ │ │ └── tlsconfig_clone.go │ │ │ │ ├── promise │ │ │ │ │ └── promise.go │ │ │ │ ├── homedir │ │ │ │ │ └── homedir_others.go │ │ │ │ └── devicemapper │ │ │ │ │ └── log.go │ │ │ ├── project │ │ │ │ └── CONTRIBUTING.md │ │ │ ├── contrib │ │ │ │ ├── REVIEWERS │ │ │ │ ├── selinux-fedora-24 │ │ │ │ │ └── docker-engine-selinux │ │ │ │ │ │ └── README.md │ │ │ │ ├── selinux-oraclelinux-7 │ │ │ │ │ └── docker-engine-selinux │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── docker_selinux.8.gz │ │ │ │ │ │ └── Makefile │ │ │ │ ├── syntax │ │ │ │ │ ├── textmate │ │ │ │ │ │ └── REVIEWERS │ │ │ │ │ └── vim │ │ │ │ │ │ └── ftdetect │ │ │ │ │ │ └── dockerfile.vim │ │ │ │ ├── docker-device-tool │ │ │ │ │ └── device_tool_windows.go │ │ │ │ ├── httpserver │ │ │ │ │ ├── Dockerfile │ │ │ │ │ ├── Dockerfile.solaris │ │ │ │ │ └── server.go │ │ │ │ ├── init │ │ │ │ │ ├── upstart │ │ │ │ │ │ └── REVIEWERS │ │ │ │ │ ├── systemd │ │ │ │ │ │ ├── REVIEWERS │ │ │ │ │ │ └── docker.socket │ │ │ │ │ └── sysvinit-redhat │ │ │ │ │ │ └── docker.sysconfig │ │ │ │ ├── syscall-test │ │ │ │ │ ├── exit32.s │ │ │ │ │ ├── setgid.c │ │ │ │ │ ├── setuid.c │ │ │ │ │ ├── raw.c │ │ │ │ │ └── acct.c │ │ │ │ ├── nnp-test │ │ │ │ │ ├── Dockerfile │ │ │ │ │ └── nnp-test.c │ │ │ │ ├── builder │ │ │ │ │ ├── deb │ │ │ │ │ │ ├── aarch64 │ │ │ │ │ │ │ └── build.sh │ │ │ │ │ │ ├── amd64 │ │ │ │ │ │ │ ├── build.sh │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ ├── ppc64le │ │ │ │ │ │ │ └── build.sh │ │ │ │ │ │ └── s390x │ │ │ │ │ │ │ └── build.sh │ │ │ │ │ └── rpm │ │ │ │ │ │ ├── amd64 │ │ │ │ │ │ ├── build.sh │ │ │ │ │ │ └── README.md │ │ │ │ │ │ ├── armhf │ │ │ │ │ │ └── build.sh │ │ │ │ │ │ ├── ppc64le │ │ │ │ │ │ └── build.sh │ │ │ │ │ │ └── s390x │ │ │ │ │ │ └── build.sh │ │ │ │ ├── editorconfig │ │ │ │ ├── README.md │ │ │ │ ├── udev │ │ │ │ │ └── 80-docker.rules │ │ │ │ ├── desktop-integration │ │ │ │ │ └── README.md │ │ │ │ └── gitdm │ │ │ │ │ └── gitdm.config │ │ │ ├── integration-cli │ │ │ │ ├── fixtures │ │ │ │ │ ├── secrets │ │ │ │ │ │ └── default │ │ │ │ │ └── deploy │ │ │ │ │ │ ├── remove.yaml │ │ │ │ │ │ └── default.yaml │ │ │ │ ├── test_vars_seccomp_test.go │ │ │ │ ├── test_vars_exec_test.go │ │ │ │ ├── test_vars_noexec_test.go │ │ │ │ ├── test_vars_noseccomp_test.go │ │ │ │ ├── request │ │ │ │ │ ├── npipe.go │ │ │ │ │ └── npipe_windows.go │ │ │ │ ├── environment │ │ │ │ │ └── protect.go │ │ │ │ ├── test_vars_unix_test.go │ │ │ │ ├── registry │ │ │ │ │ └── requirement.go │ │ │ │ └── test_vars_test.go │ │ │ ├── daemon │ │ │ │ ├── graphdriver │ │ │ │ │ ├── graphtest │ │ │ │ │ │ └── graphtest_windows.go │ │ │ │ │ ├── btrfs │ │ │ │ │ │ ├── dummy_unsupported.go │ │ │ │ │ │ ├── version_test.go │ │ │ │ │ │ └── version_none.go │ │ │ │ │ ├── overlay │ │ │ │ │ │ └── overlay_unsupported.go │ │ │ │ │ ├── overlay2 │ │ │ │ │ │ └── overlay_unsupported.go │ │ │ │ │ ├── zfs │ │ │ │ │ │ ├── MAINTAINERS │ │ │ │ │ │ └── zfs_unsupported.go │ │ │ │ │ ├── register │ │ │ │ │ │ ├── register_vfs.go │ │ │ │ │ │ ├── register_aufs.go │ │ │ │ │ │ ├── register_btrfs.go │ │ │ │ │ │ ├── register_windows.go │ │ │ │ │ │ ├── register_devicemapper.go │ │ │ │ │ │ ├── register_zfs.go │ │ │ │ │ │ └── register_overlay.go │ │ │ │ │ ├── aufs │ │ │ │ │ │ ├── mount_linux.go │ │ │ │ │ │ └── mount_unsupported.go │ │ │ │ │ ├── driver_unsupported.go │ │ │ │ │ └── driver_windows.go │ │ │ │ ├── logger │ │ │ │ │ ├── gelf │ │ │ │ │ │ └── gelf_unsupported.go │ │ │ │ │ ├── journald │ │ │ │ │ │ ├── journald_unsupported.go │ │ │ │ │ │ ├── read_native.go │ │ │ │ │ │ ├── read_unsupported.go │ │ │ │ │ │ └── read_native_compat.go │ │ │ │ │ ├── gcplogs │ │ │ │ │ │ └── gcplogging_others.go │ │ │ │ │ └── plugin_unsupported.go │ │ │ │ ├── bindmount_solaris.go │ │ │ │ ├── seccomp_unsupported.go │ │ │ │ ├── bindmount_unix.go │ │ │ │ ├── configs_linux.go │ │ │ │ ├── secrets_linux.go │ │ │ │ ├── configs_windows.go │ │ │ │ ├── secrets_windows.go │ │ │ │ ├── daemon_unsupported.go │ │ │ │ ├── configs_unsupported.go │ │ │ │ ├── secrets_unsupported.go │ │ │ │ ├── apparmor_default_unsupported.go │ │ │ │ ├── debugtrap_unsupported.go │ │ │ │ ├── keys_unsupported.go │ │ │ │ ├── cluster │ │ │ │ │ ├── executor │ │ │ │ │ │ └── container │ │ │ │ │ │ │ ├── validate_unix_test.go │ │ │ │ │ │ │ └── validate_windows_test.go │ │ │ │ │ └── listen_addr_others.go │ │ │ │ ├── selinux_unsupported.go │ │ │ │ ├── container_windows.go │ │ │ │ ├── daemon_experimental.go │ │ │ │ ├── info_windows.go │ │ │ │ ├── update_solaris.go │ │ │ │ ├── exec_solaris.go │ │ │ │ ├── metrics_unsupported.go │ │ │ │ ├── update_windows.go │ │ │ │ ├── selinux_linux.go │ │ │ │ ├── archive_tarcopyoptions_windows.go │ │ │ │ ├── stats_windows.go │ │ │ │ ├── list_unix.go │ │ │ │ └── dependency.go │ │ │ ├── builder │ │ │ │ ├── dockerfile │ │ │ │ │ ├── parser │ │ │ │ │ │ ├── testfiles-negative │ │ │ │ │ │ │ ├── env_no_value │ │ │ │ │ │ │ │ └── Dockerfile │ │ │ │ │ │ │ └── shykes-nested-json │ │ │ │ │ │ │ │ └── Dockerfile │ │ │ │ │ │ └── testfiles │ │ │ │ │ │ │ ├── continue-at-eof │ │ │ │ │ │ │ ├── Dockerfile │ │ │ │ │ │ │ └── result │ │ │ │ │ │ │ ├── jeztah-invalid-json-unterminated-string │ │ │ │ │ │ │ ├── Dockerfile │ │ │ │ │ │ │ └── result │ │ │ │ │ │ │ ├── jeztah-invalid-json-single-quotes │ │ │ │ │ │ │ ├── Dockerfile │ │ │ │ │ │ │ └── result │ │ │ │ │ │ │ ├── escape │ │ │ │ │ │ │ ├── result │ │ │ │ │ │ │ └── Dockerfile │ │ │ │ │ │ │ ├── escape-nonewline │ │ │ │ │ │ │ ├── result │ │ │ │ │ │ │ └── Dockerfile │ │ │ │ │ │ │ ├── jeztah-invalid-json-json-inside-string │ │ │ │ │ │ │ ├── Dockerfile │ │ │ │ │ │ │ └── result │ │ │ │ │ │ │ ├── escape-after-comment │ │ │ │ │ │ │ ├── result │ │ │ │ │ │ │ └── Dockerfile │ │ │ │ │ │ │ ├── jeztah-invalid-json-unterminated-bracket │ │ │ │ │ │ │ ├── Dockerfile │ │ │ │ │ │ │ └── result │ │ │ │ │ │ │ ├── jeztah-invalid-json-json-inside-string-double │ │ │ │ │ │ │ ├── Dockerfile │ │ │ │ │ │ │ └── result │ │ │ │ │ │ │ ├── multiple-volumes │ │ │ │ │ │ │ ├── Dockerfile │ │ │ │ │ │ │ └── result │ │ │ │ │ │ │ ├── json │ │ │ │ │ │ │ ├── result │ │ │ │ │ │ │ └── Dockerfile │ │ │ │ │ │ │ ├── mumble │ │ │ │ │ │ │ ├── Dockerfile │ │ │ │ │ │ │ └── result │ │ │ │ │ │ │ ├── znc │ │ │ │ │ │ │ ├── Dockerfile │ │ │ │ │ │ │ └── result │ │ │ │ │ │ │ ├── weechat │ │ │ │ │ │ │ ├── Dockerfile │ │ │ │ │ │ │ └── result │ │ │ │ │ │ │ ├── escapes │ │ │ │ │ │ │ ├── result │ │ │ │ │ │ │ └── Dockerfile │ │ │ │ │ │ │ ├── kartar-entrypoint-oddities │ │ │ │ │ │ │ ├── Dockerfile │ │ │ │ │ │ │ └── result │ │ │ │ │ │ │ ├── flags │ │ │ │ │ │ │ ├── Dockerfile │ │ │ │ │ │ │ └── result │ │ │ │ │ │ │ ├── health │ │ │ │ │ │ │ ├── Dockerfile │ │ │ │ │ │ │ └── result │ │ │ │ │ │ │ ├── ADD-COPY-with-JSON │ │ │ │ │ │ │ ├── Dockerfile │ │ │ │ │ │ │ └── result │ │ │ │ │ │ │ ├── nginx │ │ │ │ │ │ │ ├── Dockerfile │ │ │ │ │ │ │ └── result │ │ │ │ │ │ │ └── continueIndent │ │ │ │ │ │ │ └── result │ │ │ │ │ ├── builder_unix.go │ │ │ │ │ ├── builder_windows.go │ │ │ │ │ ├── copy_windows.go │ │ │ │ │ ├── evaluator_unix.go │ │ │ │ │ └── evaluator_windows.go │ │ │ │ └── remotecontext │ │ │ │ │ ├── generate.go │ │ │ │ │ ├── tarsum.proto │ │ │ │ │ └── mimetype_test.go │ │ │ ├── libcontainerd │ │ │ │ ├── oom_solaris.go │ │ │ │ ├── container.go │ │ │ │ └── utils_windows_test.go │ │ │ ├── client │ │ │ │ ├── session │ │ │ │ │ └── filesync │ │ │ │ │ │ ├── generate.go │ │ │ │ │ │ └── filesync.proto │ │ │ │ ├── client_windows.go │ │ │ │ ├── client_unix.go │ │ │ │ ├── interface_stable.go │ │ │ │ ├── service_remove.go │ │ │ │ ├── network_remove.go │ │ │ │ ├── plugin_set.go │ │ │ │ ├── swarm_join.go │ │ │ │ ├── container_unpause.go │ │ │ │ ├── container_pause.go │ │ │ │ ├── swarm_unlock.go │ │ │ │ ├── config_remove.go │ │ │ │ ├── secret_remove.go │ │ │ │ └── swarm_leave.go │ │ │ ├── layer │ │ │ │ ├── ro_layer_unix.go │ │ │ │ ├── layer_unix.go │ │ │ │ ├── layer_store_windows.go │ │ │ │ ├── ro_layer_windows.go │ │ │ │ └── filestore_unix.go │ │ │ ├── .dockerignore │ │ │ ├── volume │ │ │ │ ├── validate_test_windows.go │ │ │ │ ├── validate_test_unix.go │ │ │ │ ├── volume_copy_windows.go │ │ │ │ ├── volume_copy_unix.go │ │ │ │ └── store │ │ │ │ │ └── store_unix.go │ │ │ ├── docs │ │ │ │ └── static_files │ │ │ │ │ ├── contributors.png │ │ │ │ │ ├── moby-project-logo.png │ │ │ │ │ └── docker-logo-compressed.png │ │ │ ├── api │ │ │ │ ├── common_unix.go │ │ │ │ ├── types │ │ │ │ │ ├── swarm │ │ │ │ │ │ └── runtime │ │ │ │ │ │ │ └── gen.go │ │ │ │ │ ├── plugins │ │ │ │ │ │ └── logdriver │ │ │ │ │ │ │ ├── gen.go │ │ │ │ │ │ │ └── entry.proto │ │ │ │ │ ├── time │ │ │ │ │ │ └── duration_convert.go │ │ │ │ │ ├── error_response.go │ │ │ │ │ ├── id_response.go │ │ │ │ │ └── service_update_response.go │ │ │ │ ├── fixtures │ │ │ │ │ └── keyfile │ │ │ │ ├── server │ │ │ │ │ └── router │ │ │ │ │ │ ├── session │ │ │ │ │ │ └── backend.go │ │ │ │ │ │ ├── debug │ │ │ │ │ │ └── debug_routes.go │ │ │ │ │ │ └── checkpoint │ │ │ │ │ │ └── backend.go │ │ │ │ ├── common_windows.go │ │ │ │ └── swagger-gen.yaml │ │ │ ├── cmd │ │ │ │ └── dockerd │ │ │ │ │ ├── README.md │ │ │ │ │ ├── config_experimental.go │ │ │ │ │ ├── daemon_freebsd.go │ │ │ │ │ └── service_unsupported.go │ │ │ ├── opts │ │ │ │ ├── hosts_windows.go │ │ │ │ ├── opts_unix.go │ │ │ │ └── hosts_unix.go │ │ │ ├── container │ │ │ │ ├── container_linux.go │ │ │ │ ├── mounts_windows.go │ │ │ │ ├── state_solaris.go │ │ │ │ ├── state_windows.go │ │ │ │ ├── state_unix.go │ │ │ │ └── mounts_unix.go │ │ │ ├── profiles │ │ │ │ └── seccomp │ │ │ │ │ └── seccomp_unsupported.go │ │ │ ├── plugin │ │ │ │ └── v2 │ │ │ │ │ └── plugin_unsupported.go │ │ │ ├── distribution │ │ │ │ └── pull_v2_unix.go │ │ │ └── oci │ │ │ │ └── namespaces.go │ │ ├── go-connections │ │ │ ├── sockets │ │ │ │ └── README.md │ │ │ ├── doc.go │ │ │ ├── proxy │ │ │ │ └── logger.go │ │ │ └── tlsconfig │ │ │ │ └── certpool_other.go │ │ ├── distribution │ │ │ ├── manifest │ │ │ │ └── doc.go │ │ │ ├── contrib │ │ │ │ ├── docker-integration │ │ │ │ │ ├── nginx │ │ │ │ │ │ ├── test.passwd │ │ │ │ │ │ ├── registry-noauth.conf │ │ │ │ │ │ ├── registry-basic.conf │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ └── search.json │ │ │ │ │ │ ├── docker-registry-v2.conf │ │ │ │ │ │ └── Dockerfile │ │ │ │ │ ├── tokenserver │ │ │ │ │ │ ├── .htpasswd │ │ │ │ │ │ └── Dockerfile │ │ │ │ │ ├── tokenserver-oauth │ │ │ │ │ │ ├── .htpasswd │ │ │ │ │ │ └── Dockerfile │ │ │ │ │ └── Dockerfile │ │ │ │ └── compose │ │ │ │ │ ├── nginx │ │ │ │ │ ├── Dockerfile │ │ │ │ │ └── docker-registry-v2.conf │ │ │ │ │ └── docker-compose.yml │ │ │ ├── registry │ │ │ │ ├── doc.go │ │ │ │ ├── storage │ │ │ │ │ ├── doc.go │ │ │ │ │ ├── driver │ │ │ │ │ │ ├── gcs │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ └── oss │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ └── cache │ │ │ │ │ │ └── memory │ │ │ │ │ │ └── memory_test.go │ │ │ │ └── handlers │ │ │ │ │ └── basicauth.go │ │ │ ├── docs │ │ │ │ └── spec │ │ │ │ │ ├── images │ │ │ │ │ └── v2-registry-auth.png │ │ │ │ │ ├── menu.md │ │ │ │ │ └── index.md │ │ │ ├── doc.go │ │ │ └── cmd │ │ │ │ └── registry │ │ │ │ └── config-example.yml │ │ ├── libtrust │ │ │ └── MAINTAINERS │ │ └── go-units │ │ │ └── circle.yml │ ├── gogo │ │ └── protobuf │ │ │ ├── test │ │ │ ├── .gitignore │ │ │ ├── oneof │ │ │ │ └── doc.go │ │ │ ├── tags │ │ │ │ └── doc.go │ │ │ ├── embedconflict │ │ │ │ ├── .gitignore │ │ │ │ └── doc.go │ │ │ ├── oneof3 │ │ │ │ └── doc.go │ │ │ ├── packed │ │ │ │ └── doc.go │ │ │ ├── mapsproto2 │ │ │ │ └── doc.go │ │ │ ├── theproto3 │ │ │ │ └── doc.go │ │ │ ├── dashfilename │ │ │ │ └── doc.go │ │ │ ├── sizerconflict │ │ │ │ └── doc.go │ │ │ ├── defaultconflict │ │ │ │ └── doc.go │ │ │ ├── registration │ │ │ │ └── .gitignore │ │ │ ├── enumdecl │ │ │ │ ├── models.go │ │ │ │ └── Makefile │ │ │ ├── enumdecl_all │ │ │ │ ├── models.go │ │ │ │ └── Makefile │ │ │ ├── typedecl │ │ │ │ └── Makefile │ │ │ ├── typedecl_all │ │ │ │ └── Makefile │ │ │ ├── proto3extension │ │ │ │ └── proto3ext.proto │ │ │ ├── issue260 │ │ │ │ ├── Makefile │ │ │ │ └── README.md │ │ │ ├── issue262 │ │ │ │ ├── timefail.proto │ │ │ │ └── Makefile │ │ │ └── issue261 │ │ │ │ ├── issue261.proto │ │ │ │ └── Makefile │ │ │ ├── vanity │ │ │ └── test │ │ │ │ ├── doc.go │ │ │ │ └── gofast │ │ │ │ └── .gitignore │ │ │ ├── .gitignore │ │ │ ├── protoc-gen-gogo │ │ │ └── testdata │ │ │ │ └── multi │ │ │ │ └── .gitignore │ │ │ ├── GOLANG_CONTRIBUTORS │ │ │ └── jsonpb │ │ │ └── jsonpb_test_proto │ │ │ └── bytes.go │ ├── nlopes │ │ └── slack │ │ │ ├── .gitignore │ │ │ ├── examples │ │ │ ├── files │ │ │ │ └── example.txt │ │ │ └── users │ │ │ │ └── users.go │ │ │ ├── TODO.txt │ │ │ ├── websocket_dnd.go │ │ │ ├── .travis.yml │ │ │ ├── comment.go │ │ │ ├── slack_test.go │ │ │ └── websocket_stars.go │ ├── stretchr │ │ ├── objx │ │ │ ├── value_test.go │ │ │ ├── README.md │ │ │ ├── security_test.go │ │ │ ├── map_for_test.go │ │ │ ├── security.go │ │ │ ├── .gitignore │ │ │ ├── value.go │ │ │ ├── constants.go │ │ │ ├── codegen │ │ │ │ └── array-access.txt │ │ │ └── tests.go │ │ └── testify │ │ │ ├── http │ │ │ └── doc.go │ │ │ ├── Godeps │ │ │ └── Readme │ │ │ ├── require │ │ │ ├── require_forward.go.tmpl │ │ │ ├── require.go.tmpl │ │ │ └── requirements.go │ │ │ ├── assert │ │ │ ├── assertion_forward.go.tmpl │ │ │ └── errors.go │ │ │ ├── .travis.yml │ │ │ ├── package_test.go │ │ │ └── .gitignore │ ├── urfave │ │ └── cli │ │ │ ├── .gitignore │ │ │ ├── altsrc │ │ │ └── altsrc.go │ │ │ ├── autocomplete │ │ │ ├── zsh_autocomplete │ │ │ └── bash_autocomplete │ │ │ └── helpers_unix_test.go │ ├── pborman │ │ └── uuid │ │ │ ├── CONTRIBUTORS │ │ │ ├── .travis.yml │ │ │ ├── doc.go │ │ │ └── CONTRIBUTING.md │ ├── pmezard │ │ └── go-difflib │ │ │ └── .travis.yml │ ├── opencontainers │ │ ├── go-digest │ │ │ ├── .travis.yml │ │ │ ├── .mailmap │ │ │ └── .pullapprove.yml │ │ └── image-spec │ │ │ ├── .gitignore │ │ │ ├── img │ │ │ ├── media-types.png │ │ │ ├── run-diagram.png │ │ │ └── build-diagram.png │ │ │ ├── project.md │ │ │ ├── .tool │ │ │ └── check-license │ │ │ └── MAINTAINERS │ ├── jcjones │ │ └── github-pr-status │ │ │ ├── test.sh │ │ │ └── examples │ │ │ └── example-secret.json │ ├── pkg │ │ └── errors │ │ │ ├── .travis.yml │ │ │ └── .gitignore │ └── davecgh │ │ └── go-spew │ │ ├── .gitignore │ │ └── .travis.yml └── gopkg.in │ └── go-playground │ └── webhooks.v3 │ ├── logo.png │ └── .gitignore ├── codecov.yml ├── .dockerignore ├── img └── microci.png ├── microci ├── templates │ ├── slack-sec.yaml │ ├── docker-sec.yaml │ └── github-sec.yaml ├── .helmignore └── Chart.yaml ├── docker_entrypoint.sh └── .gitignore /VERSION: -------------------------------------------------------------------------------- 1 | 0.2.0 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/.gitignore: -------------------------------------------------------------------------------- 1 | _obj/ 2 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/go-winio/.gitignore: -------------------------------------------------------------------------------- 1 | *.exe 2 | -------------------------------------------------------------------------------- /vendor/github.com/Sirupsen/logrus/.gitignore: -------------------------------------------------------------------------------- 1 | logrus 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/VERSION: -------------------------------------------------------------------------------- 1 | 17.06.0-dev 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/go-connections/sockets/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/test/.gitignore: -------------------------------------------------------------------------------- 1 | *.dat 2 | -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- 1 | coverage: 2 | ignore: 3 | - "vendor/*" 4 | -------------------------------------------------------------------------------- /vendor/github.com/nlopes/slack/.gitignore: -------------------------------------------------------------------------------- 1 | *.test 2 | *~ 3 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/objx/value_test.go: -------------------------------------------------------------------------------- 1 | package objx 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | h2i/h2i 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/hack/make/.build-deb/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/test/oneof/doc.go: -------------------------------------------------------------------------------- 1 | package one 2 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/test/tags/doc.go: -------------------------------------------------------------------------------- 1 | package tags 2 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/vanity/test/doc.go: -------------------------------------------------------------------------------- 1 | package test 2 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/vanity/test/gofast/.gitignore: -------------------------------------------------------------------------------- 1 | *.pb.go -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/h2demo/rootCA.srl: -------------------------------------------------------------------------------- 1 | E2CE26BF3285059C 2 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/go-winio/archive/tar/testdata/small.txt: -------------------------------------------------------------------------------- 1 | Kilts -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/hack/make/.build-deb/docs: -------------------------------------------------------------------------------- 1 | README.md 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/testutil/pkg.go: -------------------------------------------------------------------------------- 1 | package testutil 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/project/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | ../CONTRIBUTING.md -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/.gitignore: -------------------------------------------------------------------------------- 1 | ._* 2 | *.js 3 | *.js.map 4 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/test/embedconflict/.gitignore: -------------------------------------------------------------------------------- 1 | *.pb.go 2 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/test/oneof3/doc.go: -------------------------------------------------------------------------------- 1 | package oneof3 2 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/test/packed/doc.go: -------------------------------------------------------------------------------- 1 | package packed 2 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | .glide 2 | .idea 3 | .cover 4 | .vscode 5 | .git 6 | dist 7 | out -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/manifest/doc.go: -------------------------------------------------------------------------------- 1 | package manifest 2 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/test/mapsproto2/doc.go: -------------------------------------------------------------------------------- 1 | package mapsproto2 2 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/test/theproto3/doc.go: -------------------------------------------------------------------------------- 1 | package theproto3 2 | -------------------------------------------------------------------------------- /vendor/github.com/urfave/cli/.gitignore: -------------------------------------------------------------------------------- 1 | *.coverprofile 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/go-winio/archive/tar/testdata/small2.txt: -------------------------------------------------------------------------------- 1 | Google.com 2 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/test/dashfilename/doc.go: -------------------------------------------------------------------------------- 1 | package dashfilename 2 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/test/embedconflict/doc.go: -------------------------------------------------------------------------------- 1 | package embedconflict 2 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/test/sizerconflict/doc.go: -------------------------------------------------------------------------------- 1 | package sizerconflict 2 | -------------------------------------------------------------------------------- /vendor/github.com/pborman/uuid/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Paul Borman 2 | -------------------------------------------------------------------------------- /img/microci.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/microci/HEAD/img/microci.png -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/protoc-gen-gogo/testdata/multi/.gitignore: -------------------------------------------------------------------------------- 1 | *.pb.go 2 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/test/defaultconflict/doc.go: -------------------------------------------------------------------------------- 1 | package defaultcheck 2 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/test/registration/.gitignore: -------------------------------------------------------------------------------- 1 | *.pb.go 2 | *_test.go 3 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/hack/make/.build-deb/docker-engine.manpages: -------------------------------------------------------------------------------- 1 | man/man*/* 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/REVIEWERS: -------------------------------------------------------------------------------- 1 | Tianon Gravi (@tianon) 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/hack/make/tgz: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | echo "tgz is deprecated" 3 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/integration-cli/fixtures/secrets/default: -------------------------------------------------------------------------------- 1 | this is the secret 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/Makefile: -------------------------------------------------------------------------------- 1 | curlimage: 2 | docker build -t gohttp2/curl . 3 | 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/graphtest/graphtest_windows.go: -------------------------------------------------------------------------------- 1 | package graphtest 2 | -------------------------------------------------------------------------------- /vendor/github.com/nlopes/slack/examples/files/example.txt: -------------------------------------------------------------------------------- 1 | Nan Nan Nan Nan Nan Nan Nan Nan Batman 2 | -------------------------------------------------------------------------------- /vendor/github.com/pmezard/go-difflib/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.5 4 | - tip 5 | 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/hack/make/.build-deb/docker-engine.udev: -------------------------------------------------------------------------------- 1 | ../../../contrib/udev/80-docker.rules -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/go-digest/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.7 4 | - master 5 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/image-spec/.gitignore: -------------------------------------------------------------------------------- 1 | /oci-validate-examples 2 | output 3 | header.html 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/logger/gelf/gelf_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package gelf 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/hack/make/.build-deb/docker-engine.bash-completion: -------------------------------------------------------------------------------- 1 | contrib/completion/bash/docker 2 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/http/doc.go: -------------------------------------------------------------------------------- 1 | // Package http DEPRECATED USE net/http/httptest 2 | package http 3 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/selinux-fedora-24/docker-engine-selinux/README.md: -------------------------------------------------------------------------------- 1 | SELinux policy for docker 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/selinux-oraclelinux-7/docker-engine-selinux/README.md: -------------------------------------------------------------------------------- 1 | SELinux policy for docker 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/syntax/textmate/REVIEWERS: -------------------------------------------------------------------------------- 1 | Asbjorn Enge (@asbjornenge) 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/hack/make/.build-deb/docker-engine.docker.init: -------------------------------------------------------------------------------- 1 | ../../../contrib/init/sysvinit-debian/docker -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/hack/make/.build-deb/docker-engine.docker.upstart: -------------------------------------------------------------------------------- 1 | ../../../contrib/init/upstart/docker.conf -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/chrootarchive/init_windows.go: -------------------------------------------------------------------------------- 1 | package chrootarchive 2 | 3 | func init() { 4 | } 5 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/docker-device-tool/device_tool_windows.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | func main() { 4 | } 5 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/btrfs/dummy_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux !cgo 2 | 3 | package btrfs 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/overlay/overlay_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package overlay 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/archive/README.md: -------------------------------------------------------------------------------- 1 | This code provides helper functions for dealing with archive files. 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/stringutils/README.md: -------------------------------------------------------------------------------- 1 | This package provides helper functions for dealing with strings 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/sysinfo/README.md: -------------------------------------------------------------------------------- 1 | SysInfo stores information about which features a kernel supports. 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/.gitignore: -------------------------------------------------------------------------------- 1 | # Add no patterns to .hgignore except for files generated by the build. 2 | last-change 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/.gitignore: -------------------------------------------------------------------------------- 1 | # Add no patterns to .hgignore except for files generated by the build. 2 | last-change 3 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/contrib/docker-integration/nginx/test.passwd: -------------------------------------------------------------------------------- 1 | testuser:$apr1$YmLhHjm6$AjP4z8J1WgcUNxU8J4ue5. 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/overlay2/overlay_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package overlay2 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/hack/make/.build-deb/docker-engine.docker.default: -------------------------------------------------------------------------------- 1 | ../../../contrib/init/sysvinit-debian/docker.default -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/stringid/README.md: -------------------------------------------------------------------------------- 1 | This package provides helper functions for dealing with string identifiers 2 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/go-digest/.mailmap: -------------------------------------------------------------------------------- 1 | Stephen J Day 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/h2demo/.gitignore: -------------------------------------------------------------------------------- 1 | h2demo 2 | h2demo.linux 3 | client-id.dat 4 | client-secret.dat 5 | token.dat 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles-negative/env_no_value/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM busybox 2 | 3 | ENV PATH 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/continue-at-eof/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.5 2 | 3 | RUN something \ -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/continue-at-eof/result: -------------------------------------------------------------------------------- 1 | (from "alpine:3.5") 2 | (run "something") 3 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/httpserver/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM busybox 2 | EXPOSE 80/tcp 3 | COPY httpserver . 4 | CMD ["./httpserver"] 5 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/bindmount_solaris.go: -------------------------------------------------------------------------------- 1 | // +build solaris 2 | 3 | package daemon 4 | 5 | const bindMountType = "lofs" 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/seccomp_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package daemon 4 | 5 | var supportsSeccomp = false 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/hack/make/.resources-windows/docker.rc: -------------------------------------------------------------------------------- 1 | #define DOCKER_NAME "Docker Client" 2 | 3 | #include "common.rc" 4 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/objx/README.md: -------------------------------------------------------------------------------- 1 | # objx 2 | 3 | * Jump into the [API Documentation](http://godoc.org/github.com/stretchr/objx) 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles-negative/shykes-nested-json/Dockerfile: -------------------------------------------------------------------------------- 1 | CMD [ "echo", [ "nested json" ] ] 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/bindmount_unix.go: -------------------------------------------------------------------------------- 1 | // +build linux freebsd 2 | 3 | package daemon 4 | 5 | const bindMountType = "bind" 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/signal/README.md: -------------------------------------------------------------------------------- 1 | This package provides helper functions for dealing with signals across various operating systems -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/registry/doc.go: -------------------------------------------------------------------------------- 1 | // Package registry provides the main entrypoints for running a registry. 2 | package registry 3 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/remotecontext/generate.go: -------------------------------------------------------------------------------- 1 | package remotecontext 2 | 3 | //go:generate protoc --gogoslick_out=. tarsum.proto 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/httpserver/Dockerfile.solaris: -------------------------------------------------------------------------------- 1 | FROM solaris 2 | EXPOSE 80/tcp 3 | COPY httpserver . 4 | CMD ["./httpserver"] 5 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/syntax/vim/ftdetect/dockerfile.vim: -------------------------------------------------------------------------------- 1 | au BufNewFile,BufRead [Dd]ockerfile,Dockerfile.* set filetype=dockerfile 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/hack/validate/.swagger-yamllint: -------------------------------------------------------------------------------- 1 | extends: default 2 | rules: 3 | document-start: disable 4 | line-length: disable 5 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/term/windows/windows_test.go: -------------------------------------------------------------------------------- 1 | // This file is necessary to pass the Docker tests. 2 | 3 | package windowsconsole 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/jeztah-invalid-json-unterminated-string/Dockerfile: -------------------------------------------------------------------------------- 1 | CMD ["echo", "look ma, no quote!] 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/hack/Jenkins/readme.md: -------------------------------------------------------------------------------- 1 | These files under this directory are for reference only. 2 | 3 | They are used by Jenkins for CI runs. -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/libcontainerd/oom_solaris.go: -------------------------------------------------------------------------------- 1 | package libcontainerd 2 | 3 | func setOOMScore(pid, score int) error { 4 | return nil 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/jcjones/github-pr-status/test.sh: -------------------------------------------------------------------------------- 1 | golint ./... 2 | go vet ./... 3 | find . -name "*.go" -not -path "./Godeps/*" -print | xargs -n1 gofmt -l -------------------------------------------------------------------------------- /vendor/gopkg.in/go-playground/webhooks.v3/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/microci/HEAD/vendor/gopkg.in/go-playground/webhooks.v3/logo.png -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/contrib/docker-integration/tokenserver/.htpasswd: -------------------------------------------------------------------------------- 1 | testuser:$2y$05$T2MlBvkN1R/yICNnLuf1leOlOfAY0DvybctbbWUFKlojfkShVgn4m 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/jeztah-invalid-json-single-quotes/Dockerfile: -------------------------------------------------------------------------------- 1 | CMD ['echo','single quotes are invalid JSON'] 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/jeztah-invalid-json-single-quotes/result: -------------------------------------------------------------------------------- 1 | (cmd "['echo','single quotes are invalid JSON']") 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/jeztah-invalid-json-unterminated-string/result: -------------------------------------------------------------------------------- 1 | (cmd "[\"echo\", \"look ma, no quote!]") 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/init/upstart/REVIEWERS: -------------------------------------------------------------------------------- 1 | Tianon Gravi (@tianon) 2 | Jessie Frazelle (@jfrazelle) 3 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/configs_linux.go: -------------------------------------------------------------------------------- 1 | // +build linux 2 | 3 | package daemon 4 | 5 | func configsSupported() bool { 6 | return true 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/zfs/MAINTAINERS: -------------------------------------------------------------------------------- 1 | Jörg Thalheim (@Mic92) 2 | Arthur Gautier (@baloose) 3 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/logger/journald/journald_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package journald 4 | 5 | type journald struct { 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/secrets_linux.go: -------------------------------------------------------------------------------- 1 | // +build linux 2 | 3 | package daemon 4 | 5 | func secretsSupported() bool { 6 | return true 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/useragent/README.md: -------------------------------------------------------------------------------- 1 | This package provides helper functions to pack version information into a single User-Agent header. 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/contrib/docker-integration/tokenserver-oauth/.htpasswd: -------------------------------------------------------------------------------- 1 | testuser:$2y$05$T2MlBvkN1R/yICNnLuf1leOlOfAY0DvybctbbWUFKlojfkShVgn4m 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/escape/result: -------------------------------------------------------------------------------- 1 | (from "image") 2 | (label "maintainer" "foo@bar.com") 3 | (env "GOPATH" "\\go") 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/session/filesync/generate.go: -------------------------------------------------------------------------------- 1 | package filesync 2 | 3 | //go:generate protoc --gogoslick_out=plugins=grpc:. filesync.proto 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/configs_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package daemon 4 | 5 | func configsSupported() bool { 6 | return true 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/secrets_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package daemon 4 | 5 | func secretsSupported() bool { 6 | return true 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/test/enumdecl/models.go: -------------------------------------------------------------------------------- 1 | package enumdecl 2 | 3 | type MyEnum int32 4 | 5 | const ( 6 | A MyEnum = iota 7 | B MyEnum = iota 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/pborman/uuid/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.4.3 5 | - 1.5.3 6 | - tip 7 | 8 | script: 9 | - go test -v ./... 10 | -------------------------------------------------------------------------------- /vendor/github.com/urfave/cli/altsrc/altsrc.go: -------------------------------------------------------------------------------- 1 | package altsrc 2 | 3 | //go:generate python ../generate-flag-types altsrc -i ../flag-types.json -o flag_generated.go 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/syscall-test/exit32.s: -------------------------------------------------------------------------------- 1 | .globl _start 2 | .text 3 | _start: 4 | xorl %eax, %eax 5 | incl %eax 6 | movb $0, %bl 7 | int $0x80 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/daemon_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!freebsd,!windows,!solaris 2 | 3 | package daemon 4 | 5 | const platformSupported = false 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/layer/ro_layer_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package layer 4 | 5 | func (rl *roLayer) Platform() Platform { 6 | return "" 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/go-winio/backuptar/noop.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | // This file only exists to allow go get on non-Windows platforms. 3 | 4 | package backuptar 5 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/.dockerignore: -------------------------------------------------------------------------------- 1 | bundles 2 | .gopath 3 | vendor/pkg 4 | .go-pkg-cache 5 | .git 6 | hack/integration-cli-on-swarm/integration-cli-on-swarm 7 | 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/escape-nonewline/result: -------------------------------------------------------------------------------- 1 | (from "image") 2 | (label "maintainer" "foo@bar.com") 3 | (env "GOPATH" "\\go") 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/escape/Dockerfile: -------------------------------------------------------------------------------- 1 | #escape = ` 2 | 3 | FROM image 4 | LABEL maintainer foo@bar.com 5 | ENV GOPATH ` 6 | \go -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/jeztah-invalid-json-json-inside-string/Dockerfile: -------------------------------------------------------------------------------- 1 | CMD '["echo", "Well, JSON in a string is JSON too?"]' 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/hack/make/.resources-windows/dockerd.rc: -------------------------------------------------------------------------------- 1 | #define DOCKER_NAME "Docker Engine" 2 | 3 | #include "common.rc" 4 | #include "event_messages.rc" 5 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/volume/validate_test_windows.go: -------------------------------------------------------------------------------- 1 | package volume 2 | 3 | var ( 4 | testDestinationPath = `c:\foo` 5 | testSourcePath = `c:\foo` 6 | ) 7 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/test/enumdecl_all/models.go: -------------------------------------------------------------------------------- 1 | package enumdeclall 2 | 3 | type MyEnum int32 4 | 5 | const ( 6 | A MyEnum = iota 7 | B MyEnum = iota 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/escape-after-comment/result: -------------------------------------------------------------------------------- 1 | (from "image") 2 | (label "maintainer" "foo@bar.com") 3 | (env "GOPATH" "\\go") 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/jeztah-invalid-json-json-inside-string/result: -------------------------------------------------------------------------------- 1 | (cmd "'[\"echo\", \"Well, JSON in a string is JSON too?\"]'") 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/jeztah-invalid-json-unterminated-bracket/Dockerfile: -------------------------------------------------------------------------------- 1 | CMD ["echo", "Please, close the brackets when you're done" 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/configs_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!windows 2 | 3 | package daemon 4 | 5 | func configsSupported() bool { 6 | return false 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/secrets_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!windows 2 | 3 | package daemon 4 | 5 | func secretsSupported() bool { 6 | return false 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/hack/make/install-binary: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | rm -rf "$DEST" 5 | 6 | ( 7 | source "${MAKEDIR}/install-binary-daemon" 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/archive/testdata/broken.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/microci/HEAD/vendor/github.com/docker/docker/pkg/archive/testdata/broken.tar -------------------------------------------------------------------------------- /vendor/github.com/jcjones/github-pr-status/examples/example-secret.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "basic", 3 | "username": "user", 4 | "password": "password or token" 5 | } 6 | 7 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/image-spec/img/media-types.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/microci/HEAD/vendor/github.com/opencontainers/image-spec/img/media-types.png -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/image-spec/img/run-diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/microci/HEAD/vendor/github.com/opencontainers/image-spec/img/run-diagram.png -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/charset/testdata/UTF-16BE-BOM.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/microci/HEAD/vendor/golang.org/x/net/html/charset/testdata/UTF-16BE-BOM.html -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/charset/testdata/UTF-16LE-BOM.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/microci/HEAD/vendor/golang.org/x/net/html/charset/testdata/UTF-16LE-BOM.html -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/go-winio/archive/tar/testdata/v7.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/microci/HEAD/vendor/github.com/Microsoft/go-winio/archive/tar/testdata/v7.tar -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/jeztah-invalid-json-unterminated-bracket/result: -------------------------------------------------------------------------------- 1 | (cmd "[\"echo\", \"Please, close the brackets when you're done\"") 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/logger/gcplogs/gcplogging_others.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package gcplogs 4 | 5 | func ensureHomeIfIAmStatic() error { 6 | return nil 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/docs/static_files/contributors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/microci/HEAD/vendor/github.com/docker/docker/docs/static_files/contributors.png -------------------------------------------------------------------------------- /vendor/github.com/nlopes/slack/TODO.txt: -------------------------------------------------------------------------------- 1 | - Add more tests!!! 2 | - Add support to have markdown hints 3 | - See section Message Formatting at https://api.slack.com/docs/formatting 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/image-spec/img/build-diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/microci/HEAD/vendor/github.com/opencontainers/image-spec/img/build-diagram.png -------------------------------------------------------------------------------- /vendor/golang.org/x/net/README: -------------------------------------------------------------------------------- 1 | This repository holds supplementary Go networking libraries. 2 | 3 | To submit changes to this repository, see http://golang.org/doc/contribute.html. 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/apparmor_default_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package daemon 4 | 5 | func ensureDefaultAppArmorProfile() error { 6 | return nil 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/mount/mountinfo_windows.go: -------------------------------------------------------------------------------- 1 | package mount 2 | 3 | func parseMountTable() ([]*Info, error) { 4 | // Do NOT return an error! 5 | return nil, nil 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/plugins/pluginrpc-gen/fixtures/otherfixture/spaceship.go: -------------------------------------------------------------------------------- 1 | package otherfixture 2 | 3 | // Spaceship is a fixture for tests 4 | type Spaceship struct{} 5 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/tarsum/testdata/xattr/layer.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/microci/HEAD/vendor/github.com/docker/docker/pkg/tarsum/testdata/xattr/layer.tar -------------------------------------------------------------------------------- /vendor/github.com/docker/libtrust/MAINTAINERS: -------------------------------------------------------------------------------- 1 | Solomon Hykes 2 | Josh Hawn (github: jlhawn) 3 | Derek McGowan (github: dmcgowan) 4 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/go-winio/archive/tar/testdata/neg-size.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/microci/HEAD/vendor/github.com/Microsoft/go-winio/archive/tar/testdata/neg-size.tar -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/register/register_vfs.go: -------------------------------------------------------------------------------- 1 | package register 2 | 3 | import ( 4 | // register vfs 5 | _ "github.com/docker/docker/daemon/graphdriver/vfs" 6 | ) 7 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/docs/static_files/moby-project-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/microci/HEAD/vendor/github.com/docker/docker/docs/static_files/moby-project-logo.png -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/hack/make/.resources-windows/docker.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/microci/HEAD/vendor/github.com/docker/docker/hack/make/.resources-windows/docker.ico -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/hack/make/.resources-windows/docker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/microci/HEAD/vendor/github.com/docker/docker/hack/make/.resources-windows/docker.png -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/plugins/discovery_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package plugins 4 | 5 | var specsPaths = []string{"/etc/docker/plugins", "/usr/lib/docker/plugins"} 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/volume/validate_test_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package volume 4 | 5 | var ( 6 | testDestinationPath = "/foo" 7 | testSourcePath = "/foo" 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/go-winio/archive/tar/testdata/issue10968.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/microci/HEAD/vendor/github.com/Microsoft/go-winio/archive/tar/testdata/issue10968.tar -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/go-winio/archive/tar/testdata/issue12435.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/microci/HEAD/vendor/github.com/Microsoft/go-winio/archive/tar/testdata/issue12435.tar -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/go-winio/archive/tar/testdata/writer-big.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/microci/HEAD/vendor/github.com/Microsoft/go-winio/archive/tar/testdata/writer-big.tar -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/common_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package api 4 | 5 | // MinVersion represents Minimum REST API version supported 6 | const MinVersion string = "1.12" 7 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/jeztah-invalid-json-json-inside-string-double/Dockerfile: -------------------------------------------------------------------------------- 1 | CMD "[\"echo\", \"Phew, I just managed to escaped those double quotes\"]" 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/cmd/dockerd/README.md: -------------------------------------------------------------------------------- 1 | docker.go contains Docker daemon's main function. 2 | 3 | This file provides first line CLI argument parsing and environment variable setting. 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/docs/spec/images/v2-registry-auth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/microci/HEAD/vendor/github.com/docker/distribution/docs/spec/images/v2-registry-auth.png -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/swarm/runtime/gen.go: -------------------------------------------------------------------------------- 1 | //go:generate protoc -I . --gogofast_out=import_path=github.com/docker/docker/api/types/swarm/runtime:. plugin.proto 2 | 3 | package runtime 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/docs/static_files/docker-logo-compressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/microci/HEAD/vendor/github.com/docker/docker/docs/static_files/docker-logo-compressed.png -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/hack/make/test-integration-shell: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | bundle .integration-daemon-start 4 | bundle .integration-daemon-setup 5 | 6 | export ABS_DEST 7 | bash +e 8 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/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/Microsoft/go-winio/archive/tar/testdata/writer-big-long.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/microci/HEAD/vendor/github.com/Microsoft/go-winio/archive/tar/testdata/writer-big-long.tar -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/plugins/logdriver/gen.go: -------------------------------------------------------------------------------- 1 | //go:generate protoc --gogofast_out=import_path=github.com/docker/docker/api/types/plugins/logdriver:. entry.proto 2 | 3 | package logdriver 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/jeztah-invalid-json-json-inside-string-double/result: -------------------------------------------------------------------------------- 1 | (cmd "\"[\\\"echo\\\", \\\"Phew, I just managed to escaped those double quotes\\\"]\"") 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/archive/archive_other.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package archive 4 | 5 | func getWhiteoutConverter(format WhiteoutFormat) tarWhiteoutConverter { 6 | return nil 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/require/require_forward.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.CommentWithoutT "a"}} 2 | func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) { 3 | {{.DocInfo.Name}}(a.t, {{.ForwardedParams}}) 4 | } 5 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/multiple-volumes/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM foo 2 | 3 | VOLUME /opt/nagios/var /opt/nagios/etc /opt/nagios/libexec /var/log/apache2 /usr/share/snmp/mibs 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/debugtrap_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!darwin,!freebsd,!windows,!solaris 2 | 3 | package daemon 4 | 5 | func (d *Daemon) setupDumpStackTrap(_ string) { 6 | return 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/logger/journald/read_native.go: -------------------------------------------------------------------------------- 1 | // +build linux,cgo,!static_build,journald,!journald_compat 2 | 3 | package journald 4 | 5 | // #cgo pkg-config: libsystemd 6 | import "C" 7 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/logger/journald/read_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux !cgo static_build !journald 2 | 3 | package journald 4 | 5 | func (s *journald) Close() error { 6 | return nil 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/volume/volume_copy_windows.go: -------------------------------------------------------------------------------- 1 | package volume 2 | 3 | const ( 4 | // DefaultCopyMode is the copy mode used by default for normal/named volumes 5 | DefaultCopyMode = false 6 | ) 7 | -------------------------------------------------------------------------------- /vendor/github.com/urfave/cli/autocomplete/zsh_autocomplete: -------------------------------------------------------------------------------- 1 | autoload -U compinit && compinit 2 | autoload -U bashcompinit && bashcompinit 3 | 4 | script_dir=$(dirname $0) 5 | source ${script_dir}/bash_autocomplete 6 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/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/net/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/sys/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/sys/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/go-winio/syscall.go: -------------------------------------------------------------------------------- 1 | package winio 2 | 3 | //go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output zsyscall_windows.go file.go pipe.go sd.go fileinfo.go privilege.go backup.go 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/plugins/logdriver/entry.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | message LogEntry { 4 | string source = 1; 5 | int64 time_nano = 2; 6 | bytes line = 3; 7 | bool partial = 4; 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/multiple-volumes/result: -------------------------------------------------------------------------------- 1 | (from "foo") 2 | (volume "/opt/nagios/var" "/opt/nagios/etc" "/opt/nagios/libexec" "/var/log/apache2" "/usr/share/snmp/mibs") 3 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/client_windows.go: -------------------------------------------------------------------------------- 1 | package client 2 | 3 | // DefaultDockerHost defines os specific default if DOCKER_HOST is unset 4 | const DefaultDockerHost = "npipe:////./pipe/docker_engine" 5 | -------------------------------------------------------------------------------- /vendor/github.com/docker/go-connections/doc.go: -------------------------------------------------------------------------------- 1 | // Package connections provides libraries to work with network connections. 2 | // This library is divided in several components for specific usage. 3 | package connections 4 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.CommentWithoutT "a"}} 2 | func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) bool { 3 | return {{.DocInfo.Name}}(a.t, {{.ForwardedParams}}) 4 | } 5 | -------------------------------------------------------------------------------- /vendor/github.com/urfave/cli/helpers_unix_test.go: -------------------------------------------------------------------------------- 1 | // +build darwin dragonfly freebsd linux netbsd openbsd solaris 2 | 3 | package cli 4 | 5 | import "os" 6 | 7 | func clearenv() { 8 | os.Clearenv() 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/builder_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package dockerfile 4 | 5 | func defaultShellForPlatform(platform string) []string { 6 | return []string{"/bin/sh", "-c"} 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/init/systemd/REVIEWERS: -------------------------------------------------------------------------------- 1 | Lokesh Mandvekar (@lsm5) 2 | Brandon Philips (@philips) 3 | Jessie Frazelle (@jfrazelle) 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/logger/journald/read_native_compat.go: -------------------------------------------------------------------------------- 1 | // +build linux,cgo,!static_build,journald,journald_compat 2 | 3 | package journald 4 | 5 | // #cgo pkg-config: libsystemd-journal 6 | import "C" 7 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/hack/make/.integration-daemon-setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | 4 | bundle .detect-daemon-osarch 5 | if [ "$DOCKER_ENGINE_GOOS" != "windows" ]; then 6 | bundle .ensure-emptyfs 7 | fi 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/integration-cli/test_vars_seccomp_test.go: -------------------------------------------------------------------------------- 1 | // +build seccomp 2 | 3 | package main 4 | 5 | const ( 6 | // indicates docker daemon built with seccomp support 7 | supportsSeccomp = true 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/archive/copy_windows.go: -------------------------------------------------------------------------------- 1 | package archive 2 | 3 | import ( 4 | "path/filepath" 5 | ) 6 | 7 | func normalizePath(path string) string { 8 | return filepath.FromSlash(path) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/lcow_windows.go: -------------------------------------------------------------------------------- 1 | package system 2 | 3 | // LCOWSupported returns true if Linux containers on Windows are supported. 4 | func LCOWSupported() bool { 5 | return lcowSupported 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/require/require.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.Comment}} 2 | func {{.DocInfo.Name}}(t TestingT, {{.Params}}) { 3 | if !assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) { 4 | t.FailNow() 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/README: -------------------------------------------------------------------------------- 1 | This repository holds supplemental Go packages for low-level interactions with the operating system. 2 | 3 | To submit changes to this repository, see http://golang.org/doc/contribute.html. 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/contrib/docker-integration/nginx/registry-noauth.conf: -------------------------------------------------------------------------------- 1 | client_max_body_size 0; 2 | chunked_transfer_encoding on; 3 | location /v2/ { 4 | include docker-registry-v2.conf; 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/registry/storage/doc.go: -------------------------------------------------------------------------------- 1 | // Package storage contains storage services for use in the registry 2 | // application. It should be considered an internal package, as of Go 1.4. 3 | package storage 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/registry/storage/driver/gcs/doc.go: -------------------------------------------------------------------------------- 1 | // Package gcs implements the Google Cloud Storage driver backend. Support can be 2 | // enabled by including the "include_gcs" build tag. 3 | package gcs 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/registry/storage/driver/oss/doc.go: -------------------------------------------------------------------------------- 1 | // Package oss implements the Aliyun OSS Storage driver backend. Support can be 2 | // enabled by including the "include_oss" build tag. 3 | package oss 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/keys_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package daemon 4 | 5 | // ModifyRootKeyLimit is a noop on unsupported platforms. 6 | func ModifyRootKeyLimit() error { 7 | return nil 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/hack/make/binary-daemon: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | 4 | [ -z "$KEEPDEST" ] && rm -rf "$DEST" 5 | 6 | ( 7 | source "${MAKEDIR}/.binary" 8 | copy_binaries "$DEST" 'hash' 9 | ) 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/integration-cli/test_vars_exec_test.go: -------------------------------------------------------------------------------- 1 | // +build !test_no_exec 2 | 3 | package main 4 | 5 | const ( 6 | // indicates docker daemon tested supports 'docker exec' 7 | supportsExec = true 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/integration-cli/test_vars_noexec_test.go: -------------------------------------------------------------------------------- 1 | // +build test_no_exec 2 | 3 | package main 4 | 5 | const ( 6 | // indicates docker daemon tested supports 'docker exec' 7 | supportsExec = false 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/integration-cli/test_vars_noseccomp_test.go: -------------------------------------------------------------------------------- 1 | // +build !seccomp 2 | 3 | package main 4 | 5 | const ( 6 | // indicates docker daemon built with seccomp support 7 | supportsSeccomp = false 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/remotecontext/tarsum.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package remotecontext; // no namespace because only used internally 4 | 5 | message TarsumBackup { 6 | map Hashes = 1; 7 | } -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/hack/validate/all: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # Run all validation 4 | 5 | export SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 6 | 7 | . $SCRIPTDIR/default 8 | . $SCRIPTDIR/vendor 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/plugins/discovery_windows.go: -------------------------------------------------------------------------------- 1 | package plugins 2 | 3 | import ( 4 | "os" 5 | "path/filepath" 6 | ) 7 | 8 | var specsPaths = []string{filepath.Join(os.Getenv("programdata"), "docker", "plugins")} 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/volume/volume_copy_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package volume 4 | 5 | const ( 6 | // DefaultCopyMode is the copy mode used by default for normal/named volumes 7 | DefaultCopyMode = true 8 | ) 9 | -------------------------------------------------------------------------------- /microci/templates/slack-sec.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Secret 3 | metadata: 4 | name: slack 5 | annotations: 6 | # "helm.sh/resource-policy": keep 7 | type: Opaque 8 | data: 9 | apiKey: {{ .Values.secret.slackApiKey }} -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/opts/hosts_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package opts 4 | 5 | // DefaultHost constant defines the default host string used by docker on Windows 6 | var DefaultHost = "npipe://" + DefaultNamedPipe 7 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/lcow_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package system 4 | 5 | // LCOWSupported returns true if Linux containers on Windows are supported. 6 | func LCOWSupported() bool { 7 | return false 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/json/result: -------------------------------------------------------------------------------- 1 | (cmd) 2 | (cmd "") 3 | (cmd "a") 4 | (cmd "a" "b") 5 | (cmd "a" "b") 6 | (cmd "a" "b") 7 | (cmd "a" "b") 8 | (cmd "abc 123" "♥" "☃" "\" \\ / \b \f \n \r \t \x00") 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/container/container_linux.go: -------------------------------------------------------------------------------- 1 | package container 2 | 3 | import ( 4 | "golang.org/x/sys/unix" 5 | ) 6 | 7 | func detachMounted(path string) error { 8 | return unix.Unmount(path, unix.MNT_DETACH) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/hack/integration-cli-on-swarm/agent/vendor.conf: -------------------------------------------------------------------------------- 1 | # dependencies specific to worker (i.e. github.com/docker/docker/...) are not vendored here 2 | github.com/bfirsh/funker-go eaa0a2e06f30e72c9a0b7f858951e581e26ef773 3 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/fileutils/fileutils_windows.go: -------------------------------------------------------------------------------- 1 | package fileutils 2 | 3 | // GetTotalUsedFds Returns the number of used File Descriptors. Not supported 4 | // on Windows. 5 | func GetTotalUsedFds() int { 6 | return -1 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/test/enumdecl/Makefile: -------------------------------------------------------------------------------- 1 | regenerate: 2 | go install github.com/gogo/protobuf/protoc-gen-gogo 3 | protoc-min-version --version="3.0.0" --gogo_out=. --proto_path=../../../../../:../../protobuf/:. enumdecl.proto 4 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/test/typedecl/Makefile: -------------------------------------------------------------------------------- 1 | regenerate: 2 | go install github.com/gogo/protobuf/protoc-gen-gogo 3 | protoc-min-version --version="3.0.0" --gogo_out=. --proto_path=../../../../../:../../protobuf/:. typedecl.proto 4 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/errors/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go_import_path: github.com/pkg/errors 3 | go: 4 | - 1.4.x 5 | - 1.5.x 6 | - 1.6.x 7 | - 1.7.x 8 | - 1.8.x 9 | - tip 10 | 11 | script: 12 | - go test -v ./... 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/testdata/webkit/pending-spec-changes-plain-text-unsafe.dat: -------------------------------------------------------------------------------- 1 | #data 2 | fillertext 3 | #errors 4 | #document 5 | | 6 | | 7 | | 8 | | "fillertext" 9 | |
10 | -------------------------------------------------------------------------------- /microci/templates/docker-sec.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Secret 3 | metadata: 4 | name: registry 5 | annotations: 6 | # "helm.sh/resource-policy": keep 7 | type: Opaque 8 | data: 9 | password: {{ .Values.secret.registryPassword }} -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/cluster/executor/container/validate_unix_test.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package container 4 | 5 | const ( 6 | testAbsPath = "/foo" 7 | testAbsNonExistent = "/some-non-existing-host-path/" 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/opts/opts_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package opts 4 | 5 | // DefaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g. dockerd -H tcp://:8080 6 | const DefaultHTTPHost = "localhost" 7 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/archive/copy_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package archive 4 | 5 | import ( 6 | "path/filepath" 7 | ) 8 | 9 | func normalizePath(path string) string { 10 | return filepath.ToSlash(path) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/test/enumdecl_all/Makefile: -------------------------------------------------------------------------------- 1 | regenerate: 2 | go install github.com/gogo/protobuf/protoc-gen-gogo 3 | protoc-min-version --version="3.0.0" --gogo_out=. --proto_path=../../../../../:../../protobuf/:. enumdeclall.proto 4 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/test/typedecl_all/Makefile: -------------------------------------------------------------------------------- 1 | regenerate: 2 | go install github.com/gogo/protobuf/protoc-gen-gogo 3 | protoc-min-version --version="3.0.0" --gogo_out=. --proto_path=../../../../../:../../protobuf/:. typedeclall.proto 4 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | sudo: false 4 | 5 | go: 6 | - 1.1 7 | - 1.2 8 | - 1.3 9 | - 1.4 10 | - 1.5 11 | - 1.6 12 | - 1.7 13 | - tip 14 | 15 | script: 16 | - go test -v ./... 17 | -------------------------------------------------------------------------------- /microci/templates/github-sec.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Secret 3 | metadata: 4 | name: github 5 | annotations: 6 | # "helm.sh/resource-policy": keep 7 | type: Opaque 8 | data: 9 | webhookSecret: {{ .Values.secret.githubWebhookSecret }} -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/cluster/executor/container/validate_windows_test.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package container 4 | 5 | const ( 6 | testAbsPath = `c:\foo` 7 | testAbsNonExistent = `c:\some-non-existing-host-path\` 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/docs/spec/menu.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Reference" 3 | description: "Explains registry JSON objects" 4 | keywords: ["registry, service, images, repository, json"] 5 | type: "menu" 6 | identifier: "smn_registry_ref" 7 | --- 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/nnp-test/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM buildpack-deps:jessie 2 | 3 | COPY . /usr/src/ 4 | 5 | WORKDIR /usr/src/ 6 | 7 | RUN gcc -g -Wall -static nnp-test.c -o /usr/bin/nnp-test 8 | 9 | RUN chmod +s /usr/bin/nnp-test 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/selinux-oraclelinux-7/docker-engine-selinux/docker_selinux.8.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/microci/HEAD/vendor/github.com/docker/docker/contrib/selinux-oraclelinux-7/docker-engine-selinux/docker_selinux.8.gz -------------------------------------------------------------------------------- /docker_entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | if [ "$1" = "microci" ]; then 5 | if [ -S /var/run/docker.sock ]; then 6 | chown -R microci:microci /var/run/docker.sock 7 | fi 8 | exec gosu microci:microci "$@" 9 | fi 10 | 11 | exec "$@" 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/json/Dockerfile: -------------------------------------------------------------------------------- 1 | CMD [] 2 | CMD [""] 3 | CMD ["a"] 4 | CMD ["a","b"] 5 | CMD [ "a", "b" ] 6 | CMD [ "a", "b" ] 7 | CMD [ "a", "b" ] 8 | CMD ["abc 123", "♥", "☃", "\" \\ \/ \b \f \n \r \t \u0000"] 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/syscall-test/setgid.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main() { 6 | if (setgid(1) == -1) { 7 | perror("setgid"); 8 | return 1; 9 | } 10 | return 0; 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/syscall-test/setuid.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main() { 6 | if (setuid(1) == -1) { 7 | perror("setuid"); 8 | return 1; 9 | } 10 | return 0; 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/register/register_aufs.go: -------------------------------------------------------------------------------- 1 | // +build !exclude_graphdriver_aufs,linux 2 | 3 | package register 4 | 5 | import ( 6 | // register the aufs graphdriver 7 | _ "github.com/docker/docker/daemon/graphdriver/aufs" 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/sysinfo/numcpu.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!windows 2 | 3 | package sysinfo 4 | 5 | import ( 6 | "runtime" 7 | ) 8 | 9 | // NumCPU returns the number of CPUs 10 | func NumCPU() int { 11 | return runtime.NumCPU() 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/mumble/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:14.04 2 | 3 | RUN apt-get update && apt-get install libcap2-bin mumble-server -y 4 | 5 | ADD ./mumble-server.ini /etc/mumble-server.ini 6 | 7 | CMD /usr/sbin/murmurd 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/mumble/result: -------------------------------------------------------------------------------- 1 | (from "ubuntu:14.04") 2 | (run "apt-get update && apt-get install libcap2-bin mumble-server -y") 3 | (add "./mumble-server.ini" "/etc/mumble-server.ini") 4 | (cmd "/usr/sbin/murmurd") 5 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/client_unix.go: -------------------------------------------------------------------------------- 1 | // +build linux freebsd solaris openbsd darwin 2 | 3 | package client 4 | 5 | // DefaultDockerHost defines os specific default if DOCKER_HOST is unset 6 | const DefaultDockerHost = "unix:///var/run/docker.sock" 7 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/nnp-test/nnp-test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main(int argc, char *argv[]) 6 | { 7 | printf("EUID=%d\n", geteuid()); 8 | return 0; 9 | } 10 | 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/register/register_btrfs.go: -------------------------------------------------------------------------------- 1 | // +build !exclude_graphdriver_btrfs,linux 2 | 3 | package register 4 | 5 | import ( 6 | // register the btrfs graphdriver 7 | _ "github.com/docker/docker/daemon/graphdriver/btrfs" 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/sysinfo/sysinfo_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package sysinfo 4 | 5 | // New returns an empty SysInfo for windows for now. 6 | func New(quiet bool) *SysInfo { 7 | sysInfo := &SysInfo{} 8 | return sysInfo 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/Sirupsen/logrus/terminal_appengine.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package logrus 4 | 5 | import "io" 6 | 7 | // IsTerminal returns true if stderr's file descriptor is a terminal. 8 | func IsTerminal(f io.Writer) bool { 9 | return true 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/Sirupsen/logrus/terminal_bsd.go: -------------------------------------------------------------------------------- 1 | // +build darwin freebsd openbsd netbsd dragonfly 2 | // +build !appengine 3 | 4 | package logrus 5 | 6 | import "syscall" 7 | 8 | const ioctlReadTermios = syscall.TIOCGETA 9 | 10 | type Termios syscall.Termios 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/registry/handlers/basicauth.go: -------------------------------------------------------------------------------- 1 | // +build go1.4 2 | 3 | package handlers 4 | 5 | import ( 6 | "net/http" 7 | ) 8 | 9 | func basicAuth(r *http.Request) (username, password string, ok bool) { 10 | return r.BasicAuth() 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/znc/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:14.04 2 | LABEL maintainer Erik Hollensbe 3 | 4 | RUN apt-get update && apt-get install znc -y 5 | ADD conf /.znc 6 | 7 | CMD [ "/usr/bin/znc", "-f", "-r" ] 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/cluster/listen_addr_others.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!solaris 2 | 3 | package cluster 4 | 5 | import "net" 6 | 7 | func (c *Cluster) resolveSystemAddr() (net.IP, error) { 8 | return c.resolveSystemAddrViaSubnetCheck() 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/namesgenerator/cmd/names-generator/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | 6 | "github.com/docker/docker/pkg/namesgenerator" 7 | ) 8 | 9 | func main() { 10 | fmt.Println(namesgenerator.GetRandomName(0)) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/builder_windows.go: -------------------------------------------------------------------------------- 1 | package dockerfile 2 | 3 | func defaultShellForPlatform(platform string) []string { 4 | if platform == "linux" { 5 | return []string{"/bin/sh", "-c"} 6 | } 7 | return []string{"cmd", "/S", "/C"} 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/znc/result: -------------------------------------------------------------------------------- 1 | (from "ubuntu:14.04") 2 | (label "maintainer" "Erik Hollensbe ") 3 | (run "apt-get update && apt-get install znc -y") 4 | (add "conf" "/.znc") 5 | (cmd "/usr/bin/znc" "-f" "-r") 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/cmd/dockerd/config_experimental.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "github.com/docker/docker/daemon/config" 5 | "github.com/spf13/pflag" 6 | ) 7 | 8 | func attachExperimentalFlags(conf *config.Config, cmd *pflag.FlagSet) { 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/hack/make/binary: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | rm -rf "$DEST" 4 | 5 | # This script exists as backwards compatibility for CI 6 | ( 7 | DEST="${DEST}-daemon" 8 | ABS_DEST="${ABS_DEST}-daemon" 9 | . hack/make/binary-daemon 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/hack/make/dynbinary: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | 4 | # This script exists as backwards compatibility for CI 5 | ( 6 | 7 | DEST="${DEST}-daemon" 8 | ABS_DEST="${ABS_DEST}-daemon" 9 | . hack/make/dynbinary-daemon 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/fileutils/fileutils_solaris.go: -------------------------------------------------------------------------------- 1 | package fileutils 2 | 3 | // GetTotalUsedFds Returns the number of used File Descriptors. 4 | // On Solaris these limits are per process and not systemwide 5 | func GetTotalUsedFds() int { 6 | return -1 7 | } 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/plan9/asm.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | #include "textflag.h" 6 | 7 | TEXT ·use(SB),NOSPLIT,$0 8 | RET 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/register/register_windows.go: -------------------------------------------------------------------------------- 1 | package register 2 | 3 | import ( 4 | // register the windows graph drivers 5 | _ "github.com/docker/docker/daemon/graphdriver/lcow" 6 | _ "github.com/docker/docker/daemon/graphdriver/windows" 7 | ) 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/selinux_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package daemon 4 | 5 | func selinuxSetDisabled() { 6 | } 7 | 8 | func selinuxFreeLxcContexts(label string) { 9 | } 10 | 11 | func selinuxEnabled() bool { 12 | return false 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/GOLANG_CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | The contributors to the Go protobuf repository: 2 | 3 | # This source code was written by the Go contributors. 4 | # The master list of contributors is in the main Go distribution, 5 | # visible at http://tip.golang.org/CONTRIBUTORS. -------------------------------------------------------------------------------- /vendor/github.com/Sirupsen/logrus/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.6.x 4 | - 1.7.x 5 | - 1.8.x 6 | - tip 7 | env: 8 | - GOMAXPROCS=4 GORACE=halt_on_error=1 9 | install: 10 | - go get github.com/stretchr/testify/assert 11 | script: 12 | - go test -race -v . 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/httpserver/server.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "log" 5 | "net/http" 6 | ) 7 | 8 | func main() { 9 | fs := http.FileServer(http.Dir("/static")) 10 | http.Handle("/", fs) 11 | log.Panic(http.ListenAndServe(":80", nil)) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/zfs/zfs_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!freebsd,!solaris 2 | 3 | package zfs 4 | 5 | func checkRootdirFs(rootdir string) error { 6 | return nil 7 | } 8 | 9 | func getMountpoint(id string) string { 10 | return id 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/integration-cli/fixtures/deploy/remove.yaml: -------------------------------------------------------------------------------- 1 | 2 | version: "3.1" 3 | services: 4 | web: 5 | image: busybox:latest 6 | command: top 7 | secrets: 8 | - special 9 | secrets: 10 | special: 11 | file: fixtures/secrets/default 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/opts/hosts_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package opts 4 | 5 | import "fmt" 6 | 7 | // DefaultHost constant defines the default host string used by docker on other hosts than Windows 8 | var DefaultHost = fmt.Sprintf("unix://%s", DefaultUnixSocket) 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/copy_windows.go: -------------------------------------------------------------------------------- 1 | package dockerfile 2 | 3 | import "github.com/docker/docker/pkg/idtools" 4 | 5 | func fixPermissions(source, destination string, rootIDs idtools.IDPair) error { 6 | // chown is not supported on Windows 7 | return nil 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/escape-nonewline/Dockerfile: -------------------------------------------------------------------------------- 1 | # escape = `` 2 | # There is no white space line after the directives. This still succeeds, but goes 3 | # against best practices. 4 | FROM image 5 | LABEL maintainer foo@bar.com 6 | ENV GOPATH ` 7 | \go -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/container_windows.go: -------------------------------------------------------------------------------- 1 | //+build windows 2 | 3 | package daemon 4 | 5 | import ( 6 | "github.com/docker/docker/container" 7 | ) 8 | 9 | func (daemon *Daemon) saveApparmorConfig(container *container.Container) error { 10 | return nil 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/aufs/mount_linux.go: -------------------------------------------------------------------------------- 1 | package aufs 2 | 3 | import "golang.org/x/sys/unix" 4 | 5 | func mount(source string, target string, fstype string, flags uintptr, data string) error { 6 | return unix.Mount(source, target, fstype, flags, data) 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/register/register_devicemapper.go: -------------------------------------------------------------------------------- 1 | // +build !exclude_graphdriver_devicemapper,linux 2 | 3 | package register 4 | 5 | import ( 6 | // register the devmapper graphdriver 7 | _ "github.com/docker/docker/daemon/graphdriver/devmapper" 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/layer/layer_unix.go: -------------------------------------------------------------------------------- 1 | // +build linux freebsd darwin openbsd solaris 2 | 3 | package layer 4 | 5 | import "github.com/docker/docker/pkg/stringid" 6 | 7 | func (ls *layerStore) mountID(name string) string { 8 | return stringid.GenerateRandomID() 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/sysinfo/sysinfo_unix.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!solaris,!windows 2 | 3 | package sysinfo 4 | 5 | // New returns an empty SysInfo for non linux nor solaris for now. 6 | func New(quiet bool) *SysInfo { 7 | sysInfo := &SysInfo{} 8 | return sysInfo 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/errors.go: -------------------------------------------------------------------------------- 1 | package system 2 | 3 | import ( 4 | "errors" 5 | ) 6 | 7 | var ( 8 | // ErrNotSupportedPlatform means the platform is not supported. 9 | ErrNotSupportedPlatform = errors.New("platform and architecture is not supported") 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/jsonpb/jsonpb_test_proto/bytes.go: -------------------------------------------------------------------------------- 1 | package jsonpb 2 | 3 | // Byte is used to test that []byte type aliases are serialized to base64. 4 | type Byte byte 5 | 6 | // Bytes is used to test that []byte type aliases are serialized to base64. 7 | type Bytes []Byte 8 | -------------------------------------------------------------------------------- /vendor/github.com/nlopes/slack/websocket_dnd.go: -------------------------------------------------------------------------------- 1 | package slack 2 | 3 | // DNDUpdatedEvent represents the update event for Do Not Disturb 4 | type DNDUpdatedEvent struct { 5 | Type string `json:"type"` 6 | User string `json:"user"` 7 | Status DNDStatus `json:"dnd_status"` 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/package_test.go: -------------------------------------------------------------------------------- 1 | package testify 2 | 3 | import ( 4 | "github.com/stretchr/testify/assert" 5 | "testing" 6 | ) 7 | 8 | func TestImports(t *testing.T) { 9 | if assert.Equal(t, 1, 1) != true { 10 | t.Error("Something is wrong.") 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/container/mounts_windows.go: -------------------------------------------------------------------------------- 1 | package container 2 | 3 | // Mount contains information for a mount operation. 4 | type Mount struct { 5 | Source string `json:"source"` 6 | Destination string `json:"destination"` 7 | Writable bool `json:"writable"` 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/builder/deb/aarch64/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | 4 | cd "$(dirname "$(readlink -f "$BASH_SOURCE")")" 5 | 6 | set -x 7 | ./generate.sh 8 | for d in */; do 9 | docker build -t "dockercore/builder-deb:$(basename "$d")" "$d" 10 | done 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/builder/deb/amd64/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | 4 | cd "$(dirname "$(readlink -f "$BASH_SOURCE")")" 5 | 6 | set -x 7 | ./generate.sh 8 | for d in */; do 9 | docker build -t "dockercore/builder-deb:$(basename "$d")" "$d" 10 | done 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/builder/deb/ppc64le/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | 4 | cd "$(dirname "$(readlink -f "$BASH_SOURCE")")" 5 | 6 | set -x 7 | ./generate.sh 8 | for d in */; do 9 | docker build -t "dockercore/builder-deb:$(basename "$d")" "$d" 10 | done 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/builder/deb/s390x/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | 4 | cd "$(dirname "$(readlink -f "$BASH_SOURCE")")" 5 | 6 | set -x 7 | ./generate.sh 8 | for d in */; do 9 | docker build -t "dockercore/builder-deb:$(basename "$d")" "$d" 10 | done 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/builder/rpm/amd64/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | 4 | cd "$(dirname "$(readlink -f "$BASH_SOURCE")")" 5 | 6 | set -x 7 | ./generate.sh 8 | for d in */; do 9 | docker build -t "dockercore/builder-rpm:$(basename "$d")" "$d" 10 | done 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/builder/rpm/armhf/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | 4 | cd "$(dirname "$(readlink -f "$BASH_SOURCE")")" 5 | 6 | set -x 7 | ./generate.sh 8 | for d in */; do 9 | docker build -t "dockercore/builder-rpm:$(basename "$d")" "$d" 10 | done 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/builder/rpm/ppc64le/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | 4 | cd "$(dirname "$(readlink -f "$BASH_SOURCE")")" 5 | 6 | set -x 7 | ./generate.sh 8 | for d in */; do 9 | docker build -t "dockercore/builder-rpm:$(basename "$d")" "$d" 10 | done 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/builder/rpm/s390x/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | 4 | cd "$(dirname "$(readlink -f "$BASH_SOURCE")")" 5 | 6 | set -x 7 | ./generate.sh 8 | for d in */; do 9 | docker build -t "dockercore/builder-rpm:$(basename "$d")" "$d" 10 | done 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/register/register_zfs.go: -------------------------------------------------------------------------------- 1 | // +build !exclude_graphdriver_zfs,linux !exclude_graphdriver_zfs,freebsd, solaris 2 | 3 | package register 4 | 5 | import ( 6 | // register the zfs driver 7 | _ "github.com/docker/docker/daemon/graphdriver/zfs" 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/meminfo_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!windows,!solaris 2 | 3 | package system 4 | 5 | // ReadMemInfo is not supported on platforms other than linux and windows. 6 | func ReadMemInfo() (*MemInfo, error) { 7 | return nil, ErrNotSupportedPlatform 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/go-connections/proxy/logger.go: -------------------------------------------------------------------------------- 1 | package proxy 2 | 3 | type logger interface { 4 | Printf(format string, args ...interface{}) 5 | } 6 | 7 | type noopLogger struct{} 8 | 9 | func (l *noopLogger) Printf(_ string, _ ...interface{}) { 10 | // Do nothing :) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/test/proto3extension/proto3ext.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package proto3extension; 4 | 5 | import "google/protobuf/descriptor.proto"; 6 | 7 | extend google.protobuf.FieldOptions { 8 | bool primary = 51234; 9 | bool index = 51235; 10 | } 11 | 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 socket 6 | 7 | func probeProtocolStack() int { return 4 } 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_dragonfly.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 socket 6 | 7 | func probeProtocolStack() int { return 4 } 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | end_of_line = lf 5 | insert_final_newline = true 6 | charset = utf-8 7 | indent_style = tab 8 | indent_size = 4 9 | trim_trailing_whitespace = true 10 | 11 | [*.md] 12 | indent_size = 2 13 | indent_style = space 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/init/sysvinit-redhat/docker.sysconfig: -------------------------------------------------------------------------------- 1 | # /etc/sysconfig/docker 2 | # 3 | # Other arguments to pass to the docker daemon process 4 | # These will be parsed by the sysv initscript and appended 5 | # to the arguments list passed to docker daemon 6 | 7 | other_args="" 8 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/test/issue260/Makefile: -------------------------------------------------------------------------------- 1 | regenerate: 2 | go install github.com/gogo/protobuf/protoc-gen-gogo 3 | protoc-min-version --version="3.0.0" --gogo_out=Mgoogle/protobuf/timestamp.proto=github.com/gogo/protobuf/types:. --proto_path=../../../../../:../../protobuf/:. issue260.proto 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/README.md: -------------------------------------------------------------------------------- 1 | The `contrib` directory contains scripts, images, and other helpful things 2 | which are not part of the core docker distribution. Please note that they 3 | could be out of date, since they do not receive the same attention as the 4 | rest of the repository. 5 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/integration-cli/request/npipe.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package request 4 | 5 | import ( 6 | "net" 7 | "time" 8 | ) 9 | 10 | func npipeDial(path string, timeout time.Duration) (net.Conn, error) { 11 | panic("npipe protocol only supported on Windows") 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/ioutils/temp_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package ioutils 4 | 5 | import "io/ioutil" 6 | 7 | // TempDir on Unix systems is equivalent to ioutil.TempDir. 8 | func TempDir(dir, prefix string) (string, error) { 9 | return ioutil.TempDir(dir, prefix) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/objx/security_test.go: -------------------------------------------------------------------------------- 1 | package objx 2 | 3 | import ( 4 | "github.com/stretchr/testify/assert" 5 | "testing" 6 | ) 7 | 8 | func TestHashWithKey(t *testing.T) { 9 | 10 | assert.Equal(t, "0ce84d8d01f2c7b6e0882b784429c54d280ea2d9", HashWithKey("abc", "def")) 11 | 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/daemon_experimental.go: -------------------------------------------------------------------------------- 1 | package daemon 2 | 3 | import "github.com/docker/docker/api/types/container" 4 | 5 | func (daemon *Daemon) verifyExperimentalContainerSettings(hostConfig *container.HostConfig, config *container.Config) ([]string, error) { 6 | return nil, nil 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/signal/signal_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!darwin,!freebsd,!windows,!solaris 2 | 3 | package signal 4 | 5 | import ( 6 | "syscall" 7 | ) 8 | 9 | // SignalMap is an empty map of signals for unsupported platform. 10 | var SignalMap = map[string]syscall.Signal{} 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/contrib/compose/nginx/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM nginx:1.7 2 | 3 | COPY nginx.conf /etc/nginx/nginx.conf 4 | COPY registry.conf /etc/nginx/conf.d/registry.conf 5 | COPY docker-registry.conf /etc/nginx/docker-registry.conf 6 | COPY docker-registry-v2.conf /etc/nginx/docker-registry-v2.conf 7 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/container/state_solaris.go: -------------------------------------------------------------------------------- 1 | package container 2 | 3 | // setFromExitStatus is a platform specific helper function to set the state 4 | // based on the ExitStatus structure. 5 | func (s *State) setFromExitStatus(exitStatus *ExitStatus) { 6 | s.ExitCodeValue = exitStatus.ExitCode 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/container/state_windows.go: -------------------------------------------------------------------------------- 1 | package container 2 | 3 | // setFromExitStatus is a platform specific helper function to set the state 4 | // based on the ExitStatus structure. 5 | func (s *State) setFromExitStatus(exitStatus *ExitStatus) { 6 | s.ExitCodeValue = exitStatus.ExitCode 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/integration-cli/request/npipe_windows.go: -------------------------------------------------------------------------------- 1 | package request 2 | 3 | import ( 4 | "net" 5 | "time" 6 | 7 | "github.com/Microsoft/go-winio" 8 | ) 9 | 10 | func npipeDial(path string, timeout time.Duration) (net.Conn, error) { 11 | return winio.DialPipe(path, &timeout) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/umask_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package system 4 | 5 | // Umask is not supported on the windows platform. 6 | func Umask(newmask int) (oldmask int, err error) { 7 | // should not be called on cli code path 8 | return 0, ErrNotSupportedPlatform 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/init/systemd/docker.socket: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Docker Socket for the API 3 | PartOf=docker.service 4 | 5 | [Socket] 6 | ListenStream=/var/run/docker.sock 7 | SocketMode=0660 8 | SocketUser=root 9 | SocketGroup=docker 10 | 11 | [Install] 12 | WantedBy=sockets.target 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/logger/plugin_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!solaris,!freebsd 2 | 3 | package logger 4 | 5 | import ( 6 | "errors" 7 | "io" 8 | ) 9 | 10 | func openPluginStream(a *pluginAdapter) (io.WriteCloser, error) { 11 | return nil, errors.New("log plugin not supported") 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/chrootarchive/chroot_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows,!linux 2 | 3 | package chrootarchive 4 | 5 | import "golang.org/x/sys/unix" 6 | 7 | func chroot(path string) error { 8 | if err := unix.Chroot(path); err != nil { 9 | return err 10 | } 11 | return unix.Chdir("/") 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/utimes_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!freebsd 2 | 3 | package system 4 | 5 | import "syscall" 6 | 7 | // LUtimesNano is only supported on linux and freebsd. 8 | func LUtimesNano(path string, ts []syscall.Timespec) error { 9 | return ErrNotSupportedPlatform 10 | } 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/lif/sys_solaris_amd64.s: -------------------------------------------------------------------------------- 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 | #include "textflag.h" 6 | 7 | TEXT ·sysvicall6(SB),NOSPLIT,$0-88 8 | JMP syscall·sysvicall6(SB) 9 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/endian_big.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 ppc64 s390x mips mips64 6 | 7 | package unix 8 | 9 | const isBigEndian = true 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/weechat/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:14.04 2 | 3 | RUN apt-get update -qy && apt-get install tmux zsh weechat-curses -y 4 | 5 | ADD .weechat /.weechat 6 | ADD .tmux.conf / 7 | RUN echo "export TERM=screen-256color" >/.zshenv 8 | 9 | CMD zsh -c weechat 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/weechat/result: -------------------------------------------------------------------------------- 1 | (from "ubuntu:14.04") 2 | (run "apt-get update -qy && apt-get install tmux zsh weechat-curses -y") 3 | (add ".weechat" "/.weechat") 4 | (add ".tmux.conf" "/") 5 | (run "echo \"export TERM=screen-256color\" >/.zshenv") 6 | (cmd "zsh -c weechat") 7 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/image-spec/project.md: -------------------------------------------------------------------------------- 1 | # Project docs 2 | 3 | ## Release Process 4 | 5 | * `git tag` the prior commit (preferably signed tag) 6 | * Make a release on [github.com/opencontainers/image-spec](https://github.com/opencontainers/image-spec/releases) for the version. Attach the produced docs. 7 | 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/escapes/result: -------------------------------------------------------------------------------- 1 | (from "ubuntu:14.04") 2 | (label "maintainer" "Erik \\\\Hollensbe \\\"") 3 | (run "apt-get \\update && apt-get \\\"install znc -y") 4 | (add "\\conf\\\\\"" "/.znc") 5 | (run "foo bar baz") 6 | (cmd "/usr\\\"/bin/znc" "-f" "-r") 7 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/btrfs/version_test.go: -------------------------------------------------------------------------------- 1 | // +build linux,!btrfs_noversion 2 | 3 | package btrfs 4 | 5 | import ( 6 | "testing" 7 | ) 8 | 9 | func TestLibVersion(t *testing.T) { 10 | if btrfsLibVersion() <= 0 { 11 | t.Error("expected output from btrfs lib version > 0") 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/parsers/kernel/uname_solaris.go: -------------------------------------------------------------------------------- 1 | package kernel 2 | 3 | import ( 4 | "golang.org/x/sys/unix" 5 | ) 6 | 7 | func uname() (*unix.Utsname, error) { 8 | uts := &unix.Utsname{} 9 | 10 | if err := unix.Uname(uts); err != nil { 11 | return nil, err 12 | } 13 | return uts, nil 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/syscall_windows_test.go: -------------------------------------------------------------------------------- 1 | package system 2 | 3 | import "testing" 4 | 5 | func TestHasWin32KSupport(t *testing.T) { 6 | s := HasWin32KSupport() // make sure this doesn't panic 7 | 8 | t.Logf("win32k: %v", s) // will be different on different platforms -- informative only 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/test/issue262/timefail.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | import "github.com/gogo/protobuf/gogoproto/gogo.proto"; 4 | import "google/protobuf/timestamp.proto"; 5 | 6 | package timefail; 7 | 8 | message TimeFail { 9 | google.protobuf.Timestamp time_test = 1 [(gogoproto.stdtime) = true]; 10 | } -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x12b 9 | sysSENDMMSG = 0x133 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x16d 9 | sysSENDMMSG = 0x176 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 socket 6 | 7 | const ( 8 | sysRECVMMSG = 0xf3 9 | sysSENDMMSG = 0x10d 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_mips.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x10ef 9 | sysSENDMMSG = 0x10f7 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_ppc64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x157 9 | sysSENDMMSG = 0x15d 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_mips64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x14ae 9 | sysSENDMMSG = 0x14b6 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_mips64le.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x14ae 9 | sysSENDMMSG = 0x14b6 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_mipsle.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x10ef 9 | sysSENDMMSG = 0x10f7 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_ppc64le.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x157 9 | sysSENDMMSG = 0x15d 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/contrib/docker-integration/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM distribution/golem:0.1 2 | 3 | MAINTAINER Docker Distribution Team 4 | 5 | RUN apk add --no-cache git 6 | 7 | ENV TMPDIR /var/lib/docker/tmp 8 | 9 | WORKDIR /go/src/github.com/docker/distribution/contrib/docker-integration 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/info_windows.go: -------------------------------------------------------------------------------- 1 | package daemon 2 | 3 | import ( 4 | "github.com/docker/docker/api/types" 5 | "github.com/docker/docker/pkg/sysinfo" 6 | ) 7 | 8 | // FillPlatformInfo fills the platform related info. 9 | func (daemon *Daemon) FillPlatformInfo(v *types.Info, sysInfo *sysinfo.SysInfo) { 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/plugins/plugins_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package plugins 4 | 5 | // BasePath returns the path to which all paths returned by the plugin are relative to. 6 | // For v1 plugins, this always returns the host's root directory. 7 | func (p *Plugin) BasePath() string { 8 | return "/" 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/volume/store/store_unix.go: -------------------------------------------------------------------------------- 1 | // +build linux freebsd solaris 2 | 3 | package store 4 | 5 | // normaliseVolumeName is a platform specific function to normalise the name 6 | // of a volume. This is a no-op on Unix-like platforms 7 | func normaliseVolumeName(name string) string { 8 | return name 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/objx/map_for_test.go: -------------------------------------------------------------------------------- 1 | package objx 2 | 3 | var TestMap map[string]interface{} = map[string]interface{}{ 4 | "name": "Tyler", 5 | "address": map[string]interface{}{ 6 | "city": "Salt Lake City", 7 | "state": "UT", 8 | }, 9 | "numbers": []interface{}{"one", "two", "three", "four", "five"}, 10 | } 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/export_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 | // +build darwin dragonfly freebsd linux netbsd openbsd solaris 6 | 7 | package unix 8 | 9 | var Itoa = itoa 10 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .git 2 | 3 | # Coverage reports 4 | .cover/ 5 | 6 | # Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736 7 | .glide/ 8 | 9 | # Gogland IDE settings 10 | .idea/ 11 | 12 | # VS Code settings 13 | .vscode/ 14 | 15 | # debug output 16 | server/debug 17 | 18 | # Compilation artifacts 19 | dist/ 20 | out/ -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/kartar-entrypoint-oddities/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:14.04 2 | LABEL maintainer James Turnbull "james@example.com" 3 | ENV REFRESHED_AT 2014-06-01 4 | RUN apt-get update 5 | RUN apt-get -y install redis-server redis-tools 6 | EXPOSE 6379 7 | ENTRYPOINT [ "/usr/bin/redis-server" ] 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/cmd/dockerd/daemon_freebsd.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | // preNotifySystem sends a message to the host when the API is active, but before the daemon is 4 | func preNotifySystem() { 5 | } 6 | 7 | // notifySystem sends a message to the host when the server is ready to be used 8 | func notifySystem() { 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/cmd/dockerd/service_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package main 4 | 5 | import ( 6 | "github.com/spf13/pflag" 7 | ) 8 | 9 | func initService(daemonCli *DaemonCli) (bool, bool, error) { 10 | return false, false, nil 11 | } 12 | 13 | func installServiceFlags(flags *pflag.FlagSet) { 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/register/register_overlay.go: -------------------------------------------------------------------------------- 1 | // +build !exclude_graphdriver_overlay,linux 2 | 3 | package register 4 | 5 | import ( 6 | // register the overlay graphdriver 7 | _ "github.com/docker/docker/daemon/graphdriver/overlay" 8 | _ "github.com/docker/docker/daemon/graphdriver/overlay2" 9 | ) 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/go-units/circle.yml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | post: 3 | # install golint 4 | - go get github.com/golang/lint/golint 5 | 6 | test: 7 | pre: 8 | # run analysis before tests 9 | - go vet ./... 10 | - test -z "$(golint ./... | tee /dev/stderr)" 11 | - test -z "$(gofmt -s -l . | tee /dev/stderr)" 12 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/require/requirements.go: -------------------------------------------------------------------------------- 1 | package require 2 | 3 | // TestingT is an interface wrapper around *testing.T 4 | type TestingT interface { 5 | Errorf(format string, args ...interface{}) 6 | FailNow() 7 | } 8 | 9 | //go:generate go run ../_codegen/main.go -output-package=require -template=require.go.tmpl 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/h2demo/Makefile: -------------------------------------------------------------------------------- 1 | h2demo.linux: h2demo.go 2 | GOOS=linux go build --tags=h2demo -o h2demo.linux . 3 | 4 | FORCE: 5 | 6 | upload: FORCE 7 | go install golang.org/x/build/cmd/upload 8 | upload --verbose --osarch=linux-amd64 --tags=h2demo --file=go:golang.org/x/net/http2/h2demo --public http2-demo-server-tls/h2demo 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/syscall-test/raw.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | 7 | int main() { 8 | if (socket(PF_INET, SOCK_RAW, IPPROTO_UDP) == -1) { 9 | perror("socket"); 10 | return 1; 11 | } 12 | 13 | return 0; 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/update_solaris.go: -------------------------------------------------------------------------------- 1 | package daemon 2 | 3 | import ( 4 | "github.com/docker/docker/api/types/container" 5 | "github.com/docker/docker/libcontainerd" 6 | ) 7 | 8 | func toContainerdResources(resources container.Resources) libcontainerd.Resources { 9 | var r libcontainerd.Resources 10 | return r 11 | } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/endian_little.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 386 amd64 amd64p32 arm arm64 ppc64le mipsle mips64le 6 | 7 | package unix 8 | 9 | const isBigEndian = false 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/svc/go12.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 windows 6 | // +build !go1.3 7 | 8 | package svc 9 | 10 | // from go12.c 11 | func getServiceMain(r *uintptr) 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/evaluator_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package dockerfile 4 | 5 | // platformSupports is a short-term function to give users a quality error 6 | // message if a Dockerfile uses a command not supported on the platform. 7 | func platformSupports(command string) error { 8 | return nil 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/interface_stable.go: -------------------------------------------------------------------------------- 1 | package client 2 | 3 | // APIClient is an interface that clients that talk with a docker server must implement. 4 | type APIClient interface { 5 | CommonAPIClient 6 | apiClientExperimental 7 | } 8 | 9 | // Ensure that Client always implements APIClient. 10 | var _ APIClient = &Client{} 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/hack/make/cover: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | 4 | bundle_cover() { 5 | coverprofiles=( "$DEST/../"*"/coverprofiles/"* ) 6 | for p in "${coverprofiles[@]}"; do 7 | echo 8 | ( 9 | set -x 10 | go tool cover -func="$p" 11 | ) 12 | done 13 | } 14 | 15 | bundle_cover 2>&1 | tee "$DEST/report.log" 16 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/reexec/README.md: -------------------------------------------------------------------------------- 1 | # reexec 2 | 3 | The `reexec` package facilitates the busybox style reexec of the docker binary that we require because 4 | of the forking limitations of using Go. Handlers can be registered with a name and the argv 0 of 5 | the exec of the binary will be used to find and execute custom init paths. 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/symlink/fs_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package symlink 4 | 5 | import ( 6 | "path/filepath" 7 | ) 8 | 9 | func evalSymlinks(path string) (string, error) { 10 | return filepath.EvalSymlinks(path) 11 | } 12 | 13 | func isDriveOrRoot(p string) bool { 14 | return p == string(filepath.Separator) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/registry/mksyscall.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 registry 6 | 7 | //go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output zsyscall_windows.go syscall.go 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/contrib/compose/docker-compose.yml: -------------------------------------------------------------------------------- 1 | nginx: 2 | build: "nginx" 3 | ports: 4 | - "5000:5000" 5 | links: 6 | - registryv1:registryv1 7 | - registryv2:registryv2 8 | registryv1: 9 | image: registry 10 | ports: 11 | - "5000" 12 | registryv2: 13 | build: "../../" 14 | ports: 15 | - "5000" 16 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/escapes/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:14.04 2 | LABEL maintainer Erik \\Hollensbe \" 3 | 4 | RUN apt-get \update && \ 5 | apt-get \"install znc -y 6 | ADD \conf\\" /.znc 7 | 8 | RUN foo \ 9 | 10 | bar \ 11 | 12 | baz 13 | 14 | CMD [ "\/usr\\\"/bin/znc", "-f", "-r" ] 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/reexec/command_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!windows,!freebsd,!solaris,!darwin 2 | 3 | package reexec 4 | 5 | import ( 6 | "os/exec" 7 | ) 8 | 9 | // Command is unsupported on operating systems apart from Linux, Windows, Solaris and Darwin. 10 | func Command(args ...string) *exec.Cmd { 11 | return nil 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/umask.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package system 4 | 5 | import ( 6 | "golang.org/x/sys/unix" 7 | ) 8 | 9 | // Umask sets current process's file mode creation mask to newmask 10 | // and returns oldmask. 11 | func Umask(newmask int) (oldmask int, err error) { 12 | return unix.Umask(newmask), nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/icmp/sys_freebsd.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 icmp 6 | 7 | import "syscall" 8 | 9 | func init() { 10 | freebsdVersion, _ = syscall.SysctlUint32("kern.osreldate") 11 | } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/msghdr_openbsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 socket 6 | 7 | func (h *msghdr) setIov(vs []iovec) { 8 | h.Iov = &vs[0] 9 | h.Iovlen = uint32(len(vs)) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/kartar-entrypoint-oddities/result: -------------------------------------------------------------------------------- 1 | (from "ubuntu:14.04") 2 | (label "maintainer" "James Turnbull \"james@example.com\"") 3 | (env "REFRESHED_AT" "2014-06-01") 4 | (run "apt-get update") 5 | (run "apt-get -y install redis-server redis-tools") 6 | (expose "6379") 7 | (entrypoint "/usr/bin/redis-server") 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/exec_solaris.go: -------------------------------------------------------------------------------- 1 | package daemon 2 | 3 | import ( 4 | "github.com/docker/docker/container" 5 | "github.com/docker/docker/daemon/exec" 6 | "github.com/docker/docker/libcontainerd" 7 | ) 8 | 9 | func execSetPlatformOpt(c *container.Container, ec *exec.Config, p *libcontainerd.Process) error { 10 | return nil 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/path_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package system 4 | 5 | // CheckSystemDriveAndRemoveDriveLetter verifies that a path, if it includes a drive letter, 6 | // is the system drive. This is a no-op on Linux. 7 | func CheckSystemDriveAndRemoveDriveLetter(path string) (string, error) { 8 | return path, nil 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/test/issue261/issue261.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package issue261; 4 | 5 | import "github.com/gogo/protobuf/gogoproto/gogo.proto"; 6 | 7 | import "google/protobuf/duration.proto"; 8 | 9 | message MapStdTypes { 10 | map nullableDuration = 3 [(gogoproto.stdduration) = true]; 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/fixtures/keyfile: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | keyID: AWX2:I27X:WQFX:IOMK:CNAK:O7PW:VYNB:ZLKC:CVAE:YJP2:SI4A:XXAY 3 | 4 | MHcCAQEEILHTRWdcpKWsnORxSFyBnndJ4ROU41hMtr/GCiLVvwBQoAoGCCqGSM49 5 | AwEHoUQDQgAElpVFbQ2V2UQKajqdE3fVxJ+/pE/YuEFOxWbOxF2be19BY209/iky 6 | NzeFFK7SLpQ4CBJ7zDVXOHsMzrkY/GquGA== 7 | -----END EC PRIVATE KEY----- 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/server/router/session/backend.go: -------------------------------------------------------------------------------- 1 | package session 2 | 3 | import ( 4 | "net/http" 5 | 6 | "golang.org/x/net/context" 7 | ) 8 | 9 | // Backend abstracts an session receiver from an http request. 10 | type Backend interface { 11 | HandleHTTPRequest(ctx context.Context, w http.ResponseWriter, r *http.Request) error 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/flags/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM scratch 2 | COPY foo /tmp/ 3 | COPY --user=me foo /tmp/ 4 | COPY --doit=true foo /tmp/ 5 | COPY --user=me --doit=true foo /tmp/ 6 | COPY --doit=true -- foo /tmp/ 7 | COPY -- foo /tmp/ 8 | CMD --doit [ "a", "b" ] 9 | CMD --doit=true -- [ "a", "b" ] 10 | CMD --doit -- [ ] 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/metrics_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package daemon 4 | 5 | import "github.com/docker/docker/pkg/plugingetter" 6 | 7 | func registerMetricsPluginCallback(getter plugingetter.PluginGetter, sockPath string) { 8 | } 9 | 10 | func (daemon *Daemon) listenMetricsSock() (string, error) { 11 | return "", nil 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/archive/time_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package archive 4 | 5 | import ( 6 | "syscall" 7 | "time" 8 | ) 9 | 10 | func timeToTimespec(time time.Time) (ts syscall.Timespec) { 11 | nsec := int64(0) 12 | if !time.IsZero() { 13 | nsec = time.UnixNano() 14 | } 15 | return syscall.NsecToTimespec(nsec) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/mount/mounter_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!freebsd,!solaris freebsd,!cgo solaris,!cgo 2 | 3 | package mount 4 | 5 | func mount(device, target, mType string, flag uintptr, data string) error { 6 | panic("Not implemented") 7 | } 8 | 9 | func unmount(target string, flag int) error { 10 | panic("Not implemented") 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/pidfile/pidfile_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows,!darwin 2 | 3 | package pidfile 4 | 5 | import ( 6 | "os" 7 | "path/filepath" 8 | "strconv" 9 | ) 10 | 11 | func processExists(pid int) bool { 12 | if _, err := os.Stat(filepath.Join("/proc", strconv.Itoa(pid))); err == nil { 13 | return true 14 | } 15 | return false 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/plugins/plugins_windows.go: -------------------------------------------------------------------------------- 1 | package plugins 2 | 3 | // BasePath returns the path to which all paths returned by the plugin are relative to. 4 | // For Windows v1 plugins, this returns an empty string, since the plugin is already aware 5 | // of the absolute path of the mount. 6 | func (p *Plugin) BasePath() string { 7 | return "" 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/tlsconfig/tlsconfig_clone.go: -------------------------------------------------------------------------------- 1 | // +build go1.8 2 | 3 | package tlsconfig 4 | 5 | import "crypto/tls" 6 | 7 | // Clone returns a clone of tls.Config. This function is provided for 8 | // compatibility for go1.7 that doesn't include this method in stdlib. 9 | func Clone(c *tls.Config) *tls.Config { 10 | return c.Clone() 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/pborman/uuid/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Google Inc. 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 | // The uuid package generates and inspects UUIDs. 6 | // 7 | // UUIDs are based on RFC 4122 and DCE 1.1: Authentication and Security Services. 8 | package uuid 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/doc.go: -------------------------------------------------------------------------------- 1 | // Package distribution will define the interfaces for the components of 2 | // docker distribution. The goal is to allow users to reliably package, ship 3 | // and store content related to docker images. 4 | // 5 | // This is currently a work in progress. More details are available in the 6 | // README.md. 7 | package distribution 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/pidfile/pidfile_darwin.go: -------------------------------------------------------------------------------- 1 | // +build darwin 2 | 3 | package pidfile 4 | 5 | import ( 6 | "golang.org/x/sys/unix" 7 | ) 8 | 9 | func processExists(pid int) bool { 10 | // OS X does not have a proc filesystem. 11 | // Use kill -0 pid to judge if the process exists. 12 | err := unix.Kill(pid, 0) 13 | return err == nil 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/contrib/docker-integration/nginx/registry-basic.conf: -------------------------------------------------------------------------------- 1 | client_max_body_size 0; 2 | chunked_transfer_encoding on; 3 | location /v2/ { 4 | auth_basic "registry.localhost"; 5 | auth_basic_user_file test.passwd; 6 | add_header 'Docker-Distribution-Api-Version' 'registry/2.0' always; 7 | include docker-registry-v2.conf; 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/contrib/docker-integration/tokenserver/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM dmcgowan/token-server@sha256:0eab50ebdff5b6b95b3addf4edbd8bd2f5b940f27b41b43c94afdf05863a81af 2 | 3 | WORKDIR / 4 | 5 | COPY ./.htpasswd /.htpasswd 6 | COPY ./certs/auth.localregistry.cert /tls.cert 7 | COPY ./certs/auth.localregistry.key /tls.key 8 | COPY ./certs/signing.key /sign.key 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/escape-after-comment/Dockerfile: -------------------------------------------------------------------------------- 1 | # Comment here. Should not be looking for the following parser directive. 2 | # Hence the following line will be ignored, and the subsequent backslash 3 | # continuation will be the default. 4 | # escape = ` 5 | 6 | FROM image 7 | LABEL maintainer foo@bar.com 8 | ENV GOPATH \ 9 | \go -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/service_remove.go: -------------------------------------------------------------------------------- 1 | package client 2 | 3 | import "golang.org/x/net/context" 4 | 5 | // ServiceRemove kills and removes a service. 6 | func (cli *Client) ServiceRemove(ctx context.Context, serviceID string) error { 7 | resp, err := cli.delete(ctx, "/services/"+serviceID, nil, nil) 8 | ensureReaderClosed(resp) 9 | return err 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/update_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package daemon 4 | 5 | import ( 6 | "github.com/docker/docker/api/types/container" 7 | "github.com/docker/docker/libcontainerd" 8 | ) 9 | 10 | func toContainerdResources(resources container.Resources) libcontainerd.Resources { 11 | var r libcontainerd.Resources 12 | return r 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/go-connections/tlsconfig/certpool_other.go: -------------------------------------------------------------------------------- 1 | // +build !go1.7 2 | 3 | package tlsconfig 4 | 5 | import ( 6 | "crypto/x509" 7 | 8 | ) 9 | 10 | // SystemCertPool returns an new empty cert pool, 11 | // accessing system cert pool is supported in go 1.7 12 | func SystemCertPool() (*x509.CertPool, error) { 13 | return x509.NewCertPool(), nil 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/nlopes/slack/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.7 5 | - 1.8 6 | - 1.x 7 | - tip 8 | 9 | before_install: 10 | - export PATH=$HOME/gopath/bin:$PATH 11 | 12 | script: 13 | - go test -race ./... 14 | - go test -cover ./... 15 | 16 | matrix: 17 | allow_failures: 18 | - go: tip 19 | 20 | git: 21 | depth: 10 22 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/objx/security.go: -------------------------------------------------------------------------------- 1 | package objx 2 | 3 | import ( 4 | "crypto/sha1" 5 | "encoding/hex" 6 | ) 7 | 8 | // HashWithKey hashes the specified string using the security 9 | // key. 10 | func HashWithKey(data, key string) string { 11 | hash := sha1.New() 12 | hash.Write([]byte(data + ":" + key)) 13 | return hex.EncodeToString(hash.Sum(nil)) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/contrib/docker-integration/tokenserver-oauth/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM dmcgowan/token-server@sha256:5a6f76d3086cdf63249c77b521108387b49d85a30c5e1c4fe82fdf5ae3b76ba7 2 | 3 | WORKDIR / 4 | 5 | COPY ./.htpasswd /.htpasswd 6 | COPY ./certs/auth.localregistry.cert /tls.cert 7 | COPY ./certs/auth.localregistry.key /tls.key 8 | COPY ./certs/signing.key /sign.key 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/server/router/debug/debug_routes.go: -------------------------------------------------------------------------------- 1 | package debug 2 | 3 | import ( 4 | "net/http" 5 | "net/http/pprof" 6 | 7 | "golang.org/x/net/context" 8 | ) 9 | 10 | func handlePprof(ctx context.Context, w http.ResponseWriter, r *http.Request, vars map[string]string) error { 11 | pprof.Handler(vars["name"]).ServeHTTP(w, r) 12 | return nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/health/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debian 2 | ADD check.sh main.sh /app/ 3 | CMD /app/main.sh 4 | HEALTHCHECK 5 | HEALTHCHECK --interval=5s --timeout=3s --retries=3 \ 6 | CMD /app/check.sh --quiet 7 | HEALTHCHECK CMD 8 | HEALTHCHECK CMD a b 9 | HEALTHCHECK --timeout=3s CMD ["foo"] 10 | HEALTHCHECK CONNECT TCP 7000 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/btrfs/version_none.go: -------------------------------------------------------------------------------- 1 | // +build linux,btrfs_noversion 2 | 3 | package btrfs 4 | 5 | // TODO(vbatts) remove this work-around once supported linux distros are on 6 | // btrfs utilities of >= 3.16.1 7 | 8 | func btrfsBuildVersion() string { 9 | return "-" 10 | } 11 | 12 | func btrfsLibVersion() int { 13 | return -1 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/integration-cli/fixtures/deploy/default.yaml: -------------------------------------------------------------------------------- 1 | 2 | version: "3" 3 | services: 4 | web: 5 | image: busybox@sha256:e4f93f6ed15a0cdd342f5aae387886fba0ab98af0a102da6276eaf24d6e6ade0 6 | command: top 7 | db: 8 | image: busybox@sha256:e4f93f6ed15a0cdd342f5aae387886fba0ab98af0a102da6276eaf24d6e6ade0 9 | command: "tail -f /dev/null" 10 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/go-digest/.pullapprove.yml: -------------------------------------------------------------------------------- 1 | approve_by_comment: true 2 | approve_regex: '^(Approved|lgtm|LGTM|:shipit:|:star:|:\+1:|:ship:)' 3 | reject_regex: ^Rejected 4 | reset_on_push: true 5 | author_approval: ignored 6 | signed_off_by: 7 | required: true 8 | reviewers: 9 | teams: 10 | - go-digest-maintainers 11 | name: default 12 | required: 2 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/constants.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin dragonfly freebsd linux netbsd openbsd solaris 6 | 7 | package unix 8 | 9 | const ( 10 | R_OK = 0x4 11 | W_OK = 0x2 12 | X_OK = 0x1 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/mount/mountinfo_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !windows,!linux,!freebsd,!solaris freebsd,!cgo solaris,!cgo 2 | 3 | package mount 4 | 5 | import ( 6 | "fmt" 7 | "runtime" 8 | ) 9 | 10 | func parseMountTable() ([]*Info, error) { 11 | return nil, fmt.Errorf("mount.parseMountTable is not implemented on %s/%s", runtime.GOOS, runtime.GOARCH) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/promise/promise.go: -------------------------------------------------------------------------------- 1 | package promise 2 | 3 | // Go is a basic promise implementation: it wraps calls a function in a goroutine, 4 | // and returns a channel which will later return the function's return value. 5 | func Go(f func() error) chan error { 6 | ch := make(chan error, 1) 7 | go func() { 8 | ch <- f() 9 | }() 10 | return ch 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/profiles/seccomp/seccomp_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build linux,!seccomp 2 | 3 | package seccomp 4 | 5 | import ( 6 | "github.com/docker/docker/api/types" 7 | "github.com/opencontainers/runtime-spec/specs-go" 8 | ) 9 | 10 | // DefaultProfile returns a nil pointer on unsupported systems. 11 | func DefaultProfile() *types.Seccomp { 12 | return nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/bpf/setter.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 bpf 6 | 7 | // A Setter is a type which can attach a compiled BPF filter to itself. 8 | type Setter interface { 9 | SetBPF(filter []RawInstruction) error 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/container/state_unix.go: -------------------------------------------------------------------------------- 1 | // +build linux freebsd 2 | 3 | package container 4 | 5 | // setFromExitStatus is a platform specific helper function to set the state 6 | // based on the ExitStatus structure. 7 | func (s *State) setFromExitStatus(exitStatus *ExitStatus) { 8 | s.ExitCodeValue = exitStatus.ExitCode 9 | s.OOMKilled = exitStatus.OOMKilled 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/layer/layer_store_windows.go: -------------------------------------------------------------------------------- 1 | package layer 2 | 3 | import ( 4 | "io" 5 | 6 | "github.com/docker/distribution" 7 | ) 8 | 9 | func (ls *layerStore) RegisterWithDescriptor(ts io.Reader, parent ChainID, platform Platform, descriptor distribution.Descriptor) (Layer, error) { 10 | return ls.registerWithDescriptor(ts, parent, platform, descriptor) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/test/issue261/Makefile: -------------------------------------------------------------------------------- 1 | regenerate: 2 | go install github.com/gogo/protobuf/protoc-min-version 3 | go install github.com/gogo/protobuf/protoc-gen-gogoslick 4 | protoc-min-version --version="3.0.0" --gogoslick_out=\ 5 | Mgoogle/protobuf/duration.proto=github.com/gogo/protobuf/types,\ 6 | :. \ 7 | --proto_path=../../../../../:../../protobuf/:. issue261.proto 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/mksyscall.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 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 windows 6 | 7 | //go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output zsyscall_windows.go eventlog.go service.go syscall_windows.go security_windows.go 8 | -------------------------------------------------------------------------------- /vendor/github.com/davecgh/go-spew/.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/docker/docker/hack/make/.build-deb/docker-engine.postinst: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | case "$1" in 5 | configure) 6 | if [ -z "$2" ]; then 7 | if ! getent group docker > /dev/null; then 8 | groupadd --system docker 9 | fi 10 | fi 11 | ;; 12 | abort-*) 13 | # How'd we get here?? 14 | exit 1 15 | ;; 16 | *) 17 | ;; 18 | esac 19 | 20 | #DEBHELPER# 21 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/archive/time_linux.go: -------------------------------------------------------------------------------- 1 | package archive 2 | 3 | import ( 4 | "syscall" 5 | "time" 6 | ) 7 | 8 | func timeToTimespec(time time.Time) (ts syscall.Timespec) { 9 | if time.IsZero() { 10 | // Return UTIME_OMIT special value 11 | ts.Sec = 0 12 | ts.Nsec = ((1 << 30) - 2) 13 | return 14 | } 15 | return syscall.NsecToTimespec(time.UnixNano()) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/stat_openbsd.go: -------------------------------------------------------------------------------- 1 | package system 2 | 3 | import "syscall" 4 | 5 | // fromStatT converts a syscall.Stat_t type to a system.Stat_t type 6 | func fromStatT(s *syscall.Stat_t) (*StatT, error) { 7 | return &StatT{size: s.Size, 8 | mode: uint32(s.Mode), 9 | uid: s.Uid, 10 | gid: s.Gid, 11 | rdev: uint64(s.Rdev), 12 | mtim: s.Mtim}, nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/stat_solaris.go: -------------------------------------------------------------------------------- 1 | package system 2 | 3 | import "syscall" 4 | 5 | // fromStatT converts a syscall.Stat_t type to a system.Stat_t type 6 | func fromStatT(s *syscall.Stat_t) (*StatT, error) { 7 | return &StatT{size: s.Size, 8 | mode: uint32(s.Mode), 9 | uid: s.Uid, 10 | gid: s.Gid, 11 | rdev: uint64(s.Rdev), 12 | mtim: s.Mtim}, nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/objx/.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/stretchr/objx/value.go: -------------------------------------------------------------------------------- 1 | package objx 2 | 3 | // Value provides methods for extracting interface{} data in various 4 | // types. 5 | type Value struct { 6 | // data contains the raw data being managed by this Value 7 | data interface{} 8 | } 9 | 10 | // Data returns the raw data contained by this Value 11 | func (v *Value) Data() interface{} { 12 | return v.data 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_no_getwd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build dragonfly freebsd netbsd openbsd 6 | 7 | package unix 8 | 9 | const ImplementsGetwd = false 10 | 11 | func Getwd() (string, error) { return "", ENOTSUP } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/zsysnum_solaris_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build amd64,solaris 6 | 7 | package unix 8 | 9 | // TODO(aram): remove these before Go 1.3. 10 | const ( 11 | SYS_EXECVE = 59 12 | SYS_FCNTL = 62 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/network_remove.go: -------------------------------------------------------------------------------- 1 | package client 2 | 3 | import "golang.org/x/net/context" 4 | 5 | // NetworkRemove removes an existent network from the docker host. 6 | func (cli *Client) NetworkRemove(ctx context.Context, networkID string) error { 7 | resp, err := cli.delete(ctx, "/networks/"+networkID, nil, nil) 8 | ensureReaderClosed(resp) 9 | return err 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/libcontainerd/container.go: -------------------------------------------------------------------------------- 1 | package libcontainerd 2 | 3 | const ( 4 | // InitFriendlyName is the name given in the lookup map of processes 5 | // for the first process started in a container. 6 | InitFriendlyName = "init" 7 | configFilename = "config.json" 8 | ) 9 | 10 | type containerCommon struct { 11 | process 12 | processes map[string]*process 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/chtimes_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package system 4 | 5 | import ( 6 | "time" 7 | ) 8 | 9 | //setCTime will set the create time on a file. On Unix, the create 10 | //time is updated as a side effect of setting the modified time, so 11 | //no action is required. 12 | func setCTime(path string, ctime time.Time) error { 13 | return nil 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/lstat_windows.go: -------------------------------------------------------------------------------- 1 | package system 2 | 3 | import "os" 4 | 5 | // Lstat calls os.Lstat to get a fileinfo interface back. 6 | // This is then copied into our own locally defined structure. 7 | func Lstat(path string) (*StatT, error) { 8 | fi, err := os.Lstat(path) 9 | if err != nil { 10 | return nil, err 11 | } 12 | 13 | return fromStatT(&fi) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/stat_darwin.go: -------------------------------------------------------------------------------- 1 | package system 2 | 3 | import "syscall" 4 | 5 | // fromStatT converts a syscall.Stat_t type to a system.Stat_t type 6 | func fromStatT(s *syscall.Stat_t) (*StatT, error) { 7 | return &StatT{size: s.Size, 8 | mode: uint32(s.Mode), 9 | uid: s.Uid, 10 | gid: s.Gid, 11 | rdev: uint64(s.Rdev), 12 | mtim: s.Mtimespec}, nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/stat_freebsd.go: -------------------------------------------------------------------------------- 1 | package system 2 | 3 | import "syscall" 4 | 5 | // fromStatT converts a syscall.Stat_t type to a system.Stat_t type 6 | func fromStatT(s *syscall.Stat_t) (*StatT, error) { 7 | return &StatT{size: s.Size, 8 | mode: uint32(s.Mode), 9 | uid: s.Uid, 10 | gid: s.Gid, 11 | rdev: uint64(s.Rdev), 12 | mtim: s.Mtimespec}, nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/plugin/v2/plugin_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package v2 4 | 5 | import ( 6 | "errors" 7 | 8 | specs "github.com/opencontainers/runtime-spec/specs-go" 9 | ) 10 | 11 | // InitSpec creates an OCI spec from the plugin's config. 12 | func (p *Plugin) InitSpec(execRoot string) (*specs.Spec, error) { 13 | return nil, errors.New("not supported") 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/pborman/uuid/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # How to contribute 2 | 3 | We definitely welcome patches and contribution to this project! 4 | 5 | ### Legal requirements 6 | 7 | In order to protect both you and ourselves, you will need to sign the 8 | [Contributor License Agreement](https://cla.developers.google.com/clas). 9 | 10 | You may have already signed it for other Google projects. 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/iovec_stub.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris 6 | 7 | package socket 8 | 9 | type iovec struct{} 10 | 11 | func (v *iovec) set(b []byte) {} 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/time/duration_convert.go: -------------------------------------------------------------------------------- 1 | package time 2 | 3 | import ( 4 | "strconv" 5 | "time" 6 | ) 7 | 8 | // DurationToSecondsString converts the specified duration to the number 9 | // seconds it represents, formatted as a string. 10 | func DurationToSecondsString(duration time.Duration) string { 11 | return strconv.FormatFloat(duration.Seconds(), 'f', 0, 64) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/plugin_set.go: -------------------------------------------------------------------------------- 1 | package client 2 | 3 | import ( 4 | "golang.org/x/net/context" 5 | ) 6 | 7 | // PluginSet modifies settings for an existing plugin 8 | func (cli *Client) PluginSet(ctx context.Context, name string, args []string) error { 9 | resp, err := cli.post(ctx, "/plugins/"+name+"/set", nil, args, nil) 10 | ensureReaderClosed(resp) 11 | return err 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/contrib/udev/80-docker.rules: -------------------------------------------------------------------------------- 1 | # hide docker's loopback devices from udisks, and thus from user desktops 2 | SUBSYSTEM=="block", ENV{DM_NAME}=="docker-*", ENV{UDISKS_PRESENTATION_HIDE}="1", ENV{UDISKS_IGNORE}="1" 3 | SUBSYSTEM=="block", DEVPATH=="/devices/virtual/block/loop*", ATTR{loop/backing_file}=="/var/lib/docker/*", ENV{UDISKS_PRESENTATION_HIDE}="1", ENV{UDISKS_IGNORE}="1" 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/distribution/pull_v2_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package distribution 4 | 5 | import ( 6 | "github.com/docker/distribution" 7 | "github.com/docker/distribution/context" 8 | ) 9 | 10 | func (ld *v2LayerDescriptor) open(ctx context.Context) (distribution.ReadSeekCloser, error) { 11 | blobs := ld.repo.Blobs(ctx) 12 | return blobs.Open(ctx, ld.digest) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/homedir/homedir_others.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package homedir 4 | 5 | import ( 6 | "errors" 7 | ) 8 | 9 | // GetStatic is not needed for non-linux systems. 10 | // (Precisely, it is needed only for glibc-based linux systems.) 11 | func GetStatic() (string, error) { 12 | return "", errors.New("homedir.GetStatic() is not supported on this system") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/test/issue262/Makefile: -------------------------------------------------------------------------------- 1 | regenerate: 2 | go install github.com/gogo/protobuf/protoc-min-version 3 | go install github.com/gogo/protobuf/protoc-gen-gogoslick 4 | protoc-min-version --version="3.0.0" --proto_path=.:$(GOPATH)/src/:$(GOPATH)/src/github.com/gogo/protobuf/protobuf/ \ 5 | --gogoslick_out=Mgoogle/protobuf/timestamp.proto=github.com/gogo/protobuf/types:. timefail.proto 6 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/env_unset.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.4 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | func Unsetenv(key string) error { 12 | // This was added in Go 1.4. 13 | return syscall.Unsetenv(key) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.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,linux 6 | // +build !gccgo 7 | 8 | package unix 9 | 10 | import "syscall" 11 | 12 | //go:noescape 13 | func gettimeofday(tv *Timeval) (err syscall.Errno) 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/flags/result: -------------------------------------------------------------------------------- 1 | (from "scratch") 2 | (copy "foo" "/tmp/") 3 | (copy ["--user=me"] "foo" "/tmp/") 4 | (copy ["--doit=true"] "foo" "/tmp/") 5 | (copy ["--user=me" "--doit=true"] "foo" "/tmp/") 6 | (copy ["--doit=true"] "foo" "/tmp/") 7 | (copy "foo" "/tmp/") 8 | (cmd ["--doit"] "a" "b") 9 | (cmd ["--doit=true"] "a" "b") 10 | (cmd ["--doit"]) 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/selinux_linux.go: -------------------------------------------------------------------------------- 1 | // +build linux 2 | 3 | package daemon 4 | 5 | import "github.com/opencontainers/selinux/go-selinux" 6 | 7 | func selinuxSetDisabled() { 8 | selinux.SetDisabled() 9 | } 10 | 11 | func selinuxFreeLxcContexts(label string) { 12 | selinux.ReleaseLabel(label) 13 | } 14 | 15 | func selinuxEnabled() bool { 16 | return selinux.GetEnabled() 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/mknod_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package system 4 | 5 | // Mknod is not implemented on Windows. 6 | func Mknod(path string, mode uint32, dev int) error { 7 | return ErrNotSupportedPlatform 8 | } 9 | 10 | // Mkdev is not implemented on Windows. 11 | func Mkdev(major int64, minor int64) uint32 { 12 | panic("Mkdev not implemented on Windows.") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/nlopes/slack/comment.go: -------------------------------------------------------------------------------- 1 | package slack 2 | 3 | // Comment contains all the information relative to a comment 4 | type Comment struct { 5 | ID string `json:"id,omitempty"` 6 | Created JSONTime `json:"created,omitempty"` 7 | Timestamp JSONTime `json:"timestamp,omitempty"` 8 | User string `json:"user,omitempty"` 9 | Comment string `json:"comment,omitempty"` 10 | } 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/msghdr_bsdvar.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 6 | 7 | package socket 8 | 9 | func (h *msghdr) setIov(vs []iovec) { 10 | h.Iov = &vs[0] 11 | h.Iovlen = int32(len(vs)) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/plan9/env_unset.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.4 6 | 7 | package plan9 8 | 9 | import "syscall" 10 | 11 | func Unsetenv(key string) error { 12 | // This was added in Go 1.4. 13 | return syscall.Unsetenv(key) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/registry/export_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 | // +build windows 6 | 7 | package registry 8 | 9 | func (k Key) SetValue(name string, valtype uint32, data []byte) error { 10 | return k.setValue(name, valtype, data) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/ADD-COPY-with-JSON/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:14.04 2 | LABEL maintainer Seongyeol Lim 3 | 4 | COPY . /go/src/github.com/docker/docker 5 | ADD . / 6 | ADD null / 7 | COPY nullfile /tmp 8 | ADD [ "vimrc", "/tmp" ] 9 | COPY [ "bashrc", "/tmp" ] 10 | COPY [ "test file", "/tmp" ] 11 | ADD [ "test file", "/tmp/test file" ] 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/parser/testfiles/health/result: -------------------------------------------------------------------------------- 1 | (from "debian") 2 | (add "check.sh" "main.sh" "/app/") 3 | (cmd "/app/main.sh") 4 | (healthcheck) 5 | (healthcheck ["--interval=5s" "--timeout=3s" "--retries=3"] "CMD" "/app/check.sh --quiet") 6 | (healthcheck "CMD") 7 | (healthcheck "CMD" "a b") 8 | (healthcheck ["--timeout=3s"] "CMD" "foo") 9 | (healthcheck "CONNECT" "TCP 7000") 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/swarm_join.go: -------------------------------------------------------------------------------- 1 | package client 2 | 3 | import ( 4 | "github.com/docker/docker/api/types/swarm" 5 | "golang.org/x/net/context" 6 | ) 7 | 8 | // SwarmJoin joins the swarm. 9 | func (cli *Client) SwarmJoin(ctx context.Context, req swarm.JoinRequest) error { 10 | resp, err := cli.post(ctx, "/swarm/join", nil, req, nil) 11 | ensureReaderClosed(resp) 12 | return err 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/container/mounts_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package container 4 | 5 | // Mount contains information for a mount operation. 6 | type Mount struct { 7 | Source string `json:"source"` 8 | Destination string `json:"destination"` 9 | Writable bool `json:"writable"` 10 | Data string `json:"data"` 11 | Propagation string `json:"mountpropagation"` 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/hack/integration-cli-on-swarm/agent/Dockerfile: -------------------------------------------------------------------------------- 1 | # this Dockerfile is solely used for the master image. 2 | # Please refer to the top-level Makefile for the worker image. 3 | FROM golang:1.7 4 | ADD . /go/src/github.com/docker/docker/hack/integration-cli-on-swarm/agent 5 | RUN go build -o /master github.com/docker/docker/hack/integration-cli-on-swarm/agent/master 6 | ENTRYPOINT ["/master"] 7 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/devicemapper/log.go: -------------------------------------------------------------------------------- 1 | package devicemapper 2 | 3 | // definitions from lvm2 lib/log/log.h 4 | const ( 5 | LogLevelFatal = 2 + iota // _LOG_FATAL 6 | LogLevelErr // _LOG_ERR 7 | LogLevelWarn // _LOG_WARN 8 | LogLevelNotice // _LOG_NOTICE 9 | LogLevelInfo // _LOG_INFO 10 | LogLevelDebug // _LOG_DEBUG 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/errors/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/errors.go: -------------------------------------------------------------------------------- 1 | package assert 2 | 3 | import ( 4 | "errors" 5 | ) 6 | 7 | // AnError is an error instance useful for testing. If the code does not care 8 | // about error specifics, and only needs to return the error for example, this 9 | // error should be used to make the test code more readable. 10 | var AnError = errors.New("assert.AnError general error for testing") 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_386.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | #include "textflag.h" 6 | 7 | TEXT ·socketcall(SB),NOSPLIT,$0-36 8 | JMP syscall·socketcall(SB) 9 | 10 | TEXT ·rawsocketcall(SB),NOSPLIT,$0-36 11 | JMP syscall·rawsocketcall(SB) 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/webdav/file_go1.7.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 6 | 7 | package webdav 8 | 9 | import ( 10 | "context" 11 | "net/http" 12 | ) 13 | 14 | func getContext(r *http.Request) context.Context { 15 | return r.Context() 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/aufs/mount_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package aufs 4 | 5 | import "errors" 6 | 7 | // MsRemount declared to specify a non-linux system mount. 8 | const MsRemount = 0 9 | 10 | func mount(source string, target string, fstype string, flags uintptr, data string) (err error) { 11 | return errors.New("mount is not implemented on this platform") 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/layer/ro_layer_windows.go: -------------------------------------------------------------------------------- 1 | package layer 2 | 3 | import "github.com/docker/distribution" 4 | 5 | var _ distribution.Describable = &roLayer{} 6 | 7 | func (rl *roLayer) Descriptor() distribution.Descriptor { 8 | return rl.descriptor 9 | } 10 | 11 | func (rl *roLayer) Platform() Platform { 12 | if rl.platform == "" { 13 | return "windows" 14 | } 15 | return rl.platform 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/tarsum/writercloser.go: -------------------------------------------------------------------------------- 1 | package tarsum 2 | 3 | import ( 4 | "io" 5 | ) 6 | 7 | type writeCloseFlusher interface { 8 | io.WriteCloser 9 | Flush() error 10 | } 11 | 12 | type nopCloseFlusher struct { 13 | io.Writer 14 | } 15 | 16 | func (n *nopCloseFlusher) Close() error { 17 | return nil 18 | } 19 | 20 | func (n *nopCloseFlusher) Flush() error { 21 | return nil 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/image-spec/.tool/check-license: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -o errexit 4 | set -o nounset 5 | set -o pipefail 6 | 7 | ret=0 8 | 9 | for file in $(find . -type f -iname '*.go' ! -path './vendor/*'); do 10 | if ! head -n3 "${file}" | grep -Eq "(Copyright|generated|GENERATED)"; then 11 | echo "${file}:missing license header" 12 | ret=1 13 | fi 14 | done 15 | 16 | exit $ret 17 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/.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 | .DS_Store 25 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/testdata/webkit/scripted/adoption01.dat: -------------------------------------------------------------------------------- 1 | #data 2 |

TEXT 3 | #errors 4 | #document 5 | | 6 | | 7 | | 8 | |

9 | | 10 | | id="B" 11 | |