├── vendor ├── github.com │ ├── spf13 │ │ ├── pflag │ │ │ ├── go.sum │ │ │ ├── .gitignore │ │ │ ├── go.mod │ │ │ └── .travis.yml │ │ └── cobra │ │ │ ├── command_notwin.go │ │ │ ├── fish_completions.md │ │ │ ├── .mailmap │ │ │ ├── powershell_completions.md │ │ │ └── go.mod │ ├── BurntSushi │ │ └── toml │ │ │ ├── go.sum │ │ │ ├── .gitignore │ │ │ ├── go.mod │ │ │ ├── COMPATIBLE │ │ │ └── decode_go116.go │ ├── cespare │ │ └── xxhash │ │ │ └── v2 │ │ │ ├── go.sum │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ ├── xxhash_amd64.go │ │ │ └── xxhash_safe.go │ ├── godbus │ │ └── dbus │ │ │ └── v5 │ │ │ ├── go.sum │ │ │ ├── go.mod │ │ │ ├── transport_darwin.go │ │ │ ├── MAINTAINERS │ │ │ ├── homedir_dynamic.go │ │ │ ├── transport_unixcred_openbsd.go │ │ │ ├── conn_windows.go │ │ │ ├── conn_unix.go │ │ │ ├── homedir.go │ │ │ └── auth_anonymous.go │ ├── bits-and-blooms │ │ └── bitset │ │ │ ├── go.sum │ │ │ ├── go.mod │ │ │ ├── trailing_zeros_19.go │ │ │ └── .gitignore │ ├── modern-go │ │ ├── reflect2 │ │ │ ├── reflect2_amd64.s │ │ │ ├── relfect2_386.s │ │ │ ├── relfect2_arm.s │ │ │ ├── relfect2_arm64.s │ │ │ ├── relfect2_mipsx.s │ │ │ ├── relfect2_s390x.s │ │ │ ├── relfect2_amd64p32.s │ │ │ ├── relfect2_mips64x.s │ │ │ ├── relfect2_ppc64x.s │ │ │ ├── .gitignore │ │ │ ├── go_below_17.go │ │ │ ├── go_above_17.go │ │ │ ├── .travis.yml │ │ │ ├── go_below_19.go │ │ │ ├── go_above_19.go │ │ │ └── test.sh │ │ └── concurrent │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── go_above_19.go │ │ │ ├── test.sh │ │ │ └── log.go │ ├── Microsoft │ │ ├── go-winio │ │ │ ├── .gitignore │ │ │ ├── CODEOWNERS │ │ │ ├── backuptar │ │ │ │ └── noop.go │ │ │ ├── syscall.go │ │ │ └── go.mod │ │ └── hcsshim │ │ │ ├── .gitattributes │ │ │ ├── CODEOWNERS │ │ │ ├── .gitignore │ │ │ ├── internal │ │ │ ├── winapi │ │ │ │ ├── net.go │ │ │ │ ├── iocp.go │ │ │ │ ├── processor.go │ │ │ │ ├── process.go │ │ │ │ ├── winapi.go │ │ │ │ ├── path.go │ │ │ │ └── errors.go │ │ │ └── hcs │ │ │ │ └── schema2 │ │ │ │ ├── mouse.go │ │ │ │ ├── battery.go │ │ │ │ ├── keyboard.go │ │ │ │ ├── guest_os.go │ │ │ │ ├── memory.go │ │ │ │ ├── plan9.go │ │ │ │ ├── close_handle.go │ │ │ │ ├── version.go │ │ │ │ ├── shared_memory_configuration.go │ │ │ │ ├── console_size.go │ │ │ │ ├── enhanced_mode_video.go │ │ │ │ ├── delete_group_operation.go │ │ │ │ ├── guest_crash_reporting.go │ │ │ │ └── topology.go │ │ │ ├── hnssupport.go │ │ │ └── hnsglobals.go │ ├── chzyer │ │ └── readline │ │ │ ├── .gitignore │ │ │ ├── std_windows.go │ │ │ └── .travis.yml │ ├── containers │ │ ├── storage │ │ │ ├── VERSION │ │ │ ├── .dockerignore │ │ │ ├── pkg │ │ │ │ ├── loopback │ │ │ │ │ └── loopback_unsupported.go │ │ │ │ ├── chrootarchive │ │ │ │ │ ├── init_windows.go │ │ │ │ │ ├── jsoniter.go │ │ │ │ │ └── chroot_unix.go │ │ │ │ ├── archive │ │ │ │ │ ├── README.md │ │ │ │ │ ├── copy_windows.go │ │ │ │ │ ├── copy_unix.go │ │ │ │ │ ├── archive_19.go │ │ │ │ │ ├── archive_other.go │ │ │ │ │ ├── time_unsupported.go │ │ │ │ │ └── time_linux.go │ │ │ │ ├── stringutils │ │ │ │ │ └── README.md │ │ │ │ ├── stringid │ │ │ │ │ └── README.md │ │ │ │ ├── mount │ │ │ │ │ ├── mountinfo_linux.go │ │ │ │ │ ├── unmount_unsupported.go │ │ │ │ │ ├── mounter_unsupported.go │ │ │ │ │ └── mountinfo.go │ │ │ │ ├── devicemapper │ │ │ │ │ ├── devmapper_wrapper_dynamic.go │ │ │ │ │ ├── devmapper_wrapper_static.go │ │ │ │ │ └── log.go │ │ │ │ ├── system │ │ │ │ │ ├── lcow_windows.go │ │ │ │ │ ├── lcow_unix.go │ │ │ │ │ ├── errors.go │ │ │ │ │ ├── meminfo_unsupported.go │ │ │ │ │ ├── umask_windows.go │ │ │ │ │ ├── utimes_unsupported.go │ │ │ │ │ ├── umask.go │ │ │ │ │ ├── chmod.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 │ │ │ │ │ ├── lchown.go │ │ │ │ │ └── meminfo.go │ │ │ │ ├── ioutils │ │ │ │ │ ├── fswriters_unsupported.go │ │ │ │ │ ├── fswriters_linux.go │ │ │ │ │ └── temp_unix.go │ │ │ │ ├── unshare │ │ │ │ │ ├── getenv_linux_nocgo.go │ │ │ │ │ ├── unshare_cgo.go │ │ │ │ │ ├── getenv_linux_cgo.go │ │ │ │ │ └── unshare_unsupported_cgo.go │ │ │ │ ├── fileutils │ │ │ │ │ ├── fileutils_windows.go │ │ │ │ │ └── fileutils_solaris.go │ │ │ │ ├── parsers │ │ │ │ │ └── kernel │ │ │ │ │ │ └── uname_solaris.go │ │ │ │ ├── reexec │ │ │ │ │ └── README.md │ │ │ │ ├── idtools │ │ │ │ │ └── idtools_unsupported.go │ │ │ │ └── promise │ │ │ │ │ └── promise.go │ │ │ ├── drivers │ │ │ │ ├── btrfs │ │ │ │ │ ├── dummy_unsupported.go │ │ │ │ │ └── version_none.go │ │ │ │ ├── zfs │ │ │ │ │ ├── MAINTAINERS │ │ │ │ │ └── zfs_unsupported.go │ │ │ │ ├── register │ │ │ │ │ ├── register_vfs.go │ │ │ │ │ ├── register_windows.go │ │ │ │ │ ├── register_aufs.go │ │ │ │ │ ├── register_btrfs.go │ │ │ │ │ ├── register_overlay.go │ │ │ │ │ ├── register_devicemapper.go │ │ │ │ │ └── register_zfs.go │ │ │ │ ├── jsoniter.go │ │ │ │ ├── devmapper │ │ │ │ │ └── jsoniter.go │ │ │ │ ├── overlay │ │ │ │ │ ├── jsoniter.go │ │ │ │ │ └── overlay_unsupported.go │ │ │ │ ├── windows │ │ │ │ │ └── jsoniter_windows.go │ │ │ │ ├── vfs │ │ │ │ │ ├── copy_linux.go │ │ │ │ │ └── copy_unsupported.go │ │ │ │ ├── aufs │ │ │ │ │ ├── mount_linux.go │ │ │ │ │ └── mount_unsupported.go │ │ │ │ ├── chown_windows.go │ │ │ │ ├── driver_unsupported.go │ │ │ │ ├── driver_windows.go │ │ │ │ └── chroot_windows.go │ │ │ ├── jsoniter.go │ │ │ ├── CODE-OF-CONDUCT.md │ │ │ ├── SECURITY.md │ │ │ ├── types │ │ │ │ └── default_override_test.conf │ │ │ └── lockfile_compat.go │ │ ├── libtrust │ │ │ ├── MAINTAINERS │ │ │ └── doc.go │ │ ├── image │ │ │ └── v5 │ │ │ │ ├── pkg │ │ │ │ └── strslice │ │ │ │ │ └── README.md │ │ │ │ ├── transports │ │ │ │ └── alltransports │ │ │ │ │ ├── ostree.go │ │ │ │ │ ├── storage.go │ │ │ │ │ ├── docker_daemon.go │ │ │ │ │ ├── ostree_stub.go │ │ │ │ │ ├── storage_stub.go │ │ │ │ │ └── docker_daemon_stub.go │ │ │ │ └── docker │ │ │ │ └── reference │ │ │ │ └── README.md │ │ └── ocicrypt │ │ │ ├── MAINTAINERS │ │ │ ├── CODE-OF-CONDUCT.md │ │ │ └── SECURITY.md │ ├── docker │ │ ├── go-connections │ │ │ ├── sockets │ │ │ │ └── README.md │ │ │ └── tlsconfig │ │ │ │ └── certpool_other.go │ │ ├── go-metrics │ │ │ ├── go.mod │ │ │ ├── docs.go │ │ │ ├── helpers.go │ │ │ ├── unit.go │ │ │ └── register.go │ │ ├── docker-credential-helpers │ │ │ └── credentials │ │ │ │ └── version.go │ │ ├── docker │ │ │ ├── api │ │ │ │ ├── types │ │ │ │ │ ├── error_response_ext.go │ │ │ │ │ ├── swarm │ │ │ │ │ │ └── runtime │ │ │ │ │ │ │ └── gen.go │ │ │ │ │ ├── error_response.go │ │ │ │ │ ├── id_response.go │ │ │ │ │ ├── service_update_response.go │ │ │ │ │ └── time │ │ │ │ │ │ └── duration_convert.go │ │ │ │ ├── common_unix.go │ │ │ │ ├── common.go │ │ │ │ ├── swagger-gen.yaml │ │ │ │ └── common_windows.go │ │ │ └── client │ │ │ │ ├── client_windows.go │ │ │ │ ├── interface_stable.go │ │ │ │ ├── client_unix.go │ │ │ │ ├── plugin_set.go │ │ │ │ ├── swarm_join.go │ │ │ │ ├── container_unpause.go │ │ │ │ ├── service_remove.go │ │ │ │ ├── container_pause.go │ │ │ │ ├── swarm_unlock.go │ │ │ │ ├── network_remove.go │ │ │ │ ├── swarm_leave.go │ │ │ │ ├── transport.go │ │ │ │ └── build_cancel.go │ │ ├── go-units │ │ │ └── circle.yml │ │ └── distribution │ │ │ ├── .gometalinter.json │ │ │ ├── doc.go │ │ │ └── metrics │ │ │ └── prometheus.go │ ├── miekg │ │ └── pkcs11 │ │ │ ├── softhsm.conf │ │ │ ├── go.mod │ │ │ ├── .gitignore │ │ │ ├── hsm.db │ │ │ ├── softhsm2.conf │ │ │ ├── .travis.yml │ │ │ └── release.go │ ├── mistifyio │ │ └── go-zfs │ │ │ ├── .gitignore │ │ │ └── error.go │ ├── cyphar │ │ └── filepath-securejoin │ │ │ ├── VERSION │ │ │ ├── vendor.conf │ │ │ └── .travis.yml │ ├── onsi │ │ ├── gomega │ │ │ ├── Dockerfile │ │ │ ├── .gitignore │ │ │ ├── matchers │ │ │ │ ├── support │ │ │ │ │ └── goraph │ │ │ │ │ │ ├── node │ │ │ │ │ │ └── node.go │ │ │ │ │ │ └── util │ │ │ │ │ │ └── util.go │ │ │ │ └── attributes_slice.go │ │ │ ├── docker-compose.yaml │ │ │ ├── go.mod │ │ │ └── .travis.yml │ │ └── ginkgo │ │ │ ├── .gitignore │ │ │ ├── reporters │ │ │ └── stenographer │ │ │ │ └── support │ │ │ │ └── go-isatty │ │ │ │ ├── doc.go │ │ │ │ └── isatty_appengine.go │ │ │ ├── internal │ │ │ ├── specrunner │ │ │ │ └── random_id.go │ │ │ ├── remote │ │ │ │ └── output_interceptor.go │ │ │ ├── leafnodes │ │ │ │ └── interfaces.go │ │ │ └── global │ │ │ │ └── init.go │ │ │ ├── types │ │ │ └── code_location.go │ │ │ └── go.mod │ ├── prometheus │ │ ├── procfs │ │ │ ├── .gitignore │ │ │ ├── .golangci.yml │ │ │ ├── MAINTAINERS.md │ │ │ ├── CODE_OF_CONDUCT.md │ │ │ ├── SECURITY.md │ │ │ ├── go.mod │ │ │ └── NOTICE │ │ ├── client_golang │ │ │ └── prometheus │ │ │ │ ├── .gitignore │ │ │ │ └── README.md │ │ ├── client_model │ │ │ └── NOTICE │ │ └── common │ │ │ └── NOTICE │ ├── google │ │ └── uuid │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ ├── CONTRIBUTORS │ │ │ ├── CONTRIBUTING.md │ │ │ └── doc.go │ ├── klauspost │ │ ├── compress │ │ │ ├── huff0 │ │ │ │ └── .gitignore │ │ │ ├── .gitattributes │ │ │ ├── gen.sh │ │ │ ├── go.mod │ │ │ ├── s2sx.mod │ │ │ ├── go.sum │ │ │ ├── s2sx.sum │ │ │ ├── zstd │ │ │ │ └── internal │ │ │ │ │ └── xxhash │ │ │ │ │ ├── xxhash_amd64.go │ │ │ │ │ └── xxhash_safe.go │ │ │ └── .gitignore │ │ └── pgzip │ │ │ ├── .gitignore │ │ │ └── .travis.yml │ ├── nxadm │ │ └── tail │ │ │ ├── .gitignore │ │ │ ├── go.mod │ │ │ └── ratelimiter │ │ │ └── storage.go │ ├── disiqueira │ │ └── gotree │ │ │ └── v3 │ │ │ ├── _config.yml │ │ │ ├── go.mod │ │ │ ├── gotree-logo.png │ │ │ └── .travis.yml │ ├── golang │ │ ├── snappy │ │ │ ├── go.mod │ │ │ ├── .gitignore │ │ │ └── decode_asm.go │ │ └── protobuf │ │ │ ├── AUTHORS │ │ │ └── CONTRIBUTORS │ ├── mtrmac │ │ └── gpgme │ │ │ ├── .gitignore │ │ │ ├── go.mod │ │ │ ├── unset_agent_info_windows.go │ │ │ └── README.md │ ├── stefanberger │ │ └── go-pkcs11uri │ │ │ ├── .gitignore │ │ │ └── .travis.yml │ ├── VividCortex │ │ └── ewma │ │ │ ├── .gitignore │ │ │ ├── go.mod │ │ │ ├── .whitesource │ │ │ └── codecov.yml │ ├── fsnotify │ │ └── fsnotify │ │ │ ├── .gitattributes │ │ │ ├── go.mod │ │ │ ├── go.sum │ │ │ ├── .gitignore │ │ │ ├── .editorconfig │ │ │ ├── open_mode_bsd.go │ │ │ └── open_mode_darwin.go │ ├── hashicorp │ │ ├── errwrap │ │ │ └── go.mod │ │ └── go-multierror │ │ │ ├── go.mod │ │ │ └── go.sum │ ├── sirupsen │ │ └── logrus │ │ │ ├── .gitignore │ │ │ ├── terminal_check_js.go │ │ │ ├── terminal_check_appengine.go │ │ │ ├── terminal_check_no_terminal.go │ │ │ ├── go.mod │ │ │ ├── terminal_check_solaris.go │ │ │ ├── terminal_check_unix.go │ │ │ ├── appveyor.yml │ │ │ ├── terminal_check_bsd.go │ │ │ ├── terminal_check_notappengine.go │ │ │ └── .travis.yml │ ├── gorilla │ │ └── mux │ │ │ ├── go.mod │ │ │ └── AUTHORS │ ├── manifoldco │ │ └── promptui │ │ │ ├── .gitignore │ │ │ ├── keycodes_other.go │ │ │ ├── keycodes_windows.go │ │ │ └── .travis.yml │ ├── matttproud │ │ └── golang_protobuf_extensions │ │ │ ├── pbutil │ │ │ ├── .gitignore │ │ │ └── Makefile │ │ │ └── NOTICE │ ├── rivo │ │ └── uniseg │ │ │ ├── go.mod │ │ │ └── doc.go │ ├── xeipuuv │ │ ├── gojsonschema │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── go.mod │ │ │ └── glide.yaml │ │ └── gojsonreference │ │ │ └── README.md │ ├── jinzhu │ │ └── copier │ │ │ ├── go.mod │ │ │ └── errors.go │ ├── json-iterator │ │ └── go │ │ │ ├── .codecov.yml │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── test.sh │ │ │ ├── go.mod │ │ │ └── build.sh │ ├── seccomp │ │ └── libseccomp-golang │ │ │ ├── .gitignore │ │ │ └── go.mod │ ├── ulikunitz │ │ └── xz │ │ │ ├── go.mod │ │ │ ├── fox.xz │ │ │ ├── lzma │ │ │ └── fox.lzma │ │ │ ├── fox-check-none.xz │ │ │ ├── make-docs │ │ │ ├── SECURITY.md │ │ │ └── .gitignore │ ├── mattn │ │ ├── go-shellwords │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ └── go.test.sh │ │ ├── go-isatty │ │ │ ├── doc.go │ │ │ ├── .travis.yml │ │ │ └── isatty_others.go │ │ ├── go-runewidth │ │ │ ├── go.mod │ │ │ ├── go.sum │ │ │ ├── runewidth_appengine.go │ │ │ ├── runewidth_js.go │ │ │ ├── .travis.yml │ │ │ └── go.test.sh │ │ └── go-colorable │ │ │ └── .travis.yml │ ├── mitchellh │ │ └── mapstructure │ │ │ └── go.mod │ ├── opencontainers │ │ ├── go-digest │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ ├── .mailmap │ │ │ └── MAINTAINERS │ │ ├── runc │ │ │ └── libcontainer │ │ │ │ ├── cgroups │ │ │ │ └── cgroups_unsupported.go │ │ │ │ ├── configs │ │ │ │ ├── namespaces.go │ │ │ │ ├── configs_fuzzer.go │ │ │ │ ├── namespaces_unsupported.go │ │ │ │ ├── hugepage_limit.go │ │ │ │ ├── cgroup_unsupported.go │ │ │ │ ├── interface_priority_map.go │ │ │ │ └── namespaces_syscall_unsupported.go │ │ │ │ ├── userns │ │ │ │ ├── userns.go │ │ │ │ ├── userns_fuzzer.go │ │ │ │ └── userns_unsupported.go │ │ │ │ └── apparmor │ │ │ │ └── apparmor_unsupported.go │ │ ├── runtime-tools │ │ │ ├── filepath │ │ │ │ ├── separator.go │ │ │ │ ├── join.go │ │ │ │ └── doc.go │ │ │ ├── generate │ │ │ │ └── seccomp │ │ │ │ │ ├── consts.go │ │ │ │ │ ├── seccomp_default_linux.go │ │ │ │ │ └── seccomp_default_unsupported.go │ │ │ └── validate │ │ │ │ └── validate_unsupported.go │ │ └── selinux │ │ │ └── go-selinux │ │ │ └── doc.go │ ├── imdario │ │ └── mergo │ │ │ ├── go.mod │ │ │ ├── .deepsource.toml │ │ │ ├── .travis.yml │ │ │ └── go.sum │ ├── ghodss │ │ └── yaml │ │ │ ├── .travis.yml │ │ │ └── .gitignore │ ├── vbauerster │ │ └── mpb │ │ │ └── v7 │ │ │ ├── cwriter │ │ │ ├── doc.go │ │ │ ├── util_zos.go │ │ │ ├── util_linux.go │ │ │ ├── util_solaris.go │ │ │ └── util_bsd.go │ │ │ ├── doc.go │ │ │ ├── .gitignore │ │ │ ├── internal │ │ │ ├── predicate.go │ │ │ └── width.go │ │ │ ├── .travis.yml │ │ │ ├── go.mod │ │ │ └── decor │ │ │ └── name.go │ ├── tchap │ │ └── go-patricia │ │ │ └── AUTHORS │ ├── lunixbochs │ │ └── vtclean │ │ │ └── .travis.yml │ ├── moby │ │ └── sys │ │ │ └── mountinfo │ │ │ ├── go.mod │ │ │ ├── go.sum │ │ │ └── mountinfo_windows.go │ ├── coreos │ │ └── go-systemd │ │ │ └── v22 │ │ │ └── NOTICE │ ├── pkg │ │ └── errors │ │ │ ├── .travis.yml │ │ │ └── .gitignore │ ├── stretchr │ │ └── testify │ │ │ ├── require │ │ │ ├── require_forward.go.tmpl │ │ │ └── require.go.tmpl │ │ │ └── assert │ │ │ ├── assertion_format.go.tmpl │ │ │ ├── assertion_forward.go.tmpl │ │ │ └── errors.go │ ├── juju │ │ └── ansiterm │ │ │ ├── doc.go │ │ │ └── Makefile │ ├── vbatts │ │ └── tar-split │ │ │ └── tar │ │ │ └── asm │ │ │ └── doc.go │ ├── acarl005 │ │ └── stripansi │ │ │ └── stripansi.go │ ├── ostreedev │ │ └── ostree-go │ │ │ └── pkg │ │ │ └── glibobject │ │ │ └── glibobject.go.h │ └── blang │ │ └── semver │ │ └── package.json ├── go.opencensus.io │ ├── AUTHORS │ ├── .gitignore │ └── go.mod ├── google.golang.org │ ├── grpc │ │ ├── AUTHORS │ │ ├── GOVERNANCE.md │ │ ├── CODE-OF-CONDUCT.md │ │ ├── SECURITY.md │ │ └── install_gae.sh │ └── protobuf │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── internal │ │ ├── flags │ │ │ ├── proto_legacy_disable.go │ │ │ └── proto_legacy_enable.go │ │ ├── impl │ │ │ └── codec_map_go112.go │ │ └── errors │ │ │ └── is_go113.go │ │ ├── encoding │ │ └── prototext │ │ │ └── doc.go │ │ └── runtime │ │ └── protoiface │ │ └── legacy.go ├── golang.org │ └── x │ │ ├── net │ │ ├── http2 │ │ │ ├── .gitignore │ │ │ └── Makefile │ │ ├── AUTHORS │ │ └── CONTRIBUTORS │ │ ├── sys │ │ ├── unix │ │ │ ├── .gitignore │ │ │ ├── ptrace_ios.go │ │ │ ├── syscall_linux_amd64_gc.go │ │ │ ├── ptrace_darwin.go │ │ │ ├── constants.go │ │ │ └── endian_big.go │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── plan9 │ │ │ └── asm.s │ │ └── windows │ │ │ ├── aliases.go │ │ │ ├── empty.s │ │ │ └── mksyscall.go │ │ ├── term │ │ ├── go.mod │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── go.sum │ │ ├── term_unix_aix.go │ │ ├── term_unix_zos.go │ │ ├── term_unix_linux.go │ │ └── term_unix_bsd.go │ │ ├── sync │ │ ├── AUTHORS │ │ └── CONTRIBUTORS │ │ ├── text │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── language │ │ │ └── go1_2.go │ │ ├── encoding │ │ │ ├── japanese │ │ │ │ └── all.go │ │ │ └── simplifiedchinese │ │ │ │ └── all.go │ │ ├── secure │ │ │ └── bidirule │ │ │ │ ├── bidirule10.0.0.go │ │ │ │ └── bidirule9.0.0.go │ │ └── internal │ │ │ └── language │ │ │ └── common.go │ │ └── crypto │ │ ├── AUTHORS │ │ └── CONTRIBUTORS ├── go.mozilla.org │ └── pkcs7 │ │ ├── go.mod │ │ ├── .travis.yml │ │ ├── Makefile │ │ └── .gitignore ├── go.etcd.io │ └── bbolt │ │ ├── .gitignore │ │ ├── go.mod │ │ ├── boltsync_unix.go │ │ ├── go.sum │ │ ├── bolt_linux.go │ │ ├── bolt_386.go │ │ ├── bolt_arm.go │ │ ├── bolt_amd64.go │ │ ├── bolt_ppc.go │ │ ├── bolt_arm64.go │ │ ├── bolt_mipsx.go │ │ ├── bolt_ppc64.go │ │ ├── bolt_s390x.go │ │ ├── bolt_ppc64le.go │ │ ├── bolt_riscv64.go │ │ ├── bolt_mips64x.go │ │ ├── mlock_windows.go │ │ └── .travis.yml └── gopkg.in │ ├── square │ └── go-jose.v2 │ │ ├── .gitignore │ │ ├── .gitcookies.sh.enc │ │ └── BUG-BOUNTY.md │ ├── yaml.v2 │ ├── go.mod │ └── .travis.yml │ ├── yaml.v3 │ └── go.mod │ └── tomb.v1 │ └── README.md ├── docs ├── containers-dockerfile.5 └── Makefile ├── pkg ├── subscriptions │ └── mounts.conf ├── sysinfo │ ├── README.md │ ├── numcpu.go │ ├── sysinfo_windows.go │ ├── sysinfo_unix.go │ └── nummem_unsupported.go ├── config │ ├── config_unsupported.go │ ├── util_windows.go │ ├── testdata │ │ ├── containers_override.conf │ │ └── containers_broken.conf │ ├── default_unsupported.go │ ├── config_darwin.go │ └── nosystemd.go ├── retry │ ├── retry_unsupported.go │ └── retry_linux.go ├── umask │ ├── umask_unsupported.go │ └── umask_unix.go ├── cgroupv2 │ └── cgroups_unsupported.go ├── report │ └── validate.go └── chown │ └── chown_windows.go ├── logos └── containers.png ├── libimage ├── testdata │ ├── oci-name-only.tar.gz │ ├── oci-unnamed.tar.gz │ ├── docker-unnamed.tar.xz │ ├── exported-container.tar │ ├── docker-name-only.tar.xz │ ├── docker-two-images.tar.xz │ ├── docker-two-names.tar.xz │ ├── oci-registry-name.tar.gz │ ├── docker-registry-name.tar.xz │ ├── oci-non-docker-name.tar.gz │ └── registries.conf └── manifests │ └── copy.go ├── version └── version.go ├── tests └── policy.json ├── .github ├── dependabot.yml ├── ISSUE_TEMPLATE.md ├── PULL_REQUEST_TEMPLATE.md └── CONTRIBUTING.md ├── .gitignore └── OWNERS /vendor/github.com/spf13/pflag/go.sum: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/go.sum: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/cespare/xxhash/v2/go.sum: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/godbus/dbus/v5/go.sum: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/bits-and-blooms/bitset/go.sum: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/go.opencensus.io/AUTHORS: -------------------------------------------------------------------------------- 1 | Google Inc. 2 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/reflect2_amd64.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_386.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_arm.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_arm64.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_mipsx.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_s390x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/AUTHORS: -------------------------------------------------------------------------------- 1 | Google Inc. 2 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/go-winio/.gitignore: -------------------------------------------------------------------------------- 1 | *.exe 2 | -------------------------------------------------------------------------------- /vendor/github.com/chzyer/readline/.gitignore: -------------------------------------------------------------------------------- 1 | .vscode/* 2 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/VERSION: -------------------------------------------------------------------------------- 1 | 1.34.0 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/go-connections/sockets/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/pkcs11/softhsm.conf: -------------------------------------------------------------------------------- 1 | 0:hsm.db 2 | -------------------------------------------------------------------------------- /vendor/github.com/mistifyio/go-zfs/.gitignore: -------------------------------------------------------------------------------- 1 | .vagrant 2 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_amd64p32.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_mips64x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_ppc64x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/* 2 | 3 | -------------------------------------------------------------------------------- /vendor/github.com/cyphar/filepath-securejoin/VERSION: -------------------------------------------------------------------------------- 1 | 0.2.2 2 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM golang:1.15 2 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/.gitignore: -------------------------------------------------------------------------------- 1 | /fixtures/ 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | h2i/h2i 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/.gitignore: -------------------------------------------------------------------------------- 1 | _obj/ 2 | unix.test 3 | -------------------------------------------------------------------------------- /docs/containers-dockerfile.5: -------------------------------------------------------------------------------- 1 | .so man5/containers-containerfile.5 2 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/.gitignore: -------------------------------------------------------------------------------- 1 | /coverage.txt 2 | -------------------------------------------------------------------------------- /pkg/subscriptions/mounts.conf: -------------------------------------------------------------------------------- 1 | /usr/share/rhel/secrets:/run/secrets 2 | -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/.gitignore: -------------------------------------------------------------------------------- 1 | toml.test 2 | /toml-test 3 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @microsoft/containerplat -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/google/uuid 2 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/huff0/.gitignore: -------------------------------------------------------------------------------- 1 | /huff0-fuzz.zip 2 | -------------------------------------------------------------------------------- /vendor/github.com/nxadm/tail/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | .test/ 3 | examples/_* -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/.gitignore: -------------------------------------------------------------------------------- 1 | *.exe 2 | .idea 3 | .vscode 4 | -------------------------------------------------------------------------------- /vendor/github.com/disiqueira/gotree/v3/_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-slate -------------------------------------------------------------------------------- /vendor/github.com/golang/snappy/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/golang/snappy 2 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /coverage.txt 3 | -------------------------------------------------------------------------------- /vendor/github.com/mtrmac/gpgme/.gitignore: -------------------------------------------------------------------------------- 1 | testdata/gpghome/random_seed 2 | -------------------------------------------------------------------------------- /vendor/github.com/stefanberger/go-pkcs11uri/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | pkcs11uri 3 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/go-winio/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @microsoft/containerplat 2 | -------------------------------------------------------------------------------- /vendor/github.com/VividCortex/ewma/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .*.sw? 3 | /coverage.txt -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.gitattributes: -------------------------------------------------------------------------------- 1 | go.sum linguist-generated 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/errwrap/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/errwrap 2 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/.gitignore: -------------------------------------------------------------------------------- 1 | logrus 2 | vendor 3 | 4 | .idea/ 5 | -------------------------------------------------------------------------------- /vendor/go.mozilla.org/pkcs7/go.mod: -------------------------------------------------------------------------------- 1 | module go.mozilla.org/pkcs7 2 | 3 | go 1.11 4 | -------------------------------------------------------------------------------- /logos/containers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/common/main/logos/containers.png -------------------------------------------------------------------------------- /vendor/github.com/gorilla/mux/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/gorilla/mux 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/.gitattributes: -------------------------------------------------------------------------------- 1 | * -text 2 | *.bin -text -diff 3 | -------------------------------------------------------------------------------- /vendor/github.com/manifoldco/promptui/.gitignore: -------------------------------------------------------------------------------- 1 | vendor 2 | all-cover.txt 3 | bin/ 4 | -------------------------------------------------------------------------------- /vendor/github.com/matttproud/golang_protobuf_extensions/pbutil/.gitignore: -------------------------------------------------------------------------------- 1 | cover.dat 2 | -------------------------------------------------------------------------------- /vendor/github.com/rivo/uniseg/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/rivo/uniseg 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/spf13/pflag 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /vendor/github.com/xeipuuv/gojsonschema/.gitignore: -------------------------------------------------------------------------------- 1 | *.sw[nop] 2 | *.iml 3 | .vscode/ 4 | -------------------------------------------------------------------------------- /pkg/sysinfo/README.md: -------------------------------------------------------------------------------- 1 | SysInfo stores information about which features a kernel supports. 2 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/.dockerignore: -------------------------------------------------------------------------------- 1 | bundles 2 | .gopath 3 | vendor/pkg 4 | -------------------------------------------------------------------------------- /vendor/github.com/cyphar/filepath-securejoin/vendor.conf: -------------------------------------------------------------------------------- 1 | github.com/pkg/errors v0.8.0 2 | -------------------------------------------------------------------------------- /vendor/github.com/godbus/dbus/v5/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/godbus/dbus/v5 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /vendor/github.com/jinzhu/copier/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/jinzhu/copier 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.codecov.yml: -------------------------------------------------------------------------------- 1 | ignore: 2 | - "output_tests/.*" 3 | 4 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/pkcs11/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/miekg/pkcs11 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /vendor/github.com/mtrmac/gpgme/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mtrmac/gpgme 2 | 3 | go 1.11 4 | -------------------------------------------------------------------------------- /vendor/github.com/seccomp/libseccomp-golang/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *.swp 3 | *.orig 4 | tags 5 | -------------------------------------------------------------------------------- /vendor/github.com/ulikunitz/xz/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/ulikunitz/xz 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/BurntSushi/toml 2 | 3 | go 1.16 4 | -------------------------------------------------------------------------------- /vendor/github.com/VividCortex/ewma/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/VividCortex/ewma 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/pkg/loopback/loopback_unsupported.go: -------------------------------------------------------------------------------- 1 | package loopback 2 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/pkcs11/.gitignore: -------------------------------------------------------------------------------- 1 | tags 2 | test_db/*/generation 3 | test_db/*/*.lock 4 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.test 3 | . 4 | .idea 5 | gomega.iml 6 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/client_golang/prometheus/.gitignore: -------------------------------------------------------------------------------- 1 | command-line-arguments.test 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/Makefile: -------------------------------------------------------------------------------- 1 | curlimage: 2 | docker build -t gohttp2/curl . 3 | 4 | -------------------------------------------------------------------------------- /vendor/github.com/cespare/xxhash/v2/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/cespare/xxhash/v2 2 | 3 | go 1.11 4 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /bug_test.go 3 | /coverage.txt 4 | /.idea 5 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-shellwords/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mattn/go-shellwords 2 | 3 | go 1.13 4 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/.golangci.yml: -------------------------------------------------------------------------------- 1 | --- 2 | linters: 3 | enable: 4 | - golint 5 | -------------------------------------------------------------------------------- /vendor/github.com/disiqueira/gotree/v3/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/disiqueira/gotree/v3 2 | 3 | go 1.13 4 | -------------------------------------------------------------------------------- /vendor/github.com/bits-and-blooms/bitset/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/bits-and-blooms/bitset 2 | 3 | go 1.14 4 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/gen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cd s2/cmd/_s2sx/ || exit 1 4 | go generate . 5 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/doc.go: -------------------------------------------------------------------------------- 1 | // Package isatty implements interface to isatty 2 | package isatty 3 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/mapstructure/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mitchellh/mapstructure 2 | 3 | go 1.14 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/go-digest/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/opencontainers/go-digest 2 | 3 | go 1.13 4 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/.gitignore: -------------------------------------------------------------------------------- 1 | *.prof 2 | *.test 3 | *.swp 4 | /bin/ 5 | cover.out 6 | /.idea 7 | *.iml 8 | -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/COMPATIBLE: -------------------------------------------------------------------------------- 1 | Compatible with TOML version [v1.0.0](https://toml.io/en/v1.0.0). 2 | -------------------------------------------------------------------------------- /vendor/github.com/matttproud/golang_protobuf_extensions/NOTICE: -------------------------------------------------------------------------------- 1 | Copyright 2012 Matt T. Proud (matt.proud@gmail.com) 2 | -------------------------------------------------------------------------------- /vendor/github.com/seccomp/libseccomp-golang/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/seccomp/libseccomp-golang 2 | 3 | go 1.14 4 | -------------------------------------------------------------------------------- /libimage/testdata/oci-name-only.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/common/main/libimage/testdata/oci-name-only.tar.gz -------------------------------------------------------------------------------- /libimage/testdata/oci-unnamed.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/common/main/libimage/testdata/oci-unnamed.tar.gz -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/drivers/btrfs/dummy_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux !cgo 2 | 3 | package btrfs 4 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/pkcs11/hsm.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/common/main/vendor/github.com/miekg/pkcs11/hsm.db -------------------------------------------------------------------------------- /vendor/github.com/ulikunitz/xz/fox.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/common/main/vendor/github.com/ulikunitz/xz/fox.xz -------------------------------------------------------------------------------- /version/version.go: -------------------------------------------------------------------------------- 1 | package version 2 | 3 | // Version is the version of the build. 4 | const Version = "0.43.1+dev" 5 | -------------------------------------------------------------------------------- /libimage/testdata/docker-unnamed.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/common/main/libimage/testdata/docker-unnamed.tar.xz -------------------------------------------------------------------------------- /libimage/testdata/exported-container.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/common/main/libimage/testdata/exported-container.tar -------------------------------------------------------------------------------- /vendor/github.com/VividCortex/ewma/.whitesource: -------------------------------------------------------------------------------- 1 | { 2 | "settingsInheritedFrom": "VividCortex/whitesource-config@master" 3 | } -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/pkg/chrootarchive/init_windows.go: -------------------------------------------------------------------------------- 1 | package chrootarchive 2 | 3 | func init() { 4 | } 5 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | TODO 3 | tmp/**/* 4 | *.coverprofile 5 | .vscode 6 | .idea/ 7 | *.log 8 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/go-digest/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.12.x 4 | - 1.13.x 5 | - master 6 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/cgroups/cgroups_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package cgroups 4 | -------------------------------------------------------------------------------- /libimage/testdata/docker-name-only.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/common/main/libimage/testdata/docker-name-only.tar.xz -------------------------------------------------------------------------------- /libimage/testdata/docker-two-images.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/common/main/libimage/testdata/docker-two-images.tar.xz -------------------------------------------------------------------------------- /libimage/testdata/docker-two-names.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/common/main/libimage/testdata/docker-two-names.tar.xz -------------------------------------------------------------------------------- /libimage/testdata/oci-registry-name.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/common/main/libimage/testdata/oci-registry-name.tar.gz -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/pkg/archive/README.md: -------------------------------------------------------------------------------- 1 | This code provides helper functions for dealing with archive files. 2 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/pkg/stringutils/README.md: -------------------------------------------------------------------------------- 1 | This package provides helper functions for dealing with strings 2 | -------------------------------------------------------------------------------- /vendor/github.com/imdario/mergo/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/imdario/mergo 2 | 3 | go 1.13 4 | 5 | require gopkg.in/yaml.v2 v2.3.0 6 | -------------------------------------------------------------------------------- /libimage/testdata/docker-registry-name.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/common/main/libimage/testdata/docker-registry-name.tar.xz -------------------------------------------------------------------------------- /libimage/testdata/oci-non-docker-name.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/common/main/libimage/testdata/oci-non-docker-name.tar.gz -------------------------------------------------------------------------------- /tests/policy.json: -------------------------------------------------------------------------------- 1 | { 2 | "default": [ 3 | { 4 | "type": "insecureAcceptAnything" 5 | } 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/pkg/stringid/README.md: -------------------------------------------------------------------------------- 1 | This package provides helper functions for dealing with string identifiers 2 | -------------------------------------------------------------------------------- /vendor/github.com/ghodss/yaml/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.3 4 | - 1.4 5 | script: 6 | - go test 7 | - go build 8 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/command_notwin.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package cobra 4 | 5 | var preExecHookFn func(*Command) 6 | -------------------------------------------------------------------------------- /vendor/github.com/ulikunitz/xz/lzma/fox.lzma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/common/main/vendor/github.com/ulikunitz/xz/lzma/fox.lzma -------------------------------------------------------------------------------- /pkg/config/config_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package config 4 | 5 | func selinuxEnabled() bool { 6 | return false 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/ulikunitz/xz/fox-check-none.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/common/main/vendor/github.com/ulikunitz/xz/fox-check-none.xz -------------------------------------------------------------------------------- /vendor/gopkg.in/square/go-jose.v2/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | .*.swp 3 | *.out 4 | *.test 5 | *.pem 6 | *.cov 7 | jose-util/jose-util 8 | jose-util.t.err -------------------------------------------------------------------------------- /pkg/retry/retry_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package retry 4 | 5 | func isErrnoERESTART(e error) bool { 6 | return false 7 | } 8 | -------------------------------------------------------------------------------- /pkg/umask/umask_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!darwin 2 | 3 | package umask 4 | 5 | func Check() {} 6 | 7 | func Set(int) int { return 0 } 8 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-runewidth/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mattn/go-runewidth 2 | 3 | go 1.9 4 | 5 | require github.com/rivo/uniseg v0.2.0 6 | -------------------------------------------------------------------------------- /vendor/github.com/vbauerster/mpb/v7/cwriter/doc.go: -------------------------------------------------------------------------------- 1 | // Package cwriter is a console writer abstraction for the underlying OS. 2 | package cwriter 3 | -------------------------------------------------------------------------------- /vendor/github.com/vbauerster/mpb/v7/doc.go: -------------------------------------------------------------------------------- 1 | // Package mpb is a library for rendering progress bars in terminal applications. 2 | package mpb 3 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/go.mod: -------------------------------------------------------------------------------- 1 | module go.etcd.io/bbolt 2 | 3 | go 1.12 4 | 5 | require golang.org/x/sys v0.0.0-20200923182605-d9f96fdee20d 6 | -------------------------------------------------------------------------------- /vendor/golang.org/x/term/go.mod: -------------------------------------------------------------------------------- 1 | module golang.org/x/term 2 | 3 | go 1.11 4 | 5 | require golang.org/x/sys v0.0.0-20201119102817-f84b799fce68 6 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/go.mod: -------------------------------------------------------------------------------- 1 | module gopkg.in/yaml.v2 2 | 3 | go 1.15 4 | 5 | require gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 6 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v3/go.mod: -------------------------------------------------------------------------------- 1 | module "gopkg.in/yaml.v3" 2 | 3 | require ( 4 | "gopkg.in/check.v1" v0.0.0-20161208181325-20d25e280405 5 | ) 6 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/doc.go: -------------------------------------------------------------------------------- 1 | // Package isatty implements interface to isatty 2 | package isatty 3 | -------------------------------------------------------------------------------- /vendor/github.com/tchap/go-patricia/AUTHORS: -------------------------------------------------------------------------------- 1 | This is the complete list of go-patricia copyright holders: 2 | 3 | Ondřej Kupka 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/square/go-jose.v2/.gitcookies.sh.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/common/main/vendor/gopkg.in/square/go-jose.v2/.gitcookies.sh.enc -------------------------------------------------------------------------------- /vendor/github.com/VividCortex/ewma/codecov.yml: -------------------------------------------------------------------------------- 1 | coverage: 2 | status: 3 | project: 4 | default: 5 | threshold: 15% 6 | patch: off 7 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/drivers/zfs/MAINTAINERS: -------------------------------------------------------------------------------- 1 | Jörg Thalheim (@Mic92) 2 | Arthur Gautier (@baloose) 3 | -------------------------------------------------------------------------------- /vendor/github.com/disiqueira/gotree/v3/gotree-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/common/main/vendor/github.com/disiqueira/gotree/v3/gotree-logo.png -------------------------------------------------------------------------------- /vendor/github.com/docker/go-metrics/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/docker/go-metrics 2 | 3 | go 1.11 4 | 5 | require github.com/prometheus/client_golang v1.1.0 6 | -------------------------------------------------------------------------------- /vendor/github.com/google/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/klauspost/compress/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/klauspost/compress 2 | 3 | go 1.13 4 | 5 | require github.com/golang/snappy v0.0.3 // indirect 6 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/pkcs11/softhsm2.conf: -------------------------------------------------------------------------------- 1 | log.level = INFO 2 | objectstore.backend = file 3 | directories.tokendir = test_data 4 | slots.removable = false 5 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/MAINTAINERS.md: -------------------------------------------------------------------------------- 1 | * Johannes 'fish' Ziemke @discordianfish 2 | * Paul Gier @pgier 3 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_js.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package logrus 4 | 5 | func isTerminal(fd int) bool { 6 | return false 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/fsnotify/fsnotify 2 | 3 | go 1.13 4 | 5 | require golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9 6 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-multierror/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/go-multierror 2 | 3 | go 1.13 4 | 5 | require github.com/hashicorp/errwrap v1.0.0 6 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/s2sx.mod: -------------------------------------------------------------------------------- 1 | module github.com/klauspost/compress 2 | 3 | go 1.16 4 | 5 | require github.com/golang/snappy v0.0.3 // indirect 6 | -------------------------------------------------------------------------------- /vendor/github.com/lunixbochs/vtclean/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | 4 | script: go test -v 5 | 6 | go: 7 | - 1.5 8 | - 1.6 9 | - 1.7 10 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/configs/namespaces.go: -------------------------------------------------------------------------------- 1 | package configs 2 | 3 | type NamespaceType string 4 | 5 | type Namespaces []Namespace 6 | -------------------------------------------------------------------------------- /vendor/github.com/moby/sys/mountinfo/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/moby/sys/mountinfo 2 | 3 | go 1.14 4 | 5 | require golang.org/x/sys v0.0.0-20200909081042-eff7692f9009 6 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: gomod 4 | directory: "/" 5 | schedule: 6 | interval: daily 7 | open-pull-requests-limit: 10 8 | -------------------------------------------------------------------------------- /pkg/retry/retry_linux.go: -------------------------------------------------------------------------------- 1 | package retry 2 | 3 | import ( 4 | "syscall" 5 | ) 6 | 7 | func isErrnoERESTART(e error) bool { 8 | return e == syscall.ERESTART 9 | } 10 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/pkg/mount/mountinfo_linux.go: -------------------------------------------------------------------------------- 1 | package mount 2 | 3 | import "github.com/moby/sys/mountinfo" 4 | 5 | var PidMountInfo = mountinfo.PidMountInfo 6 | -------------------------------------------------------------------------------- /vendor/github.com/godbus/dbus/v5/transport_darwin.go: -------------------------------------------------------------------------------- 1 | package dbus 2 | 3 | func (t *unixTransport) SendNullByte() error { 4 | _, err := t.Write([]byte{0}) 5 | return err 6 | } 7 | -------------------------------------------------------------------------------- /vendor/gopkg.in/tomb.v1/README.md: -------------------------------------------------------------------------------- 1 | Installation and usage 2 | ---------------------- 3 | 4 | See [gopkg.in/tomb.v1](https://gopkg.in/tomb.v1) for documentation and usage details. 5 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/drivers/register/register_vfs.go: -------------------------------------------------------------------------------- 1 | package register 2 | 3 | import ( 4 | // register vfs 5 | _ "github.com/containers/storage/drivers/vfs" 6 | ) 7 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/jsoniter.go: -------------------------------------------------------------------------------- 1 | package storage 2 | 3 | import jsoniter "github.com/json-iterator/go" 4 | 5 | var json = jsoniter.ConfigCompatibleWithStandardLibrary 6 | -------------------------------------------------------------------------------- /vendor/github.com/vbauerster/mpb/v7/cwriter/util_zos.go: -------------------------------------------------------------------------------- 1 | // +build zos 2 | 3 | package cwriter 4 | 5 | import "golang.org/x/sys/unix" 6 | 7 | const ioctlReadTermios = unix.TCGETS 8 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/GOVERNANCE.md: -------------------------------------------------------------------------------- 1 | This repository is governed by the gRPC organization's [governance rules](https://github.com/grpc/grpc-community/blob/master/governance.md). 2 | -------------------------------------------------------------------------------- /vendor/github.com/cespare/xxhash/v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - "1.x" 4 | - master 5 | env: 6 | - TAGS="" 7 | - TAGS="-tags purego" 8 | script: go test $TAGS -v ./... 9 | -------------------------------------------------------------------------------- /vendor/github.com/containers/libtrust/MAINTAINERS: -------------------------------------------------------------------------------- 1 | Solomon Hykes 2 | Josh Hawn (github: jlhawn) 3 | Derek McGowan (github: dmcgowan) 4 | -------------------------------------------------------------------------------- /vendor/github.com/coreos/go-systemd/v22/NOTICE: -------------------------------------------------------------------------------- 1 | CoreOS Project 2 | Copyright 2018 CoreOS, Inc 3 | 4 | This product includes software developed at CoreOS, Inc. 5 | (http://www.coreos.com/). 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker-credential-helpers/credentials/version.go: -------------------------------------------------------------------------------- 1 | package credentials 2 | 3 | // Version holds a string describing the current version 4 | const Version = "0.6.4" 5 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Paul Borman 2 | bmatsuo 3 | shawnps 4 | theory 5 | jboverfelt 6 | dsymonds 7 | cd1 8 | wallclockbuilder 9 | dansouza 10 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/support/goraph/node/node.go: -------------------------------------------------------------------------------- 1 | package node 2 | 3 | type Node struct { 4 | ID int 5 | Value interface{} 6 | } 7 | 8 | type NodeOrderedSet []Node 9 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/support/goraph/util/util.go: -------------------------------------------------------------------------------- 1 | package util 2 | 3 | import "math" 4 | 5 | func Odd(n int) bool { 6 | return math.Mod(float64(n), 2.0) == 1.0 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/fish_completions.md: -------------------------------------------------------------------------------- 1 | ## Generating Fish Completions For Your cobra.Command 2 | 3 | Please refer to [Shell Completions](shell_completions.md) for details. 4 | 5 | -------------------------------------------------------------------------------- /vendor/github.com/vbauerster/mpb/v7/.gitignore: -------------------------------------------------------------------------------- 1 | # Test binary, build with `go test -c` 2 | *.test 3 | 4 | # Output of the go coverage tool, specifically when used with LiteIDE 5 | *.out 6 | -------------------------------------------------------------------------------- /vendor/github.com/vbauerster/mpb/v7/cwriter/util_linux.go: -------------------------------------------------------------------------------- 1 | // +build aix linux 2 | 3 | package cwriter 4 | 5 | import "golang.org/x/sys/unix" 6 | 7 | const ioctlReadTermios = unix.TCGETS 8 | -------------------------------------------------------------------------------- /vendor/github.com/vbauerster/mpb/v7/cwriter/util_solaris.go: -------------------------------------------------------------------------------- 1 | // +build solaris 2 | 3 | package cwriter 4 | 5 | import "golang.org/x/sys/unix" 6 | 7 | const ioctlReadTermios = unix.TCGETA 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/error_response_ext.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | // Error returns the error message 4 | func (e ErrorResponse) Error() string { 5 | return e.Message 6 | } 7 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/CODE-OF-CONDUCT.md: -------------------------------------------------------------------------------- 1 | ## Community Code of Conduct 2 | 3 | gRPC follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md). 4 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/drivers/jsoniter.go: -------------------------------------------------------------------------------- 1 | package graphdriver 2 | 3 | import jsoniter "github.com/json-iterator/go" 4 | 5 | var json = jsoniter.ConfigCompatibleWithStandardLibrary 6 | -------------------------------------------------------------------------------- /vendor/github.com/godbus/dbus/v5/MAINTAINERS: -------------------------------------------------------------------------------- 1 | Brandon Philips (@philips) 2 | Brian Waldon (@bcwaldon) 3 | John Southworth (@jsouthworth) 4 | -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please read the [contributing guidelines](https://github.com/containers/common-files/blob/master/CONTRIBUTING.md) of the [Containers Group Project](https://github.com/containers). 2 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/winapi/net.go: -------------------------------------------------------------------------------- 1 | package winapi 2 | 3 | //sys SetJobCompartmentId(handle windows.Handle, compartmentId uint32) (win32Err error) = iphlpapi.SetJobCompartmentId 4 | -------------------------------------------------------------------------------- /vendor/github.com/containers/image/v5/pkg/strslice/README.md: -------------------------------------------------------------------------------- 1 | This package was replicated from [github.com/docker/docker v17.04.0-ce](https://github.com/docker/docker/tree/v17.04.0-ce/api/types/strslice). 2 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/drivers/devmapper/jsoniter.go: -------------------------------------------------------------------------------- 1 | package devmapper 2 | 3 | import jsoniter "github.com/json-iterator/go" 4 | 5 | var json = jsoniter.ConfigCompatibleWithStandardLibrary 6 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/drivers/overlay/jsoniter.go: -------------------------------------------------------------------------------- 1 | package overlay 2 | 3 | import jsoniter "github.com/json-iterator/go" 4 | 5 | var json = jsoniter.ConfigCompatibleWithStandardLibrary 6 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/pkg/devicemapper/devmapper_wrapper_dynamic.go: -------------------------------------------------------------------------------- 1 | // +build linux,cgo,!static_build 2 | 3 | package devicemapper 4 | 5 | // #cgo pkg-config: devmapper 6 | import "C" 7 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/pkg/mount/unmount_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package mount 4 | 5 | func unmount(target string, flag int) error { 6 | panic("Not implemented") 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/matttproud/golang_protobuf_extensions/pbutil/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | 3 | cover: 4 | go test -cover -v -coverprofile=cover.dat ./... 5 | go tool cover -func cover.dat 6 | 7 | .PHONY: cover 8 | -------------------------------------------------------------------------------- /vendor/github.com/nxadm/tail/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/nxadm/tail 2 | 3 | go 1.13 4 | 5 | require ( 6 | github.com/fsnotify/fsnotify v1.4.9 7 | gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/nxadm/tail/ratelimiter/storage.go: -------------------------------------------------------------------------------- 1 | package ratelimiter 2 | 3 | type Storage interface { 4 | GetBucketFor(string) (*LeakyBucket, error) 5 | SetBucketFor(string, LeakyBucket) error 6 | } 7 | -------------------------------------------------------------------------------- /pkg/cgroupv2/cgroups_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package cgroupv2 4 | 5 | // Enabled returns whether we are running on cgroup v2 6 | func Enabled() (bool, error) { 7 | return false, nil 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/drivers/windows/jsoniter_windows.go: -------------------------------------------------------------------------------- 1 | package windows 2 | 3 | import jsoniter "github.com/json-iterator/go" 4 | 5 | var json = jsoniter.ConfigCompatibleWithStandardLibrary 6 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/pkg/chrootarchive/jsoniter.go: -------------------------------------------------------------------------------- 1 | package chrootarchive 2 | 3 | import jsoniter "github.com/json-iterator/go" 4 | 5 | var json = jsoniter.ConfigCompatibleWithStandardLibrary 6 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/pkg/devicemapper/devmapper_wrapper_static.go: -------------------------------------------------------------------------------- 1 | // +build linux,cgo,static_build 2 | 3 | package devicemapper 4 | 5 | // #cgo pkg-config: --static devmapper 6 | import "C" 7 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/errors/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go_import_path: github.com/pkg/errors 3 | go: 4 | - 1.11.x 5 | - 1.12.x 6 | - 1.13.x 7 | - tip 8 | 9 | script: 10 | - make check 11 | -------------------------------------------------------------------------------- /vendor/go.mozilla.org/pkcs7/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - "1.11" 4 | - "1.12" 5 | - "1.13" 6 | - tip 7 | before_install: 8 | - make gettools 9 | script: 10 | - make 11 | -------------------------------------------------------------------------------- /vendor/github.com/containers/ocicrypt/MAINTAINERS: -------------------------------------------------------------------------------- 1 | # ocicrypt maintainers 2 | # 3 | # Github ID, Name, Email Address 4 | lumjjb, Brandon Lum, lumjjb@gmail.com 5 | stefanberger, Stefan Berger, stefanb@linux.ibm.com 6 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/drivers/register/register_windows.go: -------------------------------------------------------------------------------- 1 | package register 2 | 3 | import ( 4 | // register the windows graph driver 5 | _ "github.com/containers/storage/drivers/windows" 6 | ) 7 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/go.sum: -------------------------------------------------------------------------------- 1 | github.com/golang/snappy v0.0.3 h1:fHPg5GQYlCeLIPB9BZqMVR5nR9A+IM5zcgeTdjMYmLA= 2 | github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= 3 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-runewidth/go.sum: -------------------------------------------------------------------------------- 1 | github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY= 2 | github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= 3 | -------------------------------------------------------------------------------- /vendor/github.com/vbauerster/mpb/v7/internal/predicate.go: -------------------------------------------------------------------------------- 1 | package internal 2 | 3 | // Predicate helper for internal use. 4 | func Predicate(pick bool) func() bool { 5 | return func() bool { return pick } 6 | } 7 | -------------------------------------------------------------------------------- /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/sync/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/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/golang.org/x/term/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/text/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/s2sx.sum: -------------------------------------------------------------------------------- 1 | github.com/golang/snappy v0.0.3 h1:fHPg5GQYlCeLIPB9BZqMVR5nR9A+IM5zcgeTdjMYmLA= 2 | github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= 3 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | ## Prometheus Community Code of Conduct 2 | 3 | Prometheus follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md). 4 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/.mailmap: -------------------------------------------------------------------------------- 1 | Steve Francia 2 | Bjørn Erik Pedersen 3 | Fabiano Franz 4 | -------------------------------------------------------------------------------- /vendor/github.com/ulikunitz/xz/make-docs: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -x 4 | pandoc -t html5 -f markdown -s --css=doc/md.css -o README.html README.md 5 | pandoc -t html5 -f markdown -s --css=doc/md.css -o TODO.html TODO.md 6 | -------------------------------------------------------------------------------- /vendor/github.com/vbauerster/mpb/v7/cwriter/util_bsd.go: -------------------------------------------------------------------------------- 1 | // +build darwin dragonfly freebsd netbsd openbsd 2 | 3 | package cwriter 4 | 5 | import "golang.org/x/sys/unix" 6 | 7 | const ioctlReadTermios = unix.TIOCGETA 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at https://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at https://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sync/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/term/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/text/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 golang.org/x/sys/windows/mkwinsyscall -output zsyscall_windows.go file.go pipe.go sd.go fileinfo.go privilege.go backup.go hvsock.go 4 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/drivers/overlay/overlay_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package overlay 4 | 5 | func SupportsNativeOverlay(graphroot, rundir string) (bool, error) { 6 | return false, nil 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/go-metrics/docs.go: -------------------------------------------------------------------------------- 1 | // This package is small wrapper around the prometheus go client to help enforce convention and best practices for metrics collection in Docker projects. 2 | 3 | package metrics 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/go-metrics/helpers.go: -------------------------------------------------------------------------------- 1 | package metrics 2 | 3 | func sumFloat64(vs ...float64) float64 { 4 | var sum float64 5 | for _, v := range vs { 6 | sum += v 7 | } 8 | 9 | return sum 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/golang/protobuf/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/golang/protobuf/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/prometheus/client_golang/prometheus/README.md: -------------------------------------------------------------------------------- 1 | See [![go-doc](https://godoc.org/github.com/prometheus/client_golang/prometheus?status.svg)](https://godoc.org/github.com/prometheus/client_golang/prometheus). 2 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_appengine.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | ) 8 | 9 | func checkIfTerminal(w io.Writer) bool { 10 | return true 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/powershell_completions.md: -------------------------------------------------------------------------------- 1 | # Generating PowerShell Completions For Your Own cobra.Command 2 | 3 | Please refer to [Shell Completions](shell_completions.md#powershell-completions) for details. 4 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/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 https://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /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/Microsoft/hcsshim/internal/winapi/iocp.go: -------------------------------------------------------------------------------- 1 | package winapi 2 | 3 | //sys GetQueuedCompletionStatus(cphandle windows.Handle, qty *uint32, key *uintptr, overlapped **windows.Overlapped, timeout uint32) (err error) 4 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/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/containers/storage/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/hashicorp/go-multierror/go.sum: -------------------------------------------------------------------------------- 1 | github.com/hashicorp/errwrap v1.0.0 h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA= 2 | github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= 3 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-runewidth/runewidth_appengine.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package runewidth 4 | 5 | // IsEastAsian return true if the current locale is CJK 6 | func IsEastAsian() bool { 7 | return false 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go_below_17.go: -------------------------------------------------------------------------------- 1 | //+build !go1.7 2 | 3 | package reflect2 4 | 5 | import "unsafe" 6 | 7 | func resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer { 8 | return nil 9 | } 10 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/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 https://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /.artifacts/ 2 | /_output/ 3 | /docs/*.[158] 4 | /docs/*.[158].gz 5 | *.o 6 | *.rej 7 | *.orig 8 | .gopathok 9 | .idea* 10 | .vscode* 11 | contrib/spec/podman.spec 12 | *.rpm 13 | *~ 14 | build 15 | ./generate 16 | -------------------------------------------------------------------------------- /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/chzyer/readline/std_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package readline 4 | 5 | func init() { 6 | Stdin = NewRawReader() 7 | Stdout = NewANSIWriter(Stdout) 8 | Stderr = NewANSIWriter(Stderr) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/pkg/ioutils/fswriters_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package ioutils 4 | 5 | import ( 6 | "os" 7 | ) 8 | 9 | func fdatasync(f *os.File) error { 10 | return f.Sync() 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/common_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package api // import "github.com/docker/docker/api" 4 | 5 | // MinVersion represents Minimum REST API version supported 6 | const MinVersion = "1.12" 7 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/client_model/NOTICE: -------------------------------------------------------------------------------- 1 | Data model artifacts for Prometheus. 2 | Copyright 2012-2015 The Prometheus Authors 3 | 4 | This product includes software developed at 5 | SoundCloud Ltd. (http://soundcloud.com/). 6 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_no_terminal.go: -------------------------------------------------------------------------------- 1 | // +build js nacl plan9 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | ) 8 | 9 | func checkIfTerminal(w io.Writer) bool { 10 | return false 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/bits-and-blooms/bitset/trailing_zeros_19.go: -------------------------------------------------------------------------------- 1 | // +build go1.9 2 | 3 | package bitset 4 | 5 | import "math/bits" 6 | 7 | func trailingZeroes64(v uint64) uint { 8 | return uint(bits.TrailingZeros64(v)) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/pkg/mount/mounter_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!freebsd 2 | 3 | package mount 4 | 5 | func mount(device, target, mType string, flag uintptr, data string) error { 6 | panic("Not implemented") 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/pkg/unshare/getenv_linux_nocgo.go: -------------------------------------------------------------------------------- 1 | // +build linux,!cgo 2 | 3 | package unshare 4 | 5 | import ( 6 | "os" 7 | ) 8 | 9 | func getenv(name string) string { 10 | return os.Getenv(name) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/common/NOTICE: -------------------------------------------------------------------------------- 1 | Common libraries shared by Prometheus Go components. 2 | Copyright 2015 The Prometheus Authors 3 | 4 | This product includes software developed at 5 | SoundCloud Ltd. (http://soundcloud.com/). 6 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/SECURITY.md: -------------------------------------------------------------------------------- 1 | # Reporting a security issue 2 | 3 | The Prometheus security policy, including how to report vulnerabilities, can be 4 | found here: 5 | 6 | https://prometheus.io/docs/operating/security/ 7 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/boltsync_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows,!plan9,!linux,!openbsd 2 | 3 | package bbolt 4 | 5 | // fdatasync flushes written data to a file descriptor. 6 | func fdatasync(db *DB) error { 7 | return db.file.Sync() 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/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/onsi/gomega/docker-compose.yaml: -------------------------------------------------------------------------------- 1 | version: '3.0' 2 | 3 | services: 4 | test: 5 | build: 6 | dockerfile: Dockerfile 7 | context: . 8 | working_dir: /app 9 | volumes: 10 | - ${PWD}:/app 11 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/go.sum: -------------------------------------------------------------------------------- 1 | golang.org/x/sys v0.0.0-20200923182605-d9f96fdee20d h1:L/IKR6COd7ubZrs2oTnTi73IhgqJ71c9s80WsQnh0Es= 2 | golang.org/x/sys v0.0.0-20200923182605-d9f96fdee20d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/term/go.sum: -------------------------------------------------------------------------------- 1 | golang.org/x/sys v0.0.0-20201119102817-f84b799fce68 h1:nxC68pudNYkKU6jWhgrqdreuFiOQWj1Fs7T3VrH4Pjw= 2 | golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 3 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/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/go.opencensus.io/.gitignore: -------------------------------------------------------------------------------- 1 | /.idea/ 2 | 3 | # go.opencensus.io/exporter/aws 4 | /exporter/aws/ 5 | 6 | # Exclude vendor, use dep ensure after checkout: 7 | /vendor/github.com/ 8 | /vendor/golang.org/ 9 | /vendor/google.golang.org/ 10 | -------------------------------------------------------------------------------- /vendor/github.com/containers/image/v5/transports/alltransports/ostree.go: -------------------------------------------------------------------------------- 1 | // +build containers_image_ostree,linux 2 | 3 | package alltransports 4 | 5 | import ( 6 | // Register the ostree transport 7 | _ "github.com/containers/image/v5/ostree" 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/drivers/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/containers/storage/drivers/aufs" 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/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/containers/storage/pkg/ioutils/fswriters_linux.go: -------------------------------------------------------------------------------- 1 | package ioutils 2 | 3 | import ( 4 | "os" 5 | 6 | "golang.org/x/sys/unix" 7 | ) 8 | 9 | func fdatasync(f *os.File) error { 10 | return unix.Fdatasync(int(f.Fd())) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/go.sum: -------------------------------------------------------------------------------- 1 | golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9 h1:L2auWcuQIvxz9xSEqzESnV/QN/gNRXNApHi3fYwl2w0= 2 | golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 3 | -------------------------------------------------------------------------------- /vendor/github.com/imdario/mergo/.deepsource.toml: -------------------------------------------------------------------------------- 1 | version = 1 2 | 3 | test_patterns = [ 4 | "*_test.go" 5 | ] 6 | 7 | [[analyzers]] 8 | name = "go" 9 | enabled = true 10 | 11 | [analyzers.meta] 12 | import_path = "github.com/imdario/mergo" -------------------------------------------------------------------------------- /vendor/github.com/moby/sys/mountinfo/go.sum: -------------------------------------------------------------------------------- 1 | golang.org/x/sys v0.0.0-20200909081042-eff7692f9009 h1:W0lCpv29Hv0UaM1LXb9QlBHLNP8UFfcKjblhVCWftOM= 2 | golang.org/x/sys v0.0.0-20200909081042-eff7692f9009/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 3 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go_above_17.go: -------------------------------------------------------------------------------- 1 | //+build go1.7 2 | 3 | package reflect2 4 | 5 | import "unsafe" 6 | 7 | //go:linkname resolveTypeOff reflect.resolveTypeOff 8 | func resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer 9 | -------------------------------------------------------------------------------- /vendor/github.com/vbauerster/mpb/v7/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | arch: 3 | - amd64 4 | - ppc64le 5 | 6 | go: 7 | - 1.14.x 8 | 9 | script: 10 | - go test -race ./... 11 | - for i in _examples/*/; do go build $i/*.go || exit 1; done 12 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | For information on gRPC Security Policy and reporting potentional security issues, please see [gRPC CVE Process](https://github.com/grpc/proposal/blob/master/P4-grpc-cve-process.md). 4 | -------------------------------------------------------------------------------- /vendor/github.com/containers/image/v5/transports/alltransports/storage.go: -------------------------------------------------------------------------------- 1 | // +build !containers_image_storage_stub 2 | 3 | package alltransports 4 | 5 | import ( 6 | // Register the storage transport 7 | _ "github.com/containers/image/v5/storage" 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/drivers/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/containers/storage/drivers/btrfs" 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/drivers/vfs/copy_linux.go: -------------------------------------------------------------------------------- 1 | package vfs 2 | 3 | import "github.com/containers/storage/drivers/copy" 4 | 5 | func dirCopy(srcDir, dstDir string) error { 6 | return copy.DirCopy(srcDir, dstDir, copy.Content, true) 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/configs/configs_fuzzer.go: -------------------------------------------------------------------------------- 1 | // +build gofuzz 2 | 3 | package configs 4 | 5 | func FuzzUnmarshalJSON(data []byte) int { 6 | hooks := Hooks{} 7 | _ = hooks.UnmarshalJSON(data) 8 | return 1 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/require/require_forward.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.CommentWithoutT "a"}} 2 | func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) { 3 | if h, ok := a.t.(tHelper); ok { h.Helper() } 4 | {{.DocInfo.Name}}(a.t, {{.ForwardedParams}}) 5 | } 6 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_linux.go: -------------------------------------------------------------------------------- 1 | package bbolt 2 | 3 | import ( 4 | "syscall" 5 | ) 6 | 7 | // fdatasync flushes written data to a file descriptor. 8 | func fdatasync(db *DB) error { 9 | return syscall.Fdatasync(int(db.file.Fd())) 10 | } 11 | -------------------------------------------------------------------------------- /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/Microsoft/go-winio/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/Microsoft/go-winio 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/pkg/errors v0.9.1 7 | github.com/sirupsen/logrus v1.7.0 8 | golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c 9 | ) 10 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/drivers/register/register_overlay.go: -------------------------------------------------------------------------------- 1 | // +build !exclude_graphdriver_overlay,linux,cgo 2 | 3 | package register 4 | 5 | import ( 6 | // register the overlay graphdriver 7 | _ "github.com/containers/storage/drivers/overlay" 8 | ) 9 | -------------------------------------------------------------------------------- /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 // import "github.com/docker/docker/api/types/swarm/runtime" 4 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.gitignore: -------------------------------------------------------------------------------- 1 | # Setup a Global .gitignore for OS and editor generated files: 2 | # https://help.github.com/articles/ignoring-files 3 | # git config --global core.excludesfile ~/.gitignore_global 4 | 5 | .vagrant 6 | *.sublime-project 7 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.CommentFormat}} 2 | func {{.DocInfo.Name}}f(t TestingT, {{.ParamsFormat}}) bool { 3 | if h, ok := t.(tHelper); ok { h.Helper() } 4 | return {{.DocInfo.Name}}(t, {{.ForwardedParamsFormat}}) 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.CommentWithoutT "a"}} 2 | func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) bool { 3 | if h, ok := a.t.(tHelper); ok { h.Helper() } 4 | return {{.DocInfo.Name}}(a.t, {{.ForwardedParams}}) 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/require/require.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.Comment}} 2 | func {{.DocInfo.Name}}(t TestingT, {{.Params}}) { 3 | if h, ok := t.(tHelper); ok { h.Helper() } 4 | if assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) { return } 5 | t.FailNow() 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/containers/ocicrypt/CODE-OF-CONDUCT.md: -------------------------------------------------------------------------------- 1 | ## The OCIcrypt Library Project Community Code of Conduct 2 | 3 | The OCIcrypt Library project follows the [Containers Community Code of Conduct](https://github.com/containers/common/blob/master/CODE-OF-CONDUCT.md). 4 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/CODE-OF-CONDUCT.md: -------------------------------------------------------------------------------- 1 | ## The Containers Storage Project Community Code of Conduct 2 | 3 | The Containers Storage project follows the [Containers Community Code of Conduct](https://github.com/containers/common/blob/main/CODE-OF-CONDUCT.md). 4 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/drivers/zfs/zfs_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!freebsd 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/json-iterator/go/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.8.x 5 | - 1.x 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | 10 | script: 11 | - ./test.sh 12 | 13 | after_success: 14 | - bash <(curl -s https://codecov.io/bash) 15 | -------------------------------------------------------------------------------- /vendor/github.com/juju/ansiterm/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 Canonical Ltd. 2 | // Licensed under the LGPLv3, see LICENCE file for details. 3 | 4 | // Package ansiterm provides a Writer that writes out the ANSI escape 5 | // codes for color and styles. 6 | package ansiterm 7 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_386.go: -------------------------------------------------------------------------------- 1 | package bbolt 2 | 3 | // maxMapSize represents the largest mmap size supported by Bolt. 4 | const maxMapSize = 0x7FFFFFFF // 2GB 5 | 6 | // maxAllocSize is the size used when creating array pointers. 7 | const maxAllocSize = 0xFFFFFFF 8 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_arm.go: -------------------------------------------------------------------------------- 1 | package bbolt 2 | 3 | // maxMapSize represents the largest mmap size supported by Bolt. 4 | const maxMapSize = 0x7FFFFFFF // 2GB 5 | 6 | // maxAllocSize is the size used when creating array pointers. 7 | const maxAllocSize = 0xFFFFFFF 8 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.8.x 5 | - 1.x 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | 10 | script: 11 | - ./test.sh 12 | 13 | after_success: 14 | - bash <(curl -s https://codecov.io/bash) 15 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/userns/userns.go: -------------------------------------------------------------------------------- 1 | package userns 2 | 3 | // RunningInUserNS detects whether we are currently running in a user namespace. 4 | // Originally copied from github.com/lxc/lxd/shared/util.go 5 | var RunningInUserNS = runningInUserNS 6 | -------------------------------------------------------------------------------- /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/containers/image/v5/transports/alltransports/docker_daemon.go: -------------------------------------------------------------------------------- 1 | // +build !containers_image_docker_daemon_stub 2 | 3 | package alltransports 4 | 5 | import ( 6 | // Register the docker-daemon transport 7 | _ "github.com/containers/image/v5/docker/daemon" 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/drivers/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/containers/storage/drivers/register/register_devicemapper.go: -------------------------------------------------------------------------------- 1 | // +build !exclude_graphdriver_devicemapper,linux,cgo 2 | 3 | package register 4 | 5 | import ( 6 | // register the devmapper graphdriver 7 | _ "github.com/containers/storage/drivers/devmapper" 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/pkg/archive/archive_19.go: -------------------------------------------------------------------------------- 1 | // +build !go1.10 2 | 3 | package archive 4 | 5 | import ( 6 | "archive/tar" 7 | ) 8 | 9 | func copyPassHeader(hdr *tar.Header) { 10 | } 11 | 12 | func maybeTruncateHeaderModTime(hdr *tar.Header) { 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/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/github.com/mattn/go-runewidth/runewidth_js.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | // +build !appengine 3 | 4 | package runewidth 5 | 6 | func IsEastAsian() bool { 7 | // TODO: Implement this for the web. Detect east asian in a compatible way, and return true. 8 | return false 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/pkcs11/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: required 3 | dist: trusty 4 | 5 | go: 6 | - 1.9 7 | - tip 8 | 9 | script: 10 | - go test -v ./... 11 | 12 | before_script: 13 | - sudo apt-get update 14 | - sudo apt-get -y install libsofthsm 15 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/onsi/gomega 2 | 3 | go 1.14 4 | 5 | require ( 6 | github.com/golang/protobuf v1.5.2 7 | github.com/onsi/ginkgo v1.16.4 8 | golang.org/x/net v0.0.0-20210428140749-89ef3d95e781 9 | gopkg.in/yaml.v2 v2.4.0 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runtime-tools/filepath/separator.go: -------------------------------------------------------------------------------- 1 | package filepath 2 | 3 | // Separator is an explicit-OS version of path/filepath's Separator. 4 | func Separator(os string) rune { 5 | if os == "windows" { 6 | return '\\' 7 | } 8 | return '/' 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/prometheus/procfs 2 | 3 | go 1.13 4 | 5 | require ( 6 | github.com/google/go-cmp v0.5.4 7 | golang.org/x/sync v0.0.0-20201207232520-09787c993a3a 8 | golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c 9 | ) 10 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_amd64.go: -------------------------------------------------------------------------------- 1 | package bbolt 2 | 3 | // maxMapSize represents the largest mmap size supported by Bolt. 4 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB 5 | 6 | // maxAllocSize is the size used when creating array pointers. 7 | const maxAllocSize = 0x7FFFFFFF 8 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/drivers/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/containers/storage/drivers/zfs" 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/moby/sys/mountinfo/mountinfo_windows.go: -------------------------------------------------------------------------------- 1 | package mountinfo 2 | 3 | func parseMountTable(_ FilterFunc) ([]*Info, error) { 4 | // Do NOT return an error! 5 | return nil, nil 6 | } 7 | 8 | func mounted(_ string) (bool, error) { 9 | return false, nil 10 | } 11 | -------------------------------------------------------------------------------- /pkg/sysinfo/nummem_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build windows, osx 2 | 3 | package sysinfo 4 | 5 | // NUMANodeCount queries the system for the count of Memory Nodes available 6 | // for use to this process. Returns 0 on non NUMAs systems. 7 | func NUMANodeCount() int { 8 | return 0 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/godbus/dbus/v5/homedir_dynamic.go: -------------------------------------------------------------------------------- 1 | // +build !static_build 2 | 3 | package dbus 4 | 5 | import ( 6 | "os/user" 7 | ) 8 | 9 | func lookupHomeDir() string { 10 | u, err := user.Current() 11 | if err != nil { 12 | return "/" 13 | } 14 | return u.HomeDir 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/manifoldco/promptui/keycodes_other.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package promptui 4 | 5 | import "github.com/chzyer/readline" 6 | 7 | var ( 8 | // KeyBackspace is the default key for deleting input text. 9 | KeyBackspace rune = readline.CharBackspace 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-colorable/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - tip 4 | 5 | before_install: 6 | - go get github.com/mattn/goveralls 7 | - go get golang.org/x/tools/cmd/cover 8 | script: 9 | - $HOME/gopath/bin/goveralls -repotoken xnXqRGwgW3SXIguzxf90ZSK1GPYZPaGrw 10 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/go-digest/.mailmap: -------------------------------------------------------------------------------- 1 | Aaron Lehmann 2 | Derek McGowan 3 | Stephen J Day 4 | Haibing Zhou 5 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/configs/namespaces_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package configs 4 | 5 | // Namespace defines configuration for each namespace. It specifies an 6 | // alternate path that is able to be joined via setns. 7 | type Namespace struct{} 8 | -------------------------------------------------------------------------------- /vendor/github.com/xeipuuv/gojsonschema/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - "1.11" 4 | - "1.12" 5 | - "1.13" 6 | before_install: 7 | - go get github.com/xeipuuv/gojsonreference 8 | - go get github.com/xeipuuv/gojsonpointer 9 | - go get github.com/stretchr/testify/assert 10 | -------------------------------------------------------------------------------- /vendor/github.com/containers/image/v5/docker/reference/README.md: -------------------------------------------------------------------------------- 1 | This is a copy of github.com/docker/distribution/reference as of commit 3226863cbcba6dbc2f6c83a37b28126c934af3f8, 2 | except that ParseAnyReferenceWithSet has been removed to drop the dependency on github.com/docker/distribution/digestset. -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/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/opencontainers/runc/libcontainer/configs/hugepage_limit.go: -------------------------------------------------------------------------------- 1 | package configs 2 | 3 | type HugepageLimit struct { 4 | // which type of hugepage to limit. 5 | Pagesize string `json:"page_size"` 6 | 7 | // usage limit for hugepage. 8 | Limit uint64 `json:"limit"` 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/rivo/uniseg/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package uniseg implements Unicode Text Segmentation according to Unicode 3 | Standard Annex #29 (http://unicode.org/reports/tr29/). 4 | 5 | At this point, only the determination of grapheme cluster boundaries is 6 | implemented. 7 | */ 8 | package uniseg 9 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/install_gae.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | TMP=$(mktemp -d /tmp/sdk.XXX) \ 4 | && curl -o $TMP.zip "https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-1.9.68.zip" \ 5 | && unzip -q $TMP.zip -d $TMP \ 6 | && export PATH="$PATH:$TMP/go_appengine" -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/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/fsnotify/fsnotify/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*.go] 4 | indent_style = tab 5 | indent_size = 4 6 | insert_final_newline = true 7 | 8 | [*.{yml,yaml}] 9 | indent_style = space 10 | indent_size = 2 11 | insert_final_newline = true 12 | trim_trailing_whitespace = true 13 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/NOTICE: -------------------------------------------------------------------------------- 1 | procfs provides functions to retrieve system, kernel and process 2 | metrics from the pseudo-filesystem proc. 3 | 4 | Copyright 2014-2015 The Prometheus Authors 5 | 6 | This product includes software developed at 7 | SoundCloud Ltd. (http://soundcloud.com/). 8 | -------------------------------------------------------------------------------- /vendor/github.com/disiqueira/gotree/v3/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go_import_path: github.com/disiqueira/gotree 3 | git: 4 | depth: 1 5 | env: 6 | - GO111MODULE=on 7 | - GO111MODULE=off 8 | go: [ 1.11.x, 1.12.x, 1.13.x ] 9 | os: [ linux, osx ] 10 | script: 11 | - go test -race -v ./... 12 | -------------------------------------------------------------------------------- /vendor/github.com/xeipuuv/gojsonschema/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/xeipuuv/gojsonschema 2 | 3 | require ( 4 | github.com/stretchr/testify v1.3.0 5 | github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect 6 | github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 7 | ) 8 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_ppc.go: -------------------------------------------------------------------------------- 1 | // +build ppc 2 | 3 | package bbolt 4 | 5 | // maxMapSize represents the largest mmap size supported by Bolt. 6 | const maxMapSize = 0x7FFFFFFF // 2GB 7 | 8 | // maxAllocSize is the size used when creating array pointers. 9 | const maxAllocSize = 0xFFFFFFF 10 | -------------------------------------------------------------------------------- /pkg/config/util_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package config 4 | 5 | import ( 6 | "github.com/pkg/errors" 7 | ) 8 | 9 | // getRuntimeDir returns the runtime directory 10 | func getRuntimeDir() (string, error) { 11 | return "", errors.New("this function is not implemented for windows") 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/containers/image/v5/transports/alltransports/ostree_stub.go: -------------------------------------------------------------------------------- 1 | // +build !containers_image_ostree !linux 2 | 3 | package alltransports 4 | 5 | import "github.com/containers/image/v5/transports" 6 | 7 | func init() { 8 | transports.Register(transports.NewStubTransport("ostree")) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/containers/ocicrypt/SECURITY.md: -------------------------------------------------------------------------------- 1 | ## Security and Disclosure Information Policy for the OCIcrypt Library Project 2 | 3 | The OCIcrypt Library Project follows the [Security and Disclosure Information Policy](https://github.com/containers/common/blob/master/SECURITY.md) for the Containers Projects. 4 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/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/containers/storage/pkg/mount/mountinfo.go: -------------------------------------------------------------------------------- 1 | package mount 2 | 3 | import ( 4 | "github.com/moby/sys/mountinfo" 5 | ) 6 | 7 | type Info = mountinfo.Info 8 | 9 | var Mounted = mountinfo.Mounted 10 | 11 | func GetMounts() ([]*Info, error) { 12 | return mountinfo.GetMounts(nil) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/pkg/unshare/unshare_cgo.go: -------------------------------------------------------------------------------- 1 | // +build linux,cgo,!gccgo 2 | 3 | package unshare 4 | 5 | // #cgo CFLAGS: -Wall 6 | // extern void _containers_unshare(void); 7 | // void __attribute__((constructor)) init(void) { 8 | // _containers_unshare(); 9 | // } 10 | import "C" 11 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/spf13/cobra 2 | 3 | go 1.14 4 | 5 | require ( 6 | github.com/cpuguy83/go-md2man/v2 v2.0.0 7 | github.com/inconshreveable/mousetrap v1.0.0 8 | github.com/spf13/pflag v1.0.5 9 | github.com/spf13/viper v1.8.1 10 | gopkg.in/yaml.v2 v2.4.0 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/SECURITY.md: -------------------------------------------------------------------------------- 1 | ## Security and Disclosure Information Policy for the Containers Storage Project 2 | 3 | The Containers Storage Project follows the [Security and Disclosure Information Policy](https://github.com/containers/common/blob/main/SECURITY.md) for the Containers Projects. 4 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-shellwords/.travis.yml: -------------------------------------------------------------------------------- 1 | arch: 2 | - amd64 3 | - ppc64le 4 | language: go 5 | sudo: false 6 | go: 7 | - tip 8 | 9 | before_install: 10 | - go get -t -v ./... 11 | 12 | script: 13 | - ./go.test.sh 14 | 15 | after_success: 16 | - bash <(curl -s https://codecov.io/bash) 17 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_arm64.go: -------------------------------------------------------------------------------- 1 | // +build arm64 2 | 3 | package bbolt 4 | 5 | // maxMapSize represents the largest mmap size supported by Bolt. 6 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB 7 | 8 | // maxAllocSize is the size used when creating array pointers. 9 | const maxAllocSize = 0x7FFFFFFF 10 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_mipsx.go: -------------------------------------------------------------------------------- 1 | // +build mips mipsle 2 | 3 | package bbolt 4 | 5 | // maxMapSize represents the largest mmap size supported by Bolt. 6 | const maxMapSize = 0x40000000 // 1GB 7 | 8 | // maxAllocSize is the size used when creating array pointers. 9 | const maxAllocSize = 0xFFFFFFF 10 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_ppc64.go: -------------------------------------------------------------------------------- 1 | // +build ppc64 2 | 3 | package bbolt 4 | 5 | // maxMapSize represents the largest mmap size supported by Bolt. 6 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB 7 | 8 | // maxAllocSize is the size used when creating array pointers. 9 | const maxAllocSize = 0x7FFFFFFF 10 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_s390x.go: -------------------------------------------------------------------------------- 1 | // +build s390x 2 | 3 | package bbolt 4 | 5 | // maxMapSize represents the largest mmap size supported by Bolt. 6 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB 7 | 8 | // maxAllocSize is the size used when creating array pointers. 9 | const maxAllocSize = 0x7FFFFFFF 10 | -------------------------------------------------------------------------------- /vendor/github.com/containers/image/v5/transports/alltransports/storage_stub.go: -------------------------------------------------------------------------------- 1 | // +build containers_image_storage_stub 2 | 3 | package alltransports 4 | 5 | import "github.com/containers/image/v5/transports" 6 | 7 | func init() { 8 | transports.Register(transports.NewStubTransport("containers-storage")) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/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/onsi/gomega/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | arch: 3 | - amd64 4 | - ppc64le 5 | 6 | go: 7 | - gotip 8 | - 1.16.x 9 | - 1.15.x 10 | 11 | env: 12 | - GO111MODULE=on 13 | 14 | install: skip 15 | 16 | script: 17 | - go mod tidy && git diff --exit-code go.mod go.sum 18 | - make test 19 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/go-digest/MAINTAINERS: -------------------------------------------------------------------------------- 1 | Derek McGowan (@dmcgowan) 2 | Stephen Day (@stevvooe) 3 | Vincent Batts (@vbatts) 4 | Akihiro Suda (@AkihiroSuda) 5 | Sebastiaan van Stijn (@thaJeztah) 6 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runtime-tools/filepath/join.go: -------------------------------------------------------------------------------- 1 | package filepath 2 | 3 | import "strings" 4 | 5 | // Join is an explicit-OS version of path/filepath's Join. 6 | func Join(os string, elem ...string) string { 7 | sep := Separator(os) 8 | return Clean(os, strings.Join(elem, string(sep))) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_ppc64le.go: -------------------------------------------------------------------------------- 1 | // +build ppc64le 2 | 3 | package bbolt 4 | 5 | // maxMapSize represents the largest mmap size supported by Bolt. 6 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB 7 | 8 | // maxAllocSize is the size used when creating array pointers. 9 | const maxAllocSize = 0x7FFFFFFF 10 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_riscv64.go: -------------------------------------------------------------------------------- 1 | // +build riscv64 2 | 3 | package bbolt 4 | 5 | // maxMapSize represents the largest mmap size supported by Bolt. 6 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB 7 | 8 | // maxAllocSize is the size used when creating array pointers. 9 | const maxAllocSize = 0x7FFFFFFF 10 | -------------------------------------------------------------------------------- /vendor/github.com/chzyer/readline/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.x 4 | script: 5 | - GOOS=windows go install github.com/chzyer/readline/example/... 6 | - GOOS=linux go install github.com/chzyer/readline/example/... 7 | - GOOS=darwin go install github.com/chzyer/readline/example/... 8 | - go test -race -v 9 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/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/github.com/sirupsen/logrus/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/sirupsen/logrus 2 | 3 | require ( 4 | github.com/davecgh/go-spew v1.1.1 // indirect 5 | github.com/pmezard/go-difflib v1.0.0 // indirect 6 | github.com/stretchr/testify v1.2.2 7 | golang.org/x/sys v0.0.0-20191026070338-33540a1f6037 8 | ) 9 | 10 | go 1.13 11 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_mips64x.go: -------------------------------------------------------------------------------- 1 | // +build mips64 mips64le 2 | 3 | package bbolt 4 | 5 | // maxMapSize represents the largest mmap size supported by Bolt. 6 | const maxMapSize = 0x8000000000 // 512GB 7 | 8 | // maxAllocSize is the size used when creating array pointers. 9 | const maxAllocSize = 0x7FFFFFFF 10 | -------------------------------------------------------------------------------- /vendor/github.com/cespare/xxhash/v2/xxhash_amd64.go: -------------------------------------------------------------------------------- 1 | // +build !appengine 2 | // +build gc 3 | // +build !purego 4 | 5 | package xxhash 6 | 7 | // Sum64 computes the 64-bit xxHash digest of b. 8 | // 9 | //go:noescape 10 | func Sum64(b []byte) uint64 11 | 12 | //go:noescape 13 | func writeBlocks(d *Digest, b []byte) int 14 | -------------------------------------------------------------------------------- /vendor/github.com/containers/image/v5/transports/alltransports/docker_daemon_stub.go: -------------------------------------------------------------------------------- 1 | // +build containers_image_docker_daemon_stub 2 | 3 | package alltransports 4 | 5 | import "github.com/containers/image/v5/transports" 6 | 7 | func init() { 8 | transports.Register(transports.NewStubTransport("docker-daemon")) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - tip 4 | 5 | os: 6 | - linux 7 | - osx 8 | 9 | before_install: 10 | - go get github.com/mattn/goveralls 11 | - go get golang.org/x/tools/cmd/cover 12 | script: 13 | - $HOME/gopath/bin/goveralls -repotoken 3gHdORO5k5ziZcWMBxnd9LrMZaJs8m9x5 14 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/go_above_19.go: -------------------------------------------------------------------------------- 1 | //+build go1.9 2 | 3 | package concurrent 4 | 5 | import "sync" 6 | 7 | // Map is a wrapper for sync.Map introduced in go1.9 8 | type Map struct { 9 | sync.Map 10 | } 11 | 12 | // NewMap creates a thread safe Map 13 | func NewMap() *Map { 14 | return &Map{} 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/apparmor/apparmor_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package apparmor 4 | 5 | func isEnabled() bool { 6 | return false 7 | } 8 | 9 | func applyProfile(name string) error { 10 | if name != "" { 11 | return ErrApparmorNotEnabled 12 | } 13 | return nil 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/configs/cgroup_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package configs 4 | 5 | // Cgroup holds properties of a cgroup on Linux 6 | // TODO Windows: This can ultimately be entirely factored out on Windows as 7 | // cgroups are a Unix-specific construct. 8 | type Cgroup struct{} 9 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/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/manifoldco/promptui/keycodes_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package promptui 4 | 5 | // source: https://msdn.microsoft.com/en-us/library/aa243025(v=vs.60).aspx 6 | 7 | var ( 8 | // KeyBackspace is the default key for deleting input text inside a command line prompt. 9 | KeyBackspace rune = 8 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.8.x 5 | - 1.x 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | - go get -t -v github.com/modern-go/reflect2-tests/... 10 | 11 | script: 12 | - ./test.sh 13 | 14 | after_success: 15 | - bash <(curl -s https://codecov.io/bash) 16 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_solaris.go: -------------------------------------------------------------------------------- 1 | package logrus 2 | 3 | import ( 4 | "golang.org/x/sys/unix" 5 | ) 6 | 7 | // IsTerminal returns true if the given file descriptor is a terminal. 8 | func isTerminal(fd int) bool { 9 | _, err := unix.IoctlGetTermio(fd, unix.TCGETA) 10 | return err == nil 11 | } 12 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/flags/proto_legacy_disable.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 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 !protolegacy 6 | 7 | package flags 8 | 9 | const protoLegacy = false 10 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/flags/proto_legacy_enable.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 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 protolegacy 6 | 7 | package flags 8 | 9 | const protoLegacy = true 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/go-units/circle.yml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | post: 3 | # install golint 4 | - go get golang.org/x/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/gorilla/mux/AUTHORS: -------------------------------------------------------------------------------- 1 | # This is the official list of gorilla/mux authors for copyright purposes. 2 | # 3 | # Please keep the list sorted. 4 | 5 | Google LLC (https://opensource.google.com/) 6 | Kamil Kisielk 7 | Matt Silverlock 8 | Rodrigo Moraes (https://github.com/moraes) 9 | -------------------------------------------------------------------------------- /vendor/github.com/ulikunitz/xz/SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | ## Supported Versions 4 | 5 | Currently the last minor version v0.5.x is supported. 6 | 7 | ## Reporting a Vulnerability 8 | 9 | Report a vulnerability by creating a Github issue at 10 | . Expect a response in a week. 11 | -------------------------------------------------------------------------------- /vendor/github.com/vbauerster/mpb/v7/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/vbauerster/mpb/v7 2 | 3 | require ( 4 | github.com/VividCortex/ewma v1.2.0 5 | github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d 6 | github.com/mattn/go-runewidth v0.0.13 7 | golang.org/x/sys v0.0.0-20210616094352-59db8d763f22 8 | ) 9 | 10 | go 1.14 11 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - "1.4.x" 5 | - "1.5.x" 6 | - "1.6.x" 7 | - "1.7.x" 8 | - "1.8.x" 9 | - "1.9.x" 10 | - "1.10.x" 11 | - "1.11.x" 12 | - "1.12.x" 13 | - "1.13.x" 14 | - "1.14.x" 15 | - "tip" 16 | 17 | go_import_path: gopkg.in/yaml.v2 18 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/pkg/archive/archive_other.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package archive 4 | 5 | func GetWhiteoutConverter(format WhiteoutFormat, data interface{}) TarWhiteoutConverter { 6 | return nil 7 | } 8 | 9 | func GetFileOwner(path string) (uint32, uint32, uint32, error) { 10 | return 0, 0, 0, nil 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/client_windows.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | // DefaultDockerHost defines os specific default if DOCKER_HOST is unset 4 | const DefaultDockerHost = "npipe:////./pipe/docker_engine" 5 | 6 | const defaultProto = "npipe" 7 | const defaultAddr = "//./pipe/docker_engine" 8 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/isatty_others.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | // +build !appengine 3 | 4 | package isatty 5 | 6 | // IsCygwinTerminal return true if the file descriptor is a cygwin or msys2 7 | // terminal. This is also always false on this environment. 8 | func IsCygwinTerminal(fd uintptr) bool { 9 | return false 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-runewidth/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | go: 4 | - 1.13.x 5 | - tip 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | 10 | script: 11 | - go generate 12 | - git diff --cached --exit-code 13 | - ./go.test.sh 14 | 15 | after_success: 16 | - bash <(curl -s https://codecov.io/bash) 17 | -------------------------------------------------------------------------------- /vendor/github.com/mtrmac/gpgme/unset_agent_info_windows.go: -------------------------------------------------------------------------------- 1 | package gpgme 2 | 3 | // #include 4 | import "C" 5 | import ( 6 | "unsafe" 7 | ) 8 | 9 | // unsetenv is not available in mingw 10 | func unsetenvGPGAgentInfo() { 11 | v := C.CString("GPG_AGENT_INFO=") 12 | defer C.free(unsafe.Pointer(v)) 13 | C.putenv(v) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_unix.go: -------------------------------------------------------------------------------- 1 | // +build linux aix zos 2 | // +build !js 3 | 4 | package logrus 5 | 6 | import "golang.org/x/sys/unix" 7 | 8 | const ioctlReadTermios = unix.TCGETS 9 | 10 | func isTerminal(fd int) bool { 11 | _, err := unix.IoctlGetTermios(fd, ioctlReadTermios) 12 | return err == nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/godbus/dbus/v5/transport_unixcred_openbsd.go: -------------------------------------------------------------------------------- 1 | package dbus 2 | 3 | import "io" 4 | 5 | func (t *unixTransport) SendNullByte() error { 6 | n, _, err := t.UnixConn.WriteMsgUnix([]byte{0}, nil, nil) 7 | if err != nil { 8 | return err 9 | } 10 | if n != 1 { 11 | return io.ErrShortWrite 12 | } 13 | return nil 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_amd64.go: -------------------------------------------------------------------------------- 1 | // +build !appengine 2 | // +build gc 3 | // +build !purego 4 | 5 | package xxhash 6 | 7 | // Sum64 computes the 64-bit xxHash digest of b. 8 | // 9 | //go:noescape 10 | func Sum64(b []byte) uint64 11 | 12 | //go:noescape 13 | func writeBlocks(*Digest, []byte) int 14 | -------------------------------------------------------------------------------- /vendor/github.com/vbauerster/mpb/v7/internal/width.go: -------------------------------------------------------------------------------- 1 | package internal 2 | 3 | // CheckRequestedWidth checks that requested width doesn't overflow 4 | // available width 5 | func CheckRequestedWidth(requested, available int) int { 6 | if requested < 1 || requested >= available { 7 | return available 8 | } 9 | return requested 10 | } 11 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/mlock_windows.go: -------------------------------------------------------------------------------- 1 | package bbolt 2 | 3 | // mlock locks memory of db file 4 | func mlock(_ *DB, _ int) error { 5 | panic("mlock is supported only on UNIX systems") 6 | } 7 | 8 | //munlock unlocks memory of db file 9 | func munlock(_ *DB, _ int) error { 10 | panic("munlock is supported only on UNIX systems") 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_appengine.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package isatty 4 | 5 | // IsTerminal returns true if the file descriptor is terminal which 6 | // is always false on on appengine classic which is a sandboxed PaaS. 7 | func IsTerminal(fd uintptr) bool { 8 | return false 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/xeipuuv/gojsonreference/README.md: -------------------------------------------------------------------------------- 1 | # gojsonreference 2 | An implementation of JSON Reference - Go language 3 | 4 | ## Dependencies 5 | https://github.com/xeipuuv/gojsonpointer 6 | 7 | ## References 8 | http://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-07 9 | 10 | http://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/language/go1_2.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 | //go:build go1.2 6 | // +build go1.2 7 | 8 | package language 9 | 10 | import "sort" 11 | 12 | var sortStable = sort.Stable 13 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/encoding/prototext/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 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 prototext marshals and unmarshals protocol buffer messages as the 6 | // textproto format. 7 | package prototext 8 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/winapi/processor.go: -------------------------------------------------------------------------------- 1 | package winapi 2 | 3 | // Get count from all processor groups. 4 | // https://docs.microsoft.com/en-us/windows/win32/procthread/processor-groups 5 | const ALL_PROCESSOR_GROUPS = 0xFFFF 6 | 7 | //sys GetActiveProcessorCount(groupNumber uint16) (amount uint32) = kernel32.GetActiveProcessorCount 8 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/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/modern-go/reflect2/go_below_19.go: -------------------------------------------------------------------------------- 1 | //+build !go1.9 2 | 3 | package reflect2 4 | 5 | import ( 6 | "unsafe" 7 | ) 8 | 9 | //go:linkname makemap reflect.makemap 10 | func makemap(rtype unsafe.Pointer) (m unsafe.Pointer) 11 | 12 | func makeMapWithSize(rtype unsafe.Pointer, cap int) unsafe.Pointer { 13 | return makemap(rtype) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/specrunner/random_id.go: -------------------------------------------------------------------------------- 1 | package specrunner 2 | 3 | import ( 4 | "crypto/rand" 5 | "fmt" 6 | ) 7 | 8 | func randomID() string { 9 | b := make([]byte, 8) 10 | _, err := rand.Read(b) 11 | if err != nil { 12 | return "" 13 | } 14 | return fmt.Sprintf("%x-%x-%x-%x", b[0:2], b[2:4], b[4:6], b[6:8]) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/drivers/vfs/copy_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package vfs // import "github.com/containers/storage/drivers/vfs" 4 | 5 | import "github.com/containers/storage/pkg/chrootarchive" 6 | 7 | func dirCopy(srcDir, dstDir string) error { 8 | return chrootarchive.NewArchiver(nil).CopyWithTar(srcDir, dstDir) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/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/github.com/ghodss/yaml/.gitignore: -------------------------------------------------------------------------------- 1 | # OSX leaves these everywhere on SMB shares 2 | ._* 3 | 4 | # Eclipse files 5 | .classpath 6 | .project 7 | .settings/** 8 | 9 | # Emacs save files 10 | *~ 11 | 12 | # Vim-related files 13 | [._]*.s[a-w][a-z] 14 | [._]s[a-w][a-z] 15 | *.un~ 16 | Session.vim 17 | .netrwhist 18 | 19 | # Go test binaries 20 | *.test 21 | -------------------------------------------------------------------------------- /vendor/golang.org/x/term/term_unix_aix.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 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 term 6 | 7 | import "golang.org/x/sys/unix" 8 | 9 | const ioctlReadTermios = unix.TCGETS 10 | const ioctlWriteTermios = unix.TCSETS 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/term/term_unix_zos.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 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 term 6 | 7 | import "golang.org/x/sys/unix" 8 | 9 | const ioctlReadTermios = unix.TCGETS 10 | const ioctlWriteTermios = unix.TCSETS 11 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/pkg/system/chmod.go: -------------------------------------------------------------------------------- 1 | package system 2 | 3 | import ( 4 | "errors" 5 | "os" 6 | "syscall" 7 | ) 8 | 9 | func Chmod(name string, mode os.FileMode) error { 10 | err := os.Chmod(name, mode) 11 | 12 | for err != nil && errors.Is(err, syscall.EINTR) { 13 | err = os.Chmod(name, mode) 14 | } 15 | 16 | return err 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/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/containers/storage/types/default_override_test.conf: -------------------------------------------------------------------------------- 1 | [storage] 2 | 3 | # Default Storage Driver 4 | driver = "" 5 | 6 | # Primary Read/Write location of container storage 7 | graphroot = "environment_override_graphroot" 8 | 9 | # Storage path for rootless users 10 | # 11 | rootless_storage_path = "environment_override_rootless_storage_path" 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/.gometalinter.json: -------------------------------------------------------------------------------- 1 | { 2 | "Vendor": true, 3 | "Deadline": "2m", 4 | "Sort": ["linter", "severity", "path", "line"], 5 | "EnableGC": true, 6 | "Enable": [ 7 | "structcheck", 8 | "staticcheck", 9 | "unconvert", 10 | 11 | "gofmt", 12 | "goimports", 13 | "golint", 14 | "vet" 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/docker/go-metrics/unit.go: -------------------------------------------------------------------------------- 1 | package metrics 2 | 3 | // Unit represents the type or precision of a metric that is appended to 4 | // the metrics fully qualified name 5 | type Unit string 6 | 7 | const ( 8 | Nanoseconds Unit = "nanoseconds" 9 | Seconds Unit = "seconds" 10 | Bytes Unit = "bytes" 11 | Total Unit = "total" 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/imdario/mergo/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | arch: 3 | - amd64 4 | - ppc64le 5 | install: 6 | - go get -t 7 | - go get golang.org/x/tools/cmd/cover 8 | - go get github.com/mattn/goveralls 9 | script: 10 | - go test -race -v ./... 11 | after_script: 12 | - $HOME/gopath/bin/goveralls -service=travis-ci -repotoken $COVERALLS_TOKEN 13 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-shellwords/go.test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -coverprofile=profile.out -covermode=atomic "$d" 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/appveyor.yml: -------------------------------------------------------------------------------- 1 | version: "{build}" 2 | platform: x64 3 | clone_folder: c:\gopath\src\github.com\sirupsen\logrus 4 | environment: 5 | GOPATH: c:\gopath 6 | branches: 7 | only: 8 | - master 9 | install: 10 | - set PATH=%GOPATH%\bin;c:\go\bin;%PATH% 11 | - go version 12 | build_script: 13 | - go get -t 14 | - go test 15 | -------------------------------------------------------------------------------- /vendor/github.com/vbatts/tar-split/tar/asm/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package asm provides the API for streaming assembly and disassembly of tar 3 | archives. 4 | 5 | Using the `github.com/vbatts/tar-split/tar/storage` for Packing/Unpacking the 6 | metadata for a stream, as well as an implementation of Getting/Putting the file 7 | entries' payload. 8 | */ 9 | package asm 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/term/term_unix_linux.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 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 term 6 | 7 | import "golang.org/x/sys/unix" 8 | 9 | const ioctlReadTermios = unix.TCGETS 10 | const ioctlWriteTermios = unix.TCSETS 11 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/hnssupport.go: -------------------------------------------------------------------------------- 1 | package hcsshim 2 | 3 | import ( 4 | "github.com/Microsoft/hcsshim/internal/hns" 5 | ) 6 | 7 | type HNSSupportedFeatures = hns.HNSSupportedFeatures 8 | 9 | type HNSAclFeatures = hns.HNSAclFeatures 10 | 11 | func GetHNSSupportedFeatures() HNSSupportedFeatures { 12 | return hns.GetHNSSupportedFeatures() 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/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/containers/storage/pkg/idtools/idtools_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux !libsubid !cgo 2 | 3 | package idtools 4 | 5 | func readSubuid(username string) (ranges, error) { 6 | return parseSubidFile(subuidFileName, username) 7 | } 8 | 9 | func readSubgid(username string) (ranges, error) { 10 | return parseSubidFile(subgidFileName, username) 11 | } 12 | -------------------------------------------------------------------------------- /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/go-connections/tlsconfig/certpool_other.go: -------------------------------------------------------------------------------- 1 | // +build !go1.7 2 | 3 | package tlsconfig 4 | 5 | import ( 6 | "crypto/x509" 7 | ) 8 | 9 | // SystemCertPool returns an new empty cert pool, 10 | // accessing system cert pool is supported in go 1.7 11 | func SystemCertPool() (*x509.CertPool, error) { 12 | return x509.NewCertPool(), nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/manifoldco/promptui/.travis.yml: -------------------------------------------------------------------------------- 1 | dist: bionic 2 | language: go 3 | 4 | go: 5 | - "1.12.x" 6 | - "1.13.x" 7 | 8 | branches: 9 | only: 10 | - master 11 | 12 | after_success: 13 | # only report coverage for go-version 1.11 14 | - if [[ $TRAVIS_GO_VERSION =~ ^1\.11 ]] ; then bash <(curl -s https://codecov.io/bash) -f all-cover.txt; fi 15 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-runewidth/go.test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -race -coverprofile=profile.out -covermode=atomic "$d" 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go_above_19.go: -------------------------------------------------------------------------------- 1 | //+build go1.9 2 | 3 | package reflect2 4 | 5 | import ( 6 | "unsafe" 7 | ) 8 | 9 | //go:linkname makemap reflect.makemap 10 | func makemap(rtype unsafe.Pointer, cap int) (m unsafe.Pointer) 11 | 12 | func makeMapWithSize(rtype unsafe.Pointer, cap int) unsafe.Pointer { 13 | return makemap(rtype, cap) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_bsd.go: -------------------------------------------------------------------------------- 1 | // +build darwin dragonfly freebsd netbsd openbsd 2 | // +build !js 3 | 4 | package logrus 5 | 6 | import "golang.org/x/sys/unix" 7 | 8 | const ioctlReadTermios = unix.TIOCGETA 9 | 10 | func isTerminal(fd int) bool { 11 | _, err := unix.IoctlGetTermios(fd, ioctlReadTermios) 12 | return err == nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_notappengine.go: -------------------------------------------------------------------------------- 1 | // +build !appengine,!js,!windows,!nacl,!plan9 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | "os" 8 | ) 9 | 10 | func checkIfTerminal(w io.Writer) bool { 11 | switch v := w.(type) { 12 | case *os.File: 13 | return isTerminal(int(v.Fd())) 14 | default: 15 | return false 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -coverprofile=profile.out -coverpkg=github.com/json-iterator/go $d 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/types/code_location.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | import ( 4 | "fmt" 5 | ) 6 | 7 | type CodeLocation struct { 8 | FileName string 9 | LineNumber int 10 | FullStackTrace string 11 | } 12 | 13 | func (codeLocation CodeLocation) String() string { 14 | return fmt.Sprintf("%s:%d", codeLocation.FileName, codeLocation.LineNumber) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go_import_path: go.etcd.io/bbolt 3 | 4 | sudo: false 5 | 6 | go: 7 | - 1.15 8 | 9 | before_install: 10 | - go get -v golang.org/x/sys/unix 11 | - go get -v honnef.co/go/tools/... 12 | - go get -v github.com/kisielk/errcheck 13 | 14 | script: 15 | - make fmt 16 | - make test 17 | - make race 18 | # - make errcheck 19 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/hnsglobals.go: -------------------------------------------------------------------------------- 1 | package hcsshim 2 | 3 | import ( 4 | "github.com/Microsoft/hcsshim/internal/hns" 5 | ) 6 | 7 | type HNSGlobals = hns.HNSGlobals 8 | type HNSVersion = hns.HNSVersion 9 | 10 | var ( 11 | HNSVersion1803 = hns.HNSVersion1803 12 | ) 13 | 14 | func GetHNSGlobals() (*HNSGlobals, error) { 15 | return hns.GetHNSGlobals() 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/drivers/btrfs/version_none.go: -------------------------------------------------------------------------------- 1 | // +build !linux btrfs_noversion !cgo 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/json-iterator/go/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/json-iterator/go 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/davecgh/go-spew v1.1.1 7 | github.com/google/gofuzz v1.0.0 8 | github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 9 | github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 10 | github.com/stretchr/testify v1.3.0 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/configs/interface_priority_map.go: -------------------------------------------------------------------------------- 1 | package configs 2 | 3 | import ( 4 | "fmt" 5 | ) 6 | 7 | type IfPrioMap struct { 8 | Interface string `json:"interface"` 9 | Priority int64 `json:"priority"` 10 | } 11 | 12 | func (i *IfPrioMap) CgroupString() string { 13 | return fmt.Sprintf("%s %d", i.Interface, i.Priority) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runtime-tools/generate/seccomp/consts.go: -------------------------------------------------------------------------------- 1 | package seccomp 2 | 3 | const ( 4 | seccompOverwrite = "overwrite" 5 | seccompAppend = "append" 6 | nothing = "nothing" 7 | kill = "kill" 8 | trap = "trap" 9 | trace = "trace" 10 | allow = "allow" 11 | errno = "errno" 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/go.opencensus.io/go.mod: -------------------------------------------------------------------------------- 1 | module go.opencensus.io 2 | 3 | require ( 4 | github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e 5 | github.com/golang/protobuf v1.4.3 6 | github.com/google/go-cmp v0.5.3 7 | github.com/stretchr/testify v1.6.1 8 | golang.org/x/net v0.0.0-20201110031124-69a78807bb2b 9 | google.golang.org/grpc v1.33.2 10 | ) 11 | 12 | go 1.13 13 | -------------------------------------------------------------------------------- /vendor/github.com/jinzhu/copier/errors.go: -------------------------------------------------------------------------------- 1 | package copier 2 | 3 | import "errors" 4 | 5 | var ( 6 | ErrInvalidCopyDestination = errors.New("copy destination is invalid") 7 | ErrInvalidCopyFrom = errors.New("copy from is invalid") 8 | ErrMapKeyNotMatch = errors.New("map's key type doesn't match") 9 | ErrNotSupported = errors.New("not supported") 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -coverprofile=profile.out -coverpkg=github.com/modern-go/concurrent $d 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/userns/userns_fuzzer.go: -------------------------------------------------------------------------------- 1 | // +build gofuzz 2 | 3 | package userns 4 | 5 | import ( 6 | "strings" 7 | 8 | "github.com/opencontainers/runc/libcontainer/user" 9 | ) 10 | 11 | func FuzzUIDMap(data []byte) int { 12 | uidmap, _ := user.ParseIDMap(strings.NewReader(string(data))) 13 | _ = uidMapInUserNS(uidmap) 14 | return 1 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go_import_path: github.com/sirupsen/logrus 3 | git: 4 | depth: 1 5 | env: 6 | - GO111MODULE=on 7 | go: 1.15.x 8 | os: linux 9 | install: 10 | - ./travis/install.sh 11 | script: 12 | - cd ci 13 | - go run mage.go -v -w ../ crossBuild 14 | - go run mage.go -v -w ../ lint 15 | - go run mage.go -v -w ../ test 16 | -------------------------------------------------------------------------------- /vendor/github.com/vbauerster/mpb/v7/decor/name.go: -------------------------------------------------------------------------------- 1 | package decor 2 | 3 | // Name decorator displays text that is set once and can't be changed 4 | // during decorator's lifetime. 5 | // 6 | // `str` string to display 7 | // 8 | // `wcc` optional WC config 9 | // 10 | func Name(str string, wcc ...WC) Decorator { 11 | return Any(func(Statistics) string { return str }, wcc...) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/xeipuuv/gojsonschema/glide.yaml: -------------------------------------------------------------------------------- 1 | package: github.com/xeipuuv/gojsonschema 2 | license: Apache 2.0 3 | import: 4 | - package: github.com/xeipuuv/gojsonschema 5 | 6 | - package: github.com/xeipuuv/gojsonpointer 7 | 8 | - package: github.com/xeipuuv/gojsonreference 9 | 10 | testImport: 11 | - package: github.com/stretchr/testify 12 | subpackages: 13 | - assert 14 | -------------------------------------------------------------------------------- /OWNERS: -------------------------------------------------------------------------------- 1 | approvers: 2 | - mheon 3 | - baude 4 | - mrunalp 5 | - rhatdan 6 | - TomSweeneyRedHat 7 | - giuseppe 8 | - vrothberg 9 | - jwhonce 10 | - edsantiago 11 | - Luap99 12 | reviewers: 13 | - mheon 14 | - baude 15 | - mrunalp 16 | - rhatdan 17 | - TomSweeneyRedHat 18 | - giuseppe 19 | - vrothberg 20 | - jwhonce 21 | - edsantiago 22 | - Luap99 23 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/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/godbus/dbus/v5/conn_windows.go: -------------------------------------------------------------------------------- 1 | //+build windows 2 | 3 | package dbus 4 | 5 | import "os" 6 | 7 | const defaultSystemBusAddress = "tcp:host=127.0.0.1,port=12434" 8 | 9 | func getSystemBusPlatformAddress() string { 10 | address := os.Getenv("DBUS_SYSTEM_BUS_ADDRESS") 11 | if address != "" { 12 | return address 13 | } 14 | return defaultSystemBusAddress 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/ptrace_ios.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 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 | //go:build ios 6 | // +build ios 7 | 8 | package unix 9 | 10 | func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) { 11 | return ENOTSUP 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/mouse.go: -------------------------------------------------------------------------------- 1 | /* 2 | * HCS API 3 | * 4 | * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) 5 | * 6 | * API version: 2.1 7 | * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) 8 | */ 9 | 10 | package hcsschema 11 | 12 | type Mouse struct { 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/acarl005/stripansi/stripansi.go: -------------------------------------------------------------------------------- 1 | package stripansi 2 | 3 | import ( 4 | "regexp" 5 | ) 6 | 7 | const ansi = "[\u001B\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\u0007)|(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))" 8 | 9 | var re = regexp.MustCompile(ansi) 10 | 11 | func Strip(str string) string { 12 | return re.ReplaceAllString(str, "") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/drivers/chown_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package graphdriver 4 | 5 | import ( 6 | "os" 7 | "syscall" 8 | 9 | "github.com/containers/storage/pkg/idtools" 10 | ) 11 | 12 | func platformLChown(path string, info os.FileInfo, toHost, toContainer *idtools.IDMappings) error { 13 | return &os.PathError{"lchown", path, syscall.EWINDOWS} 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/interface_stable.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/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/google/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/github.com/modern-go/concurrent/log.go: -------------------------------------------------------------------------------- 1 | package concurrent 2 | 3 | import ( 4 | "os" 5 | "log" 6 | "io/ioutil" 7 | ) 8 | 9 | // ErrorLogger is used to print out error, can be set to writer other than stderr 10 | var ErrorLogger = log.New(os.Stderr, "", 0) 11 | 12 | // InfoLogger is used to print informational message, default to off 13 | var InfoLogger = log.New(ioutil.Discard, "", 0) -------------------------------------------------------------------------------- /vendor/github.com/ulikunitz/xz/.gitignore: -------------------------------------------------------------------------------- 1 | # .gitignore 2 | 3 | TODO.html 4 | README.html 5 | 6 | lzma/writer.txt 7 | lzma/reader.txt 8 | 9 | cmd/gxz/gxz 10 | cmd/xb/xb 11 | 12 | # test executables 13 | *.test 14 | 15 | # profile files 16 | *.out 17 | 18 | # vim swap file 19 | .*.swp 20 | 21 | # executables on windows 22 | *.exe 23 | 24 | # default compression test file 25 | enwik8* 26 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/aliases.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 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.9 7 | 8 | package windows 9 | 10 | import "syscall" 11 | 12 | type Errno = syscall.Errno 13 | type SysProcAttr = syscall.SysProcAttr 14 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/impl/codec_map_go112.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 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.12 6 | 7 | package impl 8 | 9 | import "reflect" 10 | 11 | func mapRange(v reflect.Value) *reflect.MapIter { return v.MapRange() } 12 | -------------------------------------------------------------------------------- /pkg/config/testdata/containers_override.conf: -------------------------------------------------------------------------------- 1 | [containers] 2 | 3 | apparmor_profile = "overridden-default" 4 | log_driver = "journald" 5 | log_tag="{{.Name}}|{{.ID}}" 6 | log_size_max = 100000 7 | 8 | [engine] 9 | image_parallel_copies=10 10 | image_default_format="v2s2" 11 | 12 | [secrets] 13 | driver = "pass" 14 | 15 | [secrets.opts] 16 | key = "foo@bar" 17 | root = "/srv/password-store" 18 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/battery.go: -------------------------------------------------------------------------------- 1 | /* 2 | * HCS API 3 | * 4 | * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) 5 | * 6 | * API version: 2.1 7 | * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) 8 | */ 9 | 10 | package hcsschema 11 | 12 | type Battery struct { 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/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/containers/storage/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/containers/storage/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/spf13/pflag/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | 5 | go: 6 | - 1.9.x 7 | - 1.10.x 8 | - 1.11.x 9 | - tip 10 | 11 | matrix: 12 | allow_failures: 13 | - go: tip 14 | 15 | install: 16 | - go get golang.org/x/lint/golint 17 | - export PATH=$GOPATH/bin:$PATH 18 | - go install ./... 19 | 20 | script: 21 | - verify/all.sh -v 22 | - go test ./... 23 | -------------------------------------------------------------------------------- /pkg/report/validate.go: -------------------------------------------------------------------------------- 1 | package report 2 | 3 | import "regexp" 4 | 5 | var jsonRegex = regexp.MustCompile(`^\s*(json|{{\s*json\s*(\.)?\s*}})\s*$`) 6 | 7 | // JSONFormat test CLI --format string to be a JSON request 8 | // if report.IsJSON(cmd.Flag("format").Value.String()) { 9 | // ... process JSON and output 10 | // } 11 | func IsJSON(s string) bool { 12 | return jsonRegex.MatchString(s) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/keyboard.go: -------------------------------------------------------------------------------- 1 | /* 2 | * HCS API 3 | * 4 | * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) 5 | * 6 | * API version: 2.1 7 | * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) 8 | */ 9 | 10 | package hcsschema 11 | 12 | type Keyboard struct { 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/pkg/chrootarchive/chroot_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows,!linux 2 | 3 | package chrootarchive 4 | 5 | import "golang.org/x/sys/unix" 6 | 7 | func realChroot(path string) error { 8 | if err := unix.Chroot(path); err != nil { 9 | return err 10 | } 11 | return unix.Chdir("/") 12 | } 13 | 14 | func chroot(path string) error { 15 | return realChroot(path) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/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/containers/storage/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/containers/storage/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/containers/storage/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/imdario/mergo/go.sum: -------------------------------------------------------------------------------- 1 | gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= 2 | gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 3 | gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU= 4 | gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 5 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/empty.s: -------------------------------------------------------------------------------- 1 | // Copyright 2019 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 | //go:build !go1.12 6 | // +build !go1.12 7 | 8 | // This file is here to allow bodyless functions with go:linkname for Go 1.11 9 | // and earlier (see https://golang.org/issue/23311). 10 | -------------------------------------------------------------------------------- /pkg/config/testdata/containers_broken.conf: -------------------------------------------------------------------------------- 1 | foo="bar" 2 | [containers] 3 | 4 | #Umask inside the container 5 | umask="0002" 6 | 7 | # default network mode 8 | netns="bridge" 9 | 10 | # Default transport method for pulling and pushing for images 11 | image_default_transport = "docker://" 12 | 13 | [engine] 14 | 15 | # Cgroup management implementation used for the runtime. 16 | cgroup_manager = "systemd" 17 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/common.go: -------------------------------------------------------------------------------- 1 | package api // import "github.com/docker/docker/api" 2 | 3 | // Common constants for daemon and client. 4 | const ( 5 | // DefaultVersion of Current REST API 6 | DefaultVersion = "1.41" 7 | 8 | // NoBaseImageSpecifier is the symbol used by the FROM 9 | // command to specify that no base image is to be used. 10 | NoBaseImageSpecifier = "scratch" 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_safe.go: -------------------------------------------------------------------------------- 1 | package xxhash 2 | 3 | // Sum64String computes the 64-bit xxHash digest of s. 4 | func Sum64String(s string) uint64 { 5 | return Sum64([]byte(s)) 6 | } 7 | 8 | // WriteString adds more data to d. It always returns len(s), nil. 9 | func (d *Digest) WriteString(s string) (n int, err error) { 10 | return d.Write([]byte(s)) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/go.mozilla.org/pkcs7/Makefile: -------------------------------------------------------------------------------- 1 | all: vet staticcheck test 2 | 3 | test: 4 | go test -covermode=count -coverprofile=coverage.out . 5 | 6 | showcoverage: test 7 | go tool cover -html=coverage.out 8 | 9 | vet: 10 | go vet . 11 | 12 | lint: 13 | golint . 14 | 15 | staticcheck: 16 | staticcheck . 17 | 18 | gettools: 19 | go get -u honnef.co/go/tools/... 20 | go get -u golang.org/x/lint/golint 21 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/errors/is_go113.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 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.13 6 | 7 | package errors 8 | 9 | import "errors" 10 | 11 | // Is is errors.Is. 12 | func Is(err, target error) bool { return errors.Is(err, target) } 13 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/drivers/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/containers/storage/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/fsnotify/fsnotify/open_mode_bsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build freebsd openbsd netbsd dragonfly 6 | 7 | package fsnotify 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | const openMode = unix.O_NONBLOCK | unix.O_RDONLY | unix.O_CLOEXEC 12 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list github.com/modern-go/reflect2-tests/... | grep -v vendor); do 7 | go test -coverprofile=profile.out -coverpkg=github.com/modern-go/reflect2 $d 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runtime-tools/filepath/doc.go: -------------------------------------------------------------------------------- 1 | // Package filepath implements Go's filepath package with explicit 2 | // operating systems (and for some functions and explicit working 3 | // directory). This allows tools built for one OS to operate on paths 4 | // targeting another OS. For example, a Linux build can determine 5 | // whether a path is absolute on Linux or on Windows. 6 | package filepath 7 | -------------------------------------------------------------------------------- /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/go.mozilla.org/pkcs7/.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 | -------------------------------------------------------------------------------- /pkg/chown/chown_windows.go: -------------------------------------------------------------------------------- 1 | package chown 2 | 3 | import ( 4 | "github.com/pkg/errors" 5 | ) 6 | 7 | // ChangeHostPathOwnership changes the uid and gid ownership of a directory or file within the host. 8 | // This is used by the volume U flag to change source volumes ownership 9 | func ChangeHostPathOwnership(path string, recursive bool, uid, gid int) error { 10 | return errors.New("windows not supported") 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/winapi/process.go: -------------------------------------------------------------------------------- 1 | package winapi 2 | 3 | const PROCESS_ALL_ACCESS uint32 = 2097151 4 | 5 | // DWORD GetProcessImageFileNameW( 6 | // HANDLE hProcess, 7 | // LPWSTR lpImageFileName, 8 | // DWORD nSize 9 | // ); 10 | //sys GetProcessImageFileName(hProcess windows.Handle, imageFileName *uint16, nSize uint32) (size uint32, err error) = kernel32.GetProcessImageFileNameW 11 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/lockfile_compat.go: -------------------------------------------------------------------------------- 1 | package storage 2 | 3 | import ( 4 | "github.com/containers/storage/pkg/lockfile" 5 | ) 6 | 7 | type Locker = lockfile.Locker 8 | 9 | func GetLockfile(path string) (lockfile.Locker, error) { 10 | return lockfile.GetLockfile(path) 11 | } 12 | 13 | func GetROLockfile(path string) (lockfile.Locker, error) { 14 | return lockfile.GetROLockfile(path) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/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/docker/docker/client/client_unix.go: -------------------------------------------------------------------------------- 1 | // +build linux freebsd openbsd netbsd darwin solaris illumos dragonfly 2 | 3 | package client // import "github.com/docker/docker/client" 4 | 5 | // DefaultDockerHost defines os specific default if DOCKER_HOST is unset 6 | const DefaultDockerHost = "unix:///var/run/docker.sock" 7 | 8 | const defaultProto = "unix" 9 | const defaultAddr = "/var/run/docker.sock" 10 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/pgzip/.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/miekg/pkcs11/release.go: -------------------------------------------------------------------------------- 1 | // +build release 2 | 3 | package pkcs11 4 | 5 | import "fmt" 6 | 7 | // Release is current version of the pkcs11 library. 8 | var Release = R{1, 0, 3} 9 | 10 | // R holds the version of this library. 11 | type R struct { 12 | Major, Minor, Patch int 13 | } 14 | 15 | func (r R) String() string { 16 | return fmt.Sprintf("%d.%d.%d", r.Major, r.Minor, r.Patch) 17 | } 18 | -------------------------------------------------------------------------------- /pkg/umask/umask_unix.go: -------------------------------------------------------------------------------- 1 | // +build linux darwin 2 | 3 | package umask 4 | 5 | import ( 6 | "syscall" 7 | 8 | "github.com/sirupsen/logrus" 9 | ) 10 | 11 | func Check() { 12 | oldUmask := syscall.Umask(0022) //nolint 13 | if (oldUmask & ^0022) != 0 { 14 | logrus.Debugf("umask value too restrictive. Forcing it to 022") 15 | } 16 | } 17 | 18 | func Set(value int) int { 19 | return syscall.Umask(value) 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/open_mode_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin 6 | 7 | package fsnotify 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | // note: this constant is not defined on BSD 12 | const openMode = unix.O_EVTONLY | unix.O_CLOEXEC 13 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/remote/output_interceptor.go: -------------------------------------------------------------------------------- 1 | package remote 2 | 3 | import "os" 4 | 5 | /* 6 | The OutputInterceptor is used by the ForwardingReporter to 7 | intercept and capture all stdin and stderr output during a test run. 8 | */ 9 | type OutputInterceptor interface { 10 | StartInterceptingOutput() error 11 | StopInterceptingAndReturnOutput() (string, error) 12 | StreamTo(*os.File) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/selinux/go-selinux/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package selinux provides a high-level interface for interacting with selinux. 3 | 4 | Usage: 5 | 6 | import "github.com/opencontainers/selinux/go-selinux" 7 | 8 | // Ensure that selinux is enforcing mode. 9 | if selinux.EnforceMode() != selinux.Enforcing { 10 | selinux.SetEnforceMode(selinux.Enforcing) 11 | } 12 | 13 | */ 14 | package selinux 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 | //go:build amd64 && linux && gc 6 | // +build amd64,linux,gc 7 | 8 | package unix 9 | 10 | import "syscall" 11 | 12 | //go:noescape 13 | func gettimeofday(tv *Timeval) (err syscall.Errno) 14 | -------------------------------------------------------------------------------- /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 | // +build generate 6 | 7 | package windows 8 | 9 | //go:generate go run golang.org/x/sys/windows/mkwinsyscall -output zsyscall_windows.go eventlog.go service.go syscall_windows.go security_windows.go 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/term/term_unix_bsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin dragonfly freebsd netbsd openbsd 6 | 7 | package term 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | const ioctlReadTermios = unix.TIOCGETA 12 | const ioctlWriteTermios = unix.TIOCSETA 13 | -------------------------------------------------------------------------------- /vendor/github.com/godbus/dbus/v5/conn_unix.go: -------------------------------------------------------------------------------- 1 | //+build !windows,!solaris,!darwin 2 | 3 | package dbus 4 | 5 | import ( 6 | "os" 7 | ) 8 | 9 | const defaultSystemBusAddress = "unix:path=/var/run/dbus/system_bus_socket" 10 | 11 | func getSystemBusPlatformAddress() string { 12 | address := os.Getenv("DBUS_SYSTEM_BUS_ADDRESS") 13 | if address != "" { 14 | return address 15 | } 16 | return defaultSystemBusAddress 17 | } 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/ptrace_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 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 | //go:build darwin && !ios 6 | // +build darwin,!ios 7 | 8 | package unix 9 | 10 | func ptrace(request int, pid int, addr uintptr, data uintptr) error { 11 | return ptrace1(request, pid, addr, data) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/winapi/winapi.go: -------------------------------------------------------------------------------- 1 | // Package winapi contains various low-level bindings to Windows APIs. It can 2 | // be thought of as an extension to golang.org/x/sys/windows. 3 | package winapi 4 | 5 | //go:generate go run ..\..\mksyscall_windows.go -output zsyscall_windows.go system.go net.go path.go thread.go iocp.go jobobject.go logon.go memory.go process.go processor.go devices.go filesystem.go errors.go 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/metrics/prometheus.go: -------------------------------------------------------------------------------- 1 | package metrics 2 | 3 | import "github.com/docker/go-metrics" 4 | 5 | const ( 6 | // NamespacePrefix is the namespace of prometheus metrics 7 | NamespacePrefix = "registry" 8 | ) 9 | 10 | var ( 11 | // StorageNamespace is the prometheus namespace of blob/cache related operations 12 | StorageNamespace = metrics.NewNamespace(NamespacePrefix, "storage", nil) 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/plugin_set.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "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/golang.org/x/text/encoding/japanese/all.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 japanese 6 | 7 | import ( 8 | "golang.org/x/text/encoding" 9 | ) 10 | 11 | // All is a list of all defined encodings in this package. 12 | var All = []encoding.Encoding{EUCJP, ISO2022JP, ShiftJIS} 13 | -------------------------------------------------------------------------------- /libimage/testdata/registries.conf: -------------------------------------------------------------------------------- 1 | unqualified-search-registries=["docker.io", "quay.io"] 2 | 3 | #[[registry]] 4 | # In Nov. 2020, Docker rate-limits image pulling. To avoid hitting these 5 | # limits while testing, always use the google mirror for qualified and 6 | # unqualified `docker.io` images. 7 | # Ref: https://cloud.google.com/container-registry/docs/pulling-cached-images 8 | prefix="docker.io" 9 | location="mirror.gcr.io" 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/error_response.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | // This file was generated by the swagger tool. 4 | // Editing this file might prove futile when you re-run the swagger generate command 5 | 6 | // ErrorResponse Represents an error. 7 | // swagger:model ErrorResponse 8 | type ErrorResponse struct { 9 | 10 | // The error message. 11 | // Required: true 12 | Message string `json:"message"` 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/ostreedev/ostree-go/pkg/glibobject/glibobject.go.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | static char * 4 | _g_error_get_message (GError *error) 5 | { 6 | g_assert (error != NULL); 7 | return error->message; 8 | } 9 | 10 | static const char * 11 | _g_variant_lookup_string (GVariant *v, const char *key) 12 | { 13 | const char *r; 14 | if (g_variant_lookup (v, key, "&s", &r)) 15 | return r; 16 | return NULL; 17 | } 18 | -------------------------------------------------------------------------------- /libimage/manifests/copy.go: -------------------------------------------------------------------------------- 1 | package manifests 2 | 3 | import ( 4 | "github.com/containers/image/v5/signature" 5 | ) 6 | 7 | var ( 8 | // storageAllowedPolicyScopes overrides the policy for local storage 9 | // to ensure that we can read images from it. 10 | storageAllowedPolicyScopes = signature.PolicyTransportScopes{ 11 | "": []signature.PolicyRequirement{ 12 | signature.NewPRInsecureAcceptAnything(), 13 | }, 14 | } 15 | ) 16 | -------------------------------------------------------------------------------- /pkg/config/default_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package config 4 | 5 | // isCgroup2UnifiedMode returns whether we are running in cgroup2 mode. 6 | func isCgroup2UnifiedMode() (isUnified bool, isUnifiedErr error) { 7 | return false, nil 8 | } 9 | 10 | // getDefaultProcessLimits returns the nofile and nproc for the current process in ulimits format 11 | func getDefaultProcessLimits() []string { 12 | return []string{} 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/bits-and-blooms/bitset/.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 | 26 | target 27 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/drivers/driver_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!windows,!freebsd,!solaris 2 | 3 | package graphdriver 4 | 5 | var ( 6 | // Slice of drivers that should be used in an order 7 | priority = []string{ 8 | "unsupported", 9 | } 10 | ) 11 | 12 | // GetFSMagic returns the filesystem id given the path. 13 | func GetFSMagic(rootpath string) (FsMagic, error) { 14 | return FsMagicUnsupported, nil 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/drivers/driver_windows.go: -------------------------------------------------------------------------------- 1 | package graphdriver 2 | 3 | var ( 4 | // Slice of drivers that should be used in order 5 | priority = []string{ 6 | "windowsfilter", 7 | } 8 | ) 9 | 10 | // GetFSMagic returns the filesystem id given the path. 11 | func GetFSMagic(rootpath string) (FsMagic, error) { 12 | // Note it is OK to return FsMagicUnsupported on Windows. 13 | return FsMagicUnsupported, nil 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/pkg/system/lchown.go: -------------------------------------------------------------------------------- 1 | package system 2 | 3 | import ( 4 | "os" 5 | "syscall" 6 | ) 7 | 8 | func Lchown(name string, uid, gid int) error { 9 | err := syscall.Lchown(name, uid, gid) 10 | 11 | for err == syscall.EINTR { 12 | err = syscall.Lchown(name, uid, gid) 13 | } 14 | 15 | if err != nil { 16 | return &os.PathError{Op: "lchown", Path: name, Err: err} 17 | } 18 | 19 | return nil 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/cyphar/filepath-securejoin/.travis.yml: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2017 SUSE LLC. 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 | language: go 6 | go: 7 | - 1.7.x 8 | - 1.8.x 9 | - tip 10 | 11 | os: 12 | - linux 13 | - osx 14 | 15 | script: 16 | - go test -cover -v ./... 17 | 18 | notifications: 19 | email: false 20 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/pgzip/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | os: 4 | - linux 5 | - osx 6 | 7 | go: 8 | - 1.13.x 9 | - 1.14.x 10 | - 1.15.x 11 | - master 12 | 13 | env: 14 | - GO111MODULE=off 15 | 16 | script: 17 | - diff <(gofmt -d .) <(printf "") 18 | - go test -v -cpu=1,2,4 . 19 | - go test -v -cpu=2 -race -short . 20 | 21 | matrix: 22 | allow_failures: 23 | - go: 'master' 24 | fast_finish: true 25 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/leafnodes/interfaces.go: -------------------------------------------------------------------------------- 1 | package leafnodes 2 | 3 | import ( 4 | "github.com/onsi/ginkgo/types" 5 | ) 6 | 7 | type BasicNode interface { 8 | Type() types.SpecComponentType 9 | Run() (types.SpecState, types.SpecFailure) 10 | CodeLocation() types.CodeLocation 11 | } 12 | 13 | type SubjectNode interface { 14 | BasicNode 15 | 16 | Text() string 17 | Flag() types.FlagType 18 | Samples() int 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_os.go: -------------------------------------------------------------------------------- 1 | /* 2 | * HCS API 3 | * 4 | * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) 5 | * 6 | * API version: 2.1 7 | * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) 8 | */ 9 | 10 | package hcsschema 11 | 12 | type GuestOs struct { 13 | HostName string `json:"HostName,omitempty"` 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory.go: -------------------------------------------------------------------------------- 1 | /* 2 | * HCS API 3 | * 4 | * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) 5 | * 6 | * API version: 2.1 7 | * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) 8 | */ 9 | 10 | package hcsschema 11 | 12 | type Memory struct { 13 | SizeInMB uint64 `json:"SizeInMB,omitempty"` 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/plan9.go: -------------------------------------------------------------------------------- 1 | /* 2 | * HCS API 3 | * 4 | * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) 5 | * 6 | * API version: 2.1 7 | * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) 8 | */ 9 | 10 | package hcsschema 11 | 12 | type Plan9 struct { 13 | Shares []Plan9Share `json:"Shares,omitempty"` 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/swarm_join.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | 6 | "github.com/docker/docker/api/types/swarm" 7 | ) 8 | 9 | // SwarmJoin joins the swarm. 10 | func (cli *Client) SwarmJoin(ctx context.Context, req swarm.JoinRequest) error { 11 | resp, err := cli.post(ctx, "/swarm/join", nil, req, nil) 12 | ensureReaderClosed(resp) 13 | return err 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/.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 | /s2/cmd/_s2sx/sfx-exe 26 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runtime-tools/validate/validate_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package validate 4 | 5 | import ( 6 | "github.com/syndtr/gocapability/capability" 7 | ) 8 | 9 | // LastCap return last cap of system 10 | func LastCap() capability.Cap { 11 | return capability.Cap(-1) 12 | } 13 | 14 | // CheckLinux is a noop on this platform 15 | func (v *Validator) CheckLinux() (errs error) { 16 | return nil 17 | } 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/simplifiedchinese/all.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 simplifiedchinese 6 | 7 | import ( 8 | "golang.org/x/text/encoding" 9 | ) 10 | 11 | // All is a list of all defined encodings in this package. 12 | var All = []encoding.Encoding{GB18030, GBK, HZGB2312} 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/secure/bidirule/bidirule10.0.0.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 | //go:build go1.10 6 | // +build go1.10 7 | 8 | package bidirule 9 | 10 | func (t *Transformer) isFinal() bool { 11 | return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial 12 | } 13 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/runtime/protoiface/legacy.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 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 protoiface 6 | 7 | type MessageV1 interface { 8 | Reset() 9 | String() string 10 | ProtoMessage() 11 | } 12 | 13 | type ExtensionRangeV1 struct { 14 | Start, End int32 // both inclusive 15 | } 16 | -------------------------------------------------------------------------------- /vendor/gopkg.in/square/go-jose.v2/BUG-BOUNTY.md: -------------------------------------------------------------------------------- 1 | Serious about security 2 | ====================== 3 | 4 | Square recognizes the important contributions the security research community 5 | can make. We therefore encourage reporting security issues with the code 6 | contained in this repository. 7 | 8 | If you believe you have discovered a security vulnerability, please follow the 9 | guidelines at . 10 | 11 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/close_handle.go: -------------------------------------------------------------------------------- 1 | /* 2 | * HCS API 3 | * 4 | * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) 5 | * 6 | * API version: 2.1 7 | * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) 8 | */ 9 | 10 | package hcsschema 11 | 12 | type CloseHandle struct { 13 | Handle string `json:"Handle,omitempty"` 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/container_unpause.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import "context" 4 | 5 | // ContainerUnpause resumes the process execution within a container 6 | func (cli *Client) ContainerUnpause(ctx context.Context, containerID string) error { 7 | resp, err := cli.post(ctx, "/containers/"+containerID+"/unpause", nil, nil, nil) 8 | ensureReaderClosed(resp) 9 | return err 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/service_remove.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import "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 | defer ensureReaderClosed(resp) 9 | return wrapResponseError(err, resp, "service", serviceID) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/onsi/ginkgo 2 | 3 | go 1.15 4 | 5 | require ( 6 | github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 7 | github.com/nxadm/tail v1.4.8 8 | github.com/onsi/gomega v1.10.1 9 | golang.org/x/sys v0.0.0-20210112080510-489259a85091 10 | golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e 11 | ) 12 | 13 | retract v1.16.3 // git tag accidentally associated with incorrect git commit 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/internal/language/common.go: -------------------------------------------------------------------------------- 1 | // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT. 2 | 3 | package language 4 | 5 | // This file contains code common to the maketables.go and the package code. 6 | 7 | // AliasType is the type of an alias in AliasMap. 8 | type AliasType int8 9 | 10 | const ( 11 | Deprecated AliasType = iota 12 | Macro 13 | Legacy 14 | 15 | AliasTypeUnknown AliasType = -1 16 | ) 17 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/pkg/unshare/getenv_linux_cgo.go: -------------------------------------------------------------------------------- 1 | // +build linux,cgo 2 | 3 | package unshare 4 | 5 | import ( 6 | "unsafe" 7 | ) 8 | 9 | /* 10 | #cgo remoteclient CFLAGS: -Wall -Werror 11 | #include 12 | */ 13 | import "C" 14 | 15 | func getenv(name string) string { 16 | cName := C.CString(name) 17 | defer C.free(unsafe.Pointer(cName)) 18 | 19 | value := C.GoString(C.getenv(cName)) 20 | 21 | return value 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/id_response.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | // This file was generated by the swagger tool. 4 | // Editing this file might prove futile when you re-run the swagger generate command 5 | 6 | // IDResponse Response to an API call that returns just an Id 7 | // swagger:model IdResponse 8 | type IDResponse struct { 9 | 10 | // The id of the newly created object. 11 | // Required: true 12 | ID string `json:"Id"` 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/service_update_response.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | // This file was generated by the swagger tool. 4 | // Editing this file might prove futile when you re-run the swagger generate command 5 | 6 | // ServiceUpdateResponse service update response 7 | // swagger:model ServiceUpdateResponse 8 | type ServiceUpdateResponse struct { 9 | 10 | // Optional warning messages 11 | Warnings []string `json:"Warnings"` 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/time/duration_convert.go: -------------------------------------------------------------------------------- 1 | package time // import "github.com/docker/docker/api/types/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/juju/ansiterm/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright 2016 Canonical Ltd. 2 | # Licensed under the LGPLv3, see LICENCE file for details. 3 | 4 | default: check 5 | 6 | check: 7 | go test 8 | 9 | docs: 10 | godoc2md github.com/juju/ansiterm > README.md 11 | sed -i 's|\[godoc-link-here\]|[![GoDoc](https://godoc.org/github.com/juju/ansiterm?status.svg)](https://godoc.org/github.com/juju/ansiterm)|' README.md 12 | 13 | 14 | .PHONY: default check docs 15 | -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- 1 | PREFIX := /usr/local 2 | DATADIR := ${PREFIX}/share 3 | MANDIR := $(DATADIR)/man 4 | GOMD2MAN ?= $(shell command -v go-md2man || echo '$(GOBIN)/go-md2man') 5 | 6 | docs: $(patsubst %.md,%,$(wildcard *.md)) 7 | 8 | %.5: %.5.md 9 | $(GOMD2MAN) -in $^ -out $@ 10 | 11 | .PHONY: install 12 | install: 13 | install -d ${DESTDIR}/${MANDIR}/man5 14 | install -m 0644 *.5 ${DESTDIR}/${MANDIR}/man5 15 | 16 | .PHONY: clean 17 | clean: 18 | $(RM) *.5 19 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/container_pause.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import "context" 4 | 5 | // ContainerPause pauses the main process of a given container without terminating it. 6 | func (cli *Client) ContainerPause(ctx context.Context, containerID string) error { 7 | resp, err := cli.post(ctx, "/containers/"+containerID+"/pause", nil, nil, nil) 8 | ensureReaderClosed(resp) 9 | return err 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/winapi/path.go: -------------------------------------------------------------------------------- 1 | package winapi 2 | 3 | // DWORD SearchPathW( 4 | // LPCWSTR lpPath, 5 | // LPCWSTR lpFileName, 6 | // LPCWSTR lpExtension, 7 | // DWORD nBufferLength, 8 | // LPWSTR lpBuffer, 9 | // LPWSTR *lpFilePart 10 | // ); 11 | //sys SearchPath(lpPath *uint16, lpFileName *uint16, lpExtension *uint16, nBufferLength uint32, lpBuffer *uint16, lpFilePath *uint16) (size uint32, err error) = kernel32.SearchPathW 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/swagger-gen.yaml: -------------------------------------------------------------------------------- 1 | 2 | layout: 3 | models: 4 | - name: definition 5 | source: asset:model 6 | target: "{{ joinFilePath .Target .ModelPackage }}" 7 | file_name: "{{ (snakize (pascalize .Name)) }}.go" 8 | operations: 9 | - name: handler 10 | source: asset:serverOperation 11 | target: "{{ joinFilePath .Target .APIPackage .Package }}" 12 | file_name: "{{ (snakize (pascalize .Name)) }}.go" 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/swarm_unlock.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | 6 | "github.com/docker/docker/api/types/swarm" 7 | ) 8 | 9 | // SwarmUnlock unlocks locked swarm. 10 | func (cli *Client) SwarmUnlock(ctx context.Context, req swarm.UnlockRequest) error { 11 | serverResp, err := cli.post(ctx, "/swarm/unlock", nil, req, nil) 12 | ensureReaderClosed(serverResp) 13 | return err 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/golang/snappy/.gitignore: -------------------------------------------------------------------------------- 1 | cmd/snappytool/snappytool 2 | testdata/bench 3 | 4 | # These explicitly listed benchmark data files are for an obsolete version of 5 | # snappy_test.go. 6 | testdata/alice29.txt 7 | testdata/asyoulik.txt 8 | testdata/fireworks.jpeg 9 | testdata/geo.protodata 10 | testdata/html 11 | testdata/html_x_4 12 | testdata/kppkn.gtb 13 | testdata/lcet10.txt 14 | testdata/paper-100k.pdf 15 | testdata/plrabn12.txt 16 | testdata/urls.10K 17 | -------------------------------------------------------------------------------- /vendor/github.com/golang/snappy/decode_asm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Snappy-Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !appengine 6 | // +build gc 7 | // +build !noasm 8 | // +build amd64 arm64 9 | 10 | package snappy 11 | 12 | // decode has the same semantics as in decode_other.go. 13 | // 14 | //go:noescape 15 | func decode(dst, src []byte) int 16 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | set -x 4 | 5 | if [ ! -d /tmp/build-golang/src/github.com/json-iterator ]; then 6 | mkdir -p /tmp/build-golang/src/github.com/json-iterator 7 | ln -s $PWD /tmp/build-golang/src/github.com/json-iterator/go 8 | fi 9 | export GOPATH=/tmp/build-golang 10 | go get -u github.com/golang/dep/cmd/dep 11 | cd /tmp/build-golang/src/github.com/json-iterator/go 12 | exec $GOPATH/bin/dep ensure -update 13 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/pkg/unshare/unshare_unsupported_cgo.go: -------------------------------------------------------------------------------- 1 | // +build !linux,cgo 2 | 3 | package unshare 4 | 5 | // Go refuses to compile a subpackage with CGO_ENABLED=1 if there is a *.c file but no 'import "C"'. 6 | // OTOH if we did have an 'import "C"', the Linux-only code would fail to compile. 7 | // So, satisfy the Go compiler by using import "C" but #ifdef-ing out all of the code. 8 | 9 | // #cgo CPPFLAGS: -DUNSHARE_NO_CODE_AT_ALL 10 | import "C" 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/network_remove.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import "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 | defer ensureReaderClosed(resp) 9 | return wrapResponseError(err, resp, "network", networkID) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/attributes_slice.go: -------------------------------------------------------------------------------- 1 | package matchers 2 | 3 | import ( 4 | "encoding/xml" 5 | "strings" 6 | ) 7 | 8 | type attributesSlice []xml.Attr 9 | 10 | func (attrs attributesSlice) Len() int { return len(attrs) } 11 | func (attrs attributesSlice) Less(i, j int) bool { 12 | return strings.Compare(attrs[i].Name.Local, attrs[j].Name.Local) == -1 13 | } 14 | func (attrs attributesSlice) Swap(i, j int) { attrs[i], attrs[j] = attrs[j], attrs[i] } 15 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runtime-tools/generate/seccomp/seccomp_default_linux.go: -------------------------------------------------------------------------------- 1 | // +build linux 2 | 3 | package seccomp 4 | 5 | import "syscall" 6 | 7 | // System values passed through on linux 8 | const ( 9 | CloneNewIPC = syscall.CLONE_NEWIPC 10 | CloneNewNet = syscall.CLONE_NEWNET 11 | CloneNewNS = syscall.CLONE_NEWNS 12 | CloneNewPID = syscall.CLONE_NEWPID 13 | CloneNewUser = syscall.CLONE_NEWUSER 14 | CloneNewUTS = syscall.CLONE_NEWUTS 15 | ) 16 | -------------------------------------------------------------------------------- /pkg/config/config_darwin.go: -------------------------------------------------------------------------------- 1 | package config 2 | 3 | import ( 4 | "os" 5 | ) 6 | 7 | // podman remote clients on darwin cannot use unshare.isRootless() to determine the configuration file locations. 8 | func customConfigFile() (string, error) { 9 | if path, found := os.LookupEnv("CONTAINERS_CONF"); found { 10 | return path, nil 11 | } 12 | return rootlessConfigPath() 13 | } 14 | 15 | func ifRootlessConfigPath() (string, error) { 16 | return rootlessConfigPath() 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/drivers/chroot_windows.go: -------------------------------------------------------------------------------- 1 | package graphdriver 2 | 3 | import ( 4 | "fmt" 5 | "syscall" 6 | ) 7 | 8 | // chrootOrChdir() is either a chdir() to the specified path, or a chroot() to the 9 | // specified path followed by chdir() to the new root directory 10 | func chrootOrChdir(path string) error { 11 | if err := syscall.Chdir(path); err != nil { 12 | return fmt.Errorf("error changing to %q: %v", path, err) 13 | } 14 | return nil 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/winapi/errors.go: -------------------------------------------------------------------------------- 1 | package winapi 2 | 3 | import "syscall" 4 | 5 | //sys RtlNtStatusToDosError(status uint32) (winerr error) = ntdll.RtlNtStatusToDosError 6 | 7 | const ( 8 | STATUS_REPARSE_POINT_ENCOUNTERED = 0xC000050B 9 | ERROR_NO_MORE_ITEMS = 0x103 10 | ERROR_MORE_DATA syscall.Errno = 234 11 | ) 12 | 13 | func NTSuccess(status uint32) bool { 14 | return status == 0 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/blang/semver/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": "blang", 3 | "bugs": { 4 | "URL": "https://github.com/blang/semver/issues", 5 | "url": "https://github.com/blang/semver/issues" 6 | }, 7 | "gx": { 8 | "dvcsimport": "github.com/blang/semver" 9 | }, 10 | "gxVersion": "0.10.0", 11 | "language": "go", 12 | "license": "MIT", 13 | "name": "semver", 14 | "releaseCmd": "git commit -a -m \"gx publish $VERSION\"", 15 | "version": "3.5.1" 16 | } 17 | 18 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/swarm_leave.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | "net/url" 6 | ) 7 | 8 | // SwarmLeave leaves the swarm. 9 | func (cli *Client) SwarmLeave(ctx context.Context, force bool) error { 10 | query := url.Values{} 11 | if force { 12 | query.Set("force", "1") 13 | } 14 | resp, err := cli.post(ctx, "/swarm/leave", query, nil, nil) 15 | ensureReaderClosed(resp) 16 | return err 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/transport.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "crypto/tls" 5 | "net/http" 6 | ) 7 | 8 | // resolveTLSConfig attempts to resolve the TLS configuration from the 9 | // RoundTripper. 10 | func resolveTLSConfig(transport http.RoundTripper) *tls.Config { 11 | switch tr := transport.(type) { 12 | case *http.Transport: 13 | return tr.TLSClientConfig 14 | default: 15 | return nil 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/mistifyio/go-zfs/error.go: -------------------------------------------------------------------------------- 1 | package zfs 2 | 3 | import ( 4 | "fmt" 5 | ) 6 | 7 | // Error is an error which is returned when the `zfs` or `zpool` shell 8 | // commands return with a non-zero exit code. 9 | type Error struct { 10 | Err error 11 | Debug string 12 | Stderr string 13 | } 14 | 15 | // Error returns the string representation of an Error. 16 | func (e Error) Error() string { 17 | return fmt.Sprintf("%s: %q => %s", e.Err, e.Debug, e.Stderr) 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/stefanberger/go-pkcs11uri/.travis.yml: -------------------------------------------------------------------------------- 1 | dist: bionic 2 | language: go 3 | 4 | os: 5 | - linux 6 | 7 | go: 8 | - "1.13.x" 9 | 10 | matrix: 11 | include: 12 | - os: linux 13 | 14 | addons: 15 | apt: 16 | packages: 17 | - softhsm2 18 | 19 | install: 20 | - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.30.0 21 | 22 | script: 23 | - make 24 | - make check 25 | - make test 26 | -------------------------------------------------------------------------------- /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 | //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos 6 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos 7 | 8 | package unix 9 | 10 | const ( 11 | R_OK = 0x4 12 | W_OK = 0x2 13 | X_OK = 0x1 14 | ) 15 | -------------------------------------------------------------------------------- /pkg/config/nosystemd.go: -------------------------------------------------------------------------------- 1 | // +build !systemd !cgo 2 | 3 | package config 4 | 5 | const ( 6 | // DefaultLogDriver is the default type of log files 7 | DefaultLogDriver = "k8s-file" 8 | ) 9 | 10 | func defaultCgroupManager() string { 11 | return CgroupfsCgroupsManager 12 | } 13 | 14 | func defaultEventsLogger() string { 15 | return "file" 16 | } 17 | 18 | func defaultLogDriver() string { 19 | return DefaultLogDriver 20 | } 21 | 22 | func useSystemd() bool { 23 | return false 24 | } 25 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/version.go: -------------------------------------------------------------------------------- 1 | /* 2 | * HCS API 3 | * 4 | * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) 5 | * 6 | * API version: 2.1 7 | * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) 8 | */ 9 | 10 | package hcsschema 11 | 12 | type Version struct { 13 | Major int32 `json:"Major,omitempty"` 14 | 15 | Minor int32 `json:"Minor,omitempty"` 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/common_windows.go: -------------------------------------------------------------------------------- 1 | package api // import "github.com/docker/docker/api" 2 | 3 | // MinVersion represents Minimum REST API version supported 4 | // Technically the first daemon API version released on Windows is v1.25 in 5 | // engine version 1.13. However, some clients are explicitly using downlevel 6 | // APIs (e.g. docker-compose v2.1 file format) and that is just too restrictive. 7 | // Hence also allowing 1.24 on Windows. 8 | const MinVersion string = "1.24" 9 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 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 | // Package uuid generates and inspects UUIDs. 6 | // 7 | // UUIDs are based on RFC 4122 and DCE 1.1: Authentication and Security 8 | // Services. 9 | // 10 | // A UUID is a 16 byte (128 bit) array. UUIDs may be used as keys to 11 | // maps or compared directly. 12 | package uuid 13 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/global/init.go: -------------------------------------------------------------------------------- 1 | package global 2 | 3 | import ( 4 | "time" 5 | 6 | "github.com/onsi/ginkgo/internal/failer" 7 | "github.com/onsi/ginkgo/internal/suite" 8 | ) 9 | 10 | const DefaultTimeout = time.Duration(1 * time.Second) 11 | 12 | var Suite *suite.Suite 13 | var Failer *failer.Failer 14 | 15 | func init() { 16 | InitializeGlobals() 17 | } 18 | 19 | func InitializeGlobals() { 20 | Failer = failer.New() 21 | Suite = suite.New(Failer) 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/shared_memory_configuration.go: -------------------------------------------------------------------------------- 1 | /* 2 | * HCS API 3 | * 4 | * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) 5 | * 6 | * API version: 2.1 7 | * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) 8 | */ 9 | 10 | package hcsschema 11 | 12 | type SharedMemoryConfiguration struct { 13 | Regions []SharedMemoryRegion `json:"Regions,omitempty"` 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/go-metrics/register.go: -------------------------------------------------------------------------------- 1 | package metrics 2 | 3 | import "github.com/prometheus/client_golang/prometheus" 4 | 5 | // Register adds all the metrics in the provided namespace to the global 6 | // metrics registry 7 | func Register(n *Namespace) { 8 | prometheus.MustRegister(n) 9 | } 10 | 11 | // Deregister removes all the metrics in the provided namespace from the 12 | // global metrics registry 13 | func Deregister(n *Namespace) { 14 | prometheus.Unregister(n) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/godbus/dbus/v5/homedir.go: -------------------------------------------------------------------------------- 1 | package dbus 2 | 3 | import ( 4 | "os" 5 | "sync" 6 | ) 7 | 8 | var ( 9 | homeDir string 10 | homeDirLock sync.Mutex 11 | ) 12 | 13 | func getHomeDir() string { 14 | homeDirLock.Lock() 15 | defer homeDirLock.Unlock() 16 | 17 | if homeDir != "" { 18 | return homeDir 19 | } 20 | 21 | homeDir = os.Getenv("HOME") 22 | if homeDir != "" { 23 | return homeDir 24 | } 25 | 26 | homeDir = lookupHomeDir() 27 | return homeDir 28 | } 29 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/secure/bidirule/bidirule9.0.0.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 | //go:build !go1.10 6 | // +build !go1.10 7 | 8 | package bidirule 9 | 10 | func (t *Transformer) isFinal() bool { 11 | if !t.isRTL() { 12 | return true 13 | } 14 | return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/console_size.go: -------------------------------------------------------------------------------- 1 | /* 2 | * HCS API 3 | * 4 | * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) 5 | * 6 | * API version: 2.1 7 | * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) 8 | */ 9 | 10 | package hcsschema 11 | 12 | type ConsoleSize struct { 13 | Height int32 `json:"Height,omitempty"` 14 | 15 | Width int32 `json:"Width,omitempty"` 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/enhanced_mode_video.go: -------------------------------------------------------------------------------- 1 | /* 2 | * HCS API 3 | * 4 | * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) 5 | * 6 | * API version: 2.1 7 | * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) 8 | */ 9 | 10 | package hcsschema 11 | 12 | type EnhancedModeVideo struct { 13 | ConnectionOptions *RdpConnectionOptions `json:"ConnectionOptions,omitempty"` 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/cespare/xxhash/v2/xxhash_safe.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | // This file contains the safe implementations of otherwise unsafe-using code. 4 | 5 | package xxhash 6 | 7 | // Sum64String computes the 64-bit xxHash digest of s. 8 | func Sum64String(s string) uint64 { 9 | return Sum64([]byte(s)) 10 | } 11 | 12 | // WriteString adds more data to d. It always returns len(s), nil. 13 | func (d *Digest) WriteString(s string) (n int, err error) { 14 | return d.Write([]byte(s)) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/userns/userns_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package userns 4 | 5 | import "github.com/opencontainers/runc/libcontainer/user" 6 | 7 | // runningInUserNS is a stub for non-Linux systems 8 | // Always returns false 9 | func runningInUserNS() bool { 10 | return false 11 | } 12 | 13 | // uidMapInUserNS is a stub for non-Linux systems 14 | // Always returns false 15 | func uidMapInUserNS(uidmap []user.IDMap) bool { 16 | return false 17 | } 18 | -------------------------------------------------------------------------------- /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 | //go:build armbe || arm64be || m68k || mips || mips64 || mips64p32 || ppc || ppc64 || s390 || s390x || shbe || sparc || sparc64 6 | // +build armbe arm64be m68k mips mips64 mips64p32 ppc ppc64 s390 s390x shbe sparc sparc64 7 | 8 | package unix 9 | 10 | const isBigEndian = true 11 | -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/decode_go116.go: -------------------------------------------------------------------------------- 1 | // +build go1.16 2 | 3 | package toml 4 | 5 | import ( 6 | "io/fs" 7 | ) 8 | 9 | // DecodeFS is just like Decode, except it will automatically read the contents 10 | // of the file at `path` from a fs.FS instance. 11 | func DecodeFS(fsys fs.FS, path string, v interface{}) (MetaData, error) { 12 | fp, err := fsys.Open(path) 13 | if err != nil { 14 | return MetaData{}, err 15 | } 16 | defer fp.Close() 17 | return NewDecoder(fp).Decode(v) 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/configs/namespaces_syscall_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!windows 2 | 3 | package configs 4 | 5 | func (n *Namespace) Syscall() int { 6 | panic("No namespace syscall support") 7 | } 8 | 9 | // CloneFlags parses the container's Namespaces options to set the correct 10 | // flags on clone, unshare. This function returns flags only for new namespaces. 11 | func (n *Namespaces) CloneFlags() uintptr { 12 | panic("No namespace syscall support") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runtime-tools/generate/seccomp/seccomp_default_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package seccomp 4 | 5 | // These are copied from linux/amd64 syscall values, as a reference for other 6 | // platforms to have access to 7 | const ( 8 | CloneNewIPC = 0x8000000 9 | CloneNewNet = 0x40000000 10 | CloneNewNS = 0x20000 11 | CloneNewPID = 0x20000000 12 | CloneNewUser = 0x10000000 13 | CloneNewUTS = 0x4000000 14 | CloneNewCgroup = 0x02000000 15 | ) 16 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/delete_group_operation.go: -------------------------------------------------------------------------------- 1 | /* 2 | * HCS API 3 | * 4 | * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) 5 | * 6 | * API version: 2.4 7 | * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) 8 | */ 9 | 10 | package hcsschema 11 | 12 | // Delete group operation settings 13 | type DeleteGroupOperation struct { 14 | GroupId string `json:"GroupId,omitempty"` 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_crash_reporting.go: -------------------------------------------------------------------------------- 1 | /* 2 | * HCS API 3 | * 4 | * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) 5 | * 6 | * API version: 2.1 7 | * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) 8 | */ 9 | 10 | package hcsschema 11 | 12 | type GuestCrashReporting struct { 13 | WindowsCrashSettings *WindowsCrashReporting `json:"WindowsCrashSettings,omitempty"` 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/topology.go: -------------------------------------------------------------------------------- 1 | /* 2 | * HCS API 3 | * 4 | * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) 5 | * 6 | * API version: 2.1 7 | * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) 8 | */ 9 | 10 | package hcsschema 11 | 12 | type Topology struct { 13 | Memory *Memory2 `json:"Memory,omitempty"` 14 | 15 | Processor *Processor2 `json:"Processor,omitempty"` 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/containers/libtrust/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package libtrust provides an interface for managing authentication and 3 | authorization using public key cryptography. Authentication is handled 4 | using the identity attached to the public key and verified through TLS 5 | x509 certificates, a key challenge, or signature. Authorization and 6 | access control is managed through a trust graph distributed between 7 | both remote trust servers and locally cached and managed data. 8 | */ 9 | package libtrust 10 | -------------------------------------------------------------------------------- /vendor/github.com/containers/storage/pkg/system/meminfo.go: -------------------------------------------------------------------------------- 1 | package system 2 | 3 | // MemInfo contains memory statistics of the host system. 4 | type MemInfo struct { 5 | // Total usable RAM (i.e. physical RAM minus a few reserved bits and the 6 | // kernel binary code). 7 | MemTotal int64 8 | 9 | // Amount of free memory. 10 | MemFree int64 11 | 12 | // Total amount of swap space available. 13 | SwapTotal int64 14 | 15 | // Amount of swap space that is currently unused. 16 | SwapFree int64 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/build_cancel.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | "net/url" 6 | ) 7 | 8 | // BuildCancel requests the daemon to cancel ongoing build request 9 | func (cli *Client) BuildCancel(ctx context.Context, id string) error { 10 | query := url.Values{} 11 | query.Set("id", id) 12 | 13 | serverResp, err := cli.post(ctx, "/build/cancel", query, nil, nil) 14 | ensureReaderClosed(serverResp) 15 | return err 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/godbus/dbus/v5/auth_anonymous.go: -------------------------------------------------------------------------------- 1 | package dbus 2 | 3 | // AuthAnonymous returns an Auth that uses the ANONYMOUS mechanism. 4 | func AuthAnonymous() Auth { 5 | return &authAnonymous{} 6 | } 7 | 8 | type authAnonymous struct{} 9 | 10 | func (a *authAnonymous) FirstData() (name, resp []byte, status AuthStatus) { 11 | return []byte("ANONYMOUS"), nil, AuthOk 12 | } 13 | 14 | func (a *authAnonymous) HandleData(data []byte) (resp []byte, status AuthStatus) { 15 | return nil, AuthError 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/mtrmac/gpgme/README.md: -------------------------------------------------------------------------------- 1 | # GPGME (golang) 2 | 3 | Go wrapper for the GPGME library. 4 | 5 | This library is intended for use with desktop applications. If you are looking to add OpenPGP support to a server application I suggest you first look at [golang.org/x/crypto/openpgp](https://godoc.org/golang.org/x/crypto/openpgp). 6 | 7 | ## Installation 8 | 9 | go get -u github.com/proglottis/gpgme 10 | 11 | ## Documentation 12 | 13 | * [godoc](https://godoc.org/github.com/proglottis/gpgme) 14 | --------------------------------------------------------------------------------