├── image ├── oci │ ├── oci.go │ └── layout │ │ └── fixtures │ │ ├── files │ │ ├── b.txt │ │ └── a.txt │ │ ├── delete_image_multiple_images │ │ ├── oci-layout │ │ └── blobs │ │ │ └── sha256 │ │ │ ├── 02ea786cb1ff44d997661886a4186cbd8a1dc466938712bf7281379209476022 │ │ │ ├── 557ac7d133b7770216a8101268640edf4e88beab1b4e1e1bfc9b1891a1cab861 │ │ │ ├── 986315a0e599fac2b80eb31db2124dab8d3de04d7ca98b254999bd913c1f73fe │ │ │ ├── a6f737ac2b84bc463f2ff721af39588c69646c82f79f3808236178e02e35b922 │ │ │ ├── e19729d5a968c71b4b691d60f4a6f85f93c303bb88635dcfef36e23b76cb7b3a │ │ │ └── e2f7e0374fd6a03d9c373f4d9a0c7802045cc3ddcc1433e89d83b81fa7007242 │ │ ├── delete_image_only_one_image │ │ ├── oci-layout │ │ └── blobs │ │ │ └── sha256 │ │ │ └── 0c8b263642b51b5c1dc40fe402ae2e97119c6007b6e52146419985ec1f0092dc │ │ ├── delete_image_shared_blobs_dir │ │ ├── oci-layout │ │ └── shared_blobs │ │ │ └── sha256 │ │ │ └── 0c8b263642b51b5c1dc40fe402ae2e97119c6007b6e52146419985ec1f0092dc │ │ └── delete_image_two_identical_references │ │ ├── oci-layout │ │ └── blobs │ │ └── sha256 │ │ ├── 0c8b263642b51b5c1dc40fe402ae2e97119c6007b6e52146419985ec1f0092dc │ │ └── fa00bb4e2adbc73a5da1fd54d2a840020592530a8d4e8de9888b9e9a533419d8 ├── pkg │ ├── sysregistriesv2 │ │ └── testdata │ │ │ ├── empty.conf │ │ │ ├── registries.conf.d │ │ │ ├── config-3.conf │ │ │ ├── subdomain-override-2.conf │ │ │ ├── subdomain-override-3.conf │ │ │ ├── subdomain-override-1.conf │ │ │ ├── config-3.ignore │ │ │ └── config-1.conf │ │ │ ├── try-update-cache-invalid.conf │ │ │ ├── invalid-short-name-mode.conf │ │ │ ├── registries.conf.d-empty-helpers │ │ │ └── empty.conf │ │ │ ├── registries.conf.d-usr2 │ │ │ └── empty-usr.conf │ │ │ ├── try-update-cache-valid.conf │ │ │ ├── registries.conf.d-usr1 │ │ │ └── no-usr.conf │ │ │ ├── invalid-aliases.conf │ │ │ ├── invalid-search.conf │ │ │ ├── base-for-registries.d.conf │ │ │ ├── aliases.conf │ │ │ ├── mixing-v1-v2-empty.conf │ │ │ ├── cred-helper.conf │ │ │ ├── missing-mirror-location.conf │ │ │ ├── blocked-conflicts.conf │ │ │ ├── insecure-conflicts.conf │ │ │ ├── mirrors.conf │ │ │ ├── invalid-value-mirror.conf │ │ │ ├── v1-compatibility.conf │ │ │ ├── invalid-config-level-mirror.conf │ │ │ ├── v1-invalid-search.conf │ │ │ ├── unqualified-search.conf │ │ │ ├── v1-invalid-insecure.conf │ │ │ └── invalid-conflict-mirror.conf │ ├── docker │ │ └── config │ │ │ └── testdata │ │ │ ├── empty.json │ │ │ ├── cred-helper.conf │ │ │ ├── config.json │ │ │ ├── cred-helper-with-auth-files.conf │ │ │ ├── example.json │ │ │ ├── legacy.json │ │ │ └── example_identitytoken.json │ ├── compression │ │ └── fixtures │ │ │ ├── Hello.uncompressed │ │ │ ├── Hello.bz2 │ │ │ ├── Hello.gz │ │ │ ├── Hello.xz │ │ │ └── Hello.zst │ ├── shortnames │ │ └── testdata │ │ │ ├── registries.conf.d │ │ │ ├── config-3.conf │ │ │ ├── config-3.ignore │ │ │ ├── config-1.conf │ │ │ └── config-2.conf │ │ │ ├── no-reg.conf │ │ │ ├── one-reg.conf │ │ │ ├── two-reg.conf │ │ │ └── aliases.conf │ ├── tlsclientconfig │ │ └── testdata │ │ │ ├── unreadable-ca │ │ │ └── unreadable.crt │ │ │ ├── unreadable-key │ │ │ ├── client-cert-1.key │ │ │ └── client-cert-1.cert │ │ │ ├── missing-cert │ │ │ └── client-cert-1.key │ │ │ ├── missing-key │ │ │ └── client-cert-1.cert │ │ │ └── unreadable-cert │ │ │ ├── client-cert-1.cert │ │ │ └── client-cert-1.key │ ├── blobinfocache │ │ └── none │ │ │ └── none_test.go │ └── strslice │ │ └── README.md ├── docker │ ├── fixtures │ │ └── registries.d │ │ │ ├── emptyConfig.yaml │ │ │ └── invalid-but.notyaml │ ├── paths_common.go │ ├── paths_freebsd.go │ ├── archive │ │ ├── src_test.go │ │ └── dest_test.go │ ├── daemon │ │ ├── daemon_src_test.go │ │ └── daemon_dest_test.go │ ├── tarfile │ │ ├── doc.go │ │ └── types.go │ └── reference │ │ ├── regexp-additions.go │ │ └── README.md ├── internal │ ├── streamdigest │ │ └── fixtures │ │ │ └── Hello.uncompressed │ ├── signature │ │ └── testdata │ │ │ └── simple.signature │ ├── manifest │ │ └── testdata │ │ │ ├── schema2-to-schema1-by-docker.json │ │ │ ├── non-json.manifest.json │ │ │ ├── unknown-version.manifest.json │ │ │ ├── ociv1nomime.artifact.json │ │ │ ├── v2s1-invalid-signatures.manifest.json │ │ │ ├── ociv1.artifact.json │ │ │ └── v2s2nomime.manifest.json │ └── useragent │ │ └── useragent.go ├── copy │ └── fixtures │ │ ├── Hello.gz │ │ ├── Hello.xz │ │ ├── Hello.bz2 │ │ ├── Hello.uncompressed │ │ ├── Hello.std │ │ └── Hello.zst ├── signature │ ├── fixtures │ │ ├── rekor-set │ │ ├── rekor-sig │ │ ├── rekor.pub │ │ ├── rekor-payload │ │ ├── dir-img-mixed │ │ │ ├── signature-1 │ │ │ ├── signature-2 │ │ │ └── manifest.json │ │ ├── dir-img-valid-subkey │ │ │ ├── signature-1 │ │ │ └── manifest.json │ │ ├── dir-img-valid │ │ │ ├── manifest.json │ │ │ └── signature-1 │ │ ├── dir-img-valid-2 │ │ │ ├── signature-1 │ │ │ ├── manifest.json │ │ │ └── signature-2 │ │ ├── dir-img-cosign-mixed │ │ │ ├── signature-1 │ │ │ ├── signature-2 │ │ │ └── manifest.json │ │ ├── dir-img-no-manifest │ │ │ └── signature-1 │ │ ├── dir-img-unsigned │ │ │ └── manifest.json │ │ ├── dir-img-modified-manifest │ │ │ └── signature-1 │ │ ├── dir-img-cosign-no-manifest │ │ │ └── signature-1 │ │ ├── dir-img-cosign-valid-2 │ │ │ ├── manifest.json │ │ │ └── signature-1 │ │ ├── dir-img-manifest-digest-error │ │ │ ├── signature-1 │ │ │ └── manifest.json │ │ ├── dir-img-cosign-manifest-digest-error │ │ │ ├── signature-1 │ │ │ └── manifest.json │ │ ├── dir-img-cosign-modified-manifest │ │ │ └── signature-1 │ │ ├── dir-img-cosign-other-attachment │ │ │ ├── manifest.json │ │ │ └── signature-1 │ │ ├── pubring.gpg │ │ ├── secring.gpg │ │ ├── trustdb.gpg │ │ ├── image.signature │ │ ├── public-key-1.gpg │ │ ├── public-key-2.gpg │ │ ├── subkey.signature │ │ ├── corrupt.signature │ │ ├── expired.signature │ │ ├── corrupt.signature-v3 │ │ ├── subkey.signature-v3 │ │ ├── unknown-key.signature │ │ ├── .gitignore │ │ ├── invalid-blob.signature │ │ ├── invalid-blob.signature-v3 │ │ ├── subkey-revoked.signature │ │ ├── unknown-key.signature-v3 │ │ ├── unsigned-literal.signature │ │ ├── invalid-reference.signature │ │ ├── no-optional-fields.signature │ │ ├── subkey-revoked.signature-v3 │ │ ├── unsigned-encrypted.signature │ │ ├── cosign.pub │ │ ├── cosign2.pub │ │ └── v2s1-invalid-signatures.manifest.json │ ├── simplesequoia │ │ └── testdata │ │ │ ├── data │ │ │ ├── keystore │ │ │ │ ├── keystore.cookie │ │ │ │ └── softkeys │ │ │ │ │ ├── 1F5825285B785E1DB13BF36D2D11A19ABA41C6AE.pgp │ │ │ │ │ └── 50DDE898DF4E48755C8C2B7AF6F908B6FA48A229.pgp │ │ │ └── pgp.cert.d │ │ │ │ ├── 50 │ │ │ │ └── dde898df4e48755c8c2b7af6f908b6fa48a229 │ │ │ │ ├── 68 │ │ │ │ └── de230c4a009f5ee5fbb27984642d0130b86046 │ │ │ │ ├── writelock │ │ │ │ ├── trust-root │ │ │ │ ├── 1f │ │ │ │ └── 5825285b785e1db13bf36d2d11a19aba41c6ae │ │ │ │ └── 4d │ │ │ │ └── 8bcd544b7573eefaad18c278473e5f255d10b8 │ │ │ └── .gitignore │ ├── internal │ │ ├── testdata │ │ │ ├── cosign.pub │ │ │ ├── cosign2.pub │ │ │ ├── valid.signature │ │ │ ├── rekor-sig │ │ │ ├── rekor.pub │ │ │ └── rekor-payload │ │ └── errors_test.go │ ├── simplesigning │ │ └── testdata │ │ │ ├── pubring.gpg │ │ │ ├── secring.gpg │ │ │ ├── trustdb.gpg │ │ │ └── .gitignore │ ├── policy_paths_common.go │ └── policy_paths_freebsd.go ├── manifest │ └── fixtures │ │ ├── v2s1.manifest.json │ │ ├── v2s2.manifest.json │ │ ├── ociv1.artifact.json │ │ ├── ociv1.manifest.json │ │ ├── v2list.manifest.json │ │ ├── non-json.manifest.json │ │ ├── ociv1.image.index.json │ │ ├── ociv1nomime.artifact.json │ │ ├── ociv1nomime.manifest.json │ │ ├── v2s2nomime.manifest.json │ │ ├── ociv1nomime.image.index.json │ │ ├── v2s1-unsigned.manifest.json │ │ ├── unknown-version.manifest.json │ │ ├── schema2-to-schema1-by-docker.json │ │ └── v2s1-invalid-signatures.manifest.json ├── sif │ └── src_test.go ├── .gitignore ├── tarball │ └── tarball_src_test.go ├── openshift │ ├── openshift_src_test.go │ └── openshift_dest_test.go ├── transports │ └── alltransports │ │ ├── storage.go │ │ ├── docker_daemon.go │ │ ├── storage_stub.go │ │ └── docker_daemon_stub.go ├── .pullapprove.yml ├── MAINTAINERS └── default-policy.json ├── storage ├── VERSION ├── .dockerignore ├── drivers │ ├── graphtest │ │ └── graphtest_windows.go │ ├── zfs │ │ ├── zfs_unsupported.go │ │ └── MAINTAINERS │ ├── btrfs │ │ ├── dummy_unsupported.go │ │ └── version_test.go │ ├── register │ │ ├── register_vfs.go │ │ ├── register_btrfs.go │ │ ├── register_overlay.go │ │ └── register_zfs.go │ ├── jsoniter.go │ ├── overlay │ │ ├── jsoniter.go │ │ └── overlay_unsupported.go │ ├── vfs │ │ ├── copy_linux.go │ │ └── copy_unsupported.go │ └── quota │ │ └── projectquota.go ├── pkg │ ├── loopback │ │ └── loopback_unsupported.go │ ├── archive │ │ ├── README.md │ │ ├── changes_windows_test.go │ │ ├── testdata │ │ │ └── broken.tar │ │ ├── copy_windows.go │ │ ├── copy_unix.go │ │ ├── archive_19.go │ │ ├── archive_other.go │ │ ├── time_unsupported.go │ │ └── time_linux.go │ ├── stringutils │ │ └── README.md │ ├── stringid │ │ └── README.md │ ├── regexp │ │ ├── regexp_precompile.go │ │ └── regexp_dontprecompile.go │ ├── mount │ │ ├── unmount_unsupported.go │ │ ├── mounter_unsupported.go │ │ └── mountinfo.go │ ├── system │ │ ├── lcow_windows.go │ │ ├── lcow_unix.go │ │ ├── errors.go │ │ ├── rm_common.go │ │ ├── umask_windows.go │ │ ├── meminfo_unsupported.go │ │ ├── utimes_unsupported.go │ │ ├── syscall_windows_test.go │ │ ├── chmod.go │ │ ├── umask.go │ │ ├── path_unix.go │ │ ├── stat_common.go │ │ ├── chtimes_unix.go │ │ └── lstat_windows.go │ ├── dmesg │ │ └── dmesg_linux_test.go │ ├── unshare │ │ ├── getenv_linux_nocgo.go │ │ └── unshare_cgo.go │ ├── chrootarchive │ │ └── jsoniter.go │ ├── fileutils │ │ ├── fileutils_windows.go │ │ └── fileutils_solaris.go │ ├── ioutils │ │ └── temp_unix.go │ ├── reexec │ │ └── README.md │ ├── idtools │ │ └── idtools_unsupported.go │ └── promise │ │ └── promise.go ├── jsoniter.go ├── hack │ ├── govet.sh │ ├── btrfs_tag.sh │ └── gccgo-wrapper.sh ├── OWNERS ├── types │ └── default_override_test.conf └── tests │ └── test_runner.bash ├── common ├── pkg │ ├── cgroups │ │ └── testdata │ │ │ ├── cgroup.empty │ │ │ ├── cgroup.root │ │ │ └── cgroup.other │ ├── hooks │ │ ├── docs │ │ │ └── .gitignore │ │ └── version.go │ ├── machine │ │ ├── testdata │ │ │ ├── empty-machine │ │ │ ├── wsl-machine │ │ │ ├── hyperv-machine │ │ │ ├── qemu-machine │ │ │ └── applehv-machine │ │ └── machine_suite_test.go │ ├── subscriptions │ │ └── mounts.conf │ ├── config │ │ ├── testdata │ │ │ ├── modules │ │ │ │ ├── override.conf │ │ │ │ ├── usr │ │ │ │ │ └── share │ │ │ │ │ │ └── containers │ │ │ │ │ │ └── containers.conf.modules │ │ │ │ │ │ ├── fifth.conf │ │ │ │ │ │ ├── first.conf │ │ │ │ │ │ ├── second.conf │ │ │ │ │ │ ├── third.conf │ │ │ │ │ │ └── sub │ │ │ │ │ │ ├── first.conf │ │ │ │ │ │ └── share-only.conf │ │ │ │ ├── etc │ │ │ │ │ └── containers │ │ │ │ │ │ └── containers.conf.modules │ │ │ │ │ │ ├── first.conf │ │ │ │ │ │ ├── second.conf │ │ │ │ │ │ ├── third.conf │ │ │ │ │ │ ├── sub │ │ │ │ │ │ └── etc-only.conf │ │ │ │ │ │ └── fourth.conf │ │ │ │ └── home │ │ │ │ │ └── .config │ │ │ │ │ └── containers │ │ │ │ │ └── containers.conf.modules │ │ │ │ │ ├── first.conf │ │ │ │ │ ├── third.conf │ │ │ │ │ ├── sub │ │ │ │ │ └── first.conf │ │ │ │ │ └── second.conf │ │ │ └── containers_override2.conf │ │ ├── default_common.go │ │ ├── config_suite_test.go │ │ └── default_unsupported.go │ ├── sysinfo │ │ ├── README.md │ │ ├── numcpu_other.go │ │ ├── sysinfo_windows.go │ │ └── sysinfo_unix.go │ ├── manifests │ │ └── testdata │ │ │ └── artifacts │ │ │ ├── index │ │ │ └── oci-layout │ │ │ ├── blobs-only │ │ │ ├── oci-layout │ │ │ └── blobs │ │ │ │ └── sha256 │ │ │ │ ├── 44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a │ │ │ │ └── 955c64f8b99468e911dfda299dfcdd284deae5b1f7201f484aa068fcd0f1e12b │ │ │ ├── config-only │ │ │ ├── oci-layout │ │ │ └── blobs │ │ │ │ └── sha256 │ │ │ │ ├── 44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a │ │ │ │ └── dc8ab52a31e3b88154b692c409188c53b7c2204b7d076ed220d5b25d8971e132 │ │ │ └── no-blobs │ │ │ ├── oci-layout │ │ │ └── blobs │ │ │ └── sha256 │ │ │ └── 44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a │ ├── retry │ │ ├── retry_unsupported.go │ │ └── retry_linux.go │ ├── umask │ │ └── umask_unsupported.go │ └── timezone │ │ ├── timezone_linux.go │ │ └── timezone_freebsd.go ├── docs │ └── links │ │ └── .containerignore.5 ├── libimage │ └── testdata │ │ ├── scratch-dir-5pec!@L │ │ └── version │ │ ├── oci-unnamed.tar.gz │ │ ├── docker-unnamed.tar.xz │ │ ├── oci-name-only.tar.gz │ │ ├── docker-name-only.tar.xz │ │ ├── docker-two-names.tar.xz │ │ ├── exported-container.tar │ │ ├── docker-two-images.tar.xz │ │ ├── oci-non-docker-name.tar.gz │ │ ├── oci-registry-name.tar.gz │ │ ├── docker-registry-name.tar.xz │ │ └── containers.conf ├── logos │ ├── containers.png │ ├── logo_circle_crun.png │ ├── crun-logo-full-vert.png │ ├── logo_circle_bootc.png │ ├── logo_circle_buildah.png │ ├── logo_circle_podman.png │ ├── logo_circle_skopeo.png │ ├── logo_circle_youki.png │ ├── podman-desktop-logo.png │ ├── bootc-logo-full-vert.png │ ├── containers-full-horiz.png │ ├── logo_circle_ramalama.png │ ├── podman-logo-full-vert.png │ ├── skopeo-logo-full-vert.png │ ├── youki-logo-full-vert.png │ ├── buildah-logo-full-vert.png │ └── logo_circle_podmandesktop.png ├── version │ └── version.go ├── libnetwork │ ├── cni │ │ └── testfiles │ │ │ ├── invalid │ │ │ └── noplugin.conflist │ │ │ └── valid │ │ │ ├── macvlan.conflist │ │ │ └── macvlan_mtu.conflist │ ├── internal │ │ └── rootlessnetns │ │ │ └── netns.go │ ├── netavark │ │ └── const.go │ └── slirp4netns │ │ └── const_linux.go ├── tests │ └── policy.json ├── contrib │ └── redhat │ │ ├── registry.redhat.io.yaml │ │ └── registry.access.redhat.com.yaml ├── OWNERS └── .gitignore ├── vendor ├── github.com │ ├── felixge │ │ └── httpsnoop │ │ │ ├── .gitignore │ │ │ └── Makefile │ ├── klauspost │ │ └── compress │ │ │ ├── s2sx.sum │ │ │ ├── huff0 │ │ │ └── .gitignore │ │ │ ├── .gitattributes │ │ │ ├── s2sx.mod │ │ │ ├── gen.sh │ │ │ └── internal │ │ │ ├── le │ │ │ └── le.go │ │ │ └── cpuinfo │ │ │ └── cpuinfo_amd64.go │ ├── 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 │ │ │ ├── Gopkg.lock │ │ │ └── .travis.yml │ │ └── concurrent │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ └── go_above_19.go │ ├── Masterminds │ │ └── semver │ │ │ └── v3 │ │ │ └── .gitignore │ ├── chzyer │ │ └── readline │ │ │ ├── .gitignore │ │ │ ├── std_windows.go │ │ │ └── .travis.yml │ ├── containers │ │ ├── ocicrypt │ │ │ ├── .gitignore │ │ │ ├── MAINTAINERS │ │ │ ├── CODE-OF-CONDUCT.md │ │ │ └── SECURITY.md │ │ └── libtrust │ │ │ ├── MAINTAINERS │ │ │ ├── CODE-OF-CONDUCT.md │ │ │ └── SECURITY.md │ ├── miekg │ │ └── pkcs11 │ │ │ ├── softhsm.conf │ │ │ ├── .gitignore │ │ │ ├── hsm.db │ │ │ └── softhsm2.conf │ ├── spf13 │ │ ├── pflag │ │ │ ├── .gitignore │ │ │ ├── .golangci.yaml │ │ │ └── .editorconfig │ │ └── cobra │ │ │ ├── .mailmap │ │ │ └── MAINTAINERS │ ├── cyphar │ │ └── filepath-securejoin │ │ │ └── VERSION │ ├── jinzhu │ │ └── copier │ │ │ └── .gitignore │ ├── gorilla │ │ └── mux │ │ │ └── .gitignore │ ├── hashicorp │ │ └── go-retryablehttp │ │ │ ├── .go-version │ │ │ ├── .gitignore │ │ │ ├── Makefile │ │ │ ├── .golangci.yml │ │ │ ├── cert_error_go119.go │ │ │ └── cert_error_go120.go │ ├── Microsoft │ │ └── go-winio │ │ │ ├── .gitattributes │ │ │ ├── CODEOWNERS │ │ │ ├── internal │ │ │ └── fs │ │ │ │ └── doc.go │ │ │ ├── .gitignore │ │ │ └── syscall.go │ ├── containerd │ │ └── platforms │ │ │ └── .gitattributes │ ├── go-task │ │ └── slim-sprig │ │ │ └── v3 │ │ │ ├── .gitattributes │ │ │ ├── .gitignore │ │ │ ├── Taskfile.yml │ │ │ ├── network.go │ │ │ └── .editorconfig │ ├── vishvananda │ │ ├── netlink │ │ │ ├── .gitignore │ │ │ ├── CHANGELOG.md │ │ │ ├── rule_nonlinux.go │ │ │ ├── xfrm_unspecified.go │ │ │ ├── nl │ │ │ │ └── nl_unspecified.go │ │ │ ├── fou.go │ │ │ └── fou_unspecified.go │ │ └── netns │ │ │ └── .yamllint.yml │ ├── BurntSushi │ │ └── toml │ │ │ └── .gitignore │ ├── clipperhouse │ │ └── stringish │ │ │ ├── .gitignore │ │ │ └── interface.go │ ├── disiqueira │ │ └── gotree │ │ │ └── v3 │ │ │ ├── _config.yml │ │ │ ├── gotree-logo.png │ │ │ └── .travis.yml │ ├── distribution │ │ └── reference │ │ │ ├── .gitattributes │ │ │ ├── .gitignore │ │ │ ├── CODE-OF-CONDUCT.md │ │ │ └── SECURITY.md │ ├── moby │ │ ├── moby │ │ │ ├── api │ │ │ │ └── types │ │ │ │ │ ├── plugin │ │ │ │ │ └── .gitignore │ │ │ │ │ ├── common │ │ │ │ │ └── error_response_ext.go │ │ │ │ │ ├── checkpoint │ │ │ │ │ ├── list.go │ │ │ │ │ └── create_request.go │ │ │ │ │ ├── volume │ │ │ │ │ └── prune_report.go │ │ │ │ │ └── container │ │ │ │ │ ├── errors.go │ │ │ │ │ └── commit.go │ │ │ └── client │ │ │ │ ├── network_list_opts.go │ │ │ │ └── network_inspect_opts.go │ │ └── sys │ │ │ ├── userns │ │ │ ├── userns_linux_fuzzer.go │ │ │ └── userns_unsupported.go │ │ │ └── mountinfo │ │ │ └── mountinfo_windows.go │ ├── stefanberger │ │ └── go-pkcs11uri │ │ │ └── .gitignore │ ├── VividCortex │ │ └── ewma │ │ │ ├── .gitignore │ │ │ ├── .whitesource │ │ │ └── codecov.yml │ ├── sirupsen │ │ └── logrus │ │ │ ├── .gitignore │ │ │ ├── terminal_check_js.go │ │ │ ├── terminal_check_wasi.go │ │ │ ├── terminal_check_wasip1.go │ │ │ ├── terminal_check_appengine.go │ │ │ ├── terminal_check_no_terminal.go │ │ │ ├── appveyor.yml │ │ │ ├── terminal_check_solaris.go │ │ │ ├── terminal_check_notappengine.go │ │ │ └── terminal_check_bsd.go │ ├── go-jose │ │ └── go-jose │ │ │ └── v4 │ │ │ └── .gitignore │ ├── manifoldco │ │ └── promptui │ │ │ ├── .gitignore │ │ │ ├── keycodes_other.go │ │ │ ├── keycodes_windows.go │ │ │ └── .travis.yml │ ├── json-iterator │ │ └── go │ │ │ ├── .codecov.yml │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ └── test.sh │ ├── seccomp │ │ └── libseccomp-golang │ │ │ ├── .gitignore │ │ │ └── .golangci.yml │ ├── kr │ │ └── fs │ │ │ └── Readme │ ├── opencontainers │ │ ├── cgroups │ │ │ ├── CODEOWNERS │ │ │ ├── config_hugepages.go │ │ │ ├── config_unsupported.go │ │ │ └── config_ifprio_map.go │ │ ├── go-digest │ │ │ ├── .travis.yml │ │ │ ├── .mailmap │ │ │ └── MAINTAINERS │ │ ├── runc │ │ │ ├── internal │ │ │ │ └── linux │ │ │ │ │ └── doc.go │ │ │ └── libcontainer │ │ │ │ └── apparmor │ │ │ │ └── apparmor_unsupported.go │ │ └── runtime-tools │ │ │ └── generate │ │ │ └── seccomp │ │ │ └── consts.go │ ├── onsi │ │ ├── ginkgo │ │ │ └── v2 │ │ │ │ ├── types │ │ │ │ └── version.go │ │ │ │ ├── .gitignore │ │ │ │ ├── ginkgo │ │ │ │ ├── automaxprocs.go │ │ │ │ └── automaxprocs │ │ │ │ │ └── README.md │ │ │ │ ├── internal │ │ │ │ ├── progress_report_win.go │ │ │ │ ├── output_interceptor_wasm.go │ │ │ │ ├── interrupt_handler │ │ │ │ │ └── sigquit_swallower_windows.go │ │ │ │ ├── output_interceptor_win.go │ │ │ │ ├── progress_report_wasm.go │ │ │ │ ├── counter.go │ │ │ │ ├── progress_report_unix.go │ │ │ │ └── progress_report_bsd.go │ │ │ │ ├── ginkgo_cli_dependencies.go │ │ │ │ └── Makefile │ │ └── gomega │ │ │ ├── .gitignore │ │ │ └── matchers │ │ │ └── support │ │ │ └── goraph │ │ │ ├── node │ │ │ └── node.go │ │ │ └── util │ │ │ └── util.go │ ├── mattn │ │ ├── go-sqlite3 │ │ │ ├── .codecov.yml │ │ │ └── .gitignore │ │ ├── go-runewidth │ │ │ ├── runewidth_appengine.go │ │ │ └── runewidth_js.go │ │ └── go-shellwords │ │ │ ├── .travis.yml │ │ │ └── go.test.sh │ ├── fsnotify │ │ └── fsnotify │ │ │ ├── internal │ │ │ ├── internal.go │ │ │ └── unix2.go │ │ │ ├── staticcheck.conf │ │ │ ├── .mailmap │ │ │ ├── .gitignore │ │ │ ├── system_bsd.go │ │ │ └── system_darwin.go │ ├── mistifyio │ │ └── go-zfs │ │ │ └── v4 │ │ │ ├── .envrc │ │ │ └── .gitignore │ ├── ulikunitz │ │ └── xz │ │ │ ├── fox.xz │ │ │ ├── lzma │ │ │ └── fox.lzma │ │ │ ├── fox-check-none.xz │ │ │ └── make-docs │ ├── pkg │ │ ├── sftp │ │ │ ├── CONTRIBUTORS │ │ │ ├── release.go │ │ │ ├── .gitignore │ │ │ ├── debug.go │ │ │ ├── internal │ │ │ │ └── encoding │ │ │ │ │ └── ssh │ │ │ │ │ └── filexfer │ │ │ │ │ └── openssh │ │ │ │ │ └── openssh.go │ │ │ ├── ls_stub.go │ │ │ ├── request_windows.go │ │ │ ├── attrs_stubs.go │ │ │ ├── request-plan9.go │ │ │ ├── server_unix.go │ │ │ └── server_statvfs_plan9.go │ │ └── browser │ │ │ ├── browser_darwin.go │ │ │ ├── browser_windows.go │ │ │ └── browser_unsupported.go │ ├── vbauerster │ │ └── mpb │ │ │ └── v8 │ │ │ ├── cwriter │ │ │ ├── doc.go │ │ │ ├── util_zos.go │ │ │ ├── util_solaris.go │ │ │ ├── util_linux.go │ │ │ └── util_bsd.go │ │ │ ├── doc.go │ │ │ ├── .gitignore │ │ │ ├── internal │ │ │ └── width.go │ │ │ └── decor │ │ │ └── name.go │ ├── proglottis │ │ └── gpgme │ │ │ ├── .gitignore │ │ │ └── unset_agent_info_windows.go │ ├── tchap │ │ └── go-patricia │ │ │ └── v2 │ │ │ └── AUTHORS │ ├── santhosh-tekuri │ │ └── jsonschema │ │ │ └── v6 │ │ │ ├── .swp │ │ │ ├── .golangci.yml │ │ │ ├── go.work │ │ │ ├── .gitmodules │ │ │ └── .pre-commit-hooks.yaml │ ├── docker │ │ ├── cli │ │ │ └── cli │ │ │ │ └── config │ │ │ │ ├── credentials │ │ │ │ ├── default_store_windows.go │ │ │ │ ├── default_store_darwin.go │ │ │ │ ├── default_store_unsupported.go │ │ │ │ └── default_store_linux.go │ │ │ │ └── configfile │ │ │ │ └── file_windows.go │ │ ├── go-connections │ │ │ └── sockets │ │ │ │ └── unix_socket_windows.go │ │ └── go-units │ │ │ └── circle.yml │ ├── godbus │ │ └── dbus │ │ │ └── v5 │ │ │ ├── transport_zos.go │ │ │ ├── transport_darwin.go │ │ │ ├── auth_default_windows.go │ │ │ ├── MAINTAINERS │ │ │ ├── .golangci.yml │ │ │ ├── auth_default_other.go │ │ │ ├── transport_unixcred_netbsd.go │ │ │ ├── transport_unixcred_openbsd.go │ │ │ ├── conn_windows.go │ │ │ └── .cirrus.yml │ ├── coreos │ │ ├── go-oidc │ │ │ └── v3 │ │ │ │ └── NOTICE │ │ └── go-systemd │ │ │ └── v22 │ │ │ └── NOTICE │ ├── google │ │ ├── uuid │ │ │ └── CONTRIBUTORS │ │ ├── go-containerregistry │ │ │ └── pkg │ │ │ │ └── name │ │ │ │ └── README.md │ │ └── pprof │ │ │ └── AUTHORS │ ├── go-logr │ │ ├── logr │ │ │ └── CHANGELOG.md │ │ └── stdr │ │ │ └── README.md │ ├── golang │ │ └── protobuf │ │ │ ├── AUTHORS │ │ │ └── CONTRIBUTORS │ ├── stretchr │ │ └── testify │ │ │ ├── require │ │ │ ├── require_forward.go.tmpl │ │ │ └── require.go.tmpl │ │ │ └── assert │ │ │ ├── assertion_format.go.tmpl │ │ │ └── assertion_forward.go.tmpl │ └── vbatts │ │ └── tar-split │ │ └── tar │ │ └── asm │ │ └── doc.go ├── go.etcd.io │ └── bbolt │ │ ├── .go-version │ │ ├── .gitignore │ │ ├── boltsync_unix.go │ │ ├── bolt_linux.go │ │ ├── internal │ │ └── common │ │ │ ├── bolt_386.go │ │ │ ├── bolt_arm.go │ │ │ ├── bolt_amd64.go │ │ │ ├── bolt_ppc.go │ │ │ ├── bolt_arm64.go │ │ │ ├── bolt_ppc64.go │ │ │ ├── bolt_s390x.go │ │ │ ├── bolt_loong64.go │ │ │ ├── bolt_mipsx.go │ │ │ ├── bolt_ppc64le.go │ │ │ ├── bolt_riscv64.go │ │ │ └── bolt_mips64x.go │ │ ├── mlock_windows.go │ │ └── bolt_openbsd.go ├── google.golang.org │ ├── grpc │ │ ├── AUTHORS │ │ ├── GOVERNANCE.md │ │ ├── CODE-OF-CONDUCT.md │ │ └── SECURITY.md │ └── protobuf │ │ ├── internal │ │ ├── editiondefaults │ │ │ └── editions_defaults.binpb │ │ └── flags │ │ │ ├── proto_legacy_enable.go │ │ │ └── proto_legacy_disable.go │ │ └── encoding │ │ └── prototext │ │ └── doc.go ├── golang.org │ └── x │ │ ├── net │ │ └── http2 │ │ │ └── .gitignore │ │ ├── sys │ │ ├── unix │ │ │ ├── .gitignore │ │ │ └── ptrace_ios.go │ │ ├── plan9 │ │ │ └── asm.s │ │ ├── cpu │ │ │ ├── cpu_other_arm.go │ │ │ ├── cpu_zos.go │ │ │ ├── cpu_other_arm64.go │ │ │ ├── cpu_mipsx.go │ │ │ ├── cpu_other_riscv64.go │ │ │ ├── cpu_other_mips64x.go │ │ │ ├── cpu_gc_arm64.go │ │ │ └── cpu_other_ppc64x.go │ │ └── windows │ │ │ └── aliases.go │ │ ├── term │ │ └── codereview.cfg │ │ ├── oauth2 │ │ ├── internal │ │ │ └── doc.go │ │ └── .travis.yml │ │ ├── tools │ │ └── internal │ │ │ ├── pkgbits │ │ │ └── flags.go │ │ │ └── event │ │ │ └── doc.go │ │ └── crypto │ │ └── internal │ │ └── poly1305 │ │ └── mac_noasm.go ├── go.opentelemetry.io │ ├── otel │ │ ├── requirements.txt │ │ ├── .gitattributes │ │ ├── .clomonitor.yml │ │ ├── .codespellignore │ │ ├── codes │ │ │ └── README.md │ │ ├── baggage │ │ │ └── README.md │ │ ├── metric │ │ │ ├── README.md │ │ │ ├── noop │ │ │ │ └── README.md │ │ │ └── embedded │ │ │ │ └── README.md │ │ ├── trace │ │ │ ├── README.md │ │ │ ├── noop │ │ │ │ └── README.md │ │ │ └── embedded │ │ │ │ └── README.md │ │ ├── attribute │ │ │ ├── README.md │ │ │ └── doc.go │ │ ├── propagation │ │ │ └── README.md │ │ ├── .gitignore │ │ ├── semconv │ │ │ └── v1.37.0 │ │ │ │ ├── README.md │ │ │ │ └── exception.go │ │ ├── version.go │ │ └── .codespellrc │ └── auto │ │ └── sdk │ │ └── internal │ │ └── telemetry │ │ └── doc.go ├── dario.cat │ └── mergo │ │ ├── FUNDING.json │ │ ├── .deepsource.toml │ │ └── .travis.yml ├── sigs.k8s.io │ └── yaml │ │ └── code-of-conduct.md └── go.yaml.in │ └── yaml │ └── v2 │ └── .travis.yml ├── go.work └── .github ├── ISSUE_TEMPLATE.md ├── PULL_REQUEST_TEMPLATE.md ├── CONTRIBUTING.md ├── workflows └── labeler.yml └── labeler.yml /image/oci/oci.go: -------------------------------------------------------------------------------- 1 | package oci 2 | -------------------------------------------------------------------------------- /storage/VERSION: -------------------------------------------------------------------------------- 1 | 1.62.0-dev 2 | -------------------------------------------------------------------------------- /common/pkg/cgroups/testdata/cgroup.empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /common/pkg/hooks/docs/.gitignore: -------------------------------------------------------------------------------- 1 | *.5 2 | -------------------------------------------------------------------------------- /common/pkg/machine/testdata/empty-machine: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /common/pkg/cgroups/testdata/cgroup.root: -------------------------------------------------------------------------------- 1 | 0::/ 2 | -------------------------------------------------------------------------------- /common/pkg/machine/testdata/wsl-machine: -------------------------------------------------------------------------------- 1 | wsl 2 | -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/empty.conf: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/felixge/httpsnoop/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/s2sx.sum: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/.go-version: -------------------------------------------------------------------------------- 1 | 1.23.12 2 | -------------------------------------------------------------------------------- /common/pkg/machine/testdata/hyperv-machine: -------------------------------------------------------------------------------- 1 | hyperv 2 | -------------------------------------------------------------------------------- /common/pkg/machine/testdata/qemu-machine: -------------------------------------------------------------------------------- 1 | qemu 2 | -------------------------------------------------------------------------------- /image/docker/fixtures/registries.d/emptyConfig.yaml: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /image/pkg/docker/config/testdata/empty.json: -------------------------------------------------------------------------------- 1 | {} 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 | -------------------------------------------------------------------------------- /common/pkg/cgroups/testdata/cgroup.other: -------------------------------------------------------------------------------- 1 | 0::/other 2 | -------------------------------------------------------------------------------- /common/pkg/machine/testdata/applehv-machine: -------------------------------------------------------------------------------- 1 | applehv 2 | -------------------------------------------------------------------------------- /image/pkg/compression/fixtures/Hello.uncompressed: -------------------------------------------------------------------------------- 1 | Hello -------------------------------------------------------------------------------- /vendor/github.com/Masterminds/semver/v3/.gitignore: -------------------------------------------------------------------------------- 1 | _fuzz/ -------------------------------------------------------------------------------- /vendor/github.com/chzyer/readline/.gitignore: -------------------------------------------------------------------------------- 1 | .vscode/* 2 | -------------------------------------------------------------------------------- /vendor/github.com/containers/ocicrypt/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/pkcs11/softhsm.conf: -------------------------------------------------------------------------------- 1 | 0:hsm.db 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 | -------------------------------------------------------------------------------- /image/docker/fixtures/registries.d/invalid-but.notyaml: -------------------------------------------------------------------------------- 1 | } 2 | -------------------------------------------------------------------------------- /image/internal/streamdigest/fixtures/Hello.uncompressed: -------------------------------------------------------------------------------- 1 | Hello -------------------------------------------------------------------------------- /image/pkg/shortnames/testdata/registries.conf.d/config-3.conf: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /storage/.dockerignore: -------------------------------------------------------------------------------- 1 | bundles 2 | .gopath 3 | vendor/pkg 4 | -------------------------------------------------------------------------------- /vendor/github.com/cyphar/filepath-securejoin/VERSION: -------------------------------------------------------------------------------- 1 | 0.6.1 2 | -------------------------------------------------------------------------------- /vendor/github.com/jinzhu/copier/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | ttt/ 3 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /common/docs/links/.containerignore.5: -------------------------------------------------------------------------------- 1 | .so man5/containerignore.5 2 | -------------------------------------------------------------------------------- /image/copy/fixtures/Hello.gz: -------------------------------------------------------------------------------- 1 | ../../pkg/compression/fixtures/Hello.gz -------------------------------------------------------------------------------- /image/copy/fixtures/Hello.xz: -------------------------------------------------------------------------------- 1 | ../../pkg/compression/fixtures/Hello.xz -------------------------------------------------------------------------------- /image/oci/layout/fixtures/files/b.txt: -------------------------------------------------------------------------------- 1 | bbbbbbbbbbbbbbbbbbbbbbbb 2 | -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/registries.conf.d/config-3.conf: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /image/signature/fixtures/rekor-set: -------------------------------------------------------------------------------- 1 | ../internal/testdata/rekor-set -------------------------------------------------------------------------------- /image/signature/fixtures/rekor-sig: -------------------------------------------------------------------------------- 1 | ../internal/testdata/rekor-sig -------------------------------------------------------------------------------- /image/signature/fixtures/rekor.pub: -------------------------------------------------------------------------------- 1 | ../internal/testdata/rekor.pub -------------------------------------------------------------------------------- /image/signature/simplesequoia/testdata/data/keystore/keystore.cookie: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /image/signature/simplesequoia/testdata/data/pgp.cert.d/writelock: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /storage/drivers/graphtest/graphtest_windows.go: -------------------------------------------------------------------------------- 1 | package graphtest 2 | -------------------------------------------------------------------------------- /storage/pkg/loopback/loopback_unsupported.go: -------------------------------------------------------------------------------- 1 | package loopback 2 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/mux/.gitignore: -------------------------------------------------------------------------------- 1 | coverage.coverprofile 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-retryablehttp/.go-version: -------------------------------------------------------------------------------- 1 | 1.23 2 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/.gitignore: -------------------------------------------------------------------------------- 1 | /coverage.txt 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/term/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /image/copy/fixtures/Hello.bz2: -------------------------------------------------------------------------------- 1 | ../../pkg/compression/fixtures/Hello.bz2 -------------------------------------------------------------------------------- /image/oci/layout/fixtures/files/a.txt: -------------------------------------------------------------------------------- 1 | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 2 | -------------------------------------------------------------------------------- /image/signature/fixtures/rekor-payload: -------------------------------------------------------------------------------- 1 | ../internal/testdata/rekor-payload -------------------------------------------------------------------------------- /image/signature/internal/testdata/cosign.pub: -------------------------------------------------------------------------------- 1 | ../../fixtures/cosign.pub -------------------------------------------------------------------------------- /image/signature/internal/testdata/cosign2.pub: -------------------------------------------------------------------------------- 1 | ../../fixtures/cosign2.pub -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/go-winio/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf -------------------------------------------------------------------------------- /vendor/github.com/containerd/platforms/.gitattributes: -------------------------------------------------------------------------------- 1 | *.go text eol=lf -------------------------------------------------------------------------------- /vendor/github.com/go-task/slim-sprig/v3/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/huff0/.gitignore: -------------------------------------------------------------------------------- 1 | /huff0-fuzz.zip 2 | -------------------------------------------------------------------------------- /vendor/github.com/vishvananda/netlink/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | .vscode/ 3 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/requirements.txt: -------------------------------------------------------------------------------- 1 | codespell==2.4.1 2 | -------------------------------------------------------------------------------- /common/pkg/subscriptions/mounts.conf: -------------------------------------------------------------------------------- 1 | /usr/share/rhel/secrets:/run/secrets 2 | -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/try-update-cache-invalid.conf: -------------------------------------------------------------------------------- 1 | invalid 2 | -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-mixed/signature-1: -------------------------------------------------------------------------------- 1 | ../invalid-blob.signature -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-mixed/signature-2: -------------------------------------------------------------------------------- 1 | ../dir-img-valid/signature-1 -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-valid-subkey/signature-1: -------------------------------------------------------------------------------- 1 | ../subkey.signature -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-valid/manifest.json: -------------------------------------------------------------------------------- 1 | ../image.manifest.json -------------------------------------------------------------------------------- /image/signature/simplesigning/testdata/pubring.gpg: -------------------------------------------------------------------------------- 1 | ../../fixtures/pubring.gpg -------------------------------------------------------------------------------- /image/signature/simplesigning/testdata/secring.gpg: -------------------------------------------------------------------------------- 1 | ../../fixtures/secring.gpg -------------------------------------------------------------------------------- /image/signature/simplesigning/testdata/trustdb.gpg: -------------------------------------------------------------------------------- 1 | ../../fixtures/trustdb.gpg -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/.gitignore: -------------------------------------------------------------------------------- 1 | /toml.test 2 | /toml-test 3 | -------------------------------------------------------------------------------- /vendor/github.com/clipperhouse/stringish/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.test 3 | -------------------------------------------------------------------------------- /vendor/github.com/disiqueira/gotree/v3/_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-slate -------------------------------------------------------------------------------- /vendor/github.com/distribution/reference/.gitattributes: -------------------------------------------------------------------------------- 1 | *.go text eol=lf 2 | -------------------------------------------------------------------------------- /vendor/github.com/go-task/slim-sprig/v3/.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | /.glide 3 | -------------------------------------------------------------------------------- /vendor/github.com/moby/moby/api/types/plugin/.gitignore: -------------------------------------------------------------------------------- 1 | testdata/rapid/** 2 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /coverage.txt 3 | -------------------------------------------------------------------------------- /vendor/github.com/stefanberger/go-pkcs11uri/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | pkcs11uri 3 | -------------------------------------------------------------------------------- /image/pkg/tlsclientconfig/testdata/unreadable-ca/unreadable.crt: -------------------------------------------------------------------------------- 1 | /this/does/not/exist -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-mixed/manifest.json: -------------------------------------------------------------------------------- 1 | ../dir-img-valid/manifest.json -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-valid-2/signature-1: -------------------------------------------------------------------------------- 1 | ../dir-img-valid/signature-1 -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-valid-subkey/manifest.json: -------------------------------------------------------------------------------- 1 | ../image.manifest.json -------------------------------------------------------------------------------- /image/signature/simplesequoia/testdata/.gitignore: -------------------------------------------------------------------------------- 1 | /data/pgp.cert.d/_sequoia* 2 | -------------------------------------------------------------------------------- /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/distribution/reference/.gitignore: -------------------------------------------------------------------------------- 1 | # Cover profiles 2 | *.out 3 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/.gitignore: -------------------------------------------------------------------------------- 1 | logrus 2 | vendor 3 | 4 | .idea/ 5 | -------------------------------------------------------------------------------- /go.work: -------------------------------------------------------------------------------- 1 | go 1.24.6 2 | 3 | use ( 4 | ./common 5 | ./image 6 | ./storage 7 | ) 8 | -------------------------------------------------------------------------------- /image/copy/fixtures/Hello.uncompressed: -------------------------------------------------------------------------------- 1 | ../../pkg/compression/fixtures/Hello.uncompressed -------------------------------------------------------------------------------- /image/pkg/tlsclientconfig/testdata/unreadable-key/client-cert-1.key: -------------------------------------------------------------------------------- 1 | /this/does/not/exist -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-cosign-mixed/signature-1: -------------------------------------------------------------------------------- 1 | ../unknown-cosign-key.signature -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-no-manifest/signature-1: -------------------------------------------------------------------------------- 1 | ../dir-img-valid/signature-1 -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-unsigned/manifest.json: -------------------------------------------------------------------------------- 1 | ../dir-img-valid/manifest.json -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-valid-2/manifest.json: -------------------------------------------------------------------------------- 1 | ../dir-img-valid/manifest.json -------------------------------------------------------------------------------- /vendor/github.com/go-jose/go-jose/v4/.gitignore: -------------------------------------------------------------------------------- 1 | jose-util/jose-util 2 | jose-util.t.err -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /common/libimage/testdata/scratch-dir-5pec!@L/version: -------------------------------------------------------------------------------- 1 | Directory Transport Version: 1.1 2 | -------------------------------------------------------------------------------- /image/internal/signature/testdata/simple.signature: -------------------------------------------------------------------------------- 1 | ../../../signature/fixtures/image.signature -------------------------------------------------------------------------------- /image/manifest/fixtures/v2s1.manifest.json: -------------------------------------------------------------------------------- 1 | ../../internal/manifest/testdata/v2s1.manifest.json -------------------------------------------------------------------------------- /image/manifest/fixtures/v2s2.manifest.json: -------------------------------------------------------------------------------- 1 | ../../internal/manifest/testdata/v2s2.manifest.json -------------------------------------------------------------------------------- /image/pkg/shortnames/testdata/no-reg.conf: -------------------------------------------------------------------------------- 1 | [aliases] 2 | "repo/image"="quay.io/repo/image" 3 | -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/invalid-short-name-mode.conf: -------------------------------------------------------------------------------- 1 | short-name-mode="invalid" 2 | -------------------------------------------------------------------------------- /image/pkg/tlsclientconfig/testdata/missing-cert/client-cert-1.key: -------------------------------------------------------------------------------- 1 | ../full/client-cert-1.key -------------------------------------------------------------------------------- /image/pkg/tlsclientconfig/testdata/missing-key/client-cert-1.cert: -------------------------------------------------------------------------------- 1 | ../full/client-cert-1.cert -------------------------------------------------------------------------------- /image/pkg/tlsclientconfig/testdata/unreadable-cert/client-cert-1.cert: -------------------------------------------------------------------------------- 1 | /this/does/not/exist -------------------------------------------------------------------------------- /image/pkg/tlsclientconfig/testdata/unreadable-cert/client-cert-1.key: -------------------------------------------------------------------------------- 1 | ../full/client-cert-1.key -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-cosign-mixed/signature-2: -------------------------------------------------------------------------------- 1 | ../dir-img-cosign-valid/signature-1 -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-modified-manifest/signature-1: -------------------------------------------------------------------------------- 1 | ../dir-img-valid/signature-1 -------------------------------------------------------------------------------- /storage/drivers/zfs/zfs_unsupported.go: -------------------------------------------------------------------------------- 1 | //go:build !linux && !freebsd 2 | 3 | package zfs 4 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.codecov.yml: -------------------------------------------------------------------------------- 1 | ignore: 2 | - "output_tests/.*" 3 | 4 | -------------------------------------------------------------------------------- /vendor/github.com/seccomp/libseccomp-golang/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *.swp 3 | *.orig 4 | tags 5 | -------------------------------------------------------------------------------- /image/manifest/fixtures/ociv1.artifact.json: -------------------------------------------------------------------------------- 1 | ../../internal/manifest/testdata/ociv1.artifact.json -------------------------------------------------------------------------------- /image/manifest/fixtures/ociv1.manifest.json: -------------------------------------------------------------------------------- 1 | ../../internal/manifest/testdata/ociv1.manifest.json -------------------------------------------------------------------------------- /image/manifest/fixtures/v2list.manifest.json: -------------------------------------------------------------------------------- 1 | ../../internal/manifest/testdata/v2list.manifest.json -------------------------------------------------------------------------------- /image/oci/layout/fixtures/delete_image_multiple_images/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion": "1.0.0"} -------------------------------------------------------------------------------- /image/oci/layout/fixtures/delete_image_only_one_image/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion": "1.0.0"} -------------------------------------------------------------------------------- /image/oci/layout/fixtures/delete_image_shared_blobs_dir/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion": "1.0.0"} -------------------------------------------------------------------------------- /image/pkg/docker/config/testdata/cred-helper.conf: -------------------------------------------------------------------------------- 1 | credential-helpers = [ "helper-registry" ] 2 | -------------------------------------------------------------------------------- /image/pkg/tlsclientconfig/testdata/unreadable-key/client-cert-1.cert: -------------------------------------------------------------------------------- 1 | ../full/client-cert-1.cert -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-cosign-mixed/manifest.json: -------------------------------------------------------------------------------- 1 | ../dir-img-cosign-valid/manifest.json -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-cosign-no-manifest/signature-1: -------------------------------------------------------------------------------- 1 | ../dir-img-cosign-valid/signature-1 -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-cosign-valid-2/manifest.json: -------------------------------------------------------------------------------- 1 | ../dir-img-cosign-valid/manifest.json -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-cosign-valid-2/signature-1: -------------------------------------------------------------------------------- 1 | ../dir-img-cosign-valid/signature-1 -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-manifest-digest-error/signature-1: -------------------------------------------------------------------------------- 1 | ../dir-img-valid/signature-1 -------------------------------------------------------------------------------- /image/signature/internal/testdata/valid.signature: -------------------------------------------------------------------------------- 1 | ../../fixtures/dir-img-cosign-valid/signature-1 -------------------------------------------------------------------------------- /storage/drivers/btrfs/dummy_unsupported.go: -------------------------------------------------------------------------------- 1 | //go:build !linux || !cgo 2 | 3 | package btrfs 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-retryablehttp/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | *.iml 3 | *.test 4 | .vscode/ -------------------------------------------------------------------------------- /vendor/github.com/kr/fs/Readme: -------------------------------------------------------------------------------- 1 | Filesystem Package 2 | 3 | http://godoc.org/github.com/kr/fs 4 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/pkcs11/.gitignore: -------------------------------------------------------------------------------- 1 | tags 2 | test_db/*/generation 3 | test_db/*/*.lock 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/cgroups/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @maintainer1 @maintainer2 @maintainer3 2 | -------------------------------------------------------------------------------- /common/pkg/config/testdata/modules/override.conf: -------------------------------------------------------------------------------- 1 | [containers] 2 | env=["override conf always wins"] 3 | -------------------------------------------------------------------------------- /common/pkg/sysinfo/README.md: -------------------------------------------------------------------------------- 1 | SysInfo stores information about which features a kernel supports. 2 | -------------------------------------------------------------------------------- /image/manifest/fixtures/non-json.manifest.json: -------------------------------------------------------------------------------- 1 | ../../internal/manifest/testdata/non-json.manifest.json -------------------------------------------------------------------------------- /image/manifest/fixtures/ociv1.image.index.json: -------------------------------------------------------------------------------- 1 | ../../internal/manifest/testdata/ociv1.image.index.json -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/registries.conf.d-empty-helpers/empty.conf: -------------------------------------------------------------------------------- 1 | credential-helpers=[] 2 | -------------------------------------------------------------------------------- /storage/pkg/archive/README.md: -------------------------------------------------------------------------------- 1 | This code provides helper functions for dealing with archive files. 2 | -------------------------------------------------------------------------------- /storage/pkg/stringutils/README.md: -------------------------------------------------------------------------------- 1 | This package provides helper functions for dealing with strings 2 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /bug_test.go 3 | /coverage.txt 4 | /.idea 5 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/s2sx.mod: -------------------------------------------------------------------------------- 1 | module github.com/klauspost/compress 2 | 3 | go 1.22 4 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/types/version.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | const VERSION = "2.27.3" 4 | -------------------------------------------------------------------------------- /common/pkg/manifests/testdata/artifacts/index/oci-layout: -------------------------------------------------------------------------------- 1 | { 2 | "imageLayoutVersion": "1.0.0" 3 | } 4 | -------------------------------------------------------------------------------- /image/docker/paths_common.go: -------------------------------------------------------------------------------- 1 | //go:build !freebsd 2 | 3 | package docker 4 | 5 | const etcDir = "/etc" 6 | -------------------------------------------------------------------------------- /image/manifest/fixtures/ociv1nomime.artifact.json: -------------------------------------------------------------------------------- 1 | ../../internal/manifest/testdata/ociv1nomime.artifact.json -------------------------------------------------------------------------------- /image/manifest/fixtures/ociv1nomime.manifest.json: -------------------------------------------------------------------------------- 1 | ../../internal/manifest/testdata/ociv1nomime.manifest.json -------------------------------------------------------------------------------- /image/manifest/fixtures/v2s2nomime.manifest.json: -------------------------------------------------------------------------------- 1 | ../../internal/manifest/testdata/v2s2nomime.manifest.json -------------------------------------------------------------------------------- /image/oci/layout/fixtures/delete_image_two_identical_references/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion": "1.0.0"} -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-cosign-manifest-digest-error/signature-1: -------------------------------------------------------------------------------- 1 | ../dir-img-cosign-valid/signature-1 -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-cosign-modified-manifest/signature-1: -------------------------------------------------------------------------------- 1 | ../dir-img-cosign-valid/signature-1 -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-cosign-other-attachment/manifest.json: -------------------------------------------------------------------------------- 1 | ../dir-img-cosign-valid/manifest.json -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-manifest-digest-error/manifest.json: -------------------------------------------------------------------------------- 1 | ../v2s1-invalid-signatures.manifest.json -------------------------------------------------------------------------------- /common/pkg/manifests/testdata/artifacts/blobs-only/oci-layout: -------------------------------------------------------------------------------- 1 | { 2 | "imageLayoutVersion": "1.0.0" 3 | } 4 | -------------------------------------------------------------------------------- /common/pkg/manifests/testdata/artifacts/config-only/oci-layout: -------------------------------------------------------------------------------- 1 | { 2 | "imageLayoutVersion": "1.0.0" 3 | } 4 | -------------------------------------------------------------------------------- /common/pkg/manifests/testdata/artifacts/no-blobs/oci-layout: -------------------------------------------------------------------------------- 1 | { 2 | "imageLayoutVersion": "1.0.0" 3 | } 4 | -------------------------------------------------------------------------------- /image/manifest/fixtures/ociv1nomime.image.index.json: -------------------------------------------------------------------------------- 1 | ../../internal/manifest/testdata/ociv1nomime.image.index.json -------------------------------------------------------------------------------- /image/manifest/fixtures/v2s1-unsigned.manifest.json: -------------------------------------------------------------------------------- 1 | ../../internal/manifest/testdata/v2s1-unsigned.manifest.json -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/registries.conf.d-usr2/empty-usr.conf: -------------------------------------------------------------------------------- 1 | unqualified-search-registries = [] 2 | -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/try-update-cache-valid.conf: -------------------------------------------------------------------------------- 1 | [[registry]] 2 | location = "registry.com" 3 | -------------------------------------------------------------------------------- /storage/pkg/stringid/README.md: -------------------------------------------------------------------------------- 1 | This package provides helper functions for dealing with string identifiers 2 | -------------------------------------------------------------------------------- /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/onsi/gomega/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.test 3 | . 4 | .idea 5 | gomega.iml 6 | TODO 7 | .vscode -------------------------------------------------------------------------------- /common/logos/containers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/logos/containers.png -------------------------------------------------------------------------------- /image/docker/paths_freebsd.go: -------------------------------------------------------------------------------- 1 | //go:build freebsd 2 | 3 | package docker 4 | 5 | const etcDir = "/usr/local/etc" 6 | -------------------------------------------------------------------------------- /image/manifest/fixtures/unknown-version.manifest.json: -------------------------------------------------------------------------------- 1 | ../../internal/manifest/testdata/unknown-version.manifest.json -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/registries.conf.d-usr1/no-usr.conf: -------------------------------------------------------------------------------- 1 | # unqualified-search-registries is not set 2 | -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-cosign-manifest-digest-error/manifest.json: -------------------------------------------------------------------------------- 1 | ../v2s1-invalid-signatures.manifest.json -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-sqlite3/.codecov.yml: -------------------------------------------------------------------------------- 1 | coverage: 2 | status: 3 | project: off 4 | patch: off 5 | -------------------------------------------------------------------------------- /image/copy/fixtures/Hello.std: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/copy/fixtures/Hello.std -------------------------------------------------------------------------------- /image/copy/fixtures/Hello.zst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/copy/fixtures/Hello.zst -------------------------------------------------------------------------------- /image/manifest/fixtures/schema2-to-schema1-by-docker.json: -------------------------------------------------------------------------------- 1 | ../../internal/manifest/testdata/schema2-to-schema1-by-docker.json -------------------------------------------------------------------------------- /common/logos/logo_circle_crun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/logos/logo_circle_crun.png -------------------------------------------------------------------------------- /common/pkg/config/testdata/modules/usr/share/containers/containers.conf.modules/fifth.conf: -------------------------------------------------------------------------------- 1 | [containers] 2 | env=["usr five"] 3 | -------------------------------------------------------------------------------- /common/pkg/manifests/testdata/artifacts/no-blobs/blobs/sha256/44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /common/version/version.go: -------------------------------------------------------------------------------- 1 | package version 2 | 3 | // Version is the version of the build. 4 | const Version = "0.67.0-dev" 5 | -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/invalid-aliases.conf: -------------------------------------------------------------------------------- 1 | [aliases] 2 | image1="quay.io/repo/image:1" 3 | image2="image:1" 4 | -------------------------------------------------------------------------------- /storage/drivers/zfs/MAINTAINERS: -------------------------------------------------------------------------------- 1 | Jörg Thalheim (@Mic92) 2 | Arthur Gautier (@baloose) 3 | -------------------------------------------------------------------------------- /vendor/github.com/VividCortex/ewma/.whitesource: -------------------------------------------------------------------------------- 1 | { 2 | "settingsInheritedFrom": "VividCortex/whitesource-config@master" 3 | } -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/internal/internal.go: -------------------------------------------------------------------------------- 1 | // Package internal contains some helpers. 2 | package internal 3 | -------------------------------------------------------------------------------- /vendor/github.com/mistifyio/go-zfs/v4/.envrc: -------------------------------------------------------------------------------- 1 | has nix && use nix 2 | dotenv_if_exists 3 | PATH_add bin 4 | path_add GOBIN bin 5 | -------------------------------------------------------------------------------- /vendor/github.com/mistifyio/go-zfs/v4/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | go-zfs.test 3 | .vagrant 4 | 5 | # added by lint-install 6 | out/ 7 | -------------------------------------------------------------------------------- /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/spf13/pflag/.golangci.yaml: -------------------------------------------------------------------------------- 1 | linters: 2 | disable-all: true 3 | enable: 4 | - nolintlint 5 | -------------------------------------------------------------------------------- /vendor/github.com/vishvananda/netlink/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | ## 1.0.0 (2018-03-15) 4 | 5 | Initial release tagging -------------------------------------------------------------------------------- /common/logos/crun-logo-full-vert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/logos/crun-logo-full-vert.png -------------------------------------------------------------------------------- /common/logos/logo_circle_bootc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/logos/logo_circle_bootc.png -------------------------------------------------------------------------------- /common/logos/logo_circle_buildah.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/logos/logo_circle_buildah.png -------------------------------------------------------------------------------- /common/logos/logo_circle_podman.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/logos/logo_circle_podman.png -------------------------------------------------------------------------------- /common/logos/logo_circle_skopeo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/logos/logo_circle_skopeo.png -------------------------------------------------------------------------------- /common/logos/logo_circle_youki.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/logos/logo_circle_youki.png -------------------------------------------------------------------------------- /common/logos/podman-desktop-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/logos/podman-desktop-logo.png -------------------------------------------------------------------------------- /common/pkg/config/testdata/modules/etc/containers/containers.conf.modules/first.conf: -------------------------------------------------------------------------------- 1 | [containers] 2 | annotations=["etc first"] 3 | -------------------------------------------------------------------------------- /common/pkg/config/testdata/modules/etc/containers/containers.conf.modules/second.conf: -------------------------------------------------------------------------------- 1 | [containers] 2 | volumes=["etc second"] 3 | -------------------------------------------------------------------------------- /common/pkg/config/testdata/modules/etc/containers/containers.conf.modules/third.conf: -------------------------------------------------------------------------------- 1 | [network] 2 | default_network="etc third" 3 | -------------------------------------------------------------------------------- /common/pkg/manifests/testdata/artifacts/blobs-only/blobs/sha256/44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /common/pkg/manifests/testdata/artifacts/config-only/blobs/sha256/44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /image/internal/manifest/testdata/schema2-to-schema1-by-docker.json: -------------------------------------------------------------------------------- 1 | ../../../internal/image/fixtures/schema2-to-schema1-by-docker.json -------------------------------------------------------------------------------- /image/manifest/fixtures/v2s1-invalid-signatures.manifest.json: -------------------------------------------------------------------------------- 1 | ../../internal/manifest/testdata/v2s1-invalid-signatures.manifest.json -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/invalid-search.conf: -------------------------------------------------------------------------------- 1 | unqualified-search-registries = ["registry-a.com/namespace-is-forbidden"] 2 | -------------------------------------------------------------------------------- /image/signature/fixtures/pubring.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/fixtures/pubring.gpg -------------------------------------------------------------------------------- /image/signature/fixtures/secring.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/fixtures/secring.gpg -------------------------------------------------------------------------------- /image/signature/fixtures/trustdb.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/fixtures/trustdb.gpg -------------------------------------------------------------------------------- /storage/pkg/regexp/regexp_precompile.go: -------------------------------------------------------------------------------- 1 | //go:build regexp_precompile 2 | 3 | package regexp 4 | 5 | const precompile = true 6 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/go-winio/internal/fs/doc.go: -------------------------------------------------------------------------------- 1 | // This package contains Win32 filesystem functionality. 2 | package fs 3 | -------------------------------------------------------------------------------- /common/logos/bootc-logo-full-vert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/logos/bootc-logo-full-vert.png -------------------------------------------------------------------------------- /common/logos/containers-full-horiz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/logos/containers-full-horiz.png -------------------------------------------------------------------------------- /common/logos/logo_circle_ramalama.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/logos/logo_circle_ramalama.png -------------------------------------------------------------------------------- /common/logos/podman-logo-full-vert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/logos/podman-logo-full-vert.png -------------------------------------------------------------------------------- /common/logos/skopeo-logo-full-vert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/logos/skopeo-logo-full-vert.png -------------------------------------------------------------------------------- /common/logos/youki-logo-full-vert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/logos/youki-logo-full-vert.png -------------------------------------------------------------------------------- /common/pkg/config/testdata/modules/usr/share/containers/containers.conf.modules/first.conf: -------------------------------------------------------------------------------- 1 | [containers] 2 | annotations=["usr first"] 3 | -------------------------------------------------------------------------------- /common/pkg/config/testdata/modules/usr/share/containers/containers.conf.modules/second.conf: -------------------------------------------------------------------------------- 1 | [containers] 2 | volumes=["usr second"] 3 | -------------------------------------------------------------------------------- /common/pkg/config/testdata/modules/usr/share/containers/containers.conf.modules/third.conf: -------------------------------------------------------------------------------- 1 | [network] 2 | default_network="usr third" 3 | -------------------------------------------------------------------------------- /image/pkg/docker/config/testdata/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "credHelpers" : { 3 | "registry-no-creds.com" : "helper-registry" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /image/pkg/docker/config/testdata/cred-helper-with-auth-files.conf: -------------------------------------------------------------------------------- 1 | credential-helpers = [ "containers-auth.json", "helper-registry" ] 2 | -------------------------------------------------------------------------------- /storage/pkg/archive/changes_windows_test.go: -------------------------------------------------------------------------------- 1 | package archive 2 | 3 | func resetSymlinkTimes(path string) error { 4 | return nil 5 | } 6 | -------------------------------------------------------------------------------- /storage/pkg/regexp/regexp_dontprecompile.go: -------------------------------------------------------------------------------- 1 | //go:build !regexp_precompile 2 | 3 | package regexp 4 | 5 | const precompile = false 6 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/staticcheck.conf: -------------------------------------------------------------------------------- 1 | checks = ['all', 2 | '-U1000', # Don't complain about unused functions. 3 | ] 4 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/pkcs11/hsm.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/vendor/github.com/miekg/pkcs11/hsm.db -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | TODO 3 | tmp/**/* 4 | *.coverprofile 5 | .vscode 6 | .idea/ 7 | *.log 8 | *.test -------------------------------------------------------------------------------- /vendor/github.com/ulikunitz/xz/fox.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/vendor/github.com/ulikunitz/xz/fox.xz -------------------------------------------------------------------------------- /common/logos/buildah-logo-full-vert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/logos/buildah-logo-full-vert.png -------------------------------------------------------------------------------- /common/pkg/config/testdata/modules/etc/containers/containers.conf.modules/sub/etc-only.conf: -------------------------------------------------------------------------------- 1 | [network] 2 | default_network="etc only conf" 3 | -------------------------------------------------------------------------------- /common/pkg/config/testdata/modules/home/.config/containers/containers.conf.modules/first.conf: -------------------------------------------------------------------------------- 1 | [containers] 2 | annotations=["home first"] 3 | -------------------------------------------------------------------------------- /common/pkg/config/testdata/modules/home/.config/containers/containers.conf.modules/third.conf: -------------------------------------------------------------------------------- 1 | [network] 2 | default_network="home third" 3 | -------------------------------------------------------------------------------- /image/pkg/compression/fixtures/Hello.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/pkg/compression/fixtures/Hello.bz2 -------------------------------------------------------------------------------- /image/pkg/compression/fixtures/Hello.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/pkg/compression/fixtures/Hello.gz -------------------------------------------------------------------------------- /image/pkg/compression/fixtures/Hello.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/pkg/compression/fixtures/Hello.xz -------------------------------------------------------------------------------- /image/pkg/compression/fixtures/Hello.zst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/pkg/compression/fixtures/Hello.zst -------------------------------------------------------------------------------- /image/signature/fixtures/image.signature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/fixtures/image.signature -------------------------------------------------------------------------------- /image/signature/fixtures/public-key-1.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/fixtures/public-key-1.gpg -------------------------------------------------------------------------------- /image/signature/fixtures/public-key-2.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/fixtures/public-key-2.gpg -------------------------------------------------------------------------------- /image/signature/fixtures/subkey.signature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/fixtures/subkey.signature -------------------------------------------------------------------------------- /image/signature/internal/testdata/rekor-sig: -------------------------------------------------------------------------------- 1 | MEQCIEJc96e041VAhKA03SvfCYbWodIMIQPyAtWyDP4FnPqpAiAaIS60EjhRDhSanoFsoIy8fKqqKeW5ps/tLXSGpayi2g== -------------------------------------------------------------------------------- /storage/pkg/archive/testdata/broken.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/storage/pkg/archive/testdata/broken.tar -------------------------------------------------------------------------------- /vendor/github.com/clipperhouse/stringish/interface.go: -------------------------------------------------------------------------------- 1 | package stringish 2 | 3 | type Interface interface { 4 | ~[]byte | ~string 5 | } 6 | -------------------------------------------------------------------------------- /common/libimage/testdata/oci-unnamed.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/libimage/testdata/oci-unnamed.tar.gz -------------------------------------------------------------------------------- /common/libnetwork/cni/testfiles/invalid/noplugin.conflist: -------------------------------------------------------------------------------- 1 | { 2 | "cniVersion": "0.4.0", 3 | "name": "bridge", 4 | "plugins": [] 5 | } 6 | -------------------------------------------------------------------------------- /common/logos/logo_circle_podmandesktop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/logos/logo_circle_podmandesktop.png -------------------------------------------------------------------------------- /common/pkg/config/testdata/containers_override2.conf: -------------------------------------------------------------------------------- 1 | [containers] 2 | 3 | [engine] 4 | cdi_spec_dirs = [ "/somepath", "/some_other_path" ] 5 | 6 | -------------------------------------------------------------------------------- /common/pkg/config/testdata/modules/usr/share/containers/containers.conf.modules/sub/first.conf: -------------------------------------------------------------------------------- 1 | [containers] 2 | annotations=["usr sub first"] 3 | -------------------------------------------------------------------------------- /common/tests/policy.json: -------------------------------------------------------------------------------- 1 | { 2 | "default": [ 3 | { 4 | "type": "insecureAcceptAnything" 5 | } 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /image/pkg/shortnames/testdata/one-reg.conf: -------------------------------------------------------------------------------- 1 | unqualified-search-registries=["quay.io"] 2 | 3 | [aliases] 4 | "repo/image"="quay.io/repo/image" 5 | -------------------------------------------------------------------------------- /image/signature/fixtures/corrupt.signature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/fixtures/corrupt.signature -------------------------------------------------------------------------------- /image/signature/fixtures/expired.signature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/fixtures/expired.signature -------------------------------------------------------------------------------- /storage/drivers/register/register_vfs.go: -------------------------------------------------------------------------------- 1 | package register 2 | 3 | import ( 4 | // register vfs 5 | _ "go.podman.io/storage/drivers/vfs" 6 | ) 7 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/sftp/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Dave Cheney 2 | Saulius Gurklys 3 | John Eikenberry 4 | -------------------------------------------------------------------------------- /vendor/github.com/vbauerster/mpb/v8/cwriter/doc.go: -------------------------------------------------------------------------------- 1 | // Package cwriter is a console writer abstraction for the underlying OS. 2 | package cwriter 3 | -------------------------------------------------------------------------------- /vendor/github.com/vbauerster/mpb/v8/doc.go: -------------------------------------------------------------------------------- 1 | // Package mpb is a library for rendering progress bars in terminal applications. 2 | package mpb 3 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf 2 | *.{cmd,[cC][mM][dD]} text eol=crlf 3 | *.{bat,[bB][aA][tT]} text eol=crlf 4 | -------------------------------------------------------------------------------- /common/libimage/testdata/docker-unnamed.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/libimage/testdata/docker-unnamed.tar.xz -------------------------------------------------------------------------------- /common/libimage/testdata/oci-name-only.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/libimage/testdata/oci-name-only.tar.gz -------------------------------------------------------------------------------- /common/pkg/config/testdata/modules/home/.config/containers/containers.conf.modules/sub/first.conf: -------------------------------------------------------------------------------- 1 | [containers] 2 | annotations=["home sub first"] 3 | -------------------------------------------------------------------------------- /common/pkg/retry/retry_unsupported.go: -------------------------------------------------------------------------------- 1 | //go:build !linux 2 | 3 | package retry 4 | 5 | func isErrnoERESTART(e error) bool { 6 | return false 7 | } 8 | -------------------------------------------------------------------------------- /image/signature/fixtures/corrupt.signature-v3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/fixtures/corrupt.signature-v3 -------------------------------------------------------------------------------- /image/signature/fixtures/subkey.signature-v3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/fixtures/subkey.signature-v3 -------------------------------------------------------------------------------- /image/signature/fixtures/unknown-key.signature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/fixtures/unknown-key.signature -------------------------------------------------------------------------------- /vendor/github.com/pkg/browser/browser_darwin.go: -------------------------------------------------------------------------------- 1 | package browser 2 | 3 | func openBrowser(url string) error { 4 | return runCmd("open", url) 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/ulikunitz/xz/lzma/fox.lzma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/vendor/github.com/ulikunitz/xz/lzma/fox.lzma -------------------------------------------------------------------------------- /common/contrib/redhat/registry.redhat.io.yaml: -------------------------------------------------------------------------------- 1 | docker: 2 | registry.redhat.io: 3 | lookaside: https://registry.redhat.io/containers/sigstore 4 | -------------------------------------------------------------------------------- /common/libimage/testdata/docker-name-only.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/libimage/testdata/docker-name-only.tar.xz -------------------------------------------------------------------------------- /common/libimage/testdata/docker-two-names.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/libimage/testdata/docker-two-names.tar.xz -------------------------------------------------------------------------------- /common/libimage/testdata/exported-container.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/libimage/testdata/exported-container.tar -------------------------------------------------------------------------------- /common/pkg/config/testdata/modules/etc/containers/containers.conf.modules/fourth.conf: -------------------------------------------------------------------------------- 1 | [containers] 2 | init_path="etc four" 3 | volumes=["volume four"] 4 | -------------------------------------------------------------------------------- /common/pkg/config/testdata/modules/home/.config/containers/containers.conf.modules/second.conf: -------------------------------------------------------------------------------- 1 | [containers] 2 | volumes=["home second", {append=true}] 3 | -------------------------------------------------------------------------------- /common/pkg/config/testdata/modules/usr/share/containers/containers.conf.modules/sub/share-only.conf: -------------------------------------------------------------------------------- 1 | [containers] 2 | env=["usr share only", {append=true}] 3 | -------------------------------------------------------------------------------- /common/pkg/umask/umask_unsupported.go: -------------------------------------------------------------------------------- 1 | //go:build !linux && !darwin 2 | 3 | package umask 4 | 5 | func Check() {} 6 | 7 | func Set(int) int { return 0 } 8 | -------------------------------------------------------------------------------- /image/pkg/docker/config/testdata/example.json: -------------------------------------------------------------------------------- 1 | { 2 | "auths": { 3 | "example.org": { 4 | "auth": "ZXhhbXBsZTpvcmc=" 5 | } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /image/sif/src_test.go: -------------------------------------------------------------------------------- 1 | package sif 2 | 3 | import "go.podman.io/image/v5/internal/private" 4 | 5 | var _ private.ImageSource = (*sifImageSource)(nil) 6 | -------------------------------------------------------------------------------- /image/signature/fixtures/.gitignore: -------------------------------------------------------------------------------- 1 | /*.gpg~ 2 | /.gpg-v21-migrated 3 | /private-keys-v1.d 4 | /random_seed 5 | /gnupg_spawn_agent_sentinel.lock 6 | /.#* 7 | -------------------------------------------------------------------------------- /image/signature/fixtures/invalid-blob.signature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/fixtures/invalid-blob.signature -------------------------------------------------------------------------------- /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/pkg/sftp/release.go: -------------------------------------------------------------------------------- 1 | //go:build !debug 2 | // +build !debug 3 | 4 | package sftp 5 | 6 | func debug(fmt string, args ...interface{}) {} 7 | -------------------------------------------------------------------------------- /vendor/github.com/proglottis/gpgme/.gitignore: -------------------------------------------------------------------------------- 1 | testdata/gpghome/random_seed 2 | testdata/gpghome/.gpg-v21-migrated 3 | testdata/gpghome/private-keys-v1.d/ 4 | -------------------------------------------------------------------------------- /vendor/github.com/tchap/go-patricia/v2/AUTHORS: -------------------------------------------------------------------------------- 1 | This is the complete list of go-patricia copyright holders: 2 | 3 | Ondřej Kupka 4 | -------------------------------------------------------------------------------- /vendor/github.com/ulikunitz/xz/fox-check-none.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/vendor/github.com/ulikunitz/xz/fox-check-none.xz -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/.clomonitor.yml: -------------------------------------------------------------------------------- 1 | exemptions: 2 | - check: artifacthub_badge 3 | reason: "Artifact Hub doesn't support Go packages" 4 | -------------------------------------------------------------------------------- /common/libimage/testdata/docker-two-images.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/libimage/testdata/docker-two-images.tar.xz -------------------------------------------------------------------------------- /common/libimage/testdata/oci-non-docker-name.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/libimage/testdata/oci-non-docker-name.tar.gz -------------------------------------------------------------------------------- /common/libimage/testdata/oci-registry-name.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/libimage/testdata/oci-registry-name.tar.gz -------------------------------------------------------------------------------- /image/pkg/shortnames/testdata/two-reg.conf: -------------------------------------------------------------------------------- 1 | unqualified-search-registries=["quay.io", "registry.com"] 2 | 3 | [aliases] 4 | "repo/image"="quay.io/repo/image" 5 | -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-valid/signature-1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/fixtures/dir-img-valid/signature-1 -------------------------------------------------------------------------------- /image/signature/fixtures/invalid-blob.signature-v3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/fixtures/invalid-blob.signature-v3 -------------------------------------------------------------------------------- /image/signature/fixtures/subkey-revoked.signature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/fixtures/subkey-revoked.signature -------------------------------------------------------------------------------- /image/signature/fixtures/unknown-key.signature-v3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/fixtures/unknown-key.signature-v3 -------------------------------------------------------------------------------- /image/signature/fixtures/unsigned-literal.signature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/fixtures/unsigned-literal.signature -------------------------------------------------------------------------------- /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/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/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 | -------------------------------------------------------------------------------- /common/libimage/testdata/docker-registry-name.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/libimage/testdata/docker-registry-name.tar.xz -------------------------------------------------------------------------------- /image/oci/layout/fixtures/delete_image_only_one_image/blobs/sha256/0c8b263642b51b5c1dc40fe402ae2e97119c6007b6e52146419985ec1f0092dc: -------------------------------------------------------------------------------- 1 | insert binary content here #9671 2 | -------------------------------------------------------------------------------- /image/pkg/blobinfocache/none/none_test.go: -------------------------------------------------------------------------------- 1 | package none 2 | 3 | import ( 4 | "go.podman.io/image/v5/types" 5 | ) 6 | 7 | var _ types.BlobInfoCache = &noCache{} 8 | -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-valid-2/signature-2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/fixtures/dir-img-valid-2/signature-2 -------------------------------------------------------------------------------- /image/signature/fixtures/invalid-reference.signature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/fixtures/invalid-reference.signature -------------------------------------------------------------------------------- /image/signature/fixtures/no-optional-fields.signature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/fixtures/no-optional-fields.signature -------------------------------------------------------------------------------- /image/signature/fixtures/subkey-revoked.signature-v3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/fixtures/subkey-revoked.signature-v3 -------------------------------------------------------------------------------- /image/signature/fixtures/unsigned-encrypted.signature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/fixtures/unsigned-encrypted.signature -------------------------------------------------------------------------------- /vendor/github.com/santhosh-tekuri/jsonschema/v6/.swp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/vendor/github.com/santhosh-tekuri/jsonschema/v6/.swp -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/.codespellignore: -------------------------------------------------------------------------------- 1 | ot 2 | fo 3 | te 4 | collison 5 | consequentially 6 | ans 7 | nam 8 | valu 9 | thirdparty 10 | addOpt 11 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /image/docker/archive/src_test.go: -------------------------------------------------------------------------------- 1 | package archive 2 | 3 | import "go.podman.io/image/v5/internal/private" 4 | 5 | var _ private.ImageSource = (*archiveImageSource)(nil) 6 | -------------------------------------------------------------------------------- /image/internal/manifest/testdata/non-json.manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/internal/manifest/testdata/non-json.manifest.json -------------------------------------------------------------------------------- /image/internal/manifest/testdata/unknown-version.manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 99999, 3 | "name": "mitr/noversion-nonsense", 4 | "tag": "latest" 5 | } 6 | -------------------------------------------------------------------------------- /image/oci/layout/fixtures/delete_image_multiple_images/blobs/sha256/02ea786cb1ff44d997661886a4186cbd8a1dc466938712bf7281379209476022: -------------------------------------------------------------------------------- 1 | insert binary content here #26559 2 | -------------------------------------------------------------------------------- /image/oci/layout/fixtures/delete_image_multiple_images/blobs/sha256/557ac7d133b7770216a8101268640edf4e88beab1b4e1e1bfc9b1891a1cab861: -------------------------------------------------------------------------------- 1 | insert binary content here #9811 2 | -------------------------------------------------------------------------------- /image/oci/layout/fixtures/delete_image_multiple_images/blobs/sha256/986315a0e599fac2b80eb31db2124dab8d3de04d7ca98b254999bd913c1f73fe: -------------------------------------------------------------------------------- 1 | insert binary content here #7959 2 | -------------------------------------------------------------------------------- /image/oci/layout/fixtures/delete_image_multiple_images/blobs/sha256/a6f737ac2b84bc463f2ff721af39588c69646c82f79f3808236178e02e35b922: -------------------------------------------------------------------------------- 1 | insert binary content here #1234 2 | -------------------------------------------------------------------------------- /image/oci/layout/fixtures/delete_image_multiple_images/blobs/sha256/e19729d5a968c71b4b691d60f4a6f85f93c303bb88635dcfef36e23b76cb7b3a: -------------------------------------------------------------------------------- 1 | insert binary content here #28017 2 | -------------------------------------------------------------------------------- /image/oci/layout/fixtures/delete_image_multiple_images/blobs/sha256/e2f7e0374fd6a03d9c373f4d9a0c7802045cc3ddcc1433e89d83b81fa7007242: -------------------------------------------------------------------------------- 1 | insert binary content here #4794 2 | -------------------------------------------------------------------------------- /image/signature/simplesigning/testdata/.gitignore: -------------------------------------------------------------------------------- 1 | /*.gpg~ 2 | /.gpg-v21-migrated 3 | /private-keys-v1.d 4 | /random_seed 5 | /gnupg_spawn_agent_sentinel.lock 6 | /.#* 7 | -------------------------------------------------------------------------------- /storage/drivers/jsoniter.go: -------------------------------------------------------------------------------- 1 | package graphdriver 2 | 3 | import jsoniter "github.com/json-iterator/go" 4 | 5 | var json = jsoniter.ConfigCompatibleWithStandardLibrary 6 | -------------------------------------------------------------------------------- /vendor/dario.cat/mergo/FUNDING.json: -------------------------------------------------------------------------------- 1 | { 2 | "drips": { 3 | "ethereum": { 4 | "ownedBy": "0x6160020e7102237aC41bdb156e94401692D76930" 5 | } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/go-winio/.gitignore: -------------------------------------------------------------------------------- 1 | .vscode/ 2 | 3 | *.exe 4 | 5 | # testing 6 | testdata 7 | 8 | # go workspaces 9 | go.work 10 | go.work.sum 11 | -------------------------------------------------------------------------------- /vendor/github.com/disiqueira/gotree/v3/gotree-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/vendor/github.com/disiqueira/gotree/v3/gotree-logo.png -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/internal/unix2.go: -------------------------------------------------------------------------------- 1 | //go:build !windows 2 | 3 | package internal 4 | 5 | func HasPrivilegesForSymlink() bool { 6 | return true 7 | } 8 | -------------------------------------------------------------------------------- /common/libnetwork/internal/rootlessnetns/netns.go: -------------------------------------------------------------------------------- 1 | package rootlessnetns 2 | 3 | type NetworkBackend int 4 | 5 | const ( 6 | Netavark NetworkBackend = iota 7 | CNI 8 | ) 9 | -------------------------------------------------------------------------------- /image/.gitignore: -------------------------------------------------------------------------------- 1 | vendor 2 | tools.timestamp 3 | 4 | # Idea IDE 5 | *.iml 6 | .idea 7 | 8 | # Visual Studio Code 9 | .vscode/* 10 | 11 | # trash 12 | trash.lock 13 | -------------------------------------------------------------------------------- /image/docker/daemon/daemon_src_test.go: -------------------------------------------------------------------------------- 1 | package daemon 2 | 3 | import "go.podman.io/image/v5/internal/private" 4 | 5 | var _ private.ImageSource = (*daemonImageSource)(nil) 6 | -------------------------------------------------------------------------------- /image/oci/layout/fixtures/delete_image_shared_blobs_dir/shared_blobs/sha256/0c8b263642b51b5c1dc40fe402ae2e97119c6007b6e52146419985ec1f0092dc: -------------------------------------------------------------------------------- 1 | insert binary content here #9671 2 | -------------------------------------------------------------------------------- /image/oci/layout/fixtures/delete_image_two_identical_references/blobs/sha256/0c8b263642b51b5c1dc40fe402ae2e97119c6007b6e52146419985ec1f0092dc: -------------------------------------------------------------------------------- 1 | insert binary content here #9671 2 | -------------------------------------------------------------------------------- /image/oci/layout/fixtures/delete_image_two_identical_references/blobs/sha256/fa00bb4e2adbc73a5da1fd54d2a840020592530a8d4e8de9888b9e9a533419d8: -------------------------------------------------------------------------------- 1 | insert binary content here 32515 2 | -------------------------------------------------------------------------------- /image/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 | -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/base-for-registries.d.conf: -------------------------------------------------------------------------------- 1 | unqualified-search-registries = ["example.com"] 2 | 3 | [[registry]] 4 | location = "base.com" 5 | insecure = true -------------------------------------------------------------------------------- /image/tarball/tarball_src_test.go: -------------------------------------------------------------------------------- 1 | package tarball 2 | 3 | import "go.podman.io/image/v5/internal/private" 4 | 5 | var _ private.ImageSource = (*tarballImageSource)(nil) 6 | -------------------------------------------------------------------------------- /storage/pkg/mount/unmount_unsupported.go: -------------------------------------------------------------------------------- 1 | //go:build windows 2 | 3 | package mount 4 | 5 | func unmount(target string, flag int) error { 6 | panic("Not implemented") 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/cli/cli/config/credentials/default_store_windows.go: -------------------------------------------------------------------------------- 1 | package credentials 2 | 3 | func defaultCredentialsStore() string { 4 | return "wincred" 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.mailmap: -------------------------------------------------------------------------------- 1 | Chris Howey 2 | Nathan Youngman <4566+nathany@users.noreply.github.com> 3 | -------------------------------------------------------------------------------- /vendor/github.com/godbus/dbus/v5/transport_zos.go: -------------------------------------------------------------------------------- 1 | package dbus 2 | 3 | func (t *unixTransport) SendNullByte() error { 4 | _, err := t.Write([]byte{0}) 5 | return err 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/santhosh-tekuri/jsonschema/v6/.golangci.yml: -------------------------------------------------------------------------------- 1 | version: "2" 2 | linters: 3 | enable: 4 | - nakedret 5 | - errname 6 | - godot 7 | - misspell 8 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /image/openshift/openshift_src_test.go: -------------------------------------------------------------------------------- 1 | package openshift 2 | 3 | import "go.podman.io/image/v5/internal/private" 4 | 5 | var _ private.ImageSource = (*openshiftImageSource)(nil) 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/cli/cli/config/configfile/file_windows.go: -------------------------------------------------------------------------------- 1 | package configfile 2 | 3 | func copyFilePermissions(src, dst string) { 4 | // TODO implement for Windows 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/cli/cli/config/credentials/default_store_darwin.go: -------------------------------------------------------------------------------- 1 | package credentials 2 | 3 | func defaultCredentialsStore() string { 4 | return "osxkeychain" 5 | } 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/github.com/onsi/gomega/matchers/support/goraph/node/node.go: -------------------------------------------------------------------------------- 1 | package node 2 | 3 | type Node struct { 4 | ID int 5 | Value any 6 | } 7 | 8 | type NodeOrderedSet []Node 9 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_wasi.go: -------------------------------------------------------------------------------- 1 | //go:build wasi 2 | // +build wasi 3 | 4 | package logrus 5 | 6 | func isTerminal(fd int) bool { 7 | return false 8 | } 9 | -------------------------------------------------------------------------------- /common/contrib/redhat/registry.access.redhat.com.yaml: -------------------------------------------------------------------------------- 1 | docker: 2 | registry.access.redhat.com: 3 | lookaside: https://access.redhat.com/webassets/docker/content/sigstore 4 | -------------------------------------------------------------------------------- /common/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 | -------------------------------------------------------------------------------- /image/docker/archive/dest_test.go: -------------------------------------------------------------------------------- 1 | package archive 2 | 3 | import "go.podman.io/image/v5/internal/private" 4 | 5 | var _ private.ImageDestination = (*archiveImageDestination)(nil) 6 | -------------------------------------------------------------------------------- /image/docker/daemon/daemon_dest_test.go: -------------------------------------------------------------------------------- 1 | package daemon 2 | 3 | import "go.podman.io/image/v5/internal/private" 4 | 5 | var _ private.ImageDestination = (*daemonImageDestination)(nil) 6 | -------------------------------------------------------------------------------- /image/docker/tarfile/doc.go: -------------------------------------------------------------------------------- 1 | // Package tarfile is an internal implementation detail of some transports. 2 | // Do not use outside of the go.podman.io/image repo! 3 | package tarfile 4 | -------------------------------------------------------------------------------- /vendor/github.com/coreos/go-oidc/v3/NOTICE: -------------------------------------------------------------------------------- 1 | CoreOS Project 2 | Copyright 2014 CoreOS, Inc 3 | 4 | This product includes software developed at CoreOS, Inc. 5 | (http://www.coreos.com/). 6 | -------------------------------------------------------------------------------- /vendor/github.com/santhosh-tekuri/jsonschema/v6/go.work: -------------------------------------------------------------------------------- 1 | go 1.21.1 2 | 3 | use ( 4 | . 5 | ./cmd/jv 6 | ) 7 | 8 | // replace github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 => ./ 9 | -------------------------------------------------------------------------------- /vendor/github.com/vbauerster/mpb/v8/cwriter/util_zos.go: -------------------------------------------------------------------------------- 1 | //go:build zos 2 | 3 | package cwriter 4 | 5 | import "golang.org/x/sys/unix" 6 | 7 | const ioctlReadTermios = unix.TCGETS 8 | -------------------------------------------------------------------------------- /vendor/github.com/vishvananda/netlink/rule_nonlinux.go: -------------------------------------------------------------------------------- 1 | //go:build !linux 2 | // +build !linux 3 | 4 | package netlink 5 | 6 | func (r Rule) typeString() string { 7 | return "" 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/vishvananda/netlink/xfrm_unspecified.go: -------------------------------------------------------------------------------- 1 | //go:build !linux 2 | // +build !linux 3 | 4 | package netlink 5 | 6 | type XfrmPolicy struct{} 7 | type XfrmState struct{} 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 | -------------------------------------------------------------------------------- /common/pkg/sysinfo/numcpu_other.go: -------------------------------------------------------------------------------- 1 | //go:build !linux && !windows 2 | 3 | package sysinfo 4 | 5 | import "runtime" 6 | 7 | func numCPU() int { 8 | return runtime.NumCPU() 9 | } 10 | -------------------------------------------------------------------------------- /image/openshift/openshift_dest_test.go: -------------------------------------------------------------------------------- 1 | package openshift 2 | 3 | import "go.podman.io/image/v5/internal/private" 4 | 5 | var _ private.ImageDestination = (*openshiftImageDestination)(nil) 6 | -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/registries.conf.d/subdomain-override-2.conf: -------------------------------------------------------------------------------- 1 | [[registry]] 2 | location = "subdomain-prefix-2-overridden-by-dropin-location.com" 3 | prefix = "*.docker.com" 4 | -------------------------------------------------------------------------------- /image/signature/simplesequoia/testdata/data/pgp.cert.d/trust-root: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/simplesequoia/testdata/data/pgp.cert.d/trust-root -------------------------------------------------------------------------------- /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/godbus/dbus/v5/auth_default_windows.go: -------------------------------------------------------------------------------- 1 | package dbus 2 | 3 | func getDefaultAuthMethods(user string) []Auth { 4 | return []Auth{AuthCookieSha1(user, getHomeDir())} 5 | } 6 | -------------------------------------------------------------------------------- /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/klauspost/compress/internal/le/le.go: -------------------------------------------------------------------------------- 1 | package le 2 | 3 | type Indexer interface { 4 | int | int8 | int16 | int32 | int64 | uint | uint8 | uint16 | uint32 | uint64 5 | } 6 | -------------------------------------------------------------------------------- /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/sirupsen/logrus/terminal_check_wasip1.go: -------------------------------------------------------------------------------- 1 | //go:build wasip1 2 | // +build wasip1 3 | 4 | package logrus 5 | 6 | func isTerminal(fd int) bool { 7 | return false 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/vbauerster/mpb/v8/.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/v8/cwriter/util_solaris.go: -------------------------------------------------------------------------------- 1 | //go:build solaris 2 | 3 | package cwriter 4 | 5 | import "golang.org/x/sys/unix" 6 | 7 | const ioctlReadTermios = unix.TCGETA 8 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/.gitignore: -------------------------------------------------------------------------------- 1 | *.prof 2 | *.test 3 | *.swp 4 | /bin/ 5 | cover.out 6 | cover-*.out 7 | /.idea 8 | *.iml 9 | /bbolt 10 | /cmd/bbolt/bbolt 11 | .DS_Store 12 | 13 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/codes/README.md: -------------------------------------------------------------------------------- 1 | # Codes 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/codes)](https://pkg.go.dev/go.opentelemetry.io/otel/codes) 4 | -------------------------------------------------------------------------------- /common/pkg/hooks/version.go: -------------------------------------------------------------------------------- 1 | package hooks 2 | 3 | // version a structure for checking the version of a hook configuration. 4 | type version struct { 5 | Version string `json:"version"` 6 | } 7 | -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/registries.conf.d/subdomain-override-3.conf: -------------------------------------------------------------------------------- 1 | [[registry]] 2 | location = "subdomain-prefix-3-overridden-by-dropin-location.com" 3 | prefix = "*.bar.example.com" 4 | -------------------------------------------------------------------------------- /vendor/github.com/vbauerster/mpb/v8/cwriter/util_linux.go: -------------------------------------------------------------------------------- 1 | //go:build aix || linux 2 | 3 | package cwriter 4 | 5 | import "golang.org/x/sys/unix" 6 | 7 | const ioctlReadTermios = unix.TCGETS 8 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/baggage/README.md: -------------------------------------------------------------------------------- 1 | # Baggage 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/baggage)](https://pkg.go.dev/go.opentelemetry.io/otel/baggage) 4 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/metric/README.md: -------------------------------------------------------------------------------- 1 | # Metric API 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/metric)](https://pkg.go.dev/go.opentelemetry.io/otel/metric) 4 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/trace/README.md: -------------------------------------------------------------------------------- 1 | # Trace API 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/trace)](https://pkg.go.dev/go.opentelemetry.io/otel/trace) 4 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /common/libnetwork/netavark/const.go: -------------------------------------------------------------------------------- 1 | //go:build linux || freebsd 2 | 3 | package netavark 4 | 5 | const defaultBridgeName = "podman" 6 | 7 | const defaultRootLockPath = "/run/lock/netavark.lock" 8 | -------------------------------------------------------------------------------- /storage/drivers/overlay/jsoniter.go: -------------------------------------------------------------------------------- 1 | //go:build linux 2 | 3 | package overlay 4 | 5 | import jsoniter "github.com/json-iterator/go" 6 | 7 | var json = jsoniter.ConfigCompatibleWithStandardLibrary 8 | -------------------------------------------------------------------------------- /storage/drivers/overlay/overlay_unsupported.go: -------------------------------------------------------------------------------- 1 | //go:build !linux 2 | 3 | package overlay 4 | 5 | func SupportsNativeOverlay(graphroot, rundir string) (bool, error) { 6 | return false, nil 7 | } 8 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/godbus/dbus/v5/MAINTAINERS: -------------------------------------------------------------------------------- 1 | Brandon Philips (@philips) 2 | Brian Waldon (@bcwaldon) 3 | John Southworth (@jsouthworth) 4 | -------------------------------------------------------------------------------- /vendor/github.com/moby/moby/api/types/common/error_response_ext.go: -------------------------------------------------------------------------------- 1 | package common 2 | 3 | // Error returns the error message 4 | func (e ErrorResponse) Error() string { 5 | return e.Message 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/ginkgo/automaxprocs.go: -------------------------------------------------------------------------------- 1 | //go:build !go1.25 2 | // +build !go1.25 3 | 4 | package main 5 | 6 | import ( 7 | _ "github.com/onsi/ginkgo/v2/ginkgo/automaxprocs" 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/internal/progress_report_win.go: -------------------------------------------------------------------------------- 1 | //go:build windows 2 | // +build windows 3 | 4 | package internal 5 | 6 | import "os" 7 | 8 | var PROGRESS_SIGNALS = []os.Signal{} 9 | -------------------------------------------------------------------------------- /vendor/sigs.k8s.io/yaml/code-of-conduct.md: -------------------------------------------------------------------------------- 1 | # Kubernetes Community Code of Conduct 2 | 3 | Please refer to our [Kubernetes Community Code of Conduct](https://git.k8s.io/community/code-of-conduct.md) 4 | -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please read the [contributing guidelines](https://github.com/containers/container-libs/blob/main/CONTRIBUTING.md) of the [Containers Group Project](https://github.com/containers). 2 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/go-winio/syscall.go: -------------------------------------------------------------------------------- 1 | //go:build windows 2 | 3 | package winio 4 | 5 | //go:generate go run github.com/Microsoft/go-winio/tools/mkwinsyscall -output zsyscall_windows.go ./*.go 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-logr/logr/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # CHANGELOG 2 | 3 | ## v1.0.0-rc1 4 | 5 | This is the first logged release. Major changes (including breaking changes) 6 | have occurred since earlier tags. 7 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/attribute/README.md: -------------------------------------------------------------------------------- 1 | # Attribute 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/attribute)](https://pkg.go.dev/go.opentelemetry.io/otel/attribute) 4 | -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/registries.conf.d/subdomain-override-1.conf: -------------------------------------------------------------------------------- 1 | [[registry]] 2 | location = "subdomain-prefix-1-overridden-by-dropin-location.com" 3 | prefix = "*.not.quite.simple-prefix.com" 4 | -------------------------------------------------------------------------------- /storage/pkg/dmesg/dmesg_linux_test.go: -------------------------------------------------------------------------------- 1 | package dmesg 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | func TestDmesg(t *testing.T) { 8 | t.Logf("dmesg output follows:\n%v", string(Dmesg(512))) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/godbus/dbus/v5/.golangci.yml: -------------------------------------------------------------------------------- 1 | # For documentation, see https://golangci-lint.run/usage/configuration/ 2 | 3 | linters: 4 | enable: 5 | - gofumpt 6 | - unconvert 7 | - unparam 8 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/sftp/.gitignore: -------------------------------------------------------------------------------- 1 | .*.swo 2 | .*.swp 3 | 4 | server_standalone/server_standalone 5 | 6 | examples/*/id_rsa 7 | examples/*/id_rsa.pub 8 | 9 | memprofile.out 10 | memprofile.svg 11 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/trace/noop/README.md: -------------------------------------------------------------------------------- 1 | # Trace Noop 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/trace/noop)](https://pkg.go.dev/go.opentelemetry.io/otel/trace/noop) 4 | -------------------------------------------------------------------------------- /image/pkg/shortnames/testdata/aliases.conf: -------------------------------------------------------------------------------- 1 | short-name-mode="enforcing" 2 | 3 | [aliases] 4 | docker="docker.io/library/foo" 5 | "quay/foo"="quay.io/library/foo" 6 | example="example.com/library/foo" 7 | empty="" 8 | -------------------------------------------------------------------------------- /storage/pkg/unshare/getenv_linux_nocgo.go: -------------------------------------------------------------------------------- 1 | //go: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/docker/go-connections/sockets/unix_socket_windows.go: -------------------------------------------------------------------------------- 1 | package sockets 2 | 3 | import "net" 4 | 5 | func listenUnix(path string) (net.Listener, error) { 6 | return net.Listen("unix", path) 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/moby/sys/userns/userns_linux_fuzzer.go: -------------------------------------------------------------------------------- 1 | //go:build linux && gofuzz 2 | 3 | package userns 4 | 5 | func FuzzUIDMap(uidmap []byte) int { 6 | _ = uidMapInUserNS(string(uidmap)) 7 | return 1 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/internal/output_interceptor_wasm.go: -------------------------------------------------------------------------------- 1 | //go:build wasm 2 | 3 | package internal 4 | 5 | func NewOutputInterceptor() OutputInterceptor { 6 | return &NoopOutputInterceptor{} 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/internal/linux/doc.go: -------------------------------------------------------------------------------- 1 | // Package linux provides minimal wrappers around Linux system calls, primarily 2 | // to provide support for automatic EINTR-retries. 3 | package linux 4 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/metric/noop/README.md: -------------------------------------------------------------------------------- 1 | # Metric Noop 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/metric/noop)](https://pkg.go.dev/go.opentelemetry.io/otel/metric/noop) 4 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/propagation/README.md: -------------------------------------------------------------------------------- 1 | # Propagation 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/propagation)](https://pkg.go.dev/go.opentelemetry.io/otel/propagation) 4 | -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/aliases.conf: -------------------------------------------------------------------------------- 1 | short-name-mode="enforcing" 2 | 3 | [aliases] 4 | docker="docker.io/library/foo" 5 | "quay/foo"="quay.io/library/foo" 6 | example="example.com/library/foo" 7 | empty="" 8 | -------------------------------------------------------------------------------- /image/transports/alltransports/storage.go: -------------------------------------------------------------------------------- 1 | //go:build !containers_image_storage_stub 2 | 3 | package alltransports 4 | 5 | import ( 6 | // Register the storage transport 7 | _ "go.podman.io/image/v5/storage" 8 | ) 9 | -------------------------------------------------------------------------------- /storage/drivers/vfs/copy_linux.go: -------------------------------------------------------------------------------- 1 | package vfs 2 | 3 | import "go.podman.io/storage/drivers/copy" 4 | 5 | func dirCopy(srcDir, dstDir string) error { 6 | return copy.DirCopy(srcDir, dstDir, copy.Content, true) 7 | } 8 | -------------------------------------------------------------------------------- /storage/pkg/chrootarchive/jsoniter.go: -------------------------------------------------------------------------------- 1 | //go:build !windows && !darwin 2 | 3 | package chrootarchive 4 | 5 | import jsoniter "github.com/json-iterator/go" 6 | 7 | var json = jsoniter.ConfigCompatibleWithStandardLibrary 8 | -------------------------------------------------------------------------------- /storage/pkg/system/lcow_unix.go: -------------------------------------------------------------------------------- 1 | //go: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/felixge/httpsnoop/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: ci generate clean 2 | 3 | ci: clean generate 4 | go test -race -v ./... 5 | 6 | generate: 7 | go generate . 8 | 9 | clean: 10 | rm -rf *_generated*.go 11 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.gitignore: -------------------------------------------------------------------------------- 1 | # go test -c output 2 | *.test 3 | *.test.exe 4 | 5 | # Output of go build ./cmd/fsnotify 6 | /fsnotify 7 | /fsnotify.exe 8 | 9 | /test/kqueue 10 | /test/a.out 11 | -------------------------------------------------------------------------------- /vendor/github.com/moby/moby/client/network_list_opts.go: -------------------------------------------------------------------------------- 1 | package client 2 | 3 | // NetworkListOptions holds parameters to filter the list of networks with. 4 | type NetworkListOptions struct { 5 | Filters Filters 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/moby/sys/userns/userns_unsupported.go: -------------------------------------------------------------------------------- 1 | //go:build !linux 2 | 3 | package userns 4 | 5 | // inUserNS is a stub for non-Linux systems. Always returns false. 6 | func inUserNS() bool { return false } 7 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/ginkgo_cli_dependencies.go: -------------------------------------------------------------------------------- 1 | //go:build ginkgoclidependencies 2 | // +build ginkgoclidependencies 3 | 4 | package ginkgo 5 | 6 | import ( 7 | _ "github.com/onsi/ginkgo/v2/ginkgo" 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/internal/interrupt_handler/sigquit_swallower_windows.go: -------------------------------------------------------------------------------- 1 | //go:build windows 2 | // +build windows 3 | 4 | package interrupt_handler 5 | 6 | func SwallowSigQuit() { 7 | //noop 8 | } 9 | -------------------------------------------------------------------------------- /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 | ) 8 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/sftp/debug.go: -------------------------------------------------------------------------------- 1 | //go:build debug 2 | // +build debug 3 | 4 | package sftp 5 | 6 | import "log" 7 | 8 | func debug(fmt string, args ...interface{}) { 9 | log.Printf(fmt, args...) 10 | } 11 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /image/pkg/docker/config/testdata/legacy.json: -------------------------------------------------------------------------------- 1 | { 2 | "http://index.docker.io/v1": { 3 | "auth": "ZG9ja2VyOmlvLWxlZ2FjeQ==" 4 | }, 5 | "https://localhost/v1": { 6 | "auth": "bG9jYWw6aG9zdC1sZWdhY3k=" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /storage/drivers/register/register_btrfs.go: -------------------------------------------------------------------------------- 1 | //go:build !exclude_graphdriver_btrfs && linux 2 | 3 | package register 4 | 5 | import ( 6 | // register the btrfs graphdriver 7 | _ "go.podman.io/storage/drivers/btrfs" 8 | ) 9 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /storage/pkg/mount/mounter_unsupported.go: -------------------------------------------------------------------------------- 1 | //go:build !linux && !(freebsd && cgo) 2 | 3 | package mount 4 | 5 | func mount(device, target, mType string, flag uintptr, data string) error { 6 | panic("Not implemented") 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/cli/cli/config/credentials/default_store_unsupported.go: -------------------------------------------------------------------------------- 1 | //go:build !windows && !darwin && !linux 2 | 3 | package credentials 4 | 5 | func defaultCredentialsStore() string { 6 | return "" 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/godbus/dbus/v5/auth_default_other.go: -------------------------------------------------------------------------------- 1 | //go:build !windows 2 | // +build !windows 3 | 4 | package dbus 5 | 6 | func getDefaultAuthMethods(user string) []Auth { 7 | return []Auth{AuthExternal(user)} 8 | } 9 | -------------------------------------------------------------------------------- /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/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/vishvananda/netns/.yamllint.yml: -------------------------------------------------------------------------------- 1 | --- 2 | extends: default 3 | 4 | rules: 5 | document-start: disable 6 | line-length: disable 7 | truthy: 8 | ignore: | 9 | .github/workflows/*.yml 10 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | Thumbs.db 3 | 4 | .cache/ 5 | .tools/ 6 | venv/ 7 | .idea/ 8 | .vscode/ 9 | *.iml 10 | *.so 11 | coverage.* 12 | go.work 13 | go.work.sum 14 | 15 | gen/ 16 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/trace/embedded/README.md: -------------------------------------------------------------------------------- 1 | # Trace Embedded 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/trace/embedded)](https://pkg.go.dev/go.opentelemetry.io/otel/trace/embedded) 4 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/vendor/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb -------------------------------------------------------------------------------- /common/pkg/config/default_common.go: -------------------------------------------------------------------------------- 1 | //go:build !freebsd && !netbsd 2 | 3 | package config 4 | 5 | // DefaultInitPath is the default path to the container-init binary. 6 | var DefaultInitPath = "/usr/libexec/podman/catatonit" 7 | -------------------------------------------------------------------------------- /common/pkg/timezone/timezone_linux.go: -------------------------------------------------------------------------------- 1 | package timezone 2 | 3 | import ( 4 | "golang.org/x/sys/unix" 5 | ) 6 | 7 | // O_PATH value on linux. 8 | const O_PATH = unix.O_PATH //nolint:staticcheck // ST1003: should not use ALL_CAPS 9 | -------------------------------------------------------------------------------- /image/signature/fixtures/cosign.pub: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEFNLqFhf4fiN6o/glAuYnq2jYUeL0 3 | vRuLu/z39pmbVwS9ff5AYnlwaP9sxREajdLY9ynM6G1sy6AAmb7Z63TsLg== 4 | -----END PUBLIC KEY----- 5 | -------------------------------------------------------------------------------- /image/signature/fixtures/cosign2.pub: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEwOkOF9xpfG8ghueIhnZ66ooujwt1 3 | +ReV3HupgKnGFYnEh3Hh1YTg5L6kN1Yakkt5WltRoav8/R3hpCtUO3Rldw== 4 | -----END PUBLIC KEY----- 5 | -------------------------------------------------------------------------------- /storage/pkg/archive/copy_unix.go: -------------------------------------------------------------------------------- 1 | //go: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/moby/moby/client/network_inspect_opts.go: -------------------------------------------------------------------------------- 1 | package client 2 | 3 | // NetworkInspectOptions holds parameters to inspect network. 4 | type NetworkInspectOptions struct { 5 | Scope string 6 | Verbose bool 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/internal/output_interceptor_win.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package internal 4 | 5 | func NewOutputInterceptor() OutputInterceptor { 6 | return NewOSGlobalReassigningOutputInterceptor() 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/internal/progress_report_wasm.go: -------------------------------------------------------------------------------- 1 | //go:build wasm 2 | 3 | package internal 4 | 5 | import ( 6 | "os" 7 | "syscall" 8 | ) 9 | 10 | var PROGRESS_SIGNALS = []os.Signal{syscall.SIGUSR1} 11 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/metric/embedded/README.md: -------------------------------------------------------------------------------- 1 | # Metric Embedded 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/metric/embedded)](https://pkg.go.dev/go.opentelemetry.io/otel/metric/embedded) 4 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/semconv/v1.37.0/README.md: -------------------------------------------------------------------------------- 1 | # Semconv v1.37.0 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/semconv/v1.37.0)](https://pkg.go.dev/go.opentelemetry.io/otel/semconv/v1.37.0) 4 | -------------------------------------------------------------------------------- /image/signature/internal/testdata/rekor.pub: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE2G2Y+2tabdTV5BcGiBIx0a9fAFwr 3 | kBbmLSGtks4L3qX6yYY0zufBnhC8Ur/iy55GhWP/9A/bY2LhC30M9+RYtw== 4 | -----END PUBLIC KEY----- 5 | -------------------------------------------------------------------------------- /storage/drivers/register/register_overlay.go: -------------------------------------------------------------------------------- 1 | //go:build !exclude_graphdriver_overlay && linux 2 | 3 | package register 4 | 5 | import ( 6 | // register the overlay graphdriver 7 | _ "go.podman.io/storage/drivers/overlay" 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/dario.cat/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 = "dario.cat/mergo" -------------------------------------------------------------------------------- /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/go-task/slim-sprig/v3/Taskfile.yml: -------------------------------------------------------------------------------- 1 | # https://taskfile.dev 2 | 3 | version: '3' 4 | 5 | tasks: 6 | default: 7 | cmds: 8 | - task: test 9 | 10 | test: 11 | cmds: 12 | - go test -v . 13 | -------------------------------------------------------------------------------- /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/vbauerster/mpb/v8/cwriter/util_bsd.go: -------------------------------------------------------------------------------- 1 | //go: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/github.com/google/go-containerregistry/pkg/name/README.md: -------------------------------------------------------------------------------- 1 | # `name` 2 | 3 | [![GoDoc](https://godoc.org/github.com/google/go-containerregistry/pkg/name?status.svg)](https://godoc.org/github.com/google/go-containerregistry/pkg/name) 4 | -------------------------------------------------------------------------------- /common/pkg/sysinfo/sysinfo_windows.go: -------------------------------------------------------------------------------- 1 | //go: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 | -------------------------------------------------------------------------------- /image/docker/reference/regexp-additions.go: -------------------------------------------------------------------------------- 1 | package reference 2 | 3 | // Return true if the specified string fully matches `IdentifierRegexp`. 4 | func IsFullIdentifier(s string) bool { 5 | return anchoredIdentifierRegexp.MatchString(s) 6 | } 7 | -------------------------------------------------------------------------------- /image/transports/alltransports/docker_daemon.go: -------------------------------------------------------------------------------- 1 | //go:build !containers_image_docker_daemon_stub 2 | 3 | package alltransports 4 | 5 | import ( 6 | // Register the docker-daemon transport 7 | _ "go.podman.io/image/v5/docker/daemon" 8 | ) 9 | -------------------------------------------------------------------------------- /storage/hack/govet.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | for package in $(go list ./... | grep -v /vendor/) ; do 3 | if ! go vet ${package} ; then 4 | echo Error: source package ${package} does not pass go vet. 5 | exit 1 6 | fi 7 | done 8 | exit 0 9 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/system_bsd.go: -------------------------------------------------------------------------------- 1 | //go:build freebsd || openbsd || netbsd || dragonfly 2 | 3 | package fsnotify 4 | 5 | import "golang.org/x/sys/unix" 6 | 7 | const openMode = unix.O_NONBLOCK | unix.O_RDONLY | unix.O_CLOEXEC 8 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/system_darwin.go: -------------------------------------------------------------------------------- 1 | //go:build darwin 2 | 3 | package fsnotify 4 | 5 | import "golang.org/x/sys/unix" 6 | 7 | // note: this constant is not defined on BSD 8 | const openMode = unix.O_EVTONLY | unix.O_CLOEXEC 9 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-sqlite3/.gitignore: -------------------------------------------------------------------------------- 1 | *.db 2 | *.exe 3 | *.dll 4 | *.o 5 | 6 | # VSCode 7 | .vscode 8 | 9 | # Exclude from upgrade 10 | upgrade/*.c 11 | upgrade/*.h 12 | 13 | # Exclude upgrade binary 14 | upgrade/upgrade 15 | -------------------------------------------------------------------------------- /vendor/github.com/santhosh-tekuri/jsonschema/v6/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "testdata/JSON-Schema-Test-Suite"] 2 | path = testdata/JSON-Schema-Test-Suite 3 | url = https://github.com/json-schema-org/JSON-Schema-Test-Suite.git 4 | branch = main 5 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/MAINTAINERS: -------------------------------------------------------------------------------- 1 | maintainers: 2 | - spf13 3 | - johnSchnake 4 | - jpmcb 5 | - marckhouzam 6 | inactive: 7 | - anthonyfok 8 | - bep 9 | - bogem 10 | - broady 11 | - eparis 12 | - jharshman 13 | - wfernandes 14 | -------------------------------------------------------------------------------- /image/signature/simplesequoia/testdata/data/pgp.cert.d/1f/5825285b785e1db13bf36d2d11a19aba41c6ae: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/simplesequoia/testdata/data/pgp.cert.d/1f/5825285b785e1db13bf36d2d11a19aba41c6ae -------------------------------------------------------------------------------- /image/signature/simplesequoia/testdata/data/pgp.cert.d/4d/8bcd544b7573eefaad18c278473e5f255d10b8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/simplesequoia/testdata/data/pgp.cert.d/4d/8bcd544b7573eefaad18c278473e5f255d10b8 -------------------------------------------------------------------------------- /image/signature/simplesequoia/testdata/data/pgp.cert.d/50/dde898df4e48755c8c2b7af6f908b6fa48a229: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/simplesequoia/testdata/data/pgp.cert.d/50/dde898df4e48755c8c2b7af6f908b6fa48a229 -------------------------------------------------------------------------------- /image/signature/simplesequoia/testdata/data/pgp.cert.d/68/de230c4a009f5ee5fbb27984642d0130b86046: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/simplesequoia/testdata/data/pgp.cert.d/68/de230c4a009f5ee5fbb27984642d0130b86046 -------------------------------------------------------------------------------- /storage/drivers/quota/projectquota.go: -------------------------------------------------------------------------------- 1 | package quota 2 | 3 | // BackingFsBlockDeviceLink is the name of a file that we place in 4 | // the home directory of a driver that uses this package. 5 | const BackingFsBlockDeviceLink = "backingFsBlockDev" 6 | -------------------------------------------------------------------------------- /storage/pkg/system/errors.go: -------------------------------------------------------------------------------- 1 | package system 2 | 3 | import ( 4 | "errors" 5 | ) 6 | 7 | // ErrNotSupportedPlatform means the platform is not supported. 8 | var ErrNotSupportedPlatform = errors.New("platform and architecture is not supported") 9 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/internal/counter.go: -------------------------------------------------------------------------------- 1 | package internal 2 | 3 | func MakeIncrementingIndexCounter() func() (int, error) { 4 | idx := -1 5 | return func() (int, error) { 6 | idx += 1 7 | return idx, nil 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/sftp/internal/encoding/ssh/filexfer/openssh/openssh.go: -------------------------------------------------------------------------------- 1 | // Package openssh implements the openssh secsh-filexfer extensions as described in https://github.com/openssh/openssh-portable/blob/master/PROTOCOL 2 | package openssh 3 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/boltsync_unix.go: -------------------------------------------------------------------------------- 1 | //go: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/google.golang.org/grpc/SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | For information on gRPC Security Policy and reporting potential security issues, please see [gRPC CVE Process](https://github.com/grpc/proposal/blob/master/P4-grpc-cve-process.md). 4 | -------------------------------------------------------------------------------- /common/OWNERS: -------------------------------------------------------------------------------- 1 | approvers: 2 | - mheon 3 | - baude 4 | - rhatdan 5 | - TomSweeneyRedHat 6 | - giuseppe 7 | - vrothberg 8 | - jwhonce 9 | - Luap99 10 | - kolyshkin 11 | - mtrmac 12 | reviewers: 13 | - mrunalp 14 | - jnovy 15 | -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/mixing-v1-v2-empty.conf: -------------------------------------------------------------------------------- 1 | unqualified-search-registries = [] 2 | 3 | [registries.search] 4 | registries = [] 5 | 6 | [registries.block] 7 | registries = [] 8 | 9 | [registries.insecure] 10 | registries = [] 11 | -------------------------------------------------------------------------------- /storage/pkg/archive/archive_19.go: -------------------------------------------------------------------------------- 1 | //go: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 | -------------------------------------------------------------------------------- /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/moby/moby/api/types/checkpoint/list.go: -------------------------------------------------------------------------------- 1 | package checkpoint 2 | 3 | // Summary represents the details of a checkpoint when listing endpoints. 4 | type Summary struct { 5 | // Name is the name of the checkpoint. 6 | Name string 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/vishvananda/netlink/nl/nl_unspecified.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package nl 4 | 5 | import "encoding/binary" 6 | 7 | var SupportedNlFamilies = []int{} 8 | 9 | func NativeEndian() binary.ByteOrder { 10 | return nil 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/containers/libtrust/CODE-OF-CONDUCT.md: -------------------------------------------------------------------------------- 1 | ## The libtrust Project Community Code of Conduct 2 | 3 | The libtrust project follows the [Containers Community Code of Conduct](https://github.com/containers/common/blob/main/CODE-OF-CONDUCT.md). 4 | -------------------------------------------------------------------------------- /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 | arronwy, Arron Wang, arron.wang@intel.com 7 | -------------------------------------------------------------------------------- /vendor/github.com/moby/moby/api/types/volume/prune_report.go: -------------------------------------------------------------------------------- 1 | package volume 2 | 3 | // PruneReport contains the response for Engine API: 4 | // POST "/volumes/prune" 5 | type PruneReport struct { 6 | VolumesDeleted []string 7 | SpaceReclaimed uint64 8 | } 9 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /storage/OWNERS: -------------------------------------------------------------------------------- 1 | approvers: 2 | - giuseppe 3 | - kolyshkin 4 | - mtrmac 5 | - nalind 6 | - rhatdan 7 | - vrothberg 8 | reviewers: 9 | - Honny1 10 | - TomSweeneyRedHat 11 | - flouthoc 12 | - kolyshkin 13 | - mrunalp 14 | - vrothberg 15 | -------------------------------------------------------------------------------- /storage/drivers/register/register_zfs.go: -------------------------------------------------------------------------------- 1 | //go:build (!exclude_graphdriver_zfs && linux) || (!exclude_graphdriver_zfs && freebsd) || solaris 2 | 3 | package register 4 | 5 | import ( 6 | // register the zfs driver 7 | _ "go.podman.io/storage/drivers/zfs" 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-runewidth/runewidth_appengine.go: -------------------------------------------------------------------------------- 1 | //go:build appengine 2 | // +build appengine 3 | 4 | package runewidth 5 | 6 | // IsEastAsian return true if the current locale is CJK 7 | func IsEastAsian() bool { 8 | return false 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/browser/browser_windows.go: -------------------------------------------------------------------------------- 1 | package browser 2 | 3 | import "golang.org/x/sys/windows" 4 | 5 | func openBrowser(url string) error { 6 | return windows.ShellExecute(0, nil, windows.StringToUTF16Ptr(url), nil, nil, windows.SW_SHOWNORMAL) 7 | } 8 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/attribute/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | // Package attribute provides key and value attributes. 5 | package attribute // import "go.opentelemetry.io/otel/attribute" 6 | -------------------------------------------------------------------------------- /common/.gitignore: -------------------------------------------------------------------------------- 1 | /.artifacts/ 2 | /_output/ 3 | /docs/*.[158] 4 | /docs/*.[158].gz 5 | *.o 6 | *.rej 7 | *.test 8 | *.orig 9 | .gopathok 10 | .idea* 11 | .vscode* 12 | contrib/spec/podman.spec 13 | *.rpm 14 | *~ 15 | ./generate 16 | *.coverprofile 17 | /bin 18 | -------------------------------------------------------------------------------- /image/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. -------------------------------------------------------------------------------- /image/internal/manifest/testdata/ociv1nomime.artifact.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "config": { 4 | "mediaType": "application/vnd.oci.custom.artifact.config.v1+json", 5 | "digest": "", 6 | "size": 0 7 | }, 8 | "layers": null 9 | } 10 | -------------------------------------------------------------------------------- /image/signature/simplesequoia/testdata/data/keystore/softkeys/1F5825285B785E1DB13BF36D2D11A19ABA41C6AE.pgp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/simplesequoia/testdata/data/keystore/softkeys/1F5825285B785E1DB13BF36D2D11A19ABA41C6AE.pgp -------------------------------------------------------------------------------- /image/signature/simplesequoia/testdata/data/keystore/softkeys/50DDE898DF4E48755C8C2B7AF6F908B6FA48A229.pgp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/image/signature/simplesequoia/testdata/data/keystore/softkeys/50DDE898DF4E48755C8C2B7AF6F908B6FA48A229.pgp -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/internal/progress_report_unix.go: -------------------------------------------------------------------------------- 1 | //go:build linux || solaris 2 | // +build linux solaris 3 | 4 | package internal 5 | 6 | import ( 7 | "os" 8 | "syscall" 9 | ) 10 | 11 | var PROGRESS_SIGNALS = []os.Signal{syscall.SIGUSR1} 12 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /image/.pullapprove.yml: -------------------------------------------------------------------------------- 1 | approve_by_comment: true 2 | approve_regex: '^(Approved|lgtm|LGTM|:shipit:|:star:|:\+1:|:ship:)' 3 | reject_regex: ^Rejected 4 | reset_on_push: false 5 | reviewers: 6 | teams: 7 | - image-maintainers 8 | name: default 9 | required: 2 10 | -------------------------------------------------------------------------------- /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/main/CODE-OF-CONDUCT.md). 4 | -------------------------------------------------------------------------------- /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/spf13/pflag/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | indent_size = 4 7 | indent_style = space 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [*.go] 12 | indent_style = tab 13 | -------------------------------------------------------------------------------- /common/pkg/sysinfo/sysinfo_unix.go: -------------------------------------------------------------------------------- 1 | //go: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 | -------------------------------------------------------------------------------- /image/pkg/docker/config/testdata/example_identitytoken.json: -------------------------------------------------------------------------------- 1 | { 2 | "auths": { 3 | "example.org": { 4 | "auth": "MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwOg==", 5 | "identitytoken": "some very long identity token" 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /image/pkg/shortnames/testdata/registries.conf.d/config-3.ignore: -------------------------------------------------------------------------------- 1 | unqualified-search-registries = ["ignore-example-overwrite.com"] 2 | 3 | [[registry]] 4 | location = "ignore-me-because-i-have-a-wrong-suffix.com" 5 | 6 | [aliases] 7 | ignore="me because i have a wrong suffix" 8 | -------------------------------------------------------------------------------- /storage/pkg/ioutils/temp_unix.go: -------------------------------------------------------------------------------- 1 | //go:build !windows 2 | 3 | package ioutils 4 | 5 | import "os" 6 | 7 | // TempDir on Unix systems is equivalent to os.MkdirTemp. 8 | func TempDir(dir, prefix string) (string, error) { 9 | return os.MkdirTemp(dir, prefix) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/moby/moby/api/types/container/errors.go: -------------------------------------------------------------------------------- 1 | package container 2 | 3 | type errInvalidParameter struct{ error } 4 | 5 | func (e *errInvalidParameter) InvalidParameter() {} 6 | 7 | func (e *errInvalidParameter) Unwrap() error { 8 | return e.error 9 | } 10 | -------------------------------------------------------------------------------- /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/pkg/sftp/ls_stub.go: -------------------------------------------------------------------------------- 1 | //go:build windows || android 2 | // +build windows android 3 | 4 | package sftp 5 | 6 | import ( 7 | "os" 8 | ) 9 | 10 | func lsLinksUIDGID(fi os.FileInfo) (numLinks uint64, uid, gid string) { 11 | return 1, "0", "0" 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/sftp/request_windows.go: -------------------------------------------------------------------------------- 1 | package sftp 2 | 3 | import ( 4 | "syscall" 5 | ) 6 | 7 | func fakeFileInfoSys() interface{} { 8 | return syscall.Win32FileAttributeData{} 9 | } 10 | 11 | func testOsSys(sys interface{}) error { 12 | return nil 13 | } 14 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/registries.conf.d/config-3.ignore: -------------------------------------------------------------------------------- 1 | unqualified-search-registries = ["ignore-example-overwrite.com"] 2 | 3 | [[registry]] 4 | location = "ignore-me-because-i-have-a-wrong-suffix.com" 5 | 6 | [aliases] 7 | ignore="me because i have a wrong suffix" 8 | -------------------------------------------------------------------------------- /image/signature/fixtures/v2s1-invalid-signatures.manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "name": "mitr/busybox", 4 | "tag": "latest", 5 | "architecture": "amd64", 6 | "fsLayers": [ 7 | ], 8 | "history": [ 9 | ], 10 | "signatures": 1 11 | } 12 | -------------------------------------------------------------------------------- /image/transports/alltransports/storage_stub.go: -------------------------------------------------------------------------------- 1 | //go:build containers_image_storage_stub 2 | 3 | package alltransports 4 | 5 | import "go.podman.io/image/v5/transports" 6 | 7 | func init() { 8 | transports.Register(transports.NewStubTransport("containers-storage")) 9 | } 10 | -------------------------------------------------------------------------------- /storage/hack/btrfs_tag.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | if test $(${GO:-go} env GOOS) != "linux"; then 3 | exit 0 4 | fi 5 | cc -E - >/dev/null 2>/dev/null <<-EOF 6 | #include 7 | EOF 8 | if test $? -ne 0; then 9 | echo exclude_graphdriver_btrfs 10 | fi 11 | -------------------------------------------------------------------------------- /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/hashicorp/go-retryablehttp/Makefile: -------------------------------------------------------------------------------- 1 | default: test 2 | 3 | test: 4 | go vet ./... 5 | go test -v -race ./... -coverprofile=coverage.out 6 | 7 | updatedeps: 8 | go get -f -t -u ./... 9 | go get -f -u ./... 10 | 11 | .PHONY: default test updatedeps 12 | -------------------------------------------------------------------------------- /vendor/github.com/moby/moby/api/types/checkpoint/create_request.go: -------------------------------------------------------------------------------- 1 | package checkpoint 2 | 3 | // CreateRequest holds parameters to create a checkpoint from a container. 4 | type CreateRequest struct { 5 | CheckpointID string 6 | CheckpointDir string 7 | Exit bool 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/cgroups/config_hugepages.go: -------------------------------------------------------------------------------- 1 | package cgroups 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 | -------------------------------------------------------------------------------- /image/internal/manifest/testdata/v2s1-invalid-signatures.manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "name": "mitr/busybox", 4 | "tag": "latest", 5 | "architecture": "amd64", 6 | "fsLayers": [ 7 | ], 8 | "history": [ 9 | ], 10 | "signatures": 1 11 | } 12 | -------------------------------------------------------------------------------- /storage/drivers/btrfs/version_test.go: -------------------------------------------------------------------------------- 1 | //go:build linux && cgo 2 | 3 | package btrfs 4 | 5 | import ( 6 | "testing" 7 | ) 8 | 9 | func TestLibVersion(t *testing.T) { 10 | if btrfsLibVersion() <= 0 { 11 | t.Error("expected output from btrfs lib version > 0") 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /storage/pkg/system/rm_common.go: -------------------------------------------------------------------------------- 1 | //go:build !freebsd 2 | 3 | package system 4 | 5 | // Reset file flags in a directory tree. This allows EnsureRemoveAll 6 | // to delete trees which have the immutable flag set. 7 | func resetFileFlags(dir string) error { 8 | return nil 9 | } 10 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/internal/common/bolt_386.go: -------------------------------------------------------------------------------- 1 | package common 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/internal/common/bolt_arm.go: -------------------------------------------------------------------------------- 1 | package common 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 | -------------------------------------------------------------------------------- /image/transports/alltransports/docker_daemon_stub.go: -------------------------------------------------------------------------------- 1 | //go:build containers_image_docker_daemon_stub 2 | 3 | package alltransports 4 | 5 | import "go.podman.io/image/v5/transports" 6 | 7 | func init() { 8 | transports.Register(transports.NewStubTransport("docker-daemon")) 9 | } 10 | -------------------------------------------------------------------------------- /storage/pkg/system/umask_windows.go: -------------------------------------------------------------------------------- 1 | //go: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/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/moby/moby/api/types/container/commit.go: -------------------------------------------------------------------------------- 1 | package container 2 | 3 | import "github.com/moby/moby/api/types/common" 4 | 5 | // CommitResponse response for the commit API call, containing the ID of the 6 | // image that was produced. 7 | type CommitResponse = common.IDResponse 8 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/go-digest/.mailmap: -------------------------------------------------------------------------------- 1 | Aaron Lehmann 2 | Derek McGowan 3 | Stephen J Day 4 | Haibing Zhou 5 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/sftp/attrs_stubs.go: -------------------------------------------------------------------------------- 1 | //go:build plan9 || windows || android 2 | // +build plan9 windows android 3 | 4 | package sftp 5 | 6 | import ( 7 | "os" 8 | ) 9 | 10 | func fileStatFromInfoOs(fi os.FileInfo, flags *uint32, fileStat *FileStat) { 11 | // todo 12 | } 13 | -------------------------------------------------------------------------------- /common/pkg/machine/machine_suite_test.go: -------------------------------------------------------------------------------- 1 | package machine 2 | 3 | import ( 4 | "testing" 5 | 6 | . "github.com/onsi/ginkgo/v2" 7 | "github.com/onsi/gomega" 8 | ) 9 | 10 | func TestConfig(t *testing.T) { 11 | gomega.RegisterFailHandler(Fail) 12 | RunSpecs(t, "Machine Suite") 13 | } 14 | -------------------------------------------------------------------------------- /image/pkg/shortnames/testdata/registries.conf.d/config-1.conf: -------------------------------------------------------------------------------- 1 | unqualified-search-registries = ["example-overwrite.com"] 2 | 3 | [[registry]] 4 | location = "1.com" 5 | 6 | [aliases] 7 | docker="docker.io/library/config1" 8 | config1="config1.com/image" 9 | barz="barz.com/image/config1" 10 | -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/cred-helper.conf: -------------------------------------------------------------------------------- 1 | credential-helpers = ["helper-1", "helper-2"] 2 | [[registry]] 3 | location = "registry-a.com" 4 | 5 | [[registry]] 6 | location = "registry-b.com" 7 | 8 | [[registry]] 9 | location = "registry-c.com/foo" 10 | prefix = "registry-c.com" 11 | -------------------------------------------------------------------------------- /vendor/github.com/containers/libtrust/SECURITY.md: -------------------------------------------------------------------------------- 1 | ## Security and Disclosure Information Policy for the libtrust Project 2 | 3 | The libtrust 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/santhosh-tekuri/jsonschema/v6/.pre-commit-hooks.yaml: -------------------------------------------------------------------------------- 1 | - id: jsonschema-validate 2 | name: Validate JSON against JSON Schema 3 | description: ensure json files follow specified JSON Schema 4 | entry: jv 5 | language: golang 6 | additional_dependencies: 7 | - ./cmd/jv 8 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/require/require.go.tmpl: -------------------------------------------------------------------------------- 1 | {{ replace .Comment "assert." "require."}} 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/go.etcd.io/bbolt/internal/common/bolt_amd64.go: -------------------------------------------------------------------------------- 1 | package common 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 | -------------------------------------------------------------------------------- /image/signature/policy_paths_common.go: -------------------------------------------------------------------------------- 1 | //go:build !freebsd 2 | 3 | package signature 4 | 5 | // builtinDefaultPolicyPath is the policy path used for DefaultPolicy(). 6 | // DO NOT change this, instead see systemDefaultPolicyPath above. 7 | const builtinDefaultPolicyPath = "/etc/containers/policy.json" 8 | -------------------------------------------------------------------------------- /storage/pkg/system/meminfo_unsupported.go: -------------------------------------------------------------------------------- 1 | //go:build !linux && !windows && !solaris && !(freebsd && cgo) 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 | -------------------------------------------------------------------------------- /storage/pkg/system/utimes_unsupported.go: -------------------------------------------------------------------------------- 1 | //go: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/mattn/go-runewidth/runewidth_js.go: -------------------------------------------------------------------------------- 1 | //go:build js && !appengine 2 | // +build js,!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/sirupsen/logrus/appveyor.yml: -------------------------------------------------------------------------------- 1 | # Minimal stub to satisfy AppVeyor CI 2 | version: 1.0.{build} 3 | platform: x64 4 | shallow_clone: true 5 | 6 | branches: 7 | only: 8 | - master 9 | - main 10 | 11 | build_script: 12 | - echo "No-op build to satisfy AppVeyor CI" 13 | -------------------------------------------------------------------------------- /vendor/github.com/vishvananda/netlink/fou.go: -------------------------------------------------------------------------------- 1 | package netlink 2 | 3 | import ( 4 | "net" 5 | ) 6 | 7 | type Fou struct { 8 | Family int 9 | Port int 10 | Protocol int 11 | EncapType int 12 | Local net.IP 13 | Peer net.IP 14 | PeerPort int 15 | IfIndex int 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_other_arm.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 !linux && arm 6 | 7 | package cpu 8 | 9 | func archInit() {} 10 | -------------------------------------------------------------------------------- /storage/pkg/archive/archive_other.go: -------------------------------------------------------------------------------- 1 | //go:build !linux 2 | 3 | package archive 4 | 5 | func GetWhiteoutConverter(format WhiteoutFormat, data any) TarWhiteoutConverter { 6 | return nil 7 | } 8 | 9 | func GetFileOwner(path string) (uint32, uint32, uint32, error) { 10 | return 0, 0, 0, nil 11 | } 12 | -------------------------------------------------------------------------------- /storage/pkg/system/syscall_windows_test.go: -------------------------------------------------------------------------------- 1 | package system 2 | 3 | import "testing" 4 | 5 | func TestHasWin32KSupport(t *testing.T) { 6 | s := HasWin32KSupport() // make sure this doesn't panic 7 | 8 | t.Logf("win32k: %v", s) // will be different on different platforms -- informative only 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/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/onsi/ginkgo/v2/ginkgo/automaxprocs/README.md: -------------------------------------------------------------------------------- 1 | This entire directory is a lightly modified clone of https://github.com/uber-go/automaxprocs 2 | 3 | It will be removed when Go 1.26 ships and we no longer need to support Go 1.24 (which does not correctly autodetect maxprocs in containers). 4 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/sftp/request-plan9.go: -------------------------------------------------------------------------------- 1 | //go:build plan9 2 | // +build plan9 3 | 4 | package sftp 5 | 6 | import ( 7 | "syscall" 8 | ) 9 | 10 | func fakeFileInfoSys() interface{} { 11 | return &syscall.Dir{} 12 | } 13 | 14 | func testOsSys(sys interface{}) error { 15 | return nil 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_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 cpu 6 | 7 | func archInit() { 8 | doinit() 9 | Initialized = true 10 | } 11 | -------------------------------------------------------------------------------- /common/pkg/manifests/testdata/artifacts/blobs-only/blobs/sha256/955c64f8b99468e911dfda299dfcdd284deae5b1f7201f484aa068fcd0f1e12b: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/containers/container-libs/HEAD/common/pkg/manifests/testdata/artifacts/blobs-only/blobs/sha256/955c64f8b99468e911dfda299dfcdd284deae5b1f7201f484aa068fcd0f1e12b -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/missing-mirror-location.conf: -------------------------------------------------------------------------------- 1 | unqualified-search-registries = ["registry-a.com"] 2 | 3 | [[registry]] 4 | location = "registry-a.com" 5 | 6 | [[registry]] 7 | location = "registry-b.com" 8 | [[registry.mirror]] 9 | location = "mirror-b.com" 10 | [[registry.mirror]] 11 | -------------------------------------------------------------------------------- /image/signature/internal/testdata/rekor-payload: -------------------------------------------------------------------------------- 1 | {"critical":{"identity":{"docker-reference":"192.168.64.2:5000/test-repo-2100826901021538654/alpine"},"image":{"docker-manifest-digest":"sha256:fa93b01658e3a5a1686dc3ae55f170d8de487006fb53a28efcd12ab0710a2e5f"},"type":"cosign container image signature"},"optional":null} -------------------------------------------------------------------------------- /image/signature/policy_paths_freebsd.go: -------------------------------------------------------------------------------- 1 | //go:build freebsd 2 | 3 | package signature 4 | 5 | // builtinDefaultPolicyPath is the policy path used for DefaultPolicy(). 6 | // DO NOT change this, instead see systemDefaultPolicyPath above. 7 | const builtinDefaultPolicyPath = "/usr/local/etc/containers/policy.json" 8 | -------------------------------------------------------------------------------- /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/main/SECURITY.md) for the Containers Projects. 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-retryablehttp/.golangci.yml: -------------------------------------------------------------------------------- 1 | # Copyright (c) HashiCorp, Inc. 2 | # SPDX-License-Identifier: MPL-2.0 3 | 4 | linters: 5 | disable-all: true 6 | enable: 7 | - errcheck 8 | - staticcheck 9 | - gosimple 10 | - govet 11 | output_format: colored-line-number 12 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/Gopkg.lock: -------------------------------------------------------------------------------- 1 | # This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. 2 | 3 | 4 | [solve-meta] 5 | analyzer-name = "dep" 6 | analyzer-version = 1 7 | input-imports = [] 8 | solver-name = "gps-cdcl" 9 | solver-version = 1 10 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/cgroups/config_unsupported.go: -------------------------------------------------------------------------------- 1 | //go:build !linux 2 | 3 | package cgroups 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/golang.org/x/oauth2/internal/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package internal contains support packages for [golang.org/x/oauth2]. 6 | package internal 7 | -------------------------------------------------------------------------------- /common/libnetwork/cni/testfiles/valid/macvlan.conflist: -------------------------------------------------------------------------------- 1 | { 2 | "cniVersion": "0.4.0", 3 | "name": "macvlan", 4 | "plugins": [ 5 | { 6 | "type": "macvlan", 7 | "master": "lo", 8 | "ipam": { 9 | "type": "dhcp" 10 | } 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /common/pkg/timezone/timezone_freebsd.go: -------------------------------------------------------------------------------- 1 | //go:build !windows && !linux 2 | 3 | package timezone 4 | 5 | // O_PATH value on freebsd. We must define O_PATH ourselves 6 | // until https://github.com/golang/go/issues/54355 is fixed. 7 | const O_PATH = 0x00400000 //nolint:staticcheck // ST1003: should not use ALL_CAPS 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/cli/cli/config/credentials/default_store_linux.go: -------------------------------------------------------------------------------- 1 | package credentials 2 | 3 | import ( 4 | "os/exec" 5 | ) 6 | 7 | func defaultCredentialsStore() string { 8 | if _, err := exec.LookPath("pass"); err == nil { 9 | return "pass" 10 | } 11 | 12 | return "secretservice" 13 | } 14 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /image/MAINTAINERS: -------------------------------------------------------------------------------- 1 | Antonio Murdaca (@runcom) 2 | Brandon Philips (@philips) 3 | Miloslav Trmac (@mtrmac) 4 | Dan Walsh (@dwalsh) 5 | Nalin Dahyabhai (@nalind) 6 | Valentin Rothberg (@vrothberg) 7 | -------------------------------------------------------------------------------- /storage/drivers/vfs/copy_unsupported.go: -------------------------------------------------------------------------------- 1 | //go:build !linux 2 | 3 | package vfs // import "go.podman.io/storage/drivers/vfs" 4 | 5 | import "go.podman.io/storage/pkg/chrootarchive" 6 | 7 | func dirCopy(srcDir, dstDir string) error { 8 | return chrootarchive.NewArchiver(nil).CopyWithTar(srcDir, dstDir) 9 | } 10 | -------------------------------------------------------------------------------- /storage/pkg/unshare/unshare_cgo.go: -------------------------------------------------------------------------------- 1 | //go:build (linux && cgo && !gccgo) || (freebsd && cgo) 2 | 3 | package unshare 4 | 5 | // #cgo CFLAGS: -Wall 6 | // extern void _containers_unshare(void); 7 | // static void __attribute__((constructor)) init(void) { 8 | // _containers_unshare(); 9 | // } 10 | import "C" 11 | -------------------------------------------------------------------------------- /vendor/github.com/go-task/slim-sprig/v3/network.go: -------------------------------------------------------------------------------- 1 | package sprig 2 | 3 | import ( 4 | "math/rand" 5 | "net" 6 | ) 7 | 8 | func getHostByName(name string) string { 9 | addrs, _ := net.LookupHost(name) 10 | //TODO: add error handing when release v3 comes out 11 | return addrs[rand.Intn(len(addrs))] 12 | } 13 | -------------------------------------------------------------------------------- /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/seccomp/libseccomp-golang/.golangci.yml: -------------------------------------------------------------------------------- 1 | # For documentation, see https://golangci-lint.run/usage/configuration/ 2 | version: "2" 3 | 4 | formatters: 5 | enable: 6 | - gofumpt 7 | 8 | linters: 9 | exclusions: 10 | generated: disable 11 | presets: 12 | - std-error-handling 13 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/internal/common/bolt_ppc.go: -------------------------------------------------------------------------------- 1 | //go:build ppc 2 | 3 | package common 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 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/version.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package otel // import "go.opentelemetry.io/otel" 5 | 6 | // Version is the current release version of OpenTelemetry in use. 7 | func Version() string { 8 | return "1.38.0" 9 | } 10 | -------------------------------------------------------------------------------- /common/libnetwork/slirp4netns/const_linux.go: -------------------------------------------------------------------------------- 1 | package slirp4netns 2 | 3 | const ( 4 | ipv6ConfDefaultAcceptDadSysctl = "/proc/sys/net/ipv6/conf/default/accept_dad" 5 | 6 | // defaultMTU the default MTU override. 7 | defaultMTU = 65520 8 | 9 | // default slirp4ns subnet. 10 | defaultSubnet = "10.0.2.0/24" 11 | ) 12 | -------------------------------------------------------------------------------- /image/internal/manifest/testdata/ociv1.artifact.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.custom.artifact.config.v1+json", 6 | "digest": "", 7 | "size": 0 8 | }, 9 | "layers": null 10 | } 11 | -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/blocked-conflicts.conf: -------------------------------------------------------------------------------- 1 | [[registry]] 2 | location = "registry.com" 3 | 4 | [[registry.mirror]] 5 | location = "mirror-1.registry.com" 6 | 7 | [[registry.mirror]] 8 | location = "mirror-2.registry.com" 9 | 10 | 11 | [[registry]] 12 | location = "registry.com" 13 | blocked = true 14 | -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/insecure-conflicts.conf: -------------------------------------------------------------------------------- 1 | [[registry]] 2 | location = "registry.com" 3 | 4 | [[registry.mirror]] 5 | location = "mirror-1.registry.com" 6 | 7 | [[registry.mirror]] 8 | location = "mirror-2.registry.com" 9 | 10 | 11 | [[registry]] 12 | location = "registry.com" 13 | insecure = true 14 | -------------------------------------------------------------------------------- /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/distribution/reference/CODE-OF-CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Code of Conduct 2 | 3 | We follow the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md). 4 | 5 | Please contact the [CNCF Code of Conduct Committee](mailto:conduct@cncf.io) in order to report violations of the Code of Conduct. 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-task/slim-sprig/v3/.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | insert_final_newline = true 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | indent_style = tab 10 | indent_size = 8 11 | 12 | [*.{md,yml,yaml,json}] 13 | indent_style = space 14 | indent_size = 2 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_other_arm64.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 | //go:build !linux && !netbsd && !openbsd && arm64 6 | 7 | package cpu 8 | 9 | func doinit() {} 10 | -------------------------------------------------------------------------------- /.github/workflows/labeler.yml: -------------------------------------------------------------------------------- 1 | # https://github.com/actions/labeler 2 | name: "Pull Request Labeler" 3 | on: 4 | - pull_request_target 5 | 6 | jobs: 7 | triage: 8 | permissions: 9 | contents: read 10 | pull-requests: write 11 | runs-on: ubuntu-latest 12 | steps: 13 | - uses: actions/labeler@v6 14 | -------------------------------------------------------------------------------- /image/internal/useragent/useragent.go: -------------------------------------------------------------------------------- 1 | package useragent 2 | 3 | import "go.podman.io/image/v5/version" 4 | 5 | // DefaultUserAgent is a value that should be used by User-Agent headers, unless the user specifically instructs us otherwise. 6 | var DefaultUserAgent = "containers/" + version.Version + " (github.com/containers/image)" 7 | -------------------------------------------------------------------------------- /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/klauspost/compress/internal/cpuinfo/cpuinfo_amd64.go: -------------------------------------------------------------------------------- 1 | //go:build amd64 && !appengine && !noasm && gc 2 | // +build amd64,!appengine,!noasm,gc 3 | 4 | package cpuinfo 5 | 6 | // go:noescape 7 | func x86extensions() (bmi1, bmi2 bool) 8 | 9 | func init() { 10 | hasBMI1, hasBMI2 = x86extensions() 11 | } 12 | -------------------------------------------------------------------------------- /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 | //go: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/go.etcd.io/bbolt/internal/common/bolt_arm64.go: -------------------------------------------------------------------------------- 1 | //go:build arm64 2 | 3 | package common 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/internal/common/bolt_ppc64.go: -------------------------------------------------------------------------------- 1 | //go:build ppc64 2 | 3 | package common 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/internal/common/bolt_s390x.go: -------------------------------------------------------------------------------- 1 | //go:build s390x 2 | 3 | package common 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.opentelemetry.io/auto/sdk/internal/telemetry/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | /* 5 | Package telemetry provides a lightweight representations of OpenTelemetry 6 | telemetry that is compatible with the OTLP JSON protobuf encoding. 7 | */ 8 | package telemetry 9 | -------------------------------------------------------------------------------- /common/libimage/testdata/containers.conf: -------------------------------------------------------------------------------- 1 | [engine] 2 | # Default location for storing temporary container image content. Can be overridden with the TMPDIR environment 3 | # variable. If you specify "storage", then the location of the 4 | # container/storage tmp directory will be used. 5 | image_copy_tmp_dir="/tmp/from/containers.conf" 6 | -------------------------------------------------------------------------------- /image/pkg/shortnames/testdata/registries.conf.d/config-2.conf: -------------------------------------------------------------------------------- 1 | short-name-mode="permissive" 2 | 3 | [[registry]] 4 | location = "2.com" 5 | 6 | [[registry]] 7 | location = "base.com" 8 | blocked = true 9 | 10 | [aliases] 11 | config2="config2.com/image" 12 | barz="barz.com/config2" 13 | added3="xxx.com/image" 14 | example="" 15 | -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/mirrors.conf: -------------------------------------------------------------------------------- 1 | [[registry]] 2 | location = "registry.com" 3 | 4 | [[registry.mirror]] 5 | location = "mirror-1.registry.com" 6 | 7 | [[registry.mirror]] 8 | location = "mirror-2.registry.com" 9 | insecure = true 10 | 11 | [[registry]] 12 | location = "blocked.registry.com" 13 | blocked = true 14 | -------------------------------------------------------------------------------- /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.9.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/pkg/browser/browser_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!windows,!darwin,!openbsd,!freebsd,!netbsd 2 | 3 | package browser 4 | 5 | import ( 6 | "fmt" 7 | "runtime" 8 | ) 9 | 10 | func openBrowser(url string) error { 11 | return fmt.Errorf("openBrowser: unsupported operating system: %v", runtime.GOOS) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/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/go.etcd.io/bbolt/internal/common/bolt_loong64.go: -------------------------------------------------------------------------------- 1 | //go:build loong64 2 | 3 | package common 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/internal/common/bolt_mipsx.go: -------------------------------------------------------------------------------- 1 | //go:build mips || mipsle 2 | 3 | package common 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/internal/common/bolt_ppc64le.go: -------------------------------------------------------------------------------- 1 | //go:build ppc64le 2 | 3 | package common 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/internal/common/bolt_riscv64.go: -------------------------------------------------------------------------------- 1 | //go:build riscv64 2 | 3 | package common 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 | -------------------------------------------------------------------------------- /.github/labeler.yml: -------------------------------------------------------------------------------- 1 | # Add labels based on file paths in PR 2 | # https://github.com/actions/labeler 3 | common: 4 | - changed-files: 5 | - any-glob-to-any-file: common/** 6 | image: 7 | - changed-files: 8 | - any-glob-to-any-file: image/** 9 | storage: 10 | - changed-files: 11 | - any-glob-to-any-file: storage/** 12 | -------------------------------------------------------------------------------- /image/docker/tarfile/types.go: -------------------------------------------------------------------------------- 1 | package tarfile 2 | 3 | import ( 4 | internal "go.podman.io/image/v5/docker/internal/tarfile" 5 | ) 6 | 7 | // ManifestItem is an element of the array stored in the top-level manifest.json file. 8 | type ManifestItem = internal.ManifestItem // All public members from the internal package remain accessible. 9 | -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/invalid-value-mirror.conf: -------------------------------------------------------------------------------- 1 | [[registry]] 2 | prefix = "registry-a.com/foo" 3 | location = "registry-a.com/bar" 4 | 5 | [[registry.mirror]] 6 | pull-from-mirror = "notvalid" 7 | location = "mirror-1.registry-a.com" 8 | 9 | [[registry.mirror]] 10 | location = "mirror-2.registry-a.com" 11 | insecure = true -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/v1-compatibility.conf: -------------------------------------------------------------------------------- 1 | [registries.search] 2 | registries = ["registry-a.com////", "registry-c.com", "registry-d.com"] 3 | 4 | [registries.block] 5 | registries = ["registry-b.com"] 6 | 7 | [registries.insecure] 8 | registries = ["registry-b.com////", "registry-d.com", "registry-e.com", "registry-a.com"] 9 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /storage/pkg/system/umask.go: -------------------------------------------------------------------------------- 1 | //go: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 | -------------------------------------------------------------------------------- /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/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/pkg/sftp/server_unix.go: -------------------------------------------------------------------------------- 1 | //go:build !windows && !plan9 2 | // +build !windows,!plan9 3 | 4 | package sftp 5 | 6 | import ( 7 | "path" 8 | ) 9 | 10 | func (s *Server) toLocalPath(p string) string { 11 | if s.workDir != "" && !path.IsAbs(p) { 12 | p = path.Join(s.workDir, p) 13 | } 14 | 15 | return p 16 | } 17 | -------------------------------------------------------------------------------- /vendor/go.yaml.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/golang.org/x/sys/cpu/cpu_mipsx.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 | //go:build mips || mipsle 6 | 7 | package cpu 8 | 9 | const cacheLineSize = 32 10 | 11 | func initOptions() {} 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_other_riscv64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2022 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 !linux && riscv64 6 | 7 | package cpu 8 | 9 | func archInit() { 10 | Initialized = true 11 | } 12 | -------------------------------------------------------------------------------- /common/pkg/config/config_suite_test.go: -------------------------------------------------------------------------------- 1 | package config 2 | 3 | import ( 4 | "testing" 5 | 6 | . "github.com/onsi/ginkgo/v2" 7 | "github.com/onsi/gomega" 8 | ) 9 | 10 | func TestConfig(t *testing.T) { 11 | gomega.RegisterFailHandler(Fail) 12 | RunSpecs(t, "Config Suite") 13 | } 14 | 15 | const ( 16 | invalidPath = "/wrong" 17 | ) 18 | -------------------------------------------------------------------------------- /image/default-policy.json: -------------------------------------------------------------------------------- 1 | { 2 | "default": [ 3 | { 4 | "type": "insecureAcceptAnything" 5 | } 6 | ], 7 | "transports": 8 | { 9 | "docker-daemon": 10 | { 11 | "": [{"type":"insecureAcceptAnything"}] 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /storage/pkg/archive/time_unsupported.go: -------------------------------------------------------------------------------- 1 | //go: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 | -------------------------------------------------------------------------------- /storage/pkg/system/path_unix.go: -------------------------------------------------------------------------------- 1 | //go: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/onsi/ginkgo/v2/internal/progress_report_bsd.go: -------------------------------------------------------------------------------- 1 | //go:build freebsd || openbsd || netbsd || darwin || dragonfly 2 | // +build freebsd openbsd netbsd darwin dragonfly 3 | 4 | package internal 5 | 6 | import ( 7 | "os" 8 | "syscall" 9 | ) 10 | 11 | var PROGRESS_SIGNALS = []os.Signal{syscall.SIGINFO, syscall.SIGUSR1} 12 | -------------------------------------------------------------------------------- /vendor/github.com/vbauerster/mpb/v8/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/internal/common/bolt_mips64x.go: -------------------------------------------------------------------------------- 1 | //go:build mips64 || mips64le 2 | 3 | package common 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/golang.org/x/tools/internal/pkgbits/flags.go: -------------------------------------------------------------------------------- 1 | // Copyright 2022 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 pkgbits 6 | 7 | const ( 8 | flagSyncMarkers = 1 << iota // file format contains sync markers 9 | ) 10 | -------------------------------------------------------------------------------- /common/libnetwork/cni/testfiles/valid/macvlan_mtu.conflist: -------------------------------------------------------------------------------- 1 | { 2 | "cniVersion": "0.4.0", 3 | "name": "macvlan_mtu", 4 | "plugins": [ 5 | { 6 | "type": "macvlan", 7 | "master": "lo", 8 | "ipam": { 9 | "type": "dhcp" 10 | }, 11 | "mtu": 1300 12 | } 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/invalid-config-level-mirror.conf: -------------------------------------------------------------------------------- 1 | [[registry]] 2 | prefix = "registry-a.com/foo" 3 | location = "registry-a.com/bar" 4 | pull-from-mirror = "digest-only" 5 | 6 | [[registry.mirror]] 7 | location = "mirror-1.registry-a.com" 8 | 9 | [[registry.mirror]] 10 | location = "mirror-2.registry-a.com" 11 | insecure = true -------------------------------------------------------------------------------- /image/signature/fixtures/dir-img-cosign-other-attachment/signature-1: -------------------------------------------------------------------------------- 1 | sigstore-json 2 | {"mimeType":"text/plain","payload":"dGhpcyBpcyBub3QgYSBzaWduYXR1cmUsIHJlZ2FyZGxlc3Mgb2YgdGhlIGFubm90YXRpb24=","annotations":{"dev.cosignproject.cosign/signature":"MEYCIQDmtamqYPjMg81nqeBhptrPls44aA/r7PwLmspINJY4MwIhANKRpqe2E9UCBtGFdPoz/8jAbaQm4uP4h+IpwKTE6ClR"}} 3 | -------------------------------------------------------------------------------- /storage/pkg/system/stat_common.go: -------------------------------------------------------------------------------- 1 | //go:build !freebsd 2 | 3 | package system 4 | 5 | type platformStatT struct{} 6 | 7 | // Flags return file flags if supported or zero otherwise 8 | func (s StatT) Flags() uint32 { 9 | _ = s.platformStatT // Silence warnings that StatT.platformStatT is unused (on these platforms) 10 | return 0 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/godbus/dbus/v5/transport_unixcred_netbsd.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/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/proglottis/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/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 | -------------------------------------------------------------------------------- /common/pkg/config/default_unsupported.go: -------------------------------------------------------------------------------- 1 | //go:build !linux && !windows 2 | 3 | package config 4 | 5 | import "os" 6 | 7 | // getDefaultTmpDir for linux. 8 | func getDefaultTmpDir() string { 9 | // first check the TMPDIR env var 10 | if path, found := os.LookupEnv("TMPDIR"); found { 11 | return path 12 | } 13 | return "/var/tmp" 14 | } 15 | -------------------------------------------------------------------------------- /storage/pkg/idtools/idtools_unsupported.go: -------------------------------------------------------------------------------- 1 | //go: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/go.etcd.io/bbolt/bolt_openbsd.go: -------------------------------------------------------------------------------- 1 | package bbolt 2 | 3 | import ( 4 | "golang.org/x/sys/unix" 5 | ) 6 | 7 | func msync(db *DB) error { 8 | return unix.Msync(db.data[:db.datasz], unix.MS_INVALIDATE) 9 | } 10 | 11 | func fdatasync(db *DB) error { 12 | if db.data != nil { 13 | return msync(db) 14 | } 15 | return db.file.Sync() 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_other_mips64x.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 !linux && (mips64 || mips64le) 6 | 7 | package cpu 8 | 9 | func archInit() { 10 | Initialized = true 11 | } 12 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /image/internal/manifest/testdata/v2s2nomime.manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "config": { 4 | "mediaType": "application/vnd.docker.container.image.v1+json", 5 | "size": 7023, 6 | "digest": "sha256:b5b2b2c507a0944348e0303114d8d93aaaa081732b86451d9bce1f432a537bc7" 7 | }, 8 | "layers": [ 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /image/signature/internal/errors_test.go: -------------------------------------------------------------------------------- 1 | package internal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/stretchr/testify/assert" 7 | ) 8 | 9 | func TestInvalidSignatureError(t *testing.T) { 10 | // A stupid test just to keep code coverage 11 | s := "test" 12 | err := NewInvalidSignatureError(s) 13 | assert.Equal(t, s, err.Error()) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/dario.cat/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/distribution/reference/SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | ## Reporting a Vulnerability 4 | 5 | The maintainers take security seriously. If you discover a security issue, please bring it to their attention right away! 6 | 7 | Please DO NOT file a public issue, instead send your report privately to cncf-distribution-security@lists.cncf.io. 8 | -------------------------------------------------------------------------------- /vendor/github.com/google/pprof/AUTHORS: -------------------------------------------------------------------------------- 1 | # This is the official list of pprof authors for copyright purposes. 2 | # This file is distinct from the CONTRIBUTORS files. 3 | # See the latter for an explanation. 4 | # Names should be added to this file as: 5 | # Name or Organization 6 | # The email address is not required for organizations. 7 | Google Inc. -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/Makefile: -------------------------------------------------------------------------------- 1 | # default task since it's first 2 | .PHONY: all 3 | all: vet test 4 | 5 | .PHONY: test 6 | test: 7 | go run github.com/onsi/ginkgo/v2/ginkgo -r -p -randomize-all -keep-going 8 | 9 | .PHONY: vet 10 | vet: 11 | go vet ./... 12 | 13 | .PHONY: update-deps 14 | update-deps: 15 | go get -u ./... 16 | go mod tidy -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/cgroups/config_ifprio_map.go: -------------------------------------------------------------------------------- 1 | package cgroups 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/pkg/sftp/server_statvfs_plan9.go: -------------------------------------------------------------------------------- 1 | package sftp 2 | 3 | import ( 4 | "syscall" 5 | ) 6 | 7 | func (p *sshFxpExtendedPacketStatVFS) respond(svr *Server) responsePacket { 8 | return statusFromError(p.ID, syscall.EPLAN9) 9 | } 10 | 11 | func getStatVFSForPath(name string) (*StatVFS, error) { 12 | return nil, syscall.EPLAN9 13 | } 14 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/.codespellrc: -------------------------------------------------------------------------------- 1 | # https://github.com/codespell-project/codespell 2 | [codespell] 3 | builtin = clear,rare,informal 4 | check-filenames = 5 | check-hidden = 6 | ignore-words = .codespellignore 7 | interactive = 1 8 | skip = .git,go.mod,go.sum,go.work,go.work.sum,semconv,venv,.tools 9 | uri-ignore-words-list = * 10 | write = 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/oauth2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - tip 5 | 6 | install: 7 | - export GOPATH="$HOME/gopath" 8 | - mkdir -p "$GOPATH/src/golang.org/x" 9 | - mv "$TRAVIS_BUILD_DIR" "$GOPATH/src/golang.org/x/oauth2" 10 | - go get -v -t -d golang.org/x/oauth2/... 11 | 12 | script: 13 | - go test -v golang.org/x/oauth2/... 14 | -------------------------------------------------------------------------------- /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 | //go:build protolegacy 6 | // +build protolegacy 7 | 8 | package flags 9 | 10 | const protoLegacy = true 11 | -------------------------------------------------------------------------------- /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 | package dbus 2 | 3 | import "os" 4 | 5 | const defaultSystemBusAddress = "tcp:host=127.0.0.1,port=12434" 6 | 7 | func getSystemBusPlatformAddress() string { 8 | address := os.Getenv("DBUS_SYSTEM_BUS_ADDRESS") 9 | if address != "" { 10 | return address 11 | } 12 | return defaultSystemBusAddress 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/internal/event/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 event provides a set of packages that cover the main 6 | // concepts of telemetry in an implementation agnostic way. 7 | package event 8 | -------------------------------------------------------------------------------- /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 | //go:build !protolegacy 6 | // +build !protolegacy 7 | 8 | package flags 9 | 10 | const protoLegacy = false 11 | -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/registries.conf.d/config-1.conf: -------------------------------------------------------------------------------- 1 | unqualified-search-registries = ["example-overwrite.com"] 2 | credential-helpers = ["we", "will", "be", "overridden", "later"] 3 | 4 | [[registry]] 5 | location = "1.com" 6 | 7 | [aliases] 8 | docker="docker.io/library/config1" 9 | config1="config1.com/image" 10 | barz="barz.com/image/config1" 11 | -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/v1-invalid-search.conf: -------------------------------------------------------------------------------- 1 | [registries.search] 2 | registries = ["registry-a.com////", "registry-c.com", "registry-d.com", "http://schema-is-invalid.com"] 3 | 4 | [registries.block] 5 | registries = ["registry-b.com"] 6 | 7 | [registries.insecure] 8 | registries = ["registry-b.com////", "registry-d.com", "registry-e.com", "registry-a.com"] 9 | -------------------------------------------------------------------------------- /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/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/github.com/vishvananda/netlink/fou_unspecified.go: -------------------------------------------------------------------------------- 1 | //go:build !linux 2 | // +build !linux 3 | 4 | package netlink 5 | 6 | func FouAdd(f Fou) error { 7 | return ErrNotImplemented 8 | } 9 | 10 | func FouDel(f Fou) error { 11 | return ErrNotImplemented 12 | } 13 | 14 | func FouList(fam int) ([]Fou, error) { 15 | return nil, ErrNotImplemented 16 | } 17 | -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/unqualified-search.conf: -------------------------------------------------------------------------------- 1 | unqualified-search-registries = ["registry-a.com", "registry-c.com", "registry-d.com"] 2 | 3 | [[registry]] 4 | location = "registry-a.com" 5 | 6 | [[registry]] 7 | location = "registry-b.com" 8 | 9 | [[registry]] 10 | location = "registry-c.com" 11 | 12 | [[registry]] 13 | location = "registry-d.com" 14 | -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/v1-invalid-insecure.conf: -------------------------------------------------------------------------------- 1 | [registries.search] 2 | registries = ["registry-a.com////", "registry-c.com", "registry-d.com"] 3 | 4 | [registries.block] 5 | registries = ["registry-b.com"] 6 | 7 | [registries.insecure] 8 | registries = ["registry-b.com////", "registry-d.com", "registry-e.com", "registry-a.com", "http://schema-is-invalid.com"] 9 | -------------------------------------------------------------------------------- /storage/tests/test_runner.bash: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | 4 | cd "$(dirname "$(readlink -f "$BASH_SOURCE")")" 5 | 6 | # Load the helpers. 7 | . helpers.bash 8 | 9 | function execute() { 10 | >&2 echo "++ $@" 11 | eval "$@" 12 | } 13 | 14 | # Tests to run. Defaults to all. 15 | TESTS=${@:-.} 16 | 17 | # Run the tests. 18 | execute time bats --tap $TESTS 19 | -------------------------------------------------------------------------------- /vendor/github.com/go-logr/stdr/README.md: -------------------------------------------------------------------------------- 1 | # Minimal Go logging using logr and Go's standard library 2 | 3 | [![Go Reference](https://pkg.go.dev/badge/github.com/go-logr/stdr.svg)](https://pkg.go.dev/github.com/go-logr/stdr) 4 | 5 | This package implements the [logr interface](https://github.com/go-logr/logr) 6 | in terms of Go's standard log package(https://pkg.go.dev/log). 7 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-retryablehttp/cert_error_go119.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) HashiCorp, Inc. 2 | // SPDX-License-Identifier: MPL-2.0 3 | 4 | //go:build !go1.20 5 | // +build !go1.20 6 | 7 | package retryablehttp 8 | 9 | import "crypto/x509" 10 | 11 | func isCertError(err error) bool { 12 | _, ok := err.(x509.UnknownAuthorityError) 13 | return ok 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-retryablehttp/cert_error_go120.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) HashiCorp, Inc. 2 | // SPDX-License-Identifier: MPL-2.0 3 | 4 | //go:build go1.20 5 | // +build go1.20 6 | 7 | package retryablehttp 8 | 9 | import "crypto/tls" 10 | 11 | func isCertError(err error) bool { 12 | _, ok := err.(*tls.CertificateVerificationError) 13 | return ok 14 | } 15 | -------------------------------------------------------------------------------- /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/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/go.opentelemetry.io/otel/semconv/v1.37.0/exception.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package semconv // import "go.opentelemetry.io/otel/semconv/v1.37.0" 5 | 6 | const ( 7 | // ExceptionEventName is the name of the Span event representing an exception. 8 | ExceptionEventName = "exception" 9 | ) 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_gc_arm64.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 | //go:build gc 6 | 7 | package cpu 8 | 9 | func getisar0() uint64 10 | func getisar1() uint64 11 | func getpfr0() uint64 12 | func getzfr0() uint64 13 | -------------------------------------------------------------------------------- /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 | 7 | package unix 8 | 9 | func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) { 10 | return ENOTSUP 11 | } 12 | -------------------------------------------------------------------------------- /image/pkg/sysregistriesv2/testdata/invalid-conflict-mirror.conf: -------------------------------------------------------------------------------- 1 | [[registry]] 2 | prefix = "registry-a.com/foo" 3 | location = "registry-a.com/bar" 4 | mirror-by-digest-only = true 5 | 6 | [[registry.mirror]] 7 | pull-from-mirror = "digest-only" 8 | location = "mirror-1.registry-a.com" 9 | 10 | [[registry.mirror]] 11 | location = "mirror-2.registry-a.com" 12 | insecure = true -------------------------------------------------------------------------------- /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 ts 14 | } 15 | return syscall.NsecToTimespec(time.UnixNano()) 16 | } 17 | -------------------------------------------------------------------------------- /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/sirupsen/logrus/terminal_check_bsd.go: -------------------------------------------------------------------------------- 1 | // +build darwin dragonfly freebsd netbsd openbsd hurd 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/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 | //go:build windows 6 | 7 | package windows 8 | 9 | import "syscall" 10 | 11 | type Errno = syscall.Errno 12 | type SysProcAttr = syscall.SysProcAttr 13 | -------------------------------------------------------------------------------- /common/pkg/manifests/testdata/artifacts/config-only/blobs/sha256/dc8ab52a31e3b88154b692c409188c53b7c2204b7d076ed220d5b25d8971e132: -------------------------------------------------------------------------------- 1 | { 2 | "auths": { 3 | "my-registry.local/foo/bar/image": { 4 | "auth": "…" 5 | }, 6 | "my-registry.local/foo": { 7 | "auth": "…" 8 | }, 9 | "my-registry.local": { 10 | "auth": "…" 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /storage/hack/gccgo-wrapper.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # Work around, based on one described in https://github.com/golang/go/issues/15628 4 | # 5 | addflags= 6 | for arg in "$@" ; do 7 | if test -d "$arg"/github.com/containers/storage/vendor ; then 8 | addflags="$addflags -I $arg/github.com/containers/storage/vendor" 9 | fi 10 | done 11 | exec gccgo $addflags "$@" 12 | -------------------------------------------------------------------------------- /storage/pkg/system/chtimes_unix.go: -------------------------------------------------------------------------------- 1 | //go: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 | -------------------------------------------------------------------------------- /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/godbus/dbus/v5/.cirrus.yml: -------------------------------------------------------------------------------- 1 | # See https://cirrus-ci.org/guide/FreeBSD/ 2 | freebsd_instance: 3 | image_family: freebsd-14-2 4 | 5 | task: 6 | name: Test on FreeBSD 7 | install_script: pkg install -y go122 dbus 8 | test_script: | 9 | /usr/local/etc/rc.d/dbus onestart && \ 10 | eval `dbus-launch --sh-syntax` && \ 11 | go122 test -v ./... 12 | -------------------------------------------------------------------------------- /vendor/github.com/vbauerster/mpb/v8/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 | func Name(str string, wcc ...WC) Decorator { 10 | return Any(func(Statistics) string { return str }, wcc...) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/internal/poly1305/mac_noasm.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 | //go:build (!amd64 && !loong64 && !ppc64le && !ppc64 && !s390x) || !gc || purego 6 | 7 | package poly1305 8 | 9 | type mac struct{ macGeneric } 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_other_ppc64x.go: -------------------------------------------------------------------------------- 1 | // Copyright 2022 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 && !linux && (ppc64 || ppc64le) 6 | 7 | package cpu 8 | 9 | func archInit() { 10 | PPC64.IsPOWER8 = true 11 | Initialized = true 12 | } 13 | --------------------------------------------------------------------------------