├── MAINTAINERS ├── hack ├── .gitignore └── release_notes │ └── changelog_template.txt ├── CONTRIBUTING.md ├── integration ├── ignore │ ├── bar │ ├── baz │ └── foo ├── context │ ├── foo │ ├── arr[0].txt │ ├── bar │ │ ├── bat │ │ ├── baz │ │ └── bam │ │ │ └── bat │ ├── empty │ │ └── .gitignore │ ├── qux │ │ ├── qup │ │ ├── quz │ │ └── quw │ │ │ └── que │ ├── workspace │ │ └── test │ └── tars │ │ ├── file │ │ ├── file.bz2 │ │ ├── file.tar.gz │ │ └── sys.tar.gz ├── ignore_relative │ ├── bar │ ├── baz │ └── foo ├── .gitignore ├── benchmark_fs │ ├── context.txt │ └── cloudbuild.yaml ├── dockerfiles-with-context │ ├── issue-57 │ │ ├── a.txt │ │ └── b.txt │ ├── issue-774 │ │ └── test-file │ ├── issue-721 │ │ └── test.txt │ ├── issue-2075 │ │ └── top1 │ └── issue-1020 │ │ ├── package-lock.json │ │ └── package.json ├── testdata │ ├── Dockerfile.trivial │ ├── exit-code-propagation │ │ └── Dockerfile_exit_code_propagation │ ├── build.yaml │ ├── testfiles.yaml │ ├── exec.yaml │ └── files.yaml ├── dockerfiles │ ├── 1097 │ ├── Dockerfile_test_ignore │ ├── Dockerfile_git_buildcontext │ ├── Dockerfile_test_arg_two_level │ ├── Dockerfile_test_cache_copy │ ├── Dockerfile_test_add_dest_symlink_dir │ ├── Dockerfile_test_cache_copy_oci │ ├── Dockerfile_test_arg_multi_empty_val │ ├── Dockerfile_test_replaced_hardlinks │ ├── Dockerfile_test_replaced_symlinks │ ├── Dockerfile_test_registry │ ├── Dockerfile_test_add_404 │ ├── Dockerfile_test_issue_704 │ ├── Dockerfile_relative_copy │ ├── Dockerfile_test_snapshotter_ignorelist │ ├── Dockerfile_test_deleted_file_cached │ ├── Dockerfile_dockerignore_relative.dockerignore │ ├── Dockerfile_test_cmd │ ├── Dockerfile_test_arg_from_quotes │ ├── Dockerfile_test_complex_substitution │ ├── Dockerfile_test_dangling_symlink │ ├── Dockerfile_test_arg_from_single_quotes │ ├── TestReplaceFolderWithLink │ ├── TestReplaceFolderWithFile │ ├── Dockerfile_test_expose │ ├── Dockerfile_test_extraction │ ├── Dockerfile_test_copy_root_multistage │ ├── Dockerfile_test_maintainer │ ├── Dockerfile_test_add_url_with_arg │ ├── Dockerfile_test_volume_3 │ ├── Dockerfile_test_metadata │ ├── Dockerfile_test_mv_add │ ├── Dockerfile_test_volume │ ├── Dockerfile_test_issue_2049 │ ├── Dockerfile_test_label │ ├── Dockerfile_hardlink_base │ ├── Dockerfile_onbuild_base │ ├── Dockerfile_test_onbuild │ ├── Dockerfile_test_daemons │ ├── Dockerfile_test_from_multistage_capital │ ├── Dockerfile_test_target │ ├── Dockerfile_test_issue_1837 │ ├── Dockerfile_test_issue_519 │ ├── Dockerfile_test_issue_647 │ ├── Dockerfile_test_volume_4 │ ├── Dockerfile_test_volume_2 │ ├── Dockerfile_test_cache_perm │ ├── Dockerfile_test_cache_perm_oci │ ├── Dockerfile_test_parent_dir_perms │ ├── Dockerfile_test_copy_symlink │ ├── Dockerfile_test_arg_multi │ ├── Dockerfile_test_arg_blank_with_quotes │ ├── Dockerfile_test_arg_multi_with_quotes │ ├── Dockerfile_test_arg_secret │ └── Dockerfile_test_issue_2066 ├── tar.tar └── .dockerignore ├── vendor ├── cel.dev │ └── expr │ │ ├── WORKSPACE.bzlmod │ │ ├── .gitignore │ │ ├── .bazelversion │ │ ├── .gitattributes │ │ ├── cloudbuild.yaml │ │ ├── regen_go_proto_canonical_protos.sh │ │ └── regen_go_proto.sh ├── 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 │ │ │ └── zstd │ │ │ └── internal │ │ │ └── xxhash │ │ │ └── xxhash_safe.go │ ├── kevinburke │ │ └── ssh_config │ │ │ ├── .gitignore │ │ │ ├── .gitattributes │ │ │ ├── .mailmap │ │ │ └── AUTHORS.txt │ ├── minio │ │ └── highwayhash │ │ │ └── .gitignore │ ├── docker │ │ ├── go-connections │ │ │ └── sockets │ │ │ │ └── README.md │ │ ├── distribution │ │ │ ├── .dockerignore │ │ │ └── doc.go │ │ ├── docker │ │ │ ├── pkg │ │ │ │ ├── useragent │ │ │ │ │ └── README.md │ │ │ │ ├── system │ │ │ │ │ ├── errors.go │ │ │ │ │ ├── filesys_unix.go │ │ │ │ │ ├── utimes_unsupported.go │ │ │ │ │ └── chtimes_nowindows.go │ │ │ │ ├── parsers │ │ │ │ │ └── kernel │ │ │ │ │ │ └── uname_linux.go │ │ │ │ ├── archive │ │ │ │ │ └── wrap_deprecated.go │ │ │ │ ├── idtools │ │ │ │ │ └── idtools_windows.go │ │ │ │ └── tarsum │ │ │ │ │ └── writercloser.go │ │ │ ├── oci │ │ │ │ └── caps │ │ │ │ │ └── utils_other.go │ │ │ ├── daemon │ │ │ │ ├── graphdriver │ │ │ │ │ ├── driver_freebsd.go │ │ │ │ │ ├── driver_windows.go │ │ │ │ │ ├── driver_linux.go │ │ │ │ │ └── driver_unsupported.go │ │ │ │ └── network │ │ │ │ │ └── network_mode_windows.go │ │ │ ├── api │ │ │ │ └── types │ │ │ │ │ ├── error_response_ext.go │ │ │ │ │ ├── checkpoint │ │ │ │ │ └── list.go │ │ │ │ │ ├── container │ │ │ │ │ ├── errors.go │ │ │ │ │ ├── commit.go │ │ │ │ │ └── disk_usage.go │ │ │ │ │ ├── volume │ │ │ │ │ ├── volume_update.go │ │ │ │ │ ├── disk_usage.go │ │ │ │ │ └── options.go │ │ │ │ │ ├── image │ │ │ │ │ └── disk_usage.go │ │ │ │ │ ├── build │ │ │ │ │ └── disk_usage.go │ │ │ │ │ └── error_response.go │ │ │ ├── builder │ │ │ │ └── dockerfile │ │ │ │ │ ├── builder_unix.go │ │ │ │ │ └── builder_windows.go │ │ │ ├── layer │ │ │ │ ├── ro_layer_windows.go │ │ │ │ ├── layer_unix.go │ │ │ │ └── layer_store_windows.go │ │ │ ├── internal │ │ │ │ └── usergroup │ │ │ │ │ └── const_windows.go │ │ │ └── client │ │ │ │ ├── swarm_join.go │ │ │ │ ├── swarm_unlock.go │ │ │ │ └── swarm_leave.go │ │ ├── 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-metrics │ │ │ ├── docs.go │ │ │ ├── helpers.go │ │ │ └── unit.go │ │ └── go-units │ │ │ └── circle.yml │ ├── go-git │ │ ├── gcfg │ │ │ ├── .gitignore │ │ │ ├── types │ │ │ │ └── doc.go │ │ │ ├── README │ │ │ └── Makefile │ │ ├── go-billy │ │ │ └── v5 │ │ │ │ ├── .gitignore │ │ │ │ └── osfs │ │ │ │ └── os_options.go │ │ └── go-git │ │ │ └── v5 │ │ │ ├── .gitignore │ │ │ └── plumbing │ │ │ ├── format │ │ │ └── objfile │ │ │ │ └── doc.go │ │ │ ├── storer │ │ │ ├── doc.go │ │ │ ├── index.go │ │ │ └── shallow.go │ │ │ └── revision.go │ ├── spf13 │ │ ├── pflag │ │ │ ├── .gitignore │ │ │ ├── .golangci.yaml │ │ │ ├── .editorconfig │ │ │ └── .travis.yml │ │ ├── viper │ │ │ ├── .yamlignore │ │ │ ├── .gitignore │ │ │ ├── internal │ │ │ │ ├── features │ │ │ │ │ ├── bind_struct.go │ │ │ │ │ └── bind_struct_default.go │ │ │ │ └── encoding │ │ │ │ │ ├── error.go │ │ │ │ │ └── yaml │ │ │ │ │ └── codec.go │ │ │ ├── .yamllint.yaml │ │ │ ├── .envrc │ │ │ └── .editorconfig │ │ ├── afero │ │ │ ├── .gitignore │ │ │ ├── .editorconfig │ │ │ └── appveyor.yml │ │ ├── cobra │ │ │ ├── .mailmap │ │ │ └── MAINTAINERS │ │ └── cast │ │ │ └── .gitignore │ ├── subosito │ │ └── gotenv │ │ │ ├── .env │ │ │ ├── .env.invalid │ │ │ ├── .gitignore │ │ │ └── .golangci.yaml │ ├── cyphar │ │ └── filepath-securejoin │ │ │ └── VERSION │ ├── moby │ │ ├── go-archive │ │ │ ├── .gitignore │ │ │ ├── .gitattributes │ │ │ ├── xattr_supported_linux.go │ │ │ ├── diff_windows.go │ │ │ ├── xattr_supported_unix.go │ │ │ ├── archive_other.go │ │ │ ├── copy_windows.go │ │ │ ├── copy_unix.go │ │ │ ├── dev_freebsd.go │ │ │ ├── dev_unix.go │ │ │ ├── path_unix.go │ │ │ ├── xattr_unsupported.go │ │ │ └── tarheader │ │ │ │ └── tarheader_windows.go │ │ ├── term │ │ │ ├── doc.go │ │ │ ├── termios_bsd.go │ │ │ ├── termios_nonbsd.go │ │ │ ├── .gitignore │ │ │ └── windows │ │ │ │ └── doc.go │ │ ├── sys │ │ │ ├── userns │ │ │ │ ├── userns_linux_fuzzer.go │ │ │ │ └── userns_unsupported.go │ │ │ ├── mount │ │ │ │ ├── doc.go │ │ │ │ └── mounter_unsupported.go │ │ │ ├── reexec │ │ │ │ ├── reexec_other.go │ │ │ │ └── reexec_linux.go │ │ │ ├── mountinfo │ │ │ │ ├── mountinfo_windows.go │ │ │ │ └── mountinfo_openbsd.go │ │ │ ├── signal │ │ │ │ └── signal_unsupported.go │ │ │ └── symlink │ │ │ │ └── fs_unix.go │ │ └── buildkit │ │ │ ├── frontend │ │ │ └── dockerfile │ │ │ │ ├── instructions │ │ │ │ └── errors_unix.go │ │ │ │ └── dockerignore │ │ │ │ └── dockerignore_deprecated.go │ │ │ └── util │ │ │ └── stack │ │ │ └── stack.proto │ ├── Microsoft │ │ ├── go-winio │ │ │ ├── .gitattributes │ │ │ ├── CODEOWNERS │ │ │ ├── internal │ │ │ │ └── fs │ │ │ │ │ └── doc.go │ │ │ ├── .gitignore │ │ │ └── syscall.go │ │ └── hcsshim │ │ │ ├── CODEOWNERS │ │ │ ├── internal │ │ │ ├── hcs │ │ │ │ ├── doc.go │ │ │ │ └── schema2 │ │ │ │ │ ├── firmware.go │ │ │ │ │ ├── mouse.go │ │ │ │ │ ├── battery.go │ │ │ │ │ ├── keyboard.go │ │ │ │ │ └── registry_hive.go │ │ │ ├── hns │ │ │ │ └── doc.go │ │ │ ├── hcserror │ │ │ │ └── doc.go │ │ │ ├── interop │ │ │ │ └── doc.go │ │ │ ├── safefile │ │ │ │ └── do.go │ │ │ ├── vmcompute │ │ │ │ └── doc.go │ │ │ ├── winapi │ │ │ │ ├── winapi.go │ │ │ │ ├── net.go │ │ │ │ ├── memory.go │ │ │ │ ├── doc.go │ │ │ │ ├── elevation.go │ │ │ │ └── processor.go │ │ │ ├── wclayer │ │ │ │ └── doc.go │ │ │ └── log │ │ │ │ └── nopformatter.go │ │ │ ├── .gitattributes │ │ │ ├── hnssupport.go │ │ │ ├── hnsglobals.go │ │ │ └── .clang-format │ ├── containerd │ │ ├── platforms │ │ │ └── .gitattributes │ │ ├── ttrpc │ │ │ ├── .gitattributes │ │ │ ├── .gitignore │ │ │ └── test.proto │ │ ├── typeurl │ │ │ └── v2 │ │ │ │ └── .gitignore │ │ └── continuity │ │ │ └── sysx │ │ │ └── README.md │ ├── otiai10 │ │ ├── mint │ │ │ ├── .gitignore │ │ │ ├── exit_freebsd.go │ │ │ ├── log.go │ │ │ └── because.go │ │ └── copy │ │ │ ├── .gitignore │ │ │ ├── preserve_ltimes_x.go │ │ │ ├── preserve_owner_x.go │ │ │ ├── preserve_times.go │ │ │ ├── stat_times_x.go │ │ │ └── copy_namedpipes_x.go │ ├── tonistiigi │ │ └── go-csvvalue │ │ │ ├── codecov.yml │ │ │ └── .yamllint.yml │ ├── distribution │ │ └── reference │ │ │ ├── .gitattributes │ │ │ ├── .gitignore │ │ │ ├── CODE-OF-CONDUCT.md │ │ │ ├── SECURITY.md │ │ │ └── .golangci.yml │ ├── sirupsen │ │ └── logrus │ │ │ ├── .gitignore │ │ │ ├── terminal_check_js.go │ │ │ ├── terminal_check_appengine.go │ │ │ ├── terminal_check_no_terminal.go │ │ │ ├── terminal_check_solaris.go │ │ │ ├── terminal_check_unix.go │ │ │ ├── appveyor.yml │ │ │ ├── terminal_check_bsd.go │ │ │ ├── terminal_check_notappengine.go │ │ │ └── .travis.yml │ ├── go-jose │ │ └── go-jose │ │ │ └── v4 │ │ │ └── .gitignore │ ├── golang-jwt │ │ └── jwt │ │ │ └── v4 │ │ │ ├── .gitignore │ │ │ ├── staticcheck.conf │ │ │ └── doc.go │ ├── pelletier │ │ └── go-toml │ │ │ └── v2 │ │ │ ├── internal │ │ │ └── tracker │ │ │ │ └── tracker.go │ │ │ ├── .dockerignore │ │ │ ├── doc.go │ │ │ ├── .gitattributes │ │ │ ├── Dockerfile │ │ │ ├── unstable │ │ │ ├── doc.go │ │ │ └── unmarshaler.go │ │ │ └── .gitignore │ ├── prometheus │ │ ├── procfs │ │ │ ├── .gitignore │ │ │ ├── MAINTAINERS.md │ │ │ ├── CODE_OF_CONDUCT.md │ │ │ ├── SECURITY.md │ │ │ └── NOTICE │ │ ├── client_golang │ │ │ └── prometheus │ │ │ │ ├── .gitignore │ │ │ │ └── README.md │ │ ├── client_model │ │ │ └── NOTICE │ │ └── common │ │ │ └── NOTICE │ ├── agext │ │ └── levenshtein │ │ │ ├── MAINTAINERS │ │ │ ├── NOTICE │ │ │ └── test.sh │ ├── googleapis │ │ └── gax-go │ │ │ └── v2 │ │ │ ├── .release-please-manifest.json │ │ │ └── release-please-config.json │ ├── sagikazarmark │ │ ├── slog-shim │ │ │ ├── .gitignore │ │ │ ├── .envrc │ │ │ └── .editorconfig │ │ └── locafero │ │ │ ├── .gitignore │ │ │ ├── justfile │ │ │ ├── .envrc │ │ │ └── .editorconfig │ ├── aws │ │ ├── smithy-go │ │ │ ├── NOTICE │ │ │ ├── doc.go │ │ │ ├── io │ │ │ │ ├── doc.go │ │ │ │ ├── byte.go │ │ │ │ └── reader.go │ │ │ ├── auth │ │ │ │ ├── auth.go │ │ │ │ └── bearer │ │ │ │ │ └── docs.go │ │ │ ├── rand │ │ │ │ └── doc.go │ │ │ ├── encoding │ │ │ │ ├── doc.go │ │ │ │ ├── xml │ │ │ │ │ └── constants.go │ │ │ │ └── json │ │ │ │ │ └── constants.go │ │ │ ├── endpoints │ │ │ │ └── private │ │ │ │ │ └── rulesfn │ │ │ │ │ └── doc.go │ │ │ ├── transport │ │ │ │ └── http │ │ │ │ │ ├── doc.go │ │ │ │ │ └── time.go │ │ │ ├── go_module_metadata.go │ │ │ ├── modman.toml │ │ │ ├── ptr │ │ │ │ └── doc.go │ │ │ ├── changelog-template.json │ │ │ ├── document.go │ │ │ ├── CODE_OF_CONDUCT.md │ │ │ └── .gitignore │ │ └── aws-sdk-go-v2 │ │ │ ├── aws │ │ │ ├── defaults │ │ │ │ └── doc.go │ │ │ ├── go_module_metadata.go │ │ │ ├── protocol │ │ │ │ └── eventstream │ │ │ │ │ └── go_module_metadata.go │ │ │ ├── version.go │ │ │ ├── errors.go │ │ │ └── signer │ │ │ │ └── internal │ │ │ │ └── v4 │ │ │ │ ├── hmac.go │ │ │ │ └── scope.go │ │ │ ├── NOTICE.txt │ │ │ ├── internal │ │ │ ├── auth │ │ │ │ └── smithy │ │ │ │ │ └── smithy.go │ │ │ ├── endpoints │ │ │ │ ├── awsrulesfn │ │ │ │ │ ├── doc.go │ │ │ │ │ └── generate.go │ │ │ │ └── v2 │ │ │ │ │ └── go_module_metadata.go │ │ │ ├── ini │ │ │ │ └── go_module_metadata.go │ │ │ ├── v4a │ │ │ │ ├── go_module_metadata.go │ │ │ │ └── internal │ │ │ │ │ └── v4 │ │ │ │ │ └── hmac.go │ │ │ ├── configsources │ │ │ │ └── go_module_metadata.go │ │ │ ├── sdk │ │ │ │ └── interfaces.go │ │ │ ├── sdkio │ │ │ │ └── byte.go │ │ │ └── strings │ │ │ │ └── strings.go │ │ │ ├── credentials │ │ │ ├── doc.go │ │ │ ├── go_module_metadata.go │ │ │ └── logincreds │ │ │ │ └── file.go │ │ │ ├── config │ │ │ ├── generate.go │ │ │ └── go_module_metadata.go │ │ │ ├── feature │ │ │ ├── s3 │ │ │ │ └── manager │ │ │ │ │ ├── doc.go │ │ │ │ │ ├── default_writer_read_from.go │ │ │ │ │ ├── default_read_seeker_write_to.go │ │ │ │ │ ├── default_read_seeker_write_to_windows.go │ │ │ │ │ ├── default_writer_read_from_windows.go │ │ │ │ │ └── go_module_metadata.go │ │ │ └── ec2 │ │ │ │ └── imds │ │ │ │ └── go_module_metadata.go │ │ │ └── service │ │ │ ├── internal │ │ │ ├── presigned-url │ │ │ │ ├── doc.go │ │ │ │ └── go_module_metadata.go │ │ │ ├── checksum │ │ │ │ └── go_module_metadata.go │ │ │ ├── s3shared │ │ │ │ └── go_module_metadata.go │ │ │ └── accept-encoding │ │ │ │ └── go_module_metadata.go │ │ │ ├── s3 │ │ │ ├── doc.go │ │ │ ├── go_module_metadata.go │ │ │ ├── bucketer.go │ │ │ └── express.go │ │ │ ├── ecr │ │ │ └── go_module_metadata.go │ │ │ ├── sso │ │ │ └── go_module_metadata.go │ │ │ ├── sts │ │ │ └── go_module_metadata.go │ │ │ ├── signin │ │ │ ├── go_module_metadata.go │ │ │ └── doc.go │ │ │ ├── ecrpublic │ │ │ └── go_module_metadata.go │ │ │ └── ssooidc │ │ │ └── go_module_metadata.go │ ├── fsnotify │ │ └── fsnotify │ │ │ ├── internal │ │ │ ├── internal.go │ │ │ └── unix2.go │ │ │ ├── staticcheck.conf │ │ │ ├── .mailmap │ │ │ ├── .gitignore │ │ │ ├── system_bsd.go │ │ │ └── system_darwin.go │ ├── opencontainers │ │ └── go-digest │ │ │ ├── .travis.yml │ │ │ ├── .mailmap │ │ │ └── MAINTAINERS │ ├── chrismellard │ │ └── docker-credential-acr-env │ │ │ └── .gitignore │ ├── magiconair │ │ └── properties │ │ │ └── .gitignore │ ├── google │ │ ├── s2a-go │ │ │ ├── internal │ │ │ │ └── v2 │ │ │ │ │ └── README.md │ │ │ └── .gitignore │ │ ├── uuid │ │ │ └── CONTRIBUTORS │ │ ├── go-containerregistry │ │ │ └── pkg │ │ │ │ ├── name │ │ │ │ └── README.md │ │ │ │ └── v1 │ │ │ │ ├── google │ │ │ │ └── README.md │ │ │ │ └── layout │ │ │ │ └── README.md │ │ └── go-cmp │ │ │ └── cmp │ │ │ └── internal │ │ │ └── flags │ │ │ └── flags.go │ ├── morikuni │ │ └── aec │ │ │ └── sample.gif │ ├── Azure │ │ ├── azure-sdk-for-go │ │ │ ├── services │ │ │ │ └── preview │ │ │ │ │ └── containerregistry │ │ │ │ │ └── runtime │ │ │ │ │ └── 2019-08-15-preview │ │ │ │ │ └── containerregistry │ │ │ │ │ └── CHANGELOG.md │ │ │ ├── sdk │ │ │ │ ├── internal │ │ │ │ │ ├── log │ │ │ │ │ │ └── doc.go │ │ │ │ │ ├── diag │ │ │ │ │ │ └── doc.go │ │ │ │ │ ├── uuid │ │ │ │ │ │ └── doc.go │ │ │ │ │ └── errorinfo │ │ │ │ │ │ └── doc.go │ │ │ │ ├── storage │ │ │ │ │ └── azblob │ │ │ │ │ │ ├── assets.json │ │ │ │ │ │ └── internal │ │ │ │ │ │ └── generated │ │ │ │ │ │ ├── constants.go │ │ │ │ │ │ └── build.go │ │ │ │ └── azcore │ │ │ │ │ ├── to │ │ │ │ │ └── doc.go │ │ │ │ │ ├── streaming │ │ │ │ │ └── doc.go │ │ │ │ │ └── policy │ │ │ │ │ └── doc.go │ │ │ └── version │ │ │ │ └── version.go │ │ └── go-ansiterm │ │ │ ├── context.go │ │ │ ├── winterm │ │ │ └── utilities.go │ │ │ └── utilities.go │ ├── ProtonMail │ │ └── go-crypto │ │ │ ├── openpgp │ │ │ └── packet │ │ │ │ └── config_v5.go │ │ │ ├── AUTHORS │ │ │ └── CONTRIBUTORS │ ├── hashicorp │ │ └── hcl │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── Makefile │ │ │ └── hcl │ │ │ └── parser │ │ │ └── error.go │ ├── toqueteos │ │ └── webbrowser │ │ │ ├── .travis.yml │ │ │ └── CONTRIBUTING.md │ ├── go-logr │ │ ├── logr │ │ │ └── CHANGELOG.md │ │ └── stdr │ │ │ └── README.md │ ├── karrick │ │ └── godirwalk │ │ │ ├── debug_release.go │ │ │ ├── inoWithIno.go │ │ │ ├── reclenFromNamlen.go │ │ │ ├── inoWithFileno.go │ │ │ ├── reclenFromReclen.go │ │ │ ├── bench.sh │ │ │ └── debug_development.go │ ├── pkg │ │ └── errors │ │ │ ├── .travis.yml │ │ │ └── .gitignore │ ├── cloudflare │ │ └── circl │ │ │ └── sign │ │ │ └── ed25519 │ │ │ ├── pubkey112.go │ │ │ └── pubkey.go │ ├── pjbgf │ │ └── sha1cd │ │ │ ├── sha1cdblock_noasm.go │ │ │ ├── ubc │ │ │ └── ubc.go │ │ │ └── detection.go │ ├── sourcegraph │ │ └── conc │ │ │ ├── internal │ │ │ └── multierror │ │ │ │ ├── multierror_go120.go │ │ │ │ └── multierror_go119.go │ │ │ ├── .golangci.yml │ │ │ └── panics │ │ │ └── try.go │ ├── GoogleCloudPlatform │ │ ├── docker-credential-gcr │ │ │ └── v2 │ │ │ │ ├── .gitignore │ │ │ │ └── util │ │ │ │ ├── BUILD │ │ │ │ └── cmd │ │ │ │ └── BUILD │ │ └── opentelemetry-operations-go │ │ │ └── detectors │ │ │ └── gcp │ │ │ └── README.md │ ├── munnerz │ │ └── goautoneg │ │ │ └── Makefile │ ├── awslabs │ │ └── amazon-ecr-credential-helper │ │ │ └── ecr-login │ │ │ └── version │ │ │ └── version.go │ ├── spiffe │ │ └── go-spiffe │ │ │ └── v2 │ │ │ ├── spiffeid │ │ │ └── charset_backcompat_deny.go │ │ │ └── bundle │ │ │ └── spiffebundle │ │ │ └── source.go │ ├── vbatts │ │ └── tar-split │ │ │ └── tar │ │ │ └── asm │ │ │ └── doc.go │ ├── cespare │ │ └── xxhash │ │ │ └── v2 │ │ │ ├── testall.sh │ │ │ └── xxhash_asm.go │ └── xanzy │ │ └── ssh-agent │ │ └── .gitignore ├── go.opencensus.io │ ├── AUTHORS │ └── .gitignore ├── 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 │ │ │ └── genid │ │ │ │ └── name.go │ │ └── encoding │ │ │ └── prototext │ │ │ └── doc.go │ └── api │ │ ├── internal │ │ └── version.go │ │ └── AUTHORS ├── golang.org │ └── x │ │ ├── net │ │ ├── http2 │ │ │ ├── .gitignore │ │ │ ├── config_go125.go │ │ │ └── config_go126.go │ │ └── idna │ │ │ └── pre_go118.go │ │ ├── sys │ │ ├── unix │ │ │ ├── .gitignore │ │ │ ├── ptrace_ios.go │ │ │ ├── vgetrandom_unsupported.go │ │ │ ├── syscall_linux_amd64_gc.go │ │ │ ├── endian_big.go │ │ │ ├── ptrace_darwin.go │ │ │ ├── constants.go │ │ │ └── endian_little.go │ │ ├── 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 │ │ │ ├── cpu_gccgo_arm64.go │ │ │ ├── cpu_linux_noinit.go │ │ │ ├── cpu_other_x86.go │ │ │ ├── cpu_linux.go │ │ │ └── cpu_mips64x.go │ │ └── windows │ │ │ ├── aliases.go │ │ │ └── registry │ │ │ └── mksyscall.go │ │ ├── oauth2 │ │ ├── internal │ │ │ └── doc.go │ │ └── .travis.yml │ │ ├── crypto │ │ ├── blake2b │ │ │ ├── go125.go │ │ │ └── blake2b_ref.go │ │ └── internal │ │ │ └── poly1305 │ │ │ └── mac_noasm.go │ │ ├── exp │ │ └── slog │ │ │ └── internal │ │ │ └── ignorepc.go │ │ └── text │ │ └── secure │ │ └── bidirule │ │ └── bidirule10.0.0.go ├── go.opentelemetry.io │ ├── otel │ │ ├── requirements.txt │ │ ├── .gitattributes │ │ ├── .clomonitor.yml │ │ ├── .codespellignore │ │ ├── sdk │ │ │ ├── README.md │ │ │ ├── metric │ │ │ │ ├── README.md │ │ │ │ ├── exemplar │ │ │ │ │ ├── README.md │ │ │ │ │ └── doc.go │ │ │ │ ├── metricdata │ │ │ │ │ └── README.md │ │ │ │ └── version.go │ │ │ ├── resource │ │ │ │ ├── README.md │ │ │ │ ├── host_id_darwin.go │ │ │ │ └── host_id_linux.go │ │ │ ├── instrumentation │ │ │ │ ├── README.md │ │ │ │ └── library.go │ │ │ └── version.go │ │ ├── codes │ │ │ └── README.md │ │ ├── baggage │ │ │ ├── README.md │ │ │ └── doc.go │ │ ├── metric │ │ │ ├── README.md │ │ │ ├── noop │ │ │ │ └── README.md │ │ │ └── embedded │ │ │ │ └── README.md │ │ ├── trace │ │ │ ├── README.md │ │ │ ├── noop │ │ │ │ └── README.md │ │ │ ├── embedded │ │ │ │ └── README.md │ │ │ └── internal │ │ │ │ └── telemetry │ │ │ │ └── doc.go │ │ ├── attribute │ │ │ ├── README.md │ │ │ └── doc.go │ │ ├── propagation │ │ │ └── README.md │ │ ├── .gitignore │ │ ├── semconv │ │ │ ├── v1.20.0 │ │ │ │ ├── README.md │ │ │ │ ├── exception.go │ │ │ │ └── http.go │ │ │ ├── v1.26.0 │ │ │ │ ├── README.md │ │ │ │ └── exception.go │ │ │ └── v1.37.0 │ │ │ │ ├── README.md │ │ │ │ └── exception.go │ │ ├── version.go │ │ └── .codespellrc │ ├── auto │ │ └── sdk │ │ │ └── internal │ │ │ └── telemetry │ │ │ └── doc.go │ └── contrib │ │ └── instrumentation │ │ └── net │ │ └── http │ │ └── otelhttp │ │ └── doc.go ├── go.uber.org │ └── multierr │ │ └── .gitignore ├── dario.cat │ └── mergo │ │ ├── FUNDING.json │ │ ├── .deepsource.toml │ │ └── .travis.yml ├── gopkg.in │ └── ini.v1 │ │ ├── .gitignore │ │ ├── .editorconfig │ │ ├── Makefile │ │ └── codecov.yml ├── go.yaml.in │ └── yaml │ │ └── v2 │ │ └── .travis.yml └── cloud.google.com │ └── go │ └── storage │ └── .repo-metadata.json ├── integration-test.sh ├── pkg └── util │ └── .editorconfig ├── logo ├── README.md ├── Kaniko-Logo.png └── Kaniko-Logo-Monochrome.png ├── docs └── demo.gif ├── .gitignore ├── .prettierrc ├── .dockerignore ├── cosign.pub ├── examples ├── kaniko-cache-claim.yaml ├── volume-claim.yaml ├── kaniko-cache-volume.yaml └── volume.yaml ├── SECURITY.md └── scripts └── local-registry-helm.yaml /MAINTAINERS: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hack/.gitignore: -------------------------------------------------------------------------------- 1 | bin -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /integration/ignore/bar: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /integration/ignore/baz: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /integration/ignore/foo: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /integration/context/foo: -------------------------------------------------------------------------------- 1 | foo 2 | -------------------------------------------------------------------------------- /integration/ignore_relative/bar: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /integration/ignore_relative/baz: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /integration/ignore_relative/foo: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /integration/context/arr[0].txt: -------------------------------------------------------------------------------- 1 | hello -------------------------------------------------------------------------------- /integration/context/bar/bat: -------------------------------------------------------------------------------- 1 | bat 2 | -------------------------------------------------------------------------------- /integration/context/bar/baz: -------------------------------------------------------------------------------- 1 | baz 2 | -------------------------------------------------------------------------------- /integration/context/empty/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /integration/context/qux/qup: -------------------------------------------------------------------------------- 1 | qup 2 | -------------------------------------------------------------------------------- /integration/context/qux/quz: -------------------------------------------------------------------------------- 1 | quz 2 | -------------------------------------------------------------------------------- /vendor/cel.dev/expr/WORKSPACE.bzlmod: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /integration/.gitignore: -------------------------------------------------------------------------------- 1 | cache 2 | config.json -------------------------------------------------------------------------------- /integration/context/bar/bam/bat: -------------------------------------------------------------------------------- 1 | bat 2 | -------------------------------------------------------------------------------- /integration/context/qux/quw/que: -------------------------------------------------------------------------------- 1 | que 2 | -------------------------------------------------------------------------------- /integration/context/workspace/test: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /integration-test.sh: -------------------------------------------------------------------------------- 1 | scripts/integration-test.sh -------------------------------------------------------------------------------- /integration/context/tars/file: -------------------------------------------------------------------------------- 1 | normal file 2 | -------------------------------------------------------------------------------- /vendor/github.com/felixge/httpsnoop/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/s2sx.sum: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/go.opencensus.io/AUTHORS: -------------------------------------------------------------------------------- 1 | Google Inc. 2 | -------------------------------------------------------------------------------- /integration/benchmark_fs/context.txt: -------------------------------------------------------------------------------- 1 | hello world 2 | -------------------------------------------------------------------------------- /integration/dockerfiles-with-context/issue-57/a.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /integration/dockerfiles-with-context/issue-57/b.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/util/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | -------------------------------------------------------------------------------- /vendor/github.com/kevinburke/ssh_config/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/minio/highwayhash/.gitignore: -------------------------------------------------------------------------------- 1 | *.test -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/AUTHORS: -------------------------------------------------------------------------------- 1 | Google Inc. 2 | -------------------------------------------------------------------------------- /integration/dockerfiles-with-context/issue-774/test-file: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logo/README.md: -------------------------------------------------------------------------------- 1 | Thank you @ggcarlosr for this awesome logo! -------------------------------------------------------------------------------- /vendor/github.com/docker/go-connections/sockets/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/go-git/gcfg/.gitignore: -------------------------------------------------------------------------------- 1 | coverage.out 2 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/* 2 | 3 | -------------------------------------------------------------------------------- /vendor/github.com/subosito/gotenv/.env: -------------------------------------------------------------------------------- 1 | HELLO=world 2 | -------------------------------------------------------------------------------- /vendor/github.com/subosito/gotenv/.env.invalid: -------------------------------------------------------------------------------- 1 | lol$wut 2 | -------------------------------------------------------------------------------- /vendor/github.com/cyphar/filepath-securejoin/VERSION: -------------------------------------------------------------------------------- 1 | 0.4.1 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/.dockerignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | -------------------------------------------------------------------------------- /vendor/github.com/moby/go-archive/.gitignore: -------------------------------------------------------------------------------- 1 | /coverage.txt 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | h2i/h2i 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/.gitignore: -------------------------------------------------------------------------------- 1 | _obj/ 2 | unix.test 3 | -------------------------------------------------------------------------------- /integration/dockerfiles-with-context/issue-721/test.txt: -------------------------------------------------------------------------------- 1 | meow 2 | -------------------------------------------------------------------------------- /vendor/cel.dev/expr/.gitignore: -------------------------------------------------------------------------------- 1 | bazel-* 2 | MODULE.bazel.lock 3 | -------------------------------------------------------------------------------- /integration/testdata/Dockerfile.trivial: -------------------------------------------------------------------------------- 1 | FROM ubuntu 2 | RUN echo Hello -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/go-winio/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @microsoft/containerplat -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/hcs/doc.go: -------------------------------------------------------------------------------- 1 | package hcs 2 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/hns/doc.go: -------------------------------------------------------------------------------- 1 | package hns 2 | -------------------------------------------------------------------------------- /vendor/github.com/containerd/platforms/.gitattributes: -------------------------------------------------------------------------------- 1 | *.go text eol=lf -------------------------------------------------------------------------------- /vendor/github.com/containerd/ttrpc/.gitattributes: -------------------------------------------------------------------------------- 1 | *.go text eol=lf 2 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/huff0/.gitignore: -------------------------------------------------------------------------------- 1 | /huff0-fuzz.zip 2 | -------------------------------------------------------------------------------- /vendor/github.com/otiai10/mint/.gitignore: -------------------------------------------------------------------------------- 1 | coverage.txt 2 | vendor 3 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/.yamlignore: -------------------------------------------------------------------------------- 1 | # TODO: FIXME 2 | /.github/ 3 | -------------------------------------------------------------------------------- /vendor/github.com/tonistiigi/go-csvvalue/codecov.yml: -------------------------------------------------------------------------------- 1 | comment: false 2 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/requirements.txt: -------------------------------------------------------------------------------- 1 | codespell==2.4.1 2 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_ignore: -------------------------------------------------------------------------------- 1 | FROM scratch 2 | COPY . . 3 | -------------------------------------------------------------------------------- /vendor/github.com/containerd/typeurl/v2/.gitignore: -------------------------------------------------------------------------------- 1 | *.test 2 | coverage.txt 3 | -------------------------------------------------------------------------------- /vendor/github.com/distribution/reference/.gitattributes: -------------------------------------------------------------------------------- 1 | *.go text eol=lf 2 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/.gitignore: -------------------------------------------------------------------------------- 1 | sftpfs/file1 2 | sftpfs/test/ 3 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/go-winio/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @microsoft/containerplat 2 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/hcserror/doc.go: -------------------------------------------------------------------------------- 1 | package hcserror 2 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/interop/doc.go: -------------------------------------------------------------------------------- 1 | package interop 2 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/safefile/do.go: -------------------------------------------------------------------------------- 1 | package safefile 2 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/vmcompute/doc.go: -------------------------------------------------------------------------------- 1 | package vmcompute 2 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /docs/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chainguard-forks/kaniko/HEAD/docs/demo.gif -------------------------------------------------------------------------------- /vendor/github.com/go-jose/go-jose/v4/.gitignore: -------------------------------------------------------------------------------- 1 | jose-util/jose-util 2 | jose-util.t.err -------------------------------------------------------------------------------- /vendor/github.com/golang-jwt/jwt/v4/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | bin 3 | .idea/ 4 | 5 | -------------------------------------------------------------------------------- /vendor/github.com/kevinburke/ssh_config/.gitattributes: -------------------------------------------------------------------------------- 1 | testdata/dos-lines eol=crlf 2 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/.gitattributes: -------------------------------------------------------------------------------- 1 | * -text 2 | *.bin -text -diff 3 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/v2/internal/tracker/tracker.go: -------------------------------------------------------------------------------- 1 | package tracker 2 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/.gitignore: -------------------------------------------------------------------------------- 1 | /testdata/fixtures/ 2 | /fixtures 3 | -------------------------------------------------------------------------------- /vendor/go.uber.org/multierr/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | cover.html 3 | cover.out 4 | /bin 5 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | out/ 2 | bazel-* 3 | *~ 4 | BUILD.bazel 5 | .idea/** 6 | *.iml 7 | .vagrant 8 | .vscode/ -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_git_buildcontext: -------------------------------------------------------------------------------- 1 | FROM scratch 2 | COPY LICENSE ./LICENSE 3 | -------------------------------------------------------------------------------- /integration/tar.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chainguard-forks/kaniko/HEAD/integration/tar.tar -------------------------------------------------------------------------------- /vendor/cel.dev/expr/.bazelversion: -------------------------------------------------------------------------------- 1 | 7.3.2 2 | # Keep this pinned version in parity with cel-go 3 | -------------------------------------------------------------------------------- /vendor/cel.dev/expr/.gitattributes: -------------------------------------------------------------------------------- 1 | *.pb.go linguist-generated=true 2 | *.pb.go -diff -merge 3 | -------------------------------------------------------------------------------- /vendor/github.com/agext/levenshtein/MAINTAINERS: -------------------------------------------------------------------------------- 1 | Alex Bucataru (@AlexBucataru) 2 | -------------------------------------------------------------------------------- /vendor/github.com/moby/go-archive/.gitattributes: -------------------------------------------------------------------------------- 1 | *.go -text diff=golang 2 | *.go text eol=lf 3 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/v2/.dockerignore: -------------------------------------------------------------------------------- 1 | cmd/tomll/tomll 2 | cmd/tomljson/tomljson 3 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/client_golang/prometheus/.gitignore: -------------------------------------------------------------------------------- 1 | command-line-arguments.test 2 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_arg_two_level: -------------------------------------------------------------------------------- 1 | ARG A=3.9 2 | ARG B=alpine:${A} 3 | FROM ${B} 4 | -------------------------------------------------------------------------------- /logo/Kaniko-Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chainguard-forks/kaniko/HEAD/logo/Kaniko-Logo.png -------------------------------------------------------------------------------- /vendor/github.com/googleapis/gax-go/v2/.release-please-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "v2": "2.15.0" 3 | } 4 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/s2sx.mod: -------------------------------------------------------------------------------- 1 | module github.com/klauspost/compress 2 | 3 | go 1.22 4 | -------------------------------------------------------------------------------- /vendor/github.com/subosito/gotenv/.gitignore: -------------------------------------------------------------------------------- 1 | *.test 2 | *.out 3 | annotate.json 4 | profile.cov 5 | -------------------------------------------------------------------------------- /vendor/github.com/go-git/go-billy/v5/.gitignore: -------------------------------------------------------------------------------- 1 | /coverage.txt 2 | /vendor 3 | Gopkg.lock 4 | Gopkg.toml 5 | -------------------------------------------------------------------------------- /vendor/github.com/go-git/go-billy/v5/osfs/os_options.go: -------------------------------------------------------------------------------- 1 | package osfs 2 | 3 | type Option func(*options) 4 | -------------------------------------------------------------------------------- /vendor/github.com/sagikazarmark/slog-shim/.gitignore: -------------------------------------------------------------------------------- 1 | /.devenv/ 2 | /.direnv/ 3 | /.task/ 4 | /build/ 5 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf 2 | vendor/** -text 3 | test/vendor/** -text -------------------------------------------------------------------------------- /vendor/github.com/aws/smithy-go/NOTICE: -------------------------------------------------------------------------------- 1 | Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 2 | -------------------------------------------------------------------------------- /vendor/github.com/kevinburke/ssh_config/.mailmap: -------------------------------------------------------------------------------- 1 | Kevin Burke Kevin Burke 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/golang-jwt/jwt/v4/staticcheck.conf: -------------------------------------------------------------------------------- 1 | checks = ["all", "-ST1000", "-ST1003", "-ST1016", "-ST1023"] 2 | -------------------------------------------------------------------------------- /integration/.dockerignore: -------------------------------------------------------------------------------- 1 | # A .dockerignore file to make sure dockerignore support works 2 | ignore/** 3 | !ignore/foo 4 | -------------------------------------------------------------------------------- /logo/Kaniko-Logo-Monochrome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chainguard-forks/kaniko/HEAD/logo/Kaniko-Logo-Monochrome.png -------------------------------------------------------------------------------- /integration/context/tars/file.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chainguard-forks/kaniko/HEAD/integration/context/tars/file.bz2 -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_cache_copy: -------------------------------------------------------------------------------- 1 | FROM google/cloud-sdk:256.0.0-alpine 2 | 3 | COPY context/foo /usr/bin 4 | -------------------------------------------------------------------------------- /vendor/github.com/aws/smithy-go/doc.go: -------------------------------------------------------------------------------- 1 | // Package smithy provides the core components for a Smithy SDK. 2 | package smithy 3 | -------------------------------------------------------------------------------- /vendor/github.com/aws/smithy-go/io/doc.go: -------------------------------------------------------------------------------- 1 | // Package io provides utilities for Smithy generated API clients. 2 | package io 3 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/internal/internal.go: -------------------------------------------------------------------------------- 1 | // Package internal contains some helpers. 2 | package internal 3 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /integration/context/tars/file.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chainguard-forks/kaniko/HEAD/integration/context/tars/file.tar.gz -------------------------------------------------------------------------------- /integration/context/tars/sys.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chainguard-forks/kaniko/HEAD/integration/context/tars/sys.tar.gz -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_add_dest_symlink_dir: -------------------------------------------------------------------------------- 1 | FROM phusion/baseimage:0.11 2 | ADD context/foo /etc/service/foo 3 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_cache_copy_oci: -------------------------------------------------------------------------------- 1 | FROM google/cloud-sdk:256.0.0-alpine 2 | 3 | COPY context/foo /usr/bin 4 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/go-winio/internal/fs/doc.go: -------------------------------------------------------------------------------- 1 | // This package contains Win32 filesystem functionality. 2 | package fs 3 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/v2/doc.go: -------------------------------------------------------------------------------- 1 | // Package toml is a library to read and write TOML documents. 2 | package toml 3 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_arg_multi_empty_val: -------------------------------------------------------------------------------- 1 | ARG VARIANT="" 2 | ARG VERSION=1 3 | FROM busybox${VARIANT}:1.3${VERSION} 4 | -------------------------------------------------------------------------------- /vendor/github.com/chrismellard/docker-credential-acr-env/.gitignore: -------------------------------------------------------------------------------- 1 | # Jetbrains IDE files 2 | .idea/ 3 | bin/ 4 | build/ 5 | dist/ 6 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/staticcheck.conf: -------------------------------------------------------------------------------- 1 | checks = ['all', 2 | '-U1000', # Don't complain about unused functions. 3 | ] 4 | -------------------------------------------------------------------------------- /vendor/github.com/magiconair/properties/.gitignore: -------------------------------------------------------------------------------- 1 | *.sublime-project 2 | *.sublime-workspace 3 | *.un~ 4 | *.swp 5 | .idea/ 6 | *.iml 7 | -------------------------------------------------------------------------------- /vendor/github.com/go-git/go-git/v5/.gitignore: -------------------------------------------------------------------------------- 1 | coverage.out 2 | *~ 3 | coverage.txt 4 | profile.out 5 | .tmp/ 6 | .git-dist/ 7 | .vscode 8 | -------------------------------------------------------------------------------- /vendor/github.com/google/s2a-go/internal/v2/README.md: -------------------------------------------------------------------------------- 1 | **This directory has the implementation of the S2Av2's gRPC-Go client libraries** 2 | -------------------------------------------------------------------------------- /vendor/github.com/morikuni/aec/sample.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chainguard-forks/kaniko/HEAD/vendor/github.com/morikuni/aec/sample.gif -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/v2/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | 3 | benchmark/benchmark.toml text eol=lf 4 | testdata/** text eol=lf 5 | -------------------------------------------------------------------------------- /integration/testdata/exit-code-propagation/Dockerfile_exit_code_propagation: -------------------------------------------------------------------------------- 1 | FROM alpine:latest 2 | 3 | RUN exit 42 4 | 5 | CMD ["sleep", "1"] 6 | -------------------------------------------------------------------------------- /vendor/github.com/sagikazarmark/locafero/.gitignore: -------------------------------------------------------------------------------- 1 | /.devenv/ 2 | /.direnv/ 3 | /.task/ 4 | /bin/ 5 | /build/ 6 | /tmp/ 7 | /var/ 8 | /vendor/ 9 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | printWidth: 80 2 | tabWidth: 2 3 | semi: false 4 | singleQuote: false 5 | overrides: [{ files: "*.md", options: { proseWrap: always } }] 6 | -------------------------------------------------------------------------------- /vendor/github.com/moby/go-archive/xattr_supported_linux.go: -------------------------------------------------------------------------------- 1 | package archive 2 | 3 | import "golang.org/x/sys/unix" 4 | 5 | var noattr = unix.ENODATA 6 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | integration/**/* 2 | scripts/**/* 3 | hack/**/* 4 | examples/**/* 5 | docs/**/* 6 | .github/**/* 7 | logo/**/* 8 | out/**/* 9 | 10 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_replaced_hardlinks: -------------------------------------------------------------------------------- 1 | FROM jboss/base-jdk@sha256:70d956f632c26d1f1df57cbb99870a6141cfe470de0eb2d51bccd44929df9367 2 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_replaced_symlinks: -------------------------------------------------------------------------------- 1 | FROM alpine@sha256:ab00606a42621fb68f2ed6ad3c88be54397f981a7b70a79db3d1172b11c4367d 2 | RUN pwd 3 | -------------------------------------------------------------------------------- /vendor/github.com/aws/smithy-go/auth/auth.go: -------------------------------------------------------------------------------- 1 | // Package auth defines protocol-agnostic authentication types for smithy 2 | // clients. 3 | package auth 4 | -------------------------------------------------------------------------------- /vendor/github.com/go-git/go-git/v5/plumbing/format/objfile/doc.go: -------------------------------------------------------------------------------- 1 | // Package objfile implements encoding and decoding of object files. 2 | package objfile 3 | -------------------------------------------------------------------------------- /vendor/github.com/go-git/go-git/v5/plumbing/storer/doc.go: -------------------------------------------------------------------------------- 1 | // Package storer defines the interfaces to store objects, references, etc. 2 | package storer 3 | -------------------------------------------------------------------------------- /vendor/github.com/moby/term/doc.go: -------------------------------------------------------------------------------- 1 | // Package term provides structures and helper functions to work with 2 | // terminal (state, sizes). 3 | package term 4 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/.gitignore: -------------------------------------------------------------------------------- 1 | /.devenv/ 2 | /.direnv/ 3 | /.idea/ 4 | /.pre-commit-config.yaml 5 | /bin/ 6 | /build/ 7 | /var/ 8 | /vendor/ 9 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/internal/features/bind_struct.go: -------------------------------------------------------------------------------- 1 | //go:build viper_bind_struct 2 | 3 | package features 4 | 5 | const BindStruct = true 6 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/.clomonitor.yml: -------------------------------------------------------------------------------- 1 | exemptions: 2 | - check: artifacthub_badge 3 | reason: "Artifact Hub doesn't support Go packages" 4 | -------------------------------------------------------------------------------- /integration/dockerfiles-with-context/issue-2075/top1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chainguard-forks/kaniko/HEAD/integration/dockerfiles-with-context/issue-2075/top1 -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_registry: -------------------------------------------------------------------------------- 1 | FROM busybox@sha256:1bd6df27274fef1dd36eb529d0f4c8033f61c675d6b04213dd913f902f7cafb5 2 | RUN echo "hey" > /hey 3 | -------------------------------------------------------------------------------- /vendor/github.com/Azure/azure-sdk-for-go/services/preview/containerregistry/runtime/2019-08-15-preview/containerregistry/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Change History 2 | 3 | -------------------------------------------------------------------------------- /vendor/github.com/ProtonMail/go-crypto/openpgp/packet/config_v5.go: -------------------------------------------------------------------------------- 1 | //go:build !v5 2 | 3 | package packet 4 | 5 | func init() { 6 | V5Disabled = true 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/aws/smithy-go/rand/doc.go: -------------------------------------------------------------------------------- 1 | // Package rand provides utilities for creating and working with random value 2 | // generators. 3 | package rand 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/useragent/README.md: -------------------------------------------------------------------------------- 1 | This package provides helper functions to pack version information into a single User-Agent header. 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/.gitignore: -------------------------------------------------------------------------------- 1 | y.output 2 | 3 | # ignore intellij files 4 | .idea 5 | *.iml 6 | *.ipr 7 | *.iws 8 | 9 | *.test 10 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_js.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package logrus 4 | 5 | func isTerminal(fd int) bool { 6 | return false 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/.yamllint.yaml: -------------------------------------------------------------------------------- 1 | ignore-from-file: [.gitignore, .yamlignore] 2 | 3 | extends: default 4 | 5 | rules: 6 | line-length: disable 7 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_add_404: -------------------------------------------------------------------------------- 1 | FROM debian:12.10 2 | 3 | # Testing that any HTTP failure is handled properly 4 | ADD https://httpstat.us/404 . 5 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/aws/defaults/doc.go: -------------------------------------------------------------------------------- 1 | // Package defaults provides recommended configuration values for AWS SDKs and CLIs. 2 | package defaults 3 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/oci/caps/utils_other.go: -------------------------------------------------------------------------------- 1 | //go:build !linux 2 | 3 | package caps 4 | 5 | func initCaps() { 6 | // no capabilities on Windows 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/internal/features/bind_struct_default.go: -------------------------------------------------------------------------------- 1 | //go:build !viper_bind_struct 2 | 3 | package features 4 | 5 | const BindStruct = false 6 | -------------------------------------------------------------------------------- /vendor/github.com/toqueteos/webbrowser/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.2 5 | - 1.12 6 | - tip 7 | 8 | script: 9 | - go build ./... 10 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_issue_704: -------------------------------------------------------------------------------- 1 | FROM alpine 2 | 3 | RUN mkdir -p /some/dir/ && echo 'first' > /some/dir/first.txt 4 | 5 | RUN rm /some/dir/first.txt 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/fsnotify/fsnotify/internal/unix2.go: -------------------------------------------------------------------------------- 1 | //go:build !windows 2 | 3 | package internal 4 | 5 | func HasPrivilegesForSymlink() bool { 6 | return true 7 | } 8 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_relative_copy: -------------------------------------------------------------------------------- 1 | FROM alpine@sha256:5ce5f501c457015c4b91f91a15ac69157d9b06f1a75cf9107bf2b62e0843983a 2 | COPY foo foo 3 | COPY foo /foodir/ 4 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_snapshotter_ignorelist: -------------------------------------------------------------------------------- 1 | FROM alpine@sha256:def822f9851ca422481ec6fee59a9966f12b351c62ccb9aca841526ffaa9f748 2 | RUN ln -s /dev/null /hello -------------------------------------------------------------------------------- /vendor/github.com/Azure/go-ansiterm/context.go: -------------------------------------------------------------------------------- 1 | package ansiterm 2 | 3 | type ansiContext struct { 4 | currentChar byte 5 | paramBuffer []byte 6 | interBuffer []byte 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/NOTICE.txt: -------------------------------------------------------------------------------- 1 | AWS SDK for Go 2 | Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 | Copyright 2014-2015 Stripe, Inc. 4 | -------------------------------------------------------------------------------- /vendor/github.com/aws/smithy-go/encoding/doc.go: -------------------------------------------------------------------------------- 1 | // Package encoding provides utilities for encoding values for specific 2 | // document encodings. 3 | 4 | package encoding 5 | -------------------------------------------------------------------------------- /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/docker/docker/daemon/graphdriver/driver_freebsd.go: -------------------------------------------------------------------------------- 1 | package graphdriver 2 | 3 | // List of drivers that should be used in an order 4 | var priority = "zfs" 5 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.mailmap: -------------------------------------------------------------------------------- 1 | Chris Howey 2 | Nathan Youngman <4566+nathany@users.noreply.github.com> 3 | -------------------------------------------------------------------------------- /vendor/github.com/subosito/gotenv/.golangci.yaml: -------------------------------------------------------------------------------- 1 | # Options for analysis running. 2 | run: 3 | timeout: 1m 4 | 5 | linters-settings: 6 | gofmt: 7 | simplify: true 8 | -------------------------------------------------------------------------------- /vendor/gopkg.in/ini.v1/.gitignore: -------------------------------------------------------------------------------- 1 | testdata/conf_out.ini 2 | ini.sublime-project 3 | ini.sublime-workspace 4 | testdata/conf_reflect.ini 5 | .idea 6 | /.vscode 7 | .DS_Store 8 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_deleted_file_cached: -------------------------------------------------------------------------------- 1 | FROM alpine 2 | 3 | RUN mkdir -p /some/dir/ && echo 'first' > /some/dir/first.txt 4 | 5 | RUN rm /some/dir/first.txt 6 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/internal/auth/smithy/smithy.go: -------------------------------------------------------------------------------- 1 | // Package smithy adapts concrete AWS auth and signing types to the generic smithy versions. 2 | package smithy 3 | -------------------------------------------------------------------------------- /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/go-git/gcfg/types/doc.go: -------------------------------------------------------------------------------- 1 | // Package types defines helpers for type conversions. 2 | // 3 | // The API for this package is not finalized yet. 4 | package types 5 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/v2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM scratch 2 | ENV PATH "$PATH:/bin" 3 | COPY tomll /bin/tomll 4 | COPY tomljson /bin/tomljson 5 | COPY jsontoml /bin/jsontoml 6 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/v2/unstable/doc.go: -------------------------------------------------------------------------------- 1 | // Package unstable provides APIs that do not meet the backward compatibility 2 | // guarantees yet. 3 | package unstable 4 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/README.md: -------------------------------------------------------------------------------- 1 | # SDK 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/sdk)](https://pkg.go.dev/go.opentelemetry.io/otel/sdk) 4 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_dockerignore_relative.dockerignore: -------------------------------------------------------------------------------- 1 | # A .dockerignore file to make sure dockerignore support works 2 | ignore_relative/** 3 | !ignore_relative/foo 4 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_cmd: -------------------------------------------------------------------------------- 1 | FROM debian:12 AS first 2 | CMD ["mycmd"] 3 | FROM first 4 | ENTRYPOINT ["myentrypoint"] # This should clear out CMD in the config metadata 5 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/credentials/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package credentials provides types for retrieving credentials from credentials sources. 3 | */ 4 | package credentials 5 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/driver_windows.go: -------------------------------------------------------------------------------- 1 | package graphdriver 2 | 3 | // List of drivers that should be used in order 4 | var priority = "windowsfilter" 5 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_arg_from_quotes: -------------------------------------------------------------------------------- 1 | ARG IMAGE_NAME="busybox:latest" 2 | 3 | FROM $IMAGE_NAME 4 | ENV PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 5 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/config/generate.go: -------------------------------------------------------------------------------- 1 | package config 2 | 3 | //go:generate go run -tags codegen ./codegen -output=provider_assert_test.go 4 | //go:generate gofmt -s -w ./ 5 | -------------------------------------------------------------------------------- /vendor/github.com/aws/smithy-go/auth/bearer/docs.go: -------------------------------------------------------------------------------- 1 | // Package bearer provides middleware and utilities for authenticating API 2 | // operation calls with a Bearer Token. 3 | package bearer 4 | -------------------------------------------------------------------------------- /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/moby/go-archive/diff_windows.go: -------------------------------------------------------------------------------- 1 | package archive 2 | 3 | // overrideUmask is a no-op on windows. 4 | func overrideUmask(newmask int) func() { 5 | return func() {} 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/moby/go-archive/xattr_supported_unix.go: -------------------------------------------------------------------------------- 1 | //go:build !linux && !windows 2 | 3 | package archive 4 | 5 | import "golang.org/x/sys/unix" 6 | 7 | var noattr = unix.ENOATTR 8 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/v2/.gitignore: -------------------------------------------------------------------------------- 1 | test_program/test_program_bin 2 | fuzz/ 3 | cmd/tomll/tomll 4 | cmd/tomljson/tomljson 5 | cmd/tomltestgen/tomltestgen 6 | dist 7 | tests/ 8 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/internal/encoding/error.go: -------------------------------------------------------------------------------- 1 | package encoding 2 | 3 | type encodingError string 4 | 5 | func (e encodingError) Error() string { 6 | return string(e) 7 | } 8 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_complex_substitution: -------------------------------------------------------------------------------- 1 | FROM docker.io/library/busybox:latest@sha256:afe605d272837ce1732f390966166c2afff5391208ddd57de10942748694049d 2 | RUN echo ${s%s} 3 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_dangling_symlink: -------------------------------------------------------------------------------- 1 | FROM busybox:latest@sha256:b26cd013274a657b86e706210ddd5cc1f82f50155791199d29b9e86e935ce135 2 | RUN ["/bin/ln", "-s", "nowhere", "/link"] 3 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/winapi/winapi.go: -------------------------------------------------------------------------------- 1 | package winapi 2 | 3 | //go:generate go run github.com/Microsoft/go-winio/tools/mkwinsyscall -output zsyscall_windows.go ./*.go 4 | -------------------------------------------------------------------------------- /vendor/github.com/aws/smithy-go/endpoints/private/rulesfn/doc.go: -------------------------------------------------------------------------------- 1 | // Package rulesfn provides endpoint rule functions for evaluating endpoint 2 | // resolution rules. 3 | 4 | package rulesfn 5 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/error_response_ext.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | // Error returns the error message 4 | func (e ErrorResponse) Error() string { 5 | return e.Message 6 | } 7 | -------------------------------------------------------------------------------- /vendor/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 | -------------------------------------------------------------------------------- /integration/dockerfiles-with-context/issue-1020/package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "foo", 3 | "version": "2.0.0", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": {} 7 | } 8 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_arg_from_single_quotes: -------------------------------------------------------------------------------- 1 | ARG IMAGE_NAME='busybox:latest' 2 | 3 | FROM $IMAGE_NAME 4 | ENV PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 5 | -------------------------------------------------------------------------------- /integration/dockerfiles/TestReplaceFolderWithLink: -------------------------------------------------------------------------------- 1 | # Not prefixed Dockerfile_test to exclude it from TestRun() 2 | FROM busybox 3 | 4 | RUN mkdir /a /b /c && echo a > /a/d 5 | RUN rm -r /a && ln -sf /b /a -------------------------------------------------------------------------------- /vendor/github.com/google/s2a-go/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore binaries without extension 2 | //example/client/client 3 | //example/server/server 4 | //internal/v2/fakes2av2_server/fakes2av2_server 5 | 6 | .idea/ -------------------------------------------------------------------------------- /vendor/github.com/moby/go-archive/archive_other.go: -------------------------------------------------------------------------------- 1 | //go:build !linux 2 | 3 | package archive 4 | 5 | func getWhiteoutConverter(format WhiteoutFormat) tarWhiteoutConverter { 6 | return nil 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/otiai10/copy/.gitignore: -------------------------------------------------------------------------------- 1 | test/data.copy 2 | test/owned-by-root 3 | coverage.txt 4 | vendor 5 | .vagrant 6 | .idea/ 7 | 8 | # Test Specific 9 | test/data/case16/large.file 10 | -------------------------------------------------------------------------------- /vendor/github.com/otiai10/copy/preserve_ltimes_x.go: -------------------------------------------------------------------------------- 1 | //go:build windows || js || plan9 2 | 3 | package copy 4 | 5 | func preserveLtimes(src, dest string) error { 6 | return nil // Unsupported 7 | } 8 | -------------------------------------------------------------------------------- /cosign.pub: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE9aAfAcgAxIFMTstJUv8l/AMqnSKw 3 | P+vLu3NnnBDHCfREQpV/AJuiZ1UtgGpFpHlJLCNPmFkzQTnfyN5idzNl6Q== 4 | -----END PUBLIC KEY----- 5 | -------------------------------------------------------------------------------- /integration/dockerfiles/TestReplaceFolderWithFile: -------------------------------------------------------------------------------- 1 | # Not prefixed Dockerfile_test to exclude it from TestRun() 2 | FROM busybox 3 | 4 | RUN mkdir /a /b /c && echo a > /a/d 5 | RUN rm -r /a && echo "foo" > /a -------------------------------------------------------------------------------- /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/Microsoft/hcsshim/internal/winapi/net.go: -------------------------------------------------------------------------------- 1 | package winapi 2 | 3 | //sys SetJobCompartmentId(handle windows.Handle, compartmentId uint32) (win32Err error) = iphlpapi.SetJobCompartmentId 4 | -------------------------------------------------------------------------------- /vendor/github.com/go-git/gcfg/README: -------------------------------------------------------------------------------- 1 | Gcfg reads INI-style configuration files into Go structs; 2 | supports user-defined types and subsections. 3 | 4 | Package docs: https://godoc.org/gopkg.in/gcfg.v1 5 | -------------------------------------------------------------------------------- /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/github.com/hashicorp/hcl/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | 5 | go: 6 | - 1.x 7 | - tip 8 | 9 | branches: 10 | only: 11 | - master 12 | 13 | script: make test 14 | -------------------------------------------------------------------------------- /vendor/github.com/karrick/godirwalk/debug_release.go: -------------------------------------------------------------------------------- 1 | // +build !godirwalk_debug 2 | 3 | package godirwalk 4 | 5 | // debug is a no-op for release builds 6 | func debug(_ string, _ ...interface{}) {} 7 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/MAINTAINERS.md: -------------------------------------------------------------------------------- 1 | * Johannes 'fish' Ziemke @discordianfish 2 | * Paul Gier @pgier 3 | * Ben Kochie @SuperQ 4 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_expose: -------------------------------------------------------------------------------- 1 | FROM debian:12.10 2 | EXPOSE 80 3 | EXPOSE 81/udp 4 | ENV protocol tcp 5 | EXPOSE 82/$protocol 6 | ENV port 83 7 | EXPOSE $port/udp 8 | EXPOSE $port/$protocol 9 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_extraction: -------------------------------------------------------------------------------- 1 | # Tests extraction of symlink, hardlink and regular files to a path that is a non-empty directory 2 | FROM gcr.io/kaniko-test/extraction-base-image:latest 3 | -------------------------------------------------------------------------------- /integration/testdata/build.yaml: -------------------------------------------------------------------------------- 1 | schemaVersion: "1.0.0" 2 | commandTests: 3 | - name: Trivial build 4 | command: ["/kaniko/executor", "--no-push", "--dockerfile", "./Dockerfile.trivial"] 5 | exitCode: 0 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/driver_linux.go: -------------------------------------------------------------------------------- 1 | package graphdriver 2 | 3 | // List of drivers that should be used in an order 4 | var priority = "overlay2,fuse-overlayfs,btrfs,zfs,vfs" 5 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/errors/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go_import_path: github.com/pkg/errors 3 | go: 4 | - 1.11.x 5 | - 1.12.x 6 | - 1.13.x 7 | - tip 8 | 9 | script: 10 | - make check 11 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/metric/README.md: -------------------------------------------------------------------------------- 1 | # Metric SDK 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/sdk/metric)](https://pkg.go.dev/go.opentelemetry.io/otel/sdk/metric) 4 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_copy_root_multistage: -------------------------------------------------------------------------------- 1 | FROM busybox:1.31 2 | COPY context/foo foo 3 | 4 | FROM alpine@sha256:5ce5f501c457015c4b91f91a15ac69157d9b06f1a75cf9107bf2b62e0843983a 5 | COPY / /foo 6 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_maintainer: -------------------------------------------------------------------------------- 1 | FROM scratch 2 | MAINTAINER nobody@domain.test 3 | # Add a file to the image to work around https://github.com/moby/moby/issues/38039 4 | COPY context/foo /foo 5 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/awsrulesfn/doc.go: -------------------------------------------------------------------------------- 1 | // Package awsrulesfn provides AWS focused endpoint rule functions for 2 | // evaluating endpoint resolution rules. 3 | package awsrulesfn 4 | -------------------------------------------------------------------------------- /vendor/github.com/cloudflare/circl/sign/ed25519/pubkey112.go: -------------------------------------------------------------------------------- 1 | //go:build !go1.13 2 | // +build !go1.13 3 | 4 | package ed25519 5 | 6 | // PublicKey is the type of Ed25519 public keys. 7 | type PublicKey []byte 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/builder/dockerfile/builder_unix.go: -------------------------------------------------------------------------------- 1 | //go:build !windows 2 | 3 | package dockerfile 4 | 5 | func defaultShellForOS(os string) []string { 6 | return []string{"/bin/sh", "-c"} 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/moby/go-archive/copy_windows.go: -------------------------------------------------------------------------------- 1 | package archive 2 | 3 | import ( 4 | "path/filepath" 5 | ) 6 | 7 | func normalizePath(path string) string { 8 | return filepath.FromSlash(path) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/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/prometheus/procfs/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Prometheus Community Code of Conduct 2 | 3 | Prometheus follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md). 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 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/resource/README.md: -------------------------------------------------------------------------------- 1 | # SDK Resource 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/sdk/resource)](https://pkg.go.dev/go.opentelemetry.io/otel/sdk/resource) 4 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/winapi/memory.go: -------------------------------------------------------------------------------- 1 | package winapi 2 | 3 | //sys LocalAlloc(flags uint32, size int) (ptr uintptr) = kernel32.LocalAlloc 4 | //sys LocalFree(ptr uintptr) = kernel32.LocalFree 5 | -------------------------------------------------------------------------------- /vendor/github.com/agext/levenshtein/NOTICE: -------------------------------------------------------------------------------- 1 | Alrux Go EXTensions (AGExt) - package levenshtein 2 | Copyright 2016 ALRUX Inc. 3 | 4 | This product includes software developed at ALRUX Inc. 5 | (http://www.alrux.com/). 6 | -------------------------------------------------------------------------------- /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/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/pjbgf/sha1cd/sha1cdblock_noasm.go: -------------------------------------------------------------------------------- 1 | //go:build !amd64 || noasm || !gc 2 | // +build !amd64 noasm !gc 3 | 4 | package sha1cd 5 | 6 | func block(dig *digest, p []byte) { 7 | blockGeneric(dig, p) 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/.mailmap: -------------------------------------------------------------------------------- 1 | Steve Francia 2 | Bjørn Erik Pedersen 3 | Fabiano Franz 4 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chainguard-forks/kaniko/HEAD/vendor/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb -------------------------------------------------------------------------------- /hack/release_notes/changelog_template.txt: -------------------------------------------------------------------------------- 1 | # {{VERSION}} Release {{DATE}} 2 | 3 | Changes: 4 | 5 | {{PULL_REQUESTS}} 6 | 7 | Huge thank you for this release towards our contributors: 8 | {{CONTRIBUTORS}} 9 | 10 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_add_url_with_arg: -------------------------------------------------------------------------------- 1 | FROM busybox:1.31 2 | 3 | ARG REPO=kaniko 4 | ARG VERSION=v1.25.0 5 | 6 | ADD https://github.com/chainguard-dev/$REPO/archive/$VERSION.tar.gz /tmp/release.tar.gz 7 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_volume_3: -------------------------------------------------------------------------------- 1 | FROM scratch as one 2 | VOLUME /vol 3 | 4 | FROM alpine@sha256:5ce5f501c457015c4b91f91a15ac69157d9b06f1a75cf9107bf2b62e0843983a as two 5 | RUN mkdir /vol && echo hey > /vol/foo -------------------------------------------------------------------------------- /integration/testdata/testfiles.yaml: -------------------------------------------------------------------------------- 1 | schemaVersion: "1.0.0" 2 | fileExistenceTests: 3 | # Basic FS sanity checks. 4 | - name: trivial testdata Dockerfile 5 | path: '/workspace/Dockerfile.trivial' 6 | shouldExist: true 7 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/winapi/doc.go: -------------------------------------------------------------------------------- 1 | // Package winapi contains various low-level bindings to Windows APIs. It can 2 | // be thought of as an extension to golang.org/x/sys/windows. 3 | package winapi 4 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/feature/s3/manager/doc.go: -------------------------------------------------------------------------------- 1 | // Package manager provides utilities to upload and download objects from 2 | // S3 concurrently. Helpful for when working with large objects. 3 | package manager 4 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/doc.go: -------------------------------------------------------------------------------- 1 | // Package presignedurl provides the customizations for API clients to fill in 2 | // presigned URLs into input parameters. 3 | package presignedurl 4 | -------------------------------------------------------------------------------- /vendor/github.com/aws/smithy-go/transport/http/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package http provides the HTTP transport client and request/response types 3 | needed to round trip API operation calls with an service. 4 | */ 5 | package http 6 | -------------------------------------------------------------------------------- /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/docker/go-metrics/docs.go: -------------------------------------------------------------------------------- 1 | // This package is small wrapper around the prometheus go client to help enforce convention and best practices for metrics collection in Docker projects. 2 | 3 | package metrics 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/go-metrics/helpers.go: -------------------------------------------------------------------------------- 1 | package metrics 2 | 3 | func sumFloat64(vs ...float64) float64 { 4 | var sum float64 5 | for _, v := range vs { 6 | sum += v 7 | } 8 | 9 | return sum 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/golang-jwt/jwt/v4/doc.go: -------------------------------------------------------------------------------- 1 | // Package jwt is a Go implementation of JSON Web Tokens: http://self-issued.info/docs/draft-jones-json-web-token.html 2 | // 3 | // See README.md for more info. 4 | package jwt 5 | -------------------------------------------------------------------------------- /vendor/github.com/sagikazarmark/locafero/justfile: -------------------------------------------------------------------------------- 1 | default: 2 | just --list 3 | 4 | test: 5 | go test -race -v ./... 6 | 7 | lint: 8 | golangci-lint run 9 | 10 | fmt: 11 | golangci-lint run --fix 12 | -------------------------------------------------------------------------------- /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/sourcegraph/conc/internal/multierror/multierror_go120.go: -------------------------------------------------------------------------------- 1 | //go:build go1.20 2 | // +build go1.20 3 | 4 | package multierror 5 | 6 | import "errors" 7 | 8 | var ( 9 | Join = errors.Join 10 | ) 11 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_metadata: -------------------------------------------------------------------------------- 1 | FROM debian:10.2 2 | CMD ["command", "one"] 3 | CMD ["command", "two"] 4 | CMD echo "hello" 5 | 6 | ENTRYPOINT ["execute", "something"] 7 | ENTRYPOINT ["execute", "entrypoint"] 8 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_mv_add: -------------------------------------------------------------------------------- 1 | FROM busybox@sha256:1bd6df27274fef1dd36eb529d0f4c8033f61c675d6b04213dd913f902f7cafb5 2 | ADD context/tars /tmp/tars 3 | RUN stat /bin/sh 4 | RUN mv /tmp/tars /foo 5 | RUN echo "hi" 6 | -------------------------------------------------------------------------------- /vendor/github.com/ProtonMail/go-crypto/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at https://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/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.20.0/README.md: -------------------------------------------------------------------------------- 1 | # Semconv v1.20.0 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/semconv/v1.20.0)](https://pkg.go.dev/go.opentelemetry.io/otel/semconv/v1.20.0) 4 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/semconv/v1.26.0/README.md: -------------------------------------------------------------------------------- 1 | # Semconv v1.26.0 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/semconv/v1.26.0)](https://pkg.go.dev/go.opentelemetry.io/otel/semconv/v1.26.0) 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 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_volume: -------------------------------------------------------------------------------- 1 | FROM debian:12.10 2 | RUN mkdir /foo 3 | RUN echo "hello" > /foo/hey 4 | VOLUME /foo/bar /tmp /qux/quux 5 | ENV VOL /baz/bat 6 | VOLUME ["${VOL}"] 7 | RUN echo "hello again" > /tmp/hey 8 | -------------------------------------------------------------------------------- /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/Azure/azure-sdk-for-go/sdk/internal/log/doc.go: -------------------------------------------------------------------------------- 1 | //go:build go1.18 2 | // +build go1.18 3 | 4 | // Copyright (c) Microsoft Corporation. All rights reserved. 5 | // Licensed under the MIT License. 6 | 7 | package log 8 | -------------------------------------------------------------------------------- /vendor/github.com/ProtonMail/go-crypto/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at https://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/otiai10/copy/preserve_owner_x.go: -------------------------------------------------------------------------------- 1 | //go:build windows || plan9 2 | 3 | package copy 4 | 5 | import "io/fs" 6 | 7 | func preserveOwner(src, dest string, info fs.FileInfo) (err error) { 8 | return nil 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/client_golang/prometheus/README.md: -------------------------------------------------------------------------------- 1 | See [![Go Reference](https://pkg.go.dev/badge/github.com/prometheus/client_golang/prometheus.svg)](https://pkg.go.dev/github.com/prometheus/client_golang/prometheus). 2 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/client_model/NOTICE: -------------------------------------------------------------------------------- 1 | Data model artifacts for Prometheus. 2 | Copyright 2012-2015 The Prometheus Authors 3 | 4 | This product includes software developed at 5 | SoundCloud Ltd. (http://soundcloud.com/). 6 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_no_terminal.go: -------------------------------------------------------------------------------- 1 | // +build js nacl plan9 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | ) 8 | 9 | func checkIfTerminal(w io.Writer) bool { 10 | return false 11 | } 12 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_issue_2049: -------------------------------------------------------------------------------- 1 | FROM debian:bullseye-20220328 2 | 3 | RUN set -x; \ 4 | apt-get update && \ 5 | apt-get install -y curl openssh-client gnupg gpg-agent git make && \ 6 | rm -rf /var/lib/apt/lists/* -------------------------------------------------------------------------------- /vendor/github.com/Azure/azure-sdk-for-go/sdk/internal/diag/doc.go: -------------------------------------------------------------------------------- 1 | //go:build go1.18 2 | // +build go1.18 3 | 4 | // Copyright (c) Microsoft Corporation. All rights reserved. 5 | // Licensed under the MIT License. 6 | 7 | package diag 8 | -------------------------------------------------------------------------------- /vendor/github.com/Azure/azure-sdk-for-go/sdk/internal/uuid/doc.go: -------------------------------------------------------------------------------- 1 | //go:build go1.18 2 | // +build go1.18 3 | 4 | // Copyright (c) Microsoft Corporation. All rights reserved. 5 | // Licensed under the MIT License. 6 | 7 | package uuid 8 | -------------------------------------------------------------------------------- /vendor/github.com/containerd/continuity/sysx/README.md: -------------------------------------------------------------------------------- 1 | This package is for internal use only. It is intended to only have 2 | temporary changes before they are upstreamed to golang.org/x/sys/ 3 | (a.k.a. https://github.com/golang/sys). 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/graphdriver/driver_unsupported.go: -------------------------------------------------------------------------------- 1 | //go:build !linux && !windows && !freebsd 2 | 3 | package graphdriver 4 | 5 | // List of drivers that should be used in an order 6 | var priority = "unsupported" 7 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /vendor/github.com/moby/go-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/sys/mount/doc.go: -------------------------------------------------------------------------------- 1 | // Package mount provides a set of functions to mount and unmount mounts. 2 | // 3 | // Currently it supports Linux. For historical reasons, there is also some support for FreeBSD. 4 | package mount 5 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/common/NOTICE: -------------------------------------------------------------------------------- 1 | Common libraries shared by Prometheus Go components. 2 | Copyright 2015 The Prometheus Authors 3 | 4 | This product includes software developed at 5 | SoundCloud Ltd. (http://soundcloud.com/). 6 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/SECURITY.md: -------------------------------------------------------------------------------- 1 | # Reporting a security issue 2 | 3 | The Prometheus security policy, including how to report vulnerabilities, can be 4 | found here: 5 | 6 | 7 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_label: -------------------------------------------------------------------------------- 1 | FROM debian:12.10 2 | LABEL foo=bar 3 | LABEL "baz"="bat" 4 | ENV label1 "mylabel" 5 | LABEL label1=$label1 6 | LABEL multilabel1=multilabel1 multilabel2=multilabel2 multilabel3=multilabel3 7 | 8 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/feature/s3/manager/default_writer_read_from.go: -------------------------------------------------------------------------------- 1 | //go:build !windows 2 | // +build !windows 3 | 4 | package manager 5 | 6 | func defaultDownloadBufferProvider() WriterReadFromProvider { 7 | return nil 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/service/s3/doc.go: -------------------------------------------------------------------------------- 1 | // Code generated by smithy-go-codegen DO NOT EDIT. 2 | 3 | // Package s3 provides the API client, operations, and parameter types for Amazon 4 | // Simple Storage Service. 5 | package s3 6 | -------------------------------------------------------------------------------- /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/karrick/godirwalk/inoWithIno.go: -------------------------------------------------------------------------------- 1 | // +build aix darwin linux nacl solaris 2 | 3 | package godirwalk 4 | 5 | import "syscall" 6 | 7 | func inoFromDirent(de *syscall.Dirent) uint64 { 8 | return uint64(de.Ino) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/karrick/godirwalk/reclenFromNamlen.go: -------------------------------------------------------------------------------- 1 | // +build dragonfly 2 | 3 | package godirwalk 4 | 5 | import "syscall" 6 | 7 | func reclen(de *syscall.Dirent) uint64 { 8 | return (16 + uint64(de.Namlen) + 1 + 7) &^ 7 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/sourcegraph/conc/internal/multierror/multierror_go119.go: -------------------------------------------------------------------------------- 1 | //go:build !go1.20 2 | // +build !go1.20 3 | 4 | package multierror 5 | 6 | import "go.uber.org/multierr" 7 | 8 | var ( 9 | Join = multierr.Combine 10 | ) 11 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/instrumentation/README.md: -------------------------------------------------------------------------------- 1 | # SDK Instrumentation 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/sdk/instrumentation)](https://pkg.go.dev/go.opentelemetry.io/otel/sdk/instrumentation) 4 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/metric/exemplar/README.md: -------------------------------------------------------------------------------- 1 | # Metric SDK Exemplars 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/sdk/metric/exemplar)](https://pkg.go.dev/go.opentelemetry.io/otel/sdk/metric/exemplar) 4 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/metric/metricdata/README.md: -------------------------------------------------------------------------------- 1 | # SDK Metric data 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/sdk/metric/metricdata)](https://pkg.go.dev/go.opentelemetry.io/otel/sdk/metric/metricdata) 4 | -------------------------------------------------------------------------------- /integration/dockerfiles/1097: -------------------------------------------------------------------------------- 1 | FROM ubuntu:latest 2 | 3 | RUN groupadd -g 20000 bar 4 | RUN groupadd -g 10000 foo 5 | 6 | RUN useradd -c "Foo user" -u 10000 -g 10000 -G bar -m foo 7 | 8 | RUN id foo 9 | 10 | USER foo 11 | 12 | RUN id 13 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_hardlink_base: -------------------------------------------------------------------------------- 1 | FROM alpine@sha256:5ce5f501c457015c4b91f91a15ac69157d9b06f1a75cf9107bf2b62e0843983a AS stage1 2 | RUN apk --no-cache add git 3 | RUN rm /usr/bin/git && ln -s /usr/libexec/git-core/git /usr/bin/git 4 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_onbuild_base: -------------------------------------------------------------------------------- 1 | FROM ubuntu:18.04 2 | ENV dir /tmp/dir/ 3 | ONBUILD RUN echo "onbuild" > /tmp/onbuild 4 | ONBUILD RUN mkdir $dir 5 | ONBUILD RUN echo "onbuild 2" > ${dir}/onbuild2 6 | ONBUILD WORKDIR /new/workdir 7 | -------------------------------------------------------------------------------- /vendor/github.com/Azure/azure-sdk-for-go/sdk/internal/errorinfo/doc.go: -------------------------------------------------------------------------------- 1 | //go:build go1.18 2 | // +build go1.18 3 | 4 | // Copyright (c) Microsoft Corporation. All rights reserved. 5 | // Licensed under the MIT License. 6 | 7 | package errorinfo 8 | -------------------------------------------------------------------------------- /vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/assets.json: -------------------------------------------------------------------------------- 1 | { 2 | "AssetsRepo": "Azure/azure-sdk-assets", 3 | "AssetsRepoPrefixPath": "go", 4 | "TagPrefix": "go/storage/azblob", 5 | "Tag": "go/storage/azblob_db9a368fe4" 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/feature/s3/manager/default_read_seeker_write_to.go: -------------------------------------------------------------------------------- 1 | //go:build !windows 2 | // +build !windows 3 | 4 | package manager 5 | 6 | func defaultUploadBufferProvider() ReadSeekerWriteToProvider { 7 | return nil 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/feature/s3/manager/default_read_seeker_write_to_windows.go: -------------------------------------------------------------------------------- 1 | package manager 2 | 3 | func defaultUploadBufferProvider() ReadSeekerWriteToProvider { 4 | return NewBufferedReadSeekerWriteToPool(1024 * 1024) 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/feature/s3/manager/default_writer_read_from_windows.go: -------------------------------------------------------------------------------- 1 | package manager 2 | 3 | func defaultDownloadBufferProvider() WriterReadFromProvider { 4 | return NewPooledBufferedWriterReadFromProvider(1024 * 1024) 5 | } 6 | -------------------------------------------------------------------------------- /vendor/go.opencensus.io/.gitignore: -------------------------------------------------------------------------------- 1 | /.idea/ 2 | 3 | # go.opencensus.io/exporter/aws 4 | /exporter/aws/ 5 | 6 | # Exclude vendor, use dep ensure after checkout: 7 | /vendor/github.com/ 8 | /vendor/golang.org/ 9 | /vendor/google.golang.org/ 10 | -------------------------------------------------------------------------------- /vendor/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 | -------------------------------------------------------------------------------- /vendor/github.com/aws/smithy-go/go_module_metadata.go: -------------------------------------------------------------------------------- 1 | // Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. 2 | 3 | package smithy 4 | 5 | // goModuleVersion is the tagged release for this module 6 | const goModuleVersion = "1.24.0" 7 | -------------------------------------------------------------------------------- /vendor/github.com/aws/smithy-go/modman.toml: -------------------------------------------------------------------------------- 1 | [dependencies] 2 | 3 | [modules] 4 | 5 | [modules.codegen] 6 | no_tag = true 7 | 8 | [modules."codegen/smithy-go-codegen/build/test-generated/go/internal/testmodule"] 9 | no_tag = true 10 | -------------------------------------------------------------------------------- /vendor/github.com/aws/smithy-go/ptr/doc.go: -------------------------------------------------------------------------------- 1 | // Package ptr provides utilities for converting scalar literal type values to and from pointers inline. 2 | package ptr 3 | 4 | //go:generate go run -tags codegen generate.go 5 | //go:generate gofmt -w -s . 6 | -------------------------------------------------------------------------------- /vendor/github.com/karrick/godirwalk/inoWithFileno.go: -------------------------------------------------------------------------------- 1 | // +build dragonfly freebsd openbsd netbsd 2 | 3 | package godirwalk 4 | 5 | import "syscall" 6 | 7 | func inoFromDirent(de *syscall.Dirent) uint64 { 8 | return uint64(de.Fileno) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/moby/go-archive/dev_freebsd.go: -------------------------------------------------------------------------------- 1 | //go:build freebsd 2 | 3 | package archive 4 | 5 | import "golang.org/x/sys/unix" 6 | 7 | func mknod(path string, mode uint32, dev uint64) error { 8 | return unix.Mknod(path, mode, dev) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/wclayer/doc.go: -------------------------------------------------------------------------------- 1 | // Package wclayer provides bindings to HCS's legacy layer management API and 2 | // provides a higher level interface around these calls for container layer 3 | // management. 4 | package wclayer 5 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/aws/go_module_metadata.go: -------------------------------------------------------------------------------- 1 | // Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. 2 | 3 | package aws 4 | 5 | // goModuleVersion is the tagged release for this module 6 | const goModuleVersion = "1.41.0" 7 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/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/docker/docker/builder/dockerfile/builder_windows.go: -------------------------------------------------------------------------------- 1 | package dockerfile 2 | 3 | func defaultShellForOS(os string) []string { 4 | if os == "linux" { 5 | return []string{"/bin/sh", "-c"} 6 | } 7 | return []string{"cmd", "/S", "/C"} 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/errors.go: -------------------------------------------------------------------------------- 1 | package system 2 | 3 | import "errors" 4 | 5 | // ErrNotSupportedPlatform means the platform is not supported. 6 | var ErrNotSupportedPlatform = errors.New("platform and architecture is not supported") 7 | -------------------------------------------------------------------------------- /vendor/github.com/sourcegraph/conc/.golangci.yml: -------------------------------------------------------------------------------- 1 | linters: 2 | disable-all: true 3 | enable: 4 | - errcheck 5 | - godot 6 | - gosimple 7 | - govet 8 | - ineffassign 9 | - staticcheck 10 | - typecheck 11 | - unused 12 | -------------------------------------------------------------------------------- /vendor/cel.dev/expr/cloudbuild.yaml: -------------------------------------------------------------------------------- 1 | steps: 2 | - name: 'gcr.io/cloud-builders/bazel:7.3.2' 3 | entrypoint: bazel 4 | args: ['build', '...'] 5 | id: bazel-build 6 | waitFor: ['-'] 7 | timeout: 15m 8 | options: 9 | machineType: 'N1_HIGHCPU_32' 10 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_onbuild: -------------------------------------------------------------------------------- 1 | FROM gcr.io/kaniko-test/onbuild-base:latest 2 | COPY context/foo foo 3 | ENV dir /new/workdir/ 4 | ARG file 5 | ONBUILD RUN echo "onbuild" > $file 6 | ONBUILD RUN echo "onbuild 2" > ${dir} 7 | ONBUILD WORKDIR /new/workdir 8 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/config/go_module_metadata.go: -------------------------------------------------------------------------------- 1 | // Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. 2 | 3 | package config 4 | 5 | // goModuleVersion is the tagged release for this module 6 | const goModuleVersion = "1.32.5" 7 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/internal/ini/go_module_metadata.go: -------------------------------------------------------------------------------- 1 | // Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. 2 | 3 | package ini 4 | 5 | // goModuleVersion is the tagged release for this module 6 | const goModuleVersion = "1.8.4" 7 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/go_module_metadata.go: -------------------------------------------------------------------------------- 1 | // Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. 2 | 3 | package v4a 4 | 5 | // goModuleVersion is the tagged release for this module 6 | const goModuleVersion = "1.4.16" 7 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/service/ecr/go_module_metadata.go: -------------------------------------------------------------------------------- 1 | // Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. 2 | 3 | package ecr 4 | 5 | // goModuleVersion is the tagged release for this module 6 | const goModuleVersion = "1.51.2" 7 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/service/s3/go_module_metadata.go: -------------------------------------------------------------------------------- 1 | // Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. 2 | 3 | package s3 4 | 5 | // goModuleVersion is the tagged release for this module 6 | const goModuleVersion = "1.93.2" 7 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/service/sso/go_module_metadata.go: -------------------------------------------------------------------------------- 1 | // Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. 2 | 3 | package sso 4 | 5 | // goModuleVersion is the tagged release for this module 6 | const goModuleVersion = "1.30.7" 7 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/service/sts/go_module_metadata.go: -------------------------------------------------------------------------------- 1 | // Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. 2 | 3 | package sts 4 | 5 | // goModuleVersion is the tagged release for this module 6 | const goModuleVersion = "1.41.5" 7 | -------------------------------------------------------------------------------- /vendor/github.com/moby/go-archive/dev_unix.go: -------------------------------------------------------------------------------- 1 | //go:build !windows && !freebsd 2 | 3 | package archive 4 | 5 | import "golang.org/x/sys/unix" 6 | 7 | func mknod(path string, mode uint32, dev uint64) error { 8 | return unix.Mknod(path, mode, int(dev)) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/moby/sys/reexec/reexec_other.go: -------------------------------------------------------------------------------- 1 | //go:build !linux 2 | 3 | package reexec 4 | 5 | import ( 6 | "os/exec" 7 | ) 8 | 9 | func command(args ...string) *exec.Cmd { 10 | return &exec.Cmd{ 11 | Path: Self(), 12 | Args: args, 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/tonistiigi/go-csvvalue/.yamllint.yml: -------------------------------------------------------------------------------- 1 | ignore: | 2 | /vendor 3 | 4 | extends: default 5 | 6 | yaml-files: 7 | - '*.yaml' 8 | - '*.yml' 9 | 10 | rules: 11 | truthy: disable 12 | line-length: disable 13 | document-start: disable 14 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/winapi/elevation.go: -------------------------------------------------------------------------------- 1 | //go:build windows 2 | 3 | package winapi 4 | 5 | import ( 6 | "golang.org/x/sys/windows" 7 | ) 8 | 9 | func IsElevated() bool { 10 | return windows.GetCurrentProcessToken().IsElevated() 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/go_module_metadata.go: -------------------------------------------------------------------------------- 1 | // Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. 2 | 3 | package imds 4 | 5 | // goModuleVersion is the tagged release for this module 6 | const goModuleVersion = "1.18.16" 7 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/service/signin/go_module_metadata.go: -------------------------------------------------------------------------------- 1 | // Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. 2 | 3 | package signin 4 | 5 | // goModuleVersion is the tagged release for this module 6 | const goModuleVersion = "1.0.4" 7 | -------------------------------------------------------------------------------- /vendor/github.com/karrick/godirwalk/reclenFromReclen.go: -------------------------------------------------------------------------------- 1 | // +build nacl linux js solaris aix darwin freebsd netbsd openbsd 2 | 3 | package godirwalk 4 | 5 | import "syscall" 6 | 7 | func reclen(de *syscall.Dirent) uint64 { 8 | return uint64(de.Reclen) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/pjbgf/sha1cd/ubc/ubc.go: -------------------------------------------------------------------------------- 1 | // ubc package provides ways for SHA1 blocks to be checked for 2 | // Unavoidable Bit Conditions that arise from crypto analysis attacks. 3 | package ubc 4 | 5 | //go:generate go run -C asm . -out ../ubc_amd64.s -pkg $GOPACKAGE 6 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /examples/kaniko-cache-claim.yaml: -------------------------------------------------------------------------------- 1 | kind: PersistentVolumeClaim 2 | apiVersion: v1 3 | metadata: 4 | name: kaniko-cache-claim 5 | spec: 6 | storageClassName: manual 7 | accessModes: 8 | - ReadOnlyMany 9 | resources: 10 | requests: 11 | storage: 8Gi 12 | -------------------------------------------------------------------------------- /examples/volume-claim.yaml: -------------------------------------------------------------------------------- 1 | kind: PersistentVolumeClaim 2 | apiVersion: v1 3 | metadata: 4 | name: dockerfile-claim 5 | spec: 6 | accessModes: 7 | - ReadWriteOnce 8 | resources: 9 | requests: 10 | storage: 8Gi 11 | storageClassName: local-storage 12 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_daemons: -------------------------------------------------------------------------------- 1 | FROM busybox 2 | RUN (while true; do sleep 10; dd if=/dev/zero of=file`date +%s`.txt count=16000 bs=256 > /dev/null 2>&1; done &); sleep 1 3 | RUN echo "wait a second..." && sleep 2 && ls -lrat file*.txt || echo "test passed." 4 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_from_multistage_capital: -------------------------------------------------------------------------------- 1 | FROM alpine as base_stage 2 | 3 | RUN echo base_stage 4 | 5 | 6 | FROM base_stage as BUG_stage 7 | 8 | RUN echo BUG_stage 9 | 10 | 11 | FROM BUG_stage as final_stage 12 | 13 | RUN echo final_stage 14 | -------------------------------------------------------------------------------- /vendor/github.com/GoogleCloudPlatform/docker-credential-gcr/v2/.gitignore: -------------------------------------------------------------------------------- 1 | .gitignore~ 2 | .project 3 | bin 4 | bazel* 5 | */test_config.json 6 | */test_credential_store.json 7 | **/testdata 8 | docker-credential-gcr 9 | .idea 10 | *.iml 11 | dist/ 12 | *.ipr 13 | *.iws 14 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/credentials/go_module_metadata.go: -------------------------------------------------------------------------------- 1 | // Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. 2 | 3 | package credentials 4 | 5 | // goModuleVersion is the tagged release for this module 6 | const goModuleVersion = "1.19.5" 7 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/feature/s3/manager/go_module_metadata.go: -------------------------------------------------------------------------------- 1 | // Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. 2 | 3 | package manager 4 | 5 | // goModuleVersion is the tagged release for this module 6 | const goModuleVersion = "1.20.15" 7 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/service/ecrpublic/go_module_metadata.go: -------------------------------------------------------------------------------- 1 | // Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. 2 | 3 | package ecrpublic 4 | 5 | // goModuleVersion is the tagged release for this module 6 | const goModuleVersion = "1.38.2" 7 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/go_module_metadata.go: -------------------------------------------------------------------------------- 1 | // Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. 2 | 3 | package ssooidc 4 | 5 | // goModuleVersion is the tagged release for this module 6 | const goModuleVersion = "1.35.12" 7 | -------------------------------------------------------------------------------- /vendor/github.com/aws/smithy-go/encoding/xml/constants.go: -------------------------------------------------------------------------------- 1 | package xml 2 | 3 | const ( 4 | leftAngleBracket = '<' 5 | rightAngleBracket = '>' 6 | forwardSlash = '/' 7 | colon = ':' 8 | equals = '=' 9 | quote = '"' 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/cloudflare/circl/sign/ed25519/pubkey.go: -------------------------------------------------------------------------------- 1 | //go:build go1.13 2 | // +build go1.13 3 | 4 | package ed25519 5 | 6 | import cryptoEd25519 "crypto/ed25519" 7 | 8 | // PublicKey is the type of Ed25519 public keys. 9 | type PublicKey cryptoEd25519.PublicKey 10 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/.envrc: -------------------------------------------------------------------------------- 1 | if ! has nix_direnv_version || ! nix_direnv_version 2.3.0; then 2 | source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.3.0/direnvrc" "sha256-Dmd+j63L84wuzgyjITIfSxSD57Tx7v51DMxVZOsiUD8=" 3 | fi 4 | use flake . --impure 5 | -------------------------------------------------------------------------------- /vendor/gopkg.in/ini.v1/.editorconfig: -------------------------------------------------------------------------------- 1 | # http://editorconfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | charset = utf-8 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [*_test.go] 12 | trim_trailing_whitespace = false 13 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_target: -------------------------------------------------------------------------------- 1 | FROM gcr.io/distroless/base:latest as base 2 | COPY . . 3 | 4 | FROM scratch as second 5 | ENV foopath context/foo 6 | COPY --from=0 $foopath context/b* /foo/ 7 | 8 | FROM base 9 | ARG file 10 | COPY --from=second /foo $file 11 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/go_module_metadata.go: -------------------------------------------------------------------------------- 1 | // Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. 2 | 3 | package endpoints 4 | 5 | // goModuleVersion is the tagged release for this module 6 | const goModuleVersion = "2.7.16" 7 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/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/docker/docker/layer/ro_layer_windows.go: -------------------------------------------------------------------------------- 1 | package layer 2 | 3 | import "github.com/docker/distribution" 4 | 5 | var _ distribution.Describable = &roLayer{} 6 | 7 | func (rl *roLayer) Descriptor() distribution.Descriptor { 8 | return rl.descriptor 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream/go_module_metadata.go: -------------------------------------------------------------------------------- 1 | // Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. 2 | 3 | package eventstream 4 | 5 | // goModuleVersion is the tagged release for this module 6 | const goModuleVersion = "1.7.4" 7 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/go_module_metadata.go: -------------------------------------------------------------------------------- 1 | // Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. 2 | 3 | package configsources 4 | 5 | // goModuleVersion is the tagged release for this module 6 | const goModuleVersion = "1.4.16" 7 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/go_module_metadata.go: -------------------------------------------------------------------------------- 1 | // Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. 2 | 3 | package checksum 4 | 5 | // goModuleVersion is the tagged release for this module 6 | const goModuleVersion = "1.9.7" 7 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/go_module_metadata.go: -------------------------------------------------------------------------------- 1 | // Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. 2 | 3 | package s3shared 4 | 5 | // goModuleVersion is the tagged release for this module 6 | const goModuleVersion = "1.19.16" 7 | -------------------------------------------------------------------------------- /vendor/github.com/aws/smithy-go/encoding/json/constants.go: -------------------------------------------------------------------------------- 1 | package json 2 | 3 | const ( 4 | leftBrace = '{' 5 | rightBrace = '}' 6 | 7 | leftBracket = '[' 8 | rightBracket = ']' 9 | 10 | comma = ',' 11 | quote = '"' 12 | colon = ':' 13 | 14 | null = "null" 15 | ) 16 | -------------------------------------------------------------------------------- /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/github.com/munnerz/goautoneg/Makefile: -------------------------------------------------------------------------------- 1 | include $(GOROOT)/src/Make.inc 2 | 3 | TARG=bitbucket.org/ww/goautoneg 4 | GOFILES=autoneg.go 5 | 6 | include $(GOROOT)/src/Make.pkg 7 | 8 | format: 9 | gofmt -w *.go 10 | 11 | docs: 12 | gomake clean 13 | godoc ${TARG} > README.txt 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/go-digest/.mailmap: -------------------------------------------------------------------------------- 1 | Aaron Lehmann 2 | Derek McGowan 3 | Stephen J Day 4 | Haibing Zhou 5 | -------------------------------------------------------------------------------- /vendor/github.com/sagikazarmark/locafero/.envrc: -------------------------------------------------------------------------------- 1 | if ! has nix_direnv_version || ! nix_direnv_version 2.3.0; then 2 | source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.3.0/direnvrc" "sha256-Dmd+j63L84wuzgyjITIfSxSD57Tx7v51DMxVZOsiUD8=" 3 | fi 4 | use flake . --impure 5 | -------------------------------------------------------------------------------- /vendor/github.com/sagikazarmark/slog-shim/.envrc: -------------------------------------------------------------------------------- 1 | if ! has nix_direnv_version || ! nix_direnv_version 2.3.0; then 2 | source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.3.0/direnvrc" "sha256-Dmd+j63L84wuzgyjITIfSxSD57Tx7v51DMxVZOsiUD8=" 3 | fi 4 | use flake . --impure 5 | -------------------------------------------------------------------------------- /integration/testdata/exec.yaml: -------------------------------------------------------------------------------- 1 | schemaVersion: "1.0.0" 2 | commandTests: 3 | - name: check fixed name 4 | command: ["/kaniko/executor"] 5 | expectedError: ['Usage:'] 6 | exitCode: 1 7 | - name: check PATH 8 | command: ["executor"] 9 | expectedError: ['Usage:'] 10 | exitCode: 1 11 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/awsrulesfn/generate.go: -------------------------------------------------------------------------------- 1 | //go:build codegen 2 | // +build codegen 3 | 4 | package awsrulesfn 5 | 6 | //go:generate go run -tags codegen ./internal/partition/codegen.go -model partitions.json -output partitions.go 7 | //go:generate gofmt -w -s . 8 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding/go_module_metadata.go: -------------------------------------------------------------------------------- 1 | // Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. 2 | 3 | package acceptencoding 4 | 5 | // goModuleVersion is the tagged release for this module 6 | const goModuleVersion = "1.13.4" 7 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/go_module_metadata.go: -------------------------------------------------------------------------------- 1 | // Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. 2 | 3 | package presignedurl 4 | 5 | // goModuleVersion is the tagged release for this module 6 | const goModuleVersion = "1.13.16" 7 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/layer/layer_unix.go: -------------------------------------------------------------------------------- 1 | //go:build linux || freebsd || darwin || openbsd 2 | 3 | package layer 4 | 5 | import "github.com/docker/docker/pkg/stringid" 6 | 7 | func (ls *layerStore) mountID(name string) string { 8 | return stringid.GenerateRandomID() 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/aws/smithy-go/changelog-template.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "00000000-0000-0000-0000-000000000000", 3 | "type": "feature|bugfix|dependency", 4 | "description": "Description of your changes", 5 | "collapse": false, 6 | "modules": [ 7 | "." 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/container/commit.go: -------------------------------------------------------------------------------- 1 | package container 2 | 3 | import "github.com/docker/docker/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/docker/docker/api/types/volume/volume_update.go: -------------------------------------------------------------------------------- 1 | package volume 2 | 3 | // UpdateOptions is configuration to update a Volume with. 4 | type UpdateOptions struct { 5 | // Spec is the ClusterVolumeSpec to update the volume to. 6 | Spec *ClusterVolumeSpec `json:"Spec,omitempty"` 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/googleapis/gax-go/v2/release-please-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "release-type": "go-yoshi", 3 | "separate-pull-requests": true, 4 | "include-component-in-tag": false, 5 | "packages": { 6 | "v2": { 7 | "component": "v2" 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/v2/unstable/unmarshaler.go: -------------------------------------------------------------------------------- 1 | package unstable 2 | 3 | // The Unmarshaler interface may be implemented by types to customize their 4 | // behavior when being unmarshaled from a TOML document. 5 | type Unmarshaler interface { 6 | UnmarshalTOML(value *Node) error 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/NOTICE: -------------------------------------------------------------------------------- 1 | procfs provides functions to retrieve system, kernel and process 2 | metrics from the pseudo-filesystem proc. 3 | 4 | Copyright 2014-2015 The Prometheus Authors 5 | 6 | This product includes software developed at 7 | SoundCloud Ltd. (http://soundcloud.com/). 8 | -------------------------------------------------------------------------------- /vendor/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 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_issue_1837: -------------------------------------------------------------------------------- 1 | FROM registry.access.redhat.com/ubi8/ubi:8.2 AS base 2 | # Install ping 3 | RUN yum --disableplugin=subscription-manager install -y iputils 4 | RUN setcap cap_net_raw+ep /bin/ping || exit 1 5 | 6 | FROM base 7 | RUN [ ! -z "$(getcap /bin/ping)" ] || exit 1 8 | -------------------------------------------------------------------------------- /vendor/github.com/agext/levenshtein/test.sh: -------------------------------------------------------------------------------- 1 | set -ev 2 | 3 | if [[ "$1" == "goveralls" ]]; then 4 | echo "Testing with goveralls..." 5 | go get github.com/mattn/goveralls 6 | $HOME/gopath/bin/goveralls -service=travis-ci 7 | else 8 | echo "Testing with go test..." 9 | go test -v ./... 10 | fi 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/internal/usergroup/const_windows.go: -------------------------------------------------------------------------------- 1 | package usergroup 2 | 3 | const ( 4 | SeTakeOwnershipPrivilege = "SeTakeOwnershipPrivilege" 5 | ) 6 | 7 | const ( 8 | ContainerAdministratorSidString = "S-1-5-93-2-1" 9 | ContainerUserSidString = "S-1-5-93-2-2" 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/otiai10/mint/exit_freebsd.go: -------------------------------------------------------------------------------- 1 | //go:build freebsd 2 | // +build freebsd 3 | 4 | package mint 5 | 6 | // Exit ... 7 | func (testee *Testee) Exit(expectedCode int) MintResult { 8 | panic("Exit method can NOT be used on FreeBSD, for now.") 9 | return MintResult{ok: false} 10 | } 11 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_issue_519: -------------------------------------------------------------------------------- 1 | FROM alpine as base_stage 2 | RUN echo base_stage 3 | RUN touch meow.txt 4 | 5 | FROM base_stage as BUG_stage 6 | RUN echo BUG_stage 7 | RUN touch purr.txt 8 | 9 | 10 | FROM BUG_stage as final_stage 11 | RUN echo final_stage 12 | RUN touch mew.txt 13 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_issue_647: -------------------------------------------------------------------------------- 1 | FROM alpine:3.8 AS foo 2 | RUN mkdir /foo 3 | WORKDIR /foo 4 | RUN mkdir some_dir 5 | RUN touch some_file 6 | RUN chmod 777 some_dir 7 | RUN chmod 666 some_file 8 | RUN ls -l 9 | 10 | FROM alpine:3.8 11 | COPY --from=foo /foo /bar 12 | RUN ls -l /bar 13 | -------------------------------------------------------------------------------- /vendor/github.com/awslabs/amazon-ecr-credential-helper/ecr-login/version/version.go: -------------------------------------------------------------------------------- 1 | package version 2 | 3 | // Version indicates which version of the binary is running. 4 | var Version = "development" 5 | 6 | // GitCommitSHA indicates which git shorthash the binary was built off of 7 | var GitCommitSHA string 8 | -------------------------------------------------------------------------------- /vendor/github.com/containerd/ttrpc/.gitignore: -------------------------------------------------------------------------------- 1 | # Binaries for programs and plugins 2 | /bin/ 3 | *.exe 4 | *.dll 5 | *.so 6 | *.dylib 7 | 8 | # Test binary, build with `go test -c` 9 | *.test 10 | 11 | # Output of the go coverage tool, specifically when used with LiteIDE 12 | *.out 13 | coverage.txt 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/parsers/kernel/uname_linux.go: -------------------------------------------------------------------------------- 1 | package kernel 2 | 3 | import "golang.org/x/sys/unix" 4 | 5 | func uname() (*unix.Utsname, error) { 6 | uts := &unix.Utsname{} 7 | 8 | if err := unix.Uname(uts); err != nil { 9 | return nil, err 10 | } 11 | return uts, nil 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/moby/term/termios_bsd.go: -------------------------------------------------------------------------------- 1 | //go:build darwin || freebsd || openbsd || netbsd 2 | // +build darwin freebsd openbsd netbsd 3 | 4 | package term 5 | 6 | import ( 7 | "golang.org/x/sys/unix" 8 | ) 9 | 10 | const ( 11 | getTermios = unix.TIOCGETA 12 | setTermios = unix.TIOCSETA 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/github.com/otiai10/copy/preserve_times.go: -------------------------------------------------------------------------------- 1 | package copy 2 | 3 | import "os" 4 | 5 | func preserveTimes(srcinfo os.FileInfo, dest string) error { 6 | spec := getTimeSpec(srcinfo) 7 | if err := os.Chtimes(dest, spec.Atime, spec.Mtime); err != nil { 8 | return err 9 | } 10 | return nil 11 | } 12 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/aws/version.go: -------------------------------------------------------------------------------- 1 | // Package aws provides core functionality for making requests to AWS services. 2 | package aws 3 | 4 | // SDKName is the name of this AWS SDK 5 | const SDKName = "aws-sdk-go-v2" 6 | 7 | // SDKVersion is the version of this SDK 8 | const SDKVersion = goModuleVersion 9 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/internal/sdk/interfaces.go: -------------------------------------------------------------------------------- 1 | package sdk 2 | 3 | // Invalidator provides access to a type's invalidate method to make it 4 | // invalidate it cache. 5 | // 6 | // e.g aws.SafeCredentialsProvider's Invalidate method. 7 | type Invalidator interface { 8 | Invalidate() 9 | } 10 | -------------------------------------------------------------------------------- /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/go-git/go-git/v5/plumbing/storer/index.go: -------------------------------------------------------------------------------- 1 | package storer 2 | 3 | import "github.com/go-git/go-git/v5/plumbing/format/index" 4 | 5 | // IndexStorer generic storage of index.Index 6 | type IndexStorer interface { 7 | SetIndex(*index.Index) error 8 | Index() (*index.Index, error) 9 | } 10 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | To report a security issue with Kaniko, please use https://g.co/vulnz. We use 2 | https://g.co/vulnz for our intake, and do coordination and disclosure here on 3 | GitHub (including using GitHub Security Advisory). The Google Security Team will 4 | respond within 5 working days of your report on g.co/vulnz. 5 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/filesys_unix.go: -------------------------------------------------------------------------------- 1 | //go:build !windows 2 | 3 | package system 4 | 5 | import "os" 6 | 7 | // MkdirAllWithACL is a wrapper for os.MkdirAll on unix systems. 8 | func MkdirAllWithACL(path string, perm os.FileMode, _ string) error { 9 | return os.MkdirAll(path, perm) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/moby/buildkit/frontend/dockerfile/instructions/errors_unix.go: -------------------------------------------------------------------------------- 1 | //go:build !windows 2 | 3 | package instructions 4 | 5 | import "github.com/pkg/errors" 6 | 7 | func errNotJSON(command, _ string) error { 8 | return errors.Errorf("%s requires the arguments to be in JSON form", command) 9 | } 10 | -------------------------------------------------------------------------------- /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/spf13/afero/.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 | 14 | [{*.yml,*.yaml}] 15 | indent_size = 2 16 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/docker/docker/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/go.opentelemetry.io/otel/sdk/resource/host_id_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package resource // import "go.opentelemetry.io/otel/sdk/resource" 5 | 6 | var platformHostIDReader hostIDReader = &hostIDReaderDarwin{ 7 | execCommand: execCommand, 8 | } 9 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_volume_4: -------------------------------------------------------------------------------- 1 | FROM rabbitmq@sha256:57b028a4bb9592ece3915e3e9cdbbaecb3eb82b753aaaf5250f8d25d81d318e2 2 | # This base image has a volume declared at /var/lib/rabbitmq 3 | # This is important because it should not exist in the child image. 4 | COPY context/foo /usr/local/bin/ 5 | CMD ["script.sh"] 6 | -------------------------------------------------------------------------------- /vendor/github.com/aws/smithy-go/io/byte.go: -------------------------------------------------------------------------------- 1 | package io 2 | 3 | const ( 4 | // Byte is 8 bits 5 | Byte int64 = 1 6 | // KibiByte (KiB) is 1024 Bytes 7 | KibiByte = Byte * 1024 8 | // MebiByte (MiB) is 1024 KiB 9 | MebiByte = KibiByte * 1024 10 | // GibiByte (GiB) is 1024 MiB 11 | GibiByte = MebiByte * 1024 12 | ) 13 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /vendor/google.golang.org/api/internal/version.go: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Google LLC. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package internal 6 | 7 | // Version is the current tagged release of the library. 8 | const Version = "0.257.0" 9 | -------------------------------------------------------------------------------- /vendor/github.com/Azure/azure-sdk-for-go/version/version.go: -------------------------------------------------------------------------------- 1 | package version 2 | 3 | // Copyright (c) Microsoft Corporation. All rights reserved. 4 | // Licensed under the MIT License. See License.txt in the project root for license information. 5 | 6 | // Number contains the semantic version of this SDK. 7 | const Number = "v68.0.0" 8 | -------------------------------------------------------------------------------- /vendor/github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp/README.md: -------------------------------------------------------------------------------- 1 | # GCP Resource detection library 2 | 3 | This is a library intended to be used by Upstream OpenTelemetry resource detectors. It exists within this repository to allow for integration testing of the detection functions in real GCP environments. 4 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/aws/errors.go: -------------------------------------------------------------------------------- 1 | package aws 2 | 3 | // MissingRegionError is an error that is returned if region configuration 4 | // value was not found. 5 | type MissingRegionError struct{} 6 | 7 | func (*MissingRegionError) Error() string { 8 | return "an AWS region is required, but was not found" 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/moby/go-archive/path_unix.go: -------------------------------------------------------------------------------- 1 | //go:build !windows 2 | 3 | package archive 4 | 5 | // checkSystemDriveAndRemoveDriveLetter is the non-Windows implementation 6 | // of CheckSystemDriveAndRemoveDriveLetter 7 | func checkSystemDriveAndRemoveDriveLetter(path string) (string, error) { 8 | return path, nil 9 | } 10 | -------------------------------------------------------------------------------- /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/golang.org/x/crypto/blake2b/go125.go: -------------------------------------------------------------------------------- 1 | // Copyright 2025 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build go1.25 6 | 7 | package blake2b 8 | 9 | import "hash" 10 | 11 | var _ hash.XOF = (*xof)(nil) 12 | -------------------------------------------------------------------------------- /examples/kaniko-cache-volume.yaml: -------------------------------------------------------------------------------- 1 | kind: PersistentVolume 2 | apiVersion: v1 3 | metadata: 4 | name: kaniko-cache-volume 5 | labels: 6 | type: local 7 | spec: 8 | storageClassName: manual 9 | capacity: 10 | storage: 10Gi 11 | accessModes: 12 | - ReadOnlyMany 13 | hostPath: 14 | path: "/tmp/kaniko-cache" 15 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_volume_2: -------------------------------------------------------------------------------- 1 | FROM debian:12.10 2 | VOLUME /foo1 3 | RUN echo "hello" > /foo1/hello 4 | WORKDIR /foo1/bar 5 | ADD context/foo /foo1/foo 6 | COPY context/foo /foo1/foo2 7 | RUN mkdir /bar1 8 | VOLUME /foo2 9 | VOLUME /foo3 10 | RUN echo "bar2" 11 | VOLUME /foo4 12 | RUN mkdir /bar3 13 | VOLUME /foo5 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/image/disk_usage.go: -------------------------------------------------------------------------------- 1 | package image 2 | 3 | // DiskUsage contains disk usage for images. 4 | // 5 | // Deprecated: this type is no longer used and will be removed in the next release. 6 | type DiskUsage struct { 7 | TotalSize int64 8 | Reclaimable int64 9 | Items []*Summary 10 | } 11 | -------------------------------------------------------------------------------- /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/moby/go-archive/xattr_unsupported.go: -------------------------------------------------------------------------------- 1 | //go:build !linux && !darwin && !freebsd && !netbsd 2 | 3 | package archive 4 | 5 | func lgetxattr(path string, attr string) ([]byte, error) { 6 | return nil, nil 7 | } 8 | 9 | func lsetxattr(path string, attr string, data []byte, flags int) error { 10 | return nil 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/moby/sys/reexec/reexec_linux.go: -------------------------------------------------------------------------------- 1 | package reexec 2 | 3 | import ( 4 | "os/exec" 5 | "syscall" 6 | ) 7 | 8 | func command(args ...string) *exec.Cmd { 9 | return &exec.Cmd{ 10 | Path: Self(), 11 | Args: args, 12 | SysProcAttr: &syscall.SysProcAttr{ 13 | Pdeathsig: syscall.SIGTERM, 14 | }, 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/moby/term/termios_nonbsd.go: -------------------------------------------------------------------------------- 1 | //go:build !darwin && !freebsd && !netbsd && !openbsd && !windows 2 | // +build !darwin,!freebsd,!netbsd,!openbsd,!windows 3 | 4 | package term 5 | 6 | import ( 7 | "golang.org/x/sys/unix" 8 | ) 9 | 10 | const ( 11 | getTermios = unix.TCGETS 12 | setTermios = unix.TCSETS 13 | ) 14 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /vendor/gopkg.in/ini.v1/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: build test bench vet coverage 2 | 3 | build: vet bench 4 | 5 | test: 6 | go test -v -cover -race 7 | 8 | bench: 9 | go test -v -cover -test.bench=. -test.benchmem 10 | 11 | vet: 12 | go vet 13 | 14 | coverage: 15 | go test -coverprofile=c.out && go tool cover -html=c.out && rm c.out 16 | -------------------------------------------------------------------------------- /integration/testdata/files.yaml: -------------------------------------------------------------------------------- 1 | schemaVersion: "1.0.0" 2 | fileExistenceTests: 3 | # Basic FS sanity checks. 4 | - name: root 5 | path: '/' 6 | shouldExist: true 7 | - name: certs 8 | path: '/kaniko/ssl/certs/ca-certificates.crt' 9 | shouldExist: true 10 | - name: certs 11 | path: '/etc/nsswitch.conf' 12 | shouldExist: true 13 | -------------------------------------------------------------------------------- /vendor/github.com/GoogleCloudPlatform/docker-credential-gcr/v2/util/BUILD: -------------------------------------------------------------------------------- 1 | load("@io_bazel_rules_go//go:def.bzl", "go_library") 2 | 3 | go_library( 4 | name = "go_default_library", 5 | srcs = ["util.go"], 6 | importpath = "github.com/GoogleCloudPlatform/docker-credential-gcr/v2/util", 7 | visibility = ["//visibility:public"], 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/volume/disk_usage.go: -------------------------------------------------------------------------------- 1 | package volume 2 | 3 | // DiskUsage contains disk usage for volumes. 4 | // 5 | // Deprecated: this type is no longer used and will be removed in the next release. 6 | type DiskUsage struct { 7 | TotalSize int64 8 | Reclaimable int64 9 | Items []*Volume 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/moby/term/.gitignore: -------------------------------------------------------------------------------- 1 | # if you want to ignore files created by your editor/tools, consider using a 2 | # global .gitignore or .git/info/exclude see https://help.github.com/articles/ignoring-files 3 | .* 4 | !.github 5 | !.gitignore 6 | profile.out 7 | # support running go modules in vendor mode for local development 8 | vendor/ 9 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_unix.go: -------------------------------------------------------------------------------- 1 | // +build linux aix zos 2 | // +build !js 3 | 4 | package logrus 5 | 6 | import "golang.org/x/sys/unix" 7 | 8 | const ioctlReadTermios = unix.TCGETS 9 | 10 | func isTerminal(fd int) bool { 11 | _, err := unix.IoctlGetTermios(fd, ioctlReadTermios) 12 | return err == nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/metric/version.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package metric // import "go.opentelemetry.io/otel/sdk/metric" 5 | 6 | // version is the current release version of the metric SDK in use. 7 | func version() string { 8 | return "1.38.0" 9 | } 10 | -------------------------------------------------------------------------------- /integration/dockerfiles-with-context/issue-1020/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "foo", 3 | "version": "2.0.0", 4 | "description": "Don't forget to sanitize your inputs", 5 | "author": "Little Bobby Tables", 6 | "private": false, 7 | "devDependencies": {}, 8 | "scripts": {}, 9 | "license": "MIT", 10 | "dependencies": {} 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/internal/sdkio/byte.go: -------------------------------------------------------------------------------- 1 | package sdkio 2 | 3 | const ( 4 | // Byte is 8 bits 5 | Byte int64 = 1 6 | // KibiByte (KiB) is 1024 Bytes 7 | KibiByte = Byte * 1024 8 | // MebiByte (MiB) is 1024 KiB 9 | MebiByte = KibiByte * 1024 10 | // GibiByte (GiB) is 1024 MiB 11 | GibiByte = MebiByte * 1024 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/moby/sys/signal/signal_unsupported.go: -------------------------------------------------------------------------------- 1 | //go:build !linux && !darwin && !freebsd && !windows 2 | // +build !linux,!darwin,!freebsd,!windows 3 | 4 | package signal 5 | 6 | import ( 7 | "syscall" 8 | ) 9 | 10 | // SignalMap is an empty map of signals for unsupported platform. 11 | var SignalMap = map[string]syscall.Signal{} 12 | -------------------------------------------------------------------------------- /vendor/github.com/spiffe/go-spiffe/v2/spiffeid/charset_backcompat_deny.go: -------------------------------------------------------------------------------- 1 | //go:build !spiffeid_charset_backcompat 2 | // +build !spiffeid_charset_backcompat 3 | 4 | package spiffeid 5 | 6 | func isBackcompatTrustDomainChar(c uint8) bool { 7 | return false 8 | } 9 | 10 | func isBackcompatPathChar(c uint8) bool { 11 | return false 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/GoogleCloudPlatform/docker-credential-gcr/v2/util/cmd/BUILD: -------------------------------------------------------------------------------- 1 | load("@io_bazel_rules_go//go:def.bzl", "go_library") 2 | 3 | go_library( 4 | name = "go_default_library", 5 | srcs = ["exec.go"], 6 | importpath = "github.com/GoogleCloudPlatform/docker-credential-gcr/v2/util/cmd", 7 | visibility = ["//visibility:public"], 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/aws/smithy-go/document.go: -------------------------------------------------------------------------------- 1 | package smithy 2 | 3 | // Document provides access to loosely structured data in a document-like 4 | // format. 5 | // 6 | // Deprecated: See the github.com/aws/smithy-go/document package. 7 | type Document interface { 8 | UnmarshalDocument(interface{}) error 9 | GetValue() (interface{}, error) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/container/disk_usage.go: -------------------------------------------------------------------------------- 1 | package container 2 | 3 | // DiskUsage contains disk usage for containers. 4 | // 5 | // Deprecated: this type is no longer used and will be removed in the next release. 6 | type DiskUsage struct { 7 | TotalSize int64 8 | Reclaimable int64 9 | Items []*Summary 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/moby/go-archive/tarheader/tarheader_windows.go: -------------------------------------------------------------------------------- 1 | package tarheader 2 | 3 | import ( 4 | "archive/tar" 5 | "os" 6 | ) 7 | 8 | // sysStat populates hdr from system-dependent fields of fi without performing 9 | // any OS lookups. It is a no-op on Windows. 10 | func sysStat(os.FileInfo, *tar.Header) error { 11 | return nil 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/toqueteos/webbrowser/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # webbrowser contributing guide 2 | 3 | Any changes are welcomed! 4 | 5 | 1. Be nice. 6 | 2. Don't be afraid to ask, but please try search first. 7 | 8 | ## Looking for contact info? 9 | 10 | - Twitter: [@toqueteos](https://twitter.com/toqueteos) 11 | - Mail: `toqueteos AT gmail DOT com` 12 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /vendor/gopkg.in/ini.v1/codecov.yml: -------------------------------------------------------------------------------- 1 | coverage: 2 | range: "60...95" 3 | status: 4 | project: 5 | default: 6 | threshold: 1% 7 | informational: true 8 | patch: 9 | defualt: 10 | only_pulls: true 11 | informational: true 12 | 13 | comment: 14 | layout: 'diff' 15 | 16 | github_checks: false 17 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_cache_perm: -------------------------------------------------------------------------------- 1 | # Test to make sure the cache works with special file permissions properly. 2 | # If the image is built twice, directory foo should have the sticky bit, 3 | # and file bar should have the setuid and setgid bits. 4 | 5 | FROM busybox 6 | 7 | RUN mkdir foo && chmod +t foo 8 | RUN touch bar && chmod u+s,g+s bar 9 | -------------------------------------------------------------------------------- /scripts/local-registry-helm.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: helm.cattle.io/v1 2 | kind: HelmChart 3 | metadata: 4 | name: local-registry 5 | namespace: kube-system 6 | spec: 7 | chart: https://github.com/twuni/docker-registry.helm/archive/refs/tags/v2.2.2.tar.gz 8 | set: 9 | # Expose the registry server on localhost 10 | service.type: "LoadBalancer" 11 | -------------------------------------------------------------------------------- /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/Microsoft/hcsshim/internal/winapi/processor.go: -------------------------------------------------------------------------------- 1 | package winapi 2 | 3 | // Get count from all processor groups. 4 | // https://docs.microsoft.com/en-us/windows/win32/procthread/processor-groups 5 | const ALL_PROCESSOR_GROUPS = 0xFFFF 6 | 7 | //sys GetActiveProcessorCount(groupNumber uint16) (amount uint32) = kernel32.GetActiveProcessorCount 8 | -------------------------------------------------------------------------------- /vendor/github.com/containerd/ttrpc/test.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package ttrpc; 4 | 5 | option go_package = "github.com/containerd/ttrpc/internal"; 6 | 7 | message TestPayload { 8 | string foo = 1; 9 | int64 deadline = 2; 10 | string metadata = 3; 11 | } 12 | 13 | message EchoPayload { 14 | int64 seq = 1; 15 | string msg = 2; 16 | } 17 | -------------------------------------------------------------------------------- /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/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/go.opentelemetry.io/otel/sdk/metric/exemplar/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | // Package exemplar provides an implementation of the OpenTelemetry exemplar 5 | // reservoir to be used in metric collection pipelines. 6 | package exemplar // import "go.opentelemetry.io/otel/sdk/metric/exemplar" 7 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_cache_perm_oci: -------------------------------------------------------------------------------- 1 | # Test to make sure the cache works with special file permissions properly. 2 | # If the image is built twice, directory foo should have the sticky bit, 3 | # and file bar should have the setuid and setgid bits. 4 | 5 | FROM busybox 6 | 7 | RUN mkdir foo && chmod +t foo 8 | RUN touch bar && chmod u+s,g+s bar 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/build/disk_usage.go: -------------------------------------------------------------------------------- 1 | package build 2 | 3 | // CacheDiskUsage contains disk usage for the build cache. 4 | // 5 | // Deprecated: this type is no longer used and will be removed in the next release. 6 | type CacheDiskUsage struct { 7 | TotalSize int64 8 | Reclaimable int64 9 | Items []*CacheRecord 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/layer/layer_store_windows.go: -------------------------------------------------------------------------------- 1 | package layer 2 | 3 | import ( 4 | "io" 5 | 6 | "github.com/docker/distribution" 7 | ) 8 | 9 | func (ls *layerStore) RegisterWithDescriptor(ts io.Reader, parent ChainID, descriptor distribution.Descriptor) (Layer, error) { 10 | return ls.registerWithDescriptor(ts, parent, descriptor) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/appveyor.yml: -------------------------------------------------------------------------------- 1 | # This currently does nothing. We have moved to GitHub action, but this is kept 2 | # until spf13 has disabled this project in AppVeyor. 3 | version: '{build}' 4 | clone_folder: C:\gopath\src\github.com\spf13\afero 5 | environment: 6 | GOPATH: C:\gopath 7 | build_script: 8 | - cmd: >- 9 | go version 10 | 11 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/.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 | 14 | [{Makefile,*.mk}] 15 | indent_style = tab 16 | 17 | [*.nix] 18 | indent_size = 2 19 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_parent_dir_perms: -------------------------------------------------------------------------------- 1 | FROM busybox 2 | 3 | RUN adduser --disabled-password --gecos "" --uid 1000 user 4 | RUN mkdir -p /home/user/foo 5 | RUN chown -R user /home/user 6 | RUN chmod 700 /home/user/foo 7 | ADD https://raw.githubusercontent.com/chainguard-dev/kaniko/master/README.md /home/user/foo/README.md 8 | RUN chown -R user /home/user 9 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/log/nopformatter.go: -------------------------------------------------------------------------------- 1 | package log 2 | 3 | import ( 4 | "github.com/sirupsen/logrus" 5 | ) 6 | 7 | type NopFormatter struct{} 8 | 9 | var _ logrus.Formatter = NopFormatter{} 10 | 11 | // Format does nothing and returns a nil slice. 12 | func (NopFormatter) Format(*logrus.Entry) ([]byte, error) { return nil, nil } 13 | -------------------------------------------------------------------------------- /vendor/github.com/aws/smithy-go/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | ## Code of Conduct 2 | This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct). 3 | For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact 4 | opensource-codeofconduct@amazon.com with any additional questions or comments. 5 | -------------------------------------------------------------------------------- /vendor/github.com/docker/go-metrics/unit.go: -------------------------------------------------------------------------------- 1 | package metrics 2 | 3 | // Unit represents the type or precision of a metric that is appended to 4 | // the metrics fully qualified name 5 | type Unit string 6 | 7 | const ( 8 | Nanoseconds Unit = "nanoseconds" 9 | Seconds Unit = "seconds" 10 | Bytes Unit = "bytes" 11 | Total Unit = "total" 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/moby/term/windows/doc.go: -------------------------------------------------------------------------------- 1 | // These files implement ANSI-aware input and output streams for use by the Docker Windows client. 2 | // When asked for the set of standard streams (e.g., stdin, stdout, stderr), the code will create 3 | // and return pseudo-streams that convert ANSI sequences to / from Windows Console API calls. 4 | 5 | package windowsconsole 6 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/appveyor.yml: -------------------------------------------------------------------------------- 1 | version: "{build}" 2 | platform: x64 3 | clone_folder: c:\gopath\src\github.com\sirupsen\logrus 4 | environment: 5 | GOPATH: c:\gopath 6 | branches: 7 | only: 8 | - master 9 | install: 10 | - set PATH=%GOPATH%\bin;c:\go\bin;%PATH% 11 | - go version 12 | build_script: 13 | - go get -t 14 | - go test 15 | -------------------------------------------------------------------------------- /vendor/github.com/vbatts/tar-split/tar/asm/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package asm provides the API for streaming assembly and disassembly of tar 3 | archives. 4 | 5 | Using the `github.com/vbatts/tar-split/tar/storage` for Packing/Unpacking the 6 | metadata for a stream, as well as an implementation of Getting/Putting the file 7 | entries' payload. 8 | */ 9 | package asm 10 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_copy_symlink: -------------------------------------------------------------------------------- 1 | FROM busybox as t 2 | RUN mkdir temp 3 | RUN echo "hello" > temp/target 4 | RUN ln -s target temp/link 5 | ## Relative link with paths 6 | RUN mkdir workdir && cd workdir && ln -s ../temp/target relative_link 7 | 8 | FROM scratch 9 | COPY --from=t temp/ dest/ 10 | COPY --from=t /workdir/relative_link /workdirAnother/ -------------------------------------------------------------------------------- /vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/to/doc.go: -------------------------------------------------------------------------------- 1 | //go:build go1.18 2 | // +build go1.18 3 | 4 | // Copyright 2017 Microsoft Corporation. All rights reserved. 5 | // Use of this source code is governed by an MIT 6 | // license that can be found in the LICENSE file. 7 | 8 | // Package to contains various type-conversion helper functions. 9 | package to 10 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/service/s3/bucketer.go: -------------------------------------------------------------------------------- 1 | package s3 2 | 3 | // implemented by all S3 input structures 4 | type bucketer interface { 5 | bucket() (string, bool) 6 | } 7 | 8 | func bucketFromInput(params interface{}) (string, bool) { 9 | v, ok := params.(bucketer) 10 | if !ok { 11 | return "", false 12 | } 13 | 14 | return v.bucket() 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/service/s3/express.go: -------------------------------------------------------------------------------- 1 | package s3 2 | 3 | import ( 4 | "github.com/aws/aws-sdk-go-v2/service/s3/internal/customizations" 5 | ) 6 | 7 | // ExpressCredentialsProvider retrieves credentials for operations against the 8 | // S3Express storage class. 9 | type ExpressCredentialsProvider = customizations.S3ExpressCredentialsProvider 10 | -------------------------------------------------------------------------------- /vendor/github.com/aws/smithy-go/io/reader.go: -------------------------------------------------------------------------------- 1 | package io 2 | 3 | import ( 4 | "io" 5 | ) 6 | 7 | // ReadSeekNopCloser wraps an io.ReadSeeker with an additional Close method 8 | // that does nothing. 9 | type ReadSeekNopCloser struct { 10 | io.ReadSeeker 11 | } 12 | 13 | // Close does nothing. 14 | func (ReadSeekNopCloser) Close() error { 15 | return nil 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/cespare/xxhash/v2/testall.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -eu -o pipefail 3 | 4 | # Small convenience script for running the tests with various combinations of 5 | # arch/tags. This assumes we're running on amd64 and have qemu available. 6 | 7 | go test ./... 8 | go test -tags purego ./... 9 | GOARCH=arm64 go test 10 | GOARCH=arm64 go test -tags purego 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/doc.go: -------------------------------------------------------------------------------- 1 | // Package distribution will define the interfaces for the components of 2 | // docker distribution. The goal is to allow users to reliably package, ship 3 | // and store content related to docker images. 4 | // 5 | // This is currently a work in progress. More details are available in the 6 | // README.md. 7 | package distribution 8 | -------------------------------------------------------------------------------- /vendor/github.com/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/sirupsen/logrus/terminal_check_bsd.go: -------------------------------------------------------------------------------- 1 | // +build darwin dragonfly freebsd netbsd openbsd 2 | // +build !js 3 | 4 | package logrus 5 | 6 | import "golang.org/x/sys/unix" 7 | 8 | const ioctlReadTermios = unix.TIOCGETA 9 | 10 | func isTerminal(fd int) bool { 11 | _, err := unix.IoctlGetTermios(fd, ioctlReadTermios) 12 | return err == nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_notappengine.go: -------------------------------------------------------------------------------- 1 | // +build !appengine,!js,!windows,!nacl,!plan9 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | "os" 8 | ) 9 | 10 | func checkIfTerminal(w io.Writer) bool { 11 | switch v := w.(type) { 12 | case *os.File: 13 | return isTerminal(int(v.Fd())) 14 | default: 15 | return false 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/instrumentation/library.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package instrumentation // import "go.opentelemetry.io/otel/sdk/instrumentation" 5 | 6 | // Library represents the instrumentation library. 7 | // 8 | // Deprecated: use [Scope] instead. 9 | type Library = Scope 10 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/resource/host_id_linux.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | //go:build linux 5 | // +build linux 6 | 7 | package resource // import "go.opentelemetry.io/otel/sdk/resource" 8 | 9 | var platformHostIDReader hostIDReader = &hostIDReaderLinux{ 10 | readFile: readFile, 11 | } 12 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/semconv/v1.20.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.20.0" 5 | 6 | const ( 7 | // ExceptionEventName is the name of the Span event representing an exception. 8 | ExceptionEventName = "exception" 9 | ) 10 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/semconv/v1.26.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.26.0" 5 | 6 | const ( 7 | // ExceptionEventName is the name of the Span event representing an exception. 8 | ExceptionEventName = "exception" 9 | ) 10 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_arg_multi: -------------------------------------------------------------------------------- 1 | ARG FILE_NAME=myFile 2 | 3 | FROM busybox:latest AS builder 4 | ARG FILE_NAME 5 | 6 | RUN echo $FILE_NAME && touch /$FILE_NAME.txt && stat /$FILE_NAME.txt; 7 | 8 | FROM busybox:latest 9 | ARG FILE_NAME 10 | 11 | RUN echo $FILE_NAME && touch /$FILE_NAME.txt && stat /$FILE_NAME.txt; 12 | COPY --from=builder /$FILE_NAME.txt / -------------------------------------------------------------------------------- /vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/constants.go: -------------------------------------------------------------------------------- 1 | //go:build go1.18 2 | // +build go1.18 3 | 4 | // Copyright (c) Microsoft Corporation. All rights reserved. 5 | // Licensed under the MIT License. See License.txt in the project root for license information. 6 | 7 | package generated 8 | 9 | const ServiceVersion = "2025-11-05" 10 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/firmware.go: -------------------------------------------------------------------------------- 1 | package hcsschema 2 | 3 | type FirmwareFile struct { 4 | // Parameters is an experimental/pre-release field. The field itself or its 5 | // behavior can change in future iterations of the schema. Avoid taking a hard 6 | // dependency on this field. 7 | Parameters []byte `json:"Parameters,omitempty"` 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/aws/signer/internal/v4/hmac.go: -------------------------------------------------------------------------------- 1 | package v4 2 | 3 | import ( 4 | "crypto/hmac" 5 | "crypto/sha256" 6 | ) 7 | 8 | // HMACSHA256 computes a HMAC-SHA256 of data given the provided key. 9 | func HMACSHA256(key []byte, data []byte) []byte { 10 | hash := hmac.New(sha256.New, key) 11 | hash.Write(data) 12 | return hash.Sum(nil) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/internal/v4/hmac.go: -------------------------------------------------------------------------------- 1 | package v4 2 | 3 | import ( 4 | "crypto/hmac" 5 | "crypto/sha256" 6 | ) 7 | 8 | // HMACSHA256 computes a HMAC-SHA256 of data given the provided key. 9 | func HMACSHA256(key []byte, data []byte) []byte { 10 | hash := hmac.New(sha256.New, key) 11 | hash.Write(data) 12 | return hash.Sum(nil) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/otiai10/mint/log.go: -------------------------------------------------------------------------------- 1 | package mint 2 | 3 | import ( 4 | "fmt" 5 | "os" 6 | ) 7 | 8 | // Log only output if -v flag is given. 9 | // This is because the standard "t.Testing.Log" method decorates 10 | // its caller: runtime.Caller(3) automatically. 11 | func Log(args ...interface{}) { 12 | if isVerbose(os.Args) { 13 | fmt.Print(args...) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/pjbgf/sha1cd/detection.go: -------------------------------------------------------------------------------- 1 | package sha1cd 2 | 3 | import "hash" 4 | 5 | type CollisionResistantHash interface { 6 | // CollisionResistantSum extends on Sum by returning an additional boolean 7 | // which indicates whether a collision was found during the hashing process. 8 | CollisionResistantSum(b []byte) ([]byte, bool) 9 | 10 | hash.Hash 11 | } 12 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/semconv/v1.20.0/http.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package semconv // import "go.opentelemetry.io/otel/semconv/v1.20.0" 5 | 6 | // HTTP scheme attributes. 7 | var ( 8 | HTTPSchemeHTTP = HTTPSchemeKey.String("http") 9 | HTTPSchemeHTTPS = HTTPSchemeKey.String("https") 10 | ) 11 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /examples/volume.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: PersistentVolume 3 | metadata: 4 | name: dockerfile 5 | labels: 6 | type: local 7 | spec: 8 | capacity: 9 | storage: 10Gi 10 | accessModes: 11 | - ReadWriteOnce 12 | storageClassName: local-storage 13 | hostPath: 14 | path: # replace with local directory, such as "/home//kaniko" -------------------------------------------------------------------------------- /integration/benchmark_fs/cloudbuild.yaml: -------------------------------------------------------------------------------- 1 | steps: 2 | - name: '//' 3 | args: 4 | - --build-arg=NUM=${_COUNT} 5 | - --no-push 6 | - --snapshot-mode=redo 7 | env: 8 | - 'BENCHMARK_FILE=gs://$PROJECT_ID/gcb/benchmark_file_${_COUNT}' 9 | timeout: 2400s 10 | timeout: 2400s 11 | substitutions: 12 | _COUNT: "10000" # default value -------------------------------------------------------------------------------- /vendor/github.com/Azure/go-ansiterm/winterm/utilities.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package winterm 4 | 5 | // AddInRange increments a value by the passed quantity while ensuring the values 6 | // always remain within the supplied min / max range. 7 | func addInRange(n int16, increment int16, min int16, max int16) int16 { 8 | return ensureInRange(n+increment, min, max) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/go-git/go-git/v5/plumbing/revision.go: -------------------------------------------------------------------------------- 1 | package plumbing 2 | 3 | // Revision represents a git revision 4 | // to get more details about git revisions 5 | // please check git manual page : 6 | // https://www.kernel.org/pub/software/scm/git/docs/gitrevisions.html 7 | type Revision string 8 | 9 | func (r Revision) String() string { 10 | return string(r) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/karrick/godirwalk/bench.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # for version in v1.9.1 v1.10.0 v1.10.3 v1.10.12 v1.11.2 v1.11.3 v1.12.0 v1.13.1 v1.14.0 v1.14.1 ; do 4 | for version in v1.10.12 v1.14.1 v1.15.2 ; do 5 | echo "### $version" > $version.txt 6 | git checkout -- go.mod && git checkout $version && go test -run=NONE -bench=Benchmark2 >> $version.txt || exit 1 7 | done 8 | -------------------------------------------------------------------------------- /vendor/github.com/otiai10/copy/stat_times_x.go: -------------------------------------------------------------------------------- 1 | //go:build plan9 || netbsd 2 | 3 | package copy 4 | 5 | import ( 6 | "os" 7 | ) 8 | 9 | // TODO: check plan9 netbsd in future 10 | func getTimeSpec(info os.FileInfo) timespec { 11 | times := timespec{ 12 | Mtime: info.ModTime(), 13 | Atime: info.ModTime(), 14 | Ctime: info.ModTime(), 15 | } 16 | return times 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/sagikazarmark/slog-shim/.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 | [*.nix] 12 | indent_size = 2 13 | 14 | [{Makefile,*.mk}] 15 | indent_style = tab 16 | 17 | [Taskfile.yaml] 18 | indent_size = 2 19 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/daemon/network/network_mode_windows.go: -------------------------------------------------------------------------------- 1 | package network 2 | 3 | import ( 4 | "github.com/docker/docker/api/types/container" 5 | "github.com/docker/docker/api/types/network" 6 | ) 7 | 8 | const defaultNetwork = network.NetworkNat 9 | 10 | func isPreDefined(network string) bool { 11 | return !container.NetworkMode(network).IsUserDefined() 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/Makefile: -------------------------------------------------------------------------------- 1 | TEST?=./... 2 | 3 | default: test 4 | 5 | fmt: generate 6 | go fmt ./... 7 | 8 | test: generate 9 | go get -t ./... 10 | go test $(TEST) $(TESTARGS) 11 | 12 | generate: 13 | go generate ./... 14 | 15 | updatedeps: 16 | go get -u golang.org/x/tools/cmd/stringer 17 | 18 | .PHONY: default generate test updatedeps 19 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go_import_path: github.com/sirupsen/logrus 3 | git: 4 | depth: 1 5 | env: 6 | - GO111MODULE=on 7 | go: 1.15.x 8 | os: linux 9 | install: 10 | - ./travis/install.sh 11 | script: 12 | - cd ci 13 | - go run mage.go -v -w ../ crossBuild 14 | - go run mage.go -v -w ../ lint 15 | - go run mage.go -v -w ../ test 16 | -------------------------------------------------------------------------------- /vendor/github.com/sourcegraph/conc/panics/try.go: -------------------------------------------------------------------------------- 1 | package panics 2 | 3 | // Try executes f, catching and returning any panic it might spawn. 4 | // 5 | // The recovered panic can be propagated with panic(), or handled as a normal error with 6 | // (*panics.Recovered).AsError(). 7 | func Try(f func()) *Recovered { 8 | var c Catcher 9 | c.Try(f) 10 | return c.Recovered() 11 | } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/registry/mksyscall.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build generate 6 | 7 | package registry 8 | 9 | //go:generate go run golang.org/x/sys/windows/mkwinsyscall -output zsyscall_windows.go syscall.go 10 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_arg_blank_with_quotes: -------------------------------------------------------------------------------- 1 | ARG FILE_NAME="" 2 | 3 | FROM busybox:latest AS builder 4 | ARG FILE_NAME 5 | 6 | RUN echo $FILE_NAME && touch /$FILE_NAME.txt && stat /$FILE_NAME.txt; 7 | 8 | FROM busybox:latest 9 | ARG FILE_NAME 10 | 11 | RUN echo $FILE_NAME && touch /$FILE_NAME.txt && stat /$FILE_NAME.txt; 12 | COPY --from=builder /$FILE_NAME.txt / 13 | -------------------------------------------------------------------------------- /vendor/cel.dev/expr/regen_go_proto_canonical_protos.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | bazel build //proto/cel/expr:all 3 | 4 | rm -vf ./*.pb.go 5 | 6 | files=( $(bazel cquery //proto/cel/expr:expr_go_proto --output=starlark --starlark:expr="'\n'.join([f.path for f in target.output_groups.go_generated_srcs.to_list()])") ) 7 | for src in "${files[@]}"; 8 | do 9 | cp -v "${src}" ./ 10 | done 11 | -------------------------------------------------------------------------------- /vendor/github.com/google/go-containerregistry/pkg/v1/google/README.md: -------------------------------------------------------------------------------- 1 | # `google` 2 | 3 | [![GoDoc](https://godoc.org/github.com/google/go-containerregistry/pkg/v1/google?status.svg)](https://godoc.org/github.com/google/go-containerregistry/pkg/v1/google) 4 | 5 | The `google` package provides: 6 | * Some google-specific authentication methods. 7 | * Some [GCR](gcr.io)-specific listing methods. 8 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/error.go: -------------------------------------------------------------------------------- 1 | package parser 2 | 3 | import ( 4 | "fmt" 5 | 6 | "github.com/hashicorp/hcl/hcl/token" 7 | ) 8 | 9 | // PosError is a parse error that contains a position. 10 | type PosError struct { 11 | Pos token.Pos 12 | Err error 13 | } 14 | 15 | func (e *PosError) Error() string { 16 | return fmt.Sprintf("At %s: %s", e.Pos, e.Err) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/trace/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 // import "go.opentelemetry.io/otel/trace/internal/telemetry" 9 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/idna/pre_go118.go: -------------------------------------------------------------------------------- 1 | // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT. 2 | 3 | // Copyright 2021 The Go Authors. All rights reserved. 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file. 6 | 7 | //go:build !go1.18 8 | 9 | package idna 10 | 11 | const transitionalLookup = true 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_gccgo_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 gccgo 6 | 7 | package cpu 8 | 9 | func getisar0() uint64 { return 0 } 10 | func getisar1() uint64 { return 0 } 11 | func getpfr0() uint64 { return 0 } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_linux_noinit.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 && !arm && !arm64 && !loong64 && !mips64 && !mips64le && !ppc64 && !ppc64le && !s390x && !riscv64 6 | 7 | package cpu 8 | 9 | func doinit() {} 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/vgetrandom_unsupported.go: -------------------------------------------------------------------------------- 1 | // Copyright 2024 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 || !go1.24 6 | 7 | package unix 8 | 9 | func vgetrandom(p []byte, flags uint32) (ret int, supported bool) { 10 | return -1, false 11 | } 12 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_arg_multi_with_quotes: -------------------------------------------------------------------------------- 1 | ARG FILE_NAME="myFile" 2 | 3 | FROM busybox:latest AS builder 4 | ARG FILE_NAME 5 | 6 | RUN echo $FILE_NAME && touch /$FILE_NAME.txt && stat /$FILE_NAME.txt; 7 | 8 | FROM busybox:latest 9 | ARG FILE_NAME 10 | 11 | RUN echo $FILE_NAME && touch /$FILE_NAME.txt && stat /$FILE_NAME.txt; 12 | COPY --from=builder /$FILE_NAME.txt / 13 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/mouse.go: -------------------------------------------------------------------------------- 1 | /* 2 | * HCS API 3 | * 4 | * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) 5 | * 6 | * API version: 2.1 7 | * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) 8 | */ 9 | 10 | package hcsschema 11 | 12 | type Mouse struct { 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/internal/strings/strings.go: -------------------------------------------------------------------------------- 1 | package strings 2 | 3 | import ( 4 | "strings" 5 | ) 6 | 7 | // HasPrefixFold tests whether the string s begins with prefix, interpreted as UTF-8 strings, 8 | // under Unicode case-folding. 9 | func HasPrefixFold(s, prefix string) bool { 10 | return len(s) >= len(prefix) && strings.EqualFold(s[0:len(prefix)], prefix) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/aws/smithy-go/.gitignore: -------------------------------------------------------------------------------- 1 | # Eclipse 2 | .classpath 3 | .project 4 | .settings/ 5 | 6 | # Intellij 7 | .idea/ 8 | *.iml 9 | *.iws 10 | 11 | # Mac 12 | .DS_Store 13 | 14 | # Maven 15 | target/ 16 | **/dependency-reduced-pom.xml 17 | 18 | # Gradle 19 | /.gradle 20 | build/ 21 | */out/ 22 | */*/out/ 23 | 24 | # VS Code 25 | bin/ 26 | .vscode/ 27 | 28 | # make 29 | c.out 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build amd64 && linux && gc 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | //go:noescape 12 | func gettimeofday(tv *Timeval) (err syscall.Errno) 13 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_arg_secret: -------------------------------------------------------------------------------- 1 | FROM debian:12.10 2 | 3 | ARG SSH_PRIVATE_KEY 4 | ARG SSH_PUBLIC_KEY 5 | 6 | RUN mkdir .ssh && \ 7 | chmod 700 .ssh && \ 8 | echo "$SSH_PRIVATE_KEY" > .ssh/id_rsa && \ 9 | echo "$SSH_PUBLIC_KEY" > .ssh/id_rsa.pub && \ 10 | chmod 600 .ssh/id_rsa .ssh/id_rsa.pub 11 | -------------------------------------------------------------------------------- /integration/dockerfiles/Dockerfile_test_issue_2066: -------------------------------------------------------------------------------- 1 | FROM ubuntu:focal as base 2 | RUN apt update 3 | RUN apt install -y libbsd0 4 | RUN apt remove -y libbsd0 5 | RUN apt install -y libbsd0 6 | RUN ls -al /usr/lib/x86_64-linux-gnu/libbsd.so.0 7 | 8 | FROM base as b 9 | # Fails on main@28432d3c before #2066, the symlink is not existing here. 10 | RUN ls -al /usr/lib/x86_64-linux-gnu/libbsd.so.0 11 | -------------------------------------------------------------------------------- /vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/build.go: -------------------------------------------------------------------------------- 1 | //go:build go1.18 2 | // +build go1.18 3 | 4 | //go:generate autorest ./autorest.md 5 | //go:generate gofmt -w . 6 | 7 | // Copyright (c) Microsoft Corporation. All rights reserved. 8 | // Licensed under the MIT License. See License.txt in the project root for license information. 9 | 10 | package generated 11 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/hnssupport.go: -------------------------------------------------------------------------------- 1 | //go:build windows 2 | 3 | package hcsshim 4 | 5 | import ( 6 | "github.com/Microsoft/hcsshim/internal/hns" 7 | ) 8 | 9 | type HNSSupportedFeatures = hns.HNSSupportedFeatures 10 | 11 | type HNSAclFeatures = hns.HNSAclFeatures 12 | 13 | func GetHNSSupportedFeatures() HNSSupportedFeatures { 14 | return hns.GetHNSSupportedFeatures() 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/battery.go: -------------------------------------------------------------------------------- 1 | /* 2 | * HCS API 3 | * 4 | * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) 5 | * 6 | * API version: 2.1 7 | * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) 8 | */ 9 | 10 | package hcsschema 11 | 12 | type Battery struct { 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/archive/wrap_deprecated.go: -------------------------------------------------------------------------------- 1 | package archive 2 | 3 | import ( 4 | "io" 5 | 6 | "github.com/moby/go-archive" 7 | ) 8 | 9 | // Generate generates a new archive from the content provided as input. 10 | // 11 | // Deprecated: use [archive.Generate] instead. 12 | func Generate(input ...string) (io.Reader, error) { 13 | return archive.Generate(input...) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/karrick/godirwalk/debug_development.go: -------------------------------------------------------------------------------- 1 | // +build godirwalk_debug 2 | 3 | package godirwalk 4 | 5 | import ( 6 | "fmt" 7 | "os" 8 | ) 9 | 10 | // debug formats and prints arguments to stderr for development builds 11 | func debug(f string, a ...interface{}) { 12 | // fmt.Fprintf(os.Stderr, f, a...) 13 | os.Stderr.Write([]byte("godirwalk: " + fmt.Sprintf(f, a...))) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | 5 | go: 6 | - 1.9.x 7 | - 1.10.x 8 | - 1.11.x 9 | - tip 10 | 11 | matrix: 12 | allow_failures: 13 | - go: tip 14 | 15 | install: 16 | - go get golang.org/x/lint/golint 17 | - export PATH=$GOPATH/bin:$PATH 18 | - go install ./... 19 | 20 | script: 21 | - verify/all.sh -v 22 | - go test ./... 23 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/version.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | // Package sdk provides the OpenTelemetry default SDK for Go. 5 | package sdk // import "go.opentelemetry.io/otel/sdk" 6 | 7 | // Version is the current release version of the OpenTelemetry SDK in use. 8 | func Version() string { 9 | return "1.38.0" 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/keyboard.go: -------------------------------------------------------------------------------- 1 | /* 2 | * HCS API 3 | * 4 | * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) 5 | * 6 | * API version: 2.1 7 | * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) 8 | */ 9 | 10 | package hcsschema 11 | 12 | type Keyboard struct { 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/swarm_join.go: -------------------------------------------------------------------------------- 1 | package client 2 | 3 | import ( 4 | "context" 5 | 6 | "github.com/docker/docker/api/types/swarm" 7 | ) 8 | 9 | // SwarmJoin joins the swarm. 10 | func (cli *Client) SwarmJoin(ctx context.Context, req swarm.JoinRequest) error { 11 | resp, err := cli.post(ctx, "/swarm/join", nil, req, nil) 12 | ensureReaderClosed(resp) 13 | return err 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/google/go-cmp/cmp/internal/flags/flags.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 flags 6 | 7 | // Deterministic controls whether the output of Diff should be deterministic. 8 | // This is only used for testing. 9 | var Deterministic bool 10 | -------------------------------------------------------------------------------- /vendor/github.com/moby/sys/mount/mounter_unsupported.go: -------------------------------------------------------------------------------- 1 | //go:build (!linux && !freebsd && !openbsd && !windows && !darwin) || (freebsd && !cgo) || (openbsd && !cgo) 2 | // +build !linux,!freebsd,!openbsd,!windows,!darwin freebsd,!cgo openbsd,!cgo 3 | 4 | package mount 5 | 6 | func mount(device, target, mType string, flag uintptr, data string) error { 7 | panic("cgo required on freebsd and openbsd") 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/moby/sys/mountinfo/mountinfo_openbsd.go: -------------------------------------------------------------------------------- 1 | package mountinfo 2 | 3 | import "golang.org/x/sys/unix" 4 | 5 | func getMountinfo(entry *unix.Statfs_t) *Info { 6 | return &Info{ 7 | Mountpoint: unix.ByteSliceToString(entry.F_mntonname[:]), 8 | FSType: unix.ByteSliceToString(entry.F_fstypename[:]), 9 | Source: unix.ByteSliceToString(entry.F_mntfromname[:]), 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/moby/sys/symlink/fs_unix.go: -------------------------------------------------------------------------------- 1 | //go:build !windows 2 | // +build !windows 3 | 4 | package symlink 5 | 6 | import ( 7 | "path/filepath" 8 | ) 9 | 10 | func evalSymlinks(path string) (string, error) { 11 | return filepath.EvalSymlinks(path) 12 | } 13 | 14 | func isDriveOrRoot(p string) bool { 15 | return p == string(filepath.Separator) 16 | } 17 | 18 | var isAbs = filepath.IsAbs 19 | -------------------------------------------------------------------------------- /vendor/github.com/otiai10/copy/copy_namedpipes_x.go: -------------------------------------------------------------------------------- 1 | //go:build windows || plan9 || netbsd || aix || illumos || solaris || js 2 | 3 | package copy 4 | 5 | import ( 6 | "os" 7 | ) 8 | 9 | // TODO: check plan9 netbsd aix illumos solaris in future 10 | 11 | // pcopy is for just named pipes. Windows doesn't support them 12 | func pcopy(dest string, info os.FileInfo) error { 13 | return nil 14 | } 15 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/baggage/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | /* 5 | Package baggage provides functionality for storing and retrieving 6 | baggage items in Go context. For propagating the baggage, see the 7 | go.opentelemetry.io/otel/propagation package. 8 | */ 9 | package baggage // import "go.opentelemetry.io/otel/baggage" 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/endian_big.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | //go:build armbe || arm64be || m68k || mips || mips64 || mips64p32 || ppc || ppc64 || s390 || s390x || shbe || sparc || sparc64 6 | 7 | package unix 8 | 9 | const isBigEndian = true 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/ptrace_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build darwin && !ios 6 | 7 | package unix 8 | 9 | func ptrace(request int, pid int, addr uintptr, data uintptr) error { 10 | return ptrace1(request, pid, addr, data) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/streaming/doc.go: -------------------------------------------------------------------------------- 1 | //go:build go1.18 2 | // +build go1.18 3 | 4 | // Copyright 2017 Microsoft Corporation. All rights reserved. 5 | // Use of this source code is governed by an MIT 6 | // license that can be found in the LICENSE file. 7 | 8 | // Package streaming contains helpers for streaming IO operations and progress reporting. 9 | package streaming 10 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/hnsglobals.go: -------------------------------------------------------------------------------- 1 | //go:build windows 2 | 3 | package hcsshim 4 | 5 | import ( 6 | "github.com/Microsoft/hcsshim/internal/hns" 7 | ) 8 | 9 | type HNSGlobals = hns.HNSGlobals 10 | type HNSVersion = hns.HNSVersion 11 | 12 | var ( 13 | HNSVersion1803 = hns.HNSVersion1803 14 | ) 15 | 16 | func GetHNSGlobals() (*HNSGlobals, error) { 17 | return hns.GetHNSGlobals() 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/distribution/reference/.golangci.yml: -------------------------------------------------------------------------------- 1 | linters: 2 | enable: 3 | - bodyclose 4 | - dupword # Checks for duplicate words in the source code 5 | - gofmt 6 | - goimports 7 | - ineffassign 8 | - misspell 9 | - revive 10 | - staticcheck 11 | - unconvert 12 | - unused 13 | - vet 14 | disable: 15 | - errcheck 16 | 17 | run: 18 | deadline: 2m 19 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/idtools/idtools_windows.go: -------------------------------------------------------------------------------- 1 | package idtools 2 | 3 | const ( 4 | SeTakeOwnershipPrivilege = "SeTakeOwnershipPrivilege" 5 | ) 6 | 7 | // TODO(thaJeztah): these magic consts need a source of reference, and should be defined in a canonical location 8 | const ( 9 | ContainerAdministratorSidString = "S-1-5-93-2-1" 10 | 11 | ContainerUserSidString = "S-1-5-93-2-2" 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/chtimes_nowindows.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 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_safe.go: -------------------------------------------------------------------------------- 1 | package xxhash 2 | 3 | // Sum64String computes the 64-bit xxHash digest of s. 4 | func Sum64String(s string) uint64 { 5 | return Sum64([]byte(s)) 6 | } 7 | 8 | // WriteString adds more data to d. It always returns len(s), nil. 9 | func (d *Digest) WriteString(s string) (n int, err error) { 10 | return d.Write([]byte(s)) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_other_x86.go: -------------------------------------------------------------------------------- 1 | // Copyright 2024 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 386 || amd64p32 || (amd64 && (!darwin || !gc)) 6 | 7 | package cpu 8 | 9 | func darwinSupportsAVX512() bool { 10 | panic("only implemented for gc && amd64 && darwin") 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/Azure/go-ansiterm/utilities.go: -------------------------------------------------------------------------------- 1 | package ansiterm 2 | 3 | import ( 4 | "strconv" 5 | ) 6 | 7 | func sliceContains(bytes []byte, b byte) bool { 8 | for _, v := range bytes { 9 | if v == b { 10 | return true 11 | } 12 | } 13 | 14 | return false 15 | } 16 | 17 | func convertBytesToInteger(bytes []byte) int { 18 | s := string(bytes) 19 | i, _ := strconv.Atoi(s) 20 | return i 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/credentials/logincreds/file.go: -------------------------------------------------------------------------------- 1 | package logincreds 2 | 3 | import ( 4 | "io" 5 | "os" 6 | ) 7 | 8 | var openFile func(string) (io.ReadCloser, error) = func(name string) (io.ReadCloser, error) { 9 | return os.Open(name) 10 | } 11 | 12 | var createFile func(string) (io.WriteCloser, error) = func(name string) (io.WriteCloser, error) { 13 | return os.Create(name) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/google/go-containerregistry/pkg/v1/layout/README.md: -------------------------------------------------------------------------------- 1 | # `layout` 2 | 3 | [![GoDoc](https://godoc.org/github.com/google/go-containerregistry/pkg/v1/layout?status.svg)](https://godoc.org/github.com/google/go-containerregistry/pkg/v1/layout) 4 | 5 | The `layout` package implements support for interacting with an [OCI Image Layout](https://github.com/opencontainers/image-spec/blob/master/image-layout.md). 6 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/errors/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/constants.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos 6 | 7 | package unix 8 | 9 | const ( 10 | R_OK = 0x4 11 | W_OK = 0x2 12 | X_OK = 0x1 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/cel.dev/expr/regen_go_proto.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | bazel build //proto/cel/expr/conformance/... 3 | files=($(bazel aquery 'kind(proto, //proto/cel/expr/conformance/...)' | grep Outputs | grep "[.]pb[.]go" | sed 's/Outputs: \[//' | sed 's/\]//' | tr "," "\n")) 4 | for src in ${files[@]}; 5 | do 6 | dst=$(echo $src | sed 's/\(.*\/cel.dev\/expr\/\(.*\)\)/\2/') 7 | echo "copying $dst" 8 | $(cp $src $dst) 9 | done 10 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/.clang-format: -------------------------------------------------------------------------------- 1 | Language: Cpp 2 | BasedOnStyle: Microsoft 3 | BreakBeforeBraces: Attach 4 | PointerAlignment: Left 5 | AllowShortFunctionsOnASingleLine: All 6 | # match Go style 7 | IndentCaseLabels: false 8 | # don't break comments over line limit (needed for CodeQL exceptions) 9 | ReflowComments: false 10 | InsertNewlineAtEOF: true 11 | KeepEmptyLines: 12 | AtEndOfFile: true 13 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/registry_hive.go: -------------------------------------------------------------------------------- 1 | package hcsschema 2 | 3 | // NOTE: manually added 4 | 5 | type RegistryHive string 6 | 7 | // List of RegistryHive 8 | const ( 9 | RegistryHive_SYSTEM RegistryHive = "System" 10 | RegistryHive_SOFTWARE RegistryHive = "Software" 11 | RegistryHive_SECURITY RegistryHive = "Security" 12 | RegistryHive_SAM RegistryHive = "Sam" 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/swarm_unlock.go: -------------------------------------------------------------------------------- 1 | package client 2 | 3 | import ( 4 | "context" 5 | 6 | "github.com/docker/docker/api/types/swarm" 7 | ) 8 | 9 | // SwarmUnlock unlocks locked swarm. 10 | func (cli *Client) SwarmUnlock(ctx context.Context, req swarm.UnlockRequest) error { 11 | resp, err := cli.post(ctx, "/swarm/unlock", nil, req, nil) 12 | ensureReaderClosed(resp) 13 | return err 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/tarsum/writercloser.go: -------------------------------------------------------------------------------- 1 | package tarsum 2 | 3 | import ( 4 | "io" 5 | ) 6 | 7 | type writeCloseFlusher interface { 8 | io.WriteCloser 9 | Flush() error 10 | } 11 | 12 | type nopCloseFlusher struct { 13 | io.Writer 14 | } 15 | 16 | func (n *nopCloseFlusher) Close() error { 17 | return nil 18 | } 19 | 20 | func (n *nopCloseFlusher) Flush() error { 21 | return nil 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/go-git/go-git/v5/plumbing/storer/shallow.go: -------------------------------------------------------------------------------- 1 | package storer 2 | 3 | import "github.com/go-git/go-git/v5/plumbing" 4 | 5 | // ShallowStorer is a storage of references to shallow commits by hash, 6 | // meaning that these commits have missing parents because of a shallow fetch. 7 | type ShallowStorer interface { 8 | SetShallow([]plumbing.Hash) error 9 | Shallow() ([]plumbing.Hash, error) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/sagikazarmark/locafero/.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 | [{Makefile,*.mk}] 12 | indent_style = tab 13 | 14 | [*.nix] 15 | indent_size = 2 16 | 17 | [*.go] 18 | indent_style = tab 19 | 20 | [{*.yml,*.yaml}] 21 | indent_size = 2 22 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cast/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | 25 | *.bench 26 | -------------------------------------------------------------------------------- /vendor/github.com/xanzy/ssh-agent/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/blake2b/blake2b_ref.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !amd64 || purego || !gc 6 | 7 | package blake2b 8 | 9 | func hashBlocks(h *[8]uint64, c *[2]uint64, flag uint64, blocks []byte) { 10 | hashBlocksGeneric(h, c, flag, blocks) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/exp/slog/internal/ignorepc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2023 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 6 | 7 | // If IgnorePC is true, do not invoke runtime.Callers to get the pc. 8 | // This is solely for benchmarking the slowdown from runtime.Callers. 9 | var IgnorePC = false 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/config_go125.go: -------------------------------------------------------------------------------- 1 | // Copyright 2025 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !go1.26 6 | 7 | package http2 8 | 9 | import ( 10 | "net/http" 11 | ) 12 | 13 | func http2ConfigStrictMaxConcurrentRequests(h2 *http.HTTP2Config) bool { 14 | return false 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/aws/signer/internal/v4/scope.go: -------------------------------------------------------------------------------- 1 | package v4 2 | 3 | import "strings" 4 | 5 | // BuildCredentialScope builds the Signature Version 4 (SigV4) signing scope 6 | func BuildCredentialScope(signingTime SigningTime, region, service string) string { 7 | return strings.Join([]string{ 8 | signingTime.ShortTimeFormat(), 9 | region, 10 | service, 11 | "aws4_request", 12 | }, "/") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/go-git/gcfg/Makefile: -------------------------------------------------------------------------------- 1 | # General 2 | WORKDIR = $(PWD) 3 | 4 | # Go parameters 5 | GOCMD = go 6 | GOTEST = $(GOCMD) test 7 | 8 | # Coverage 9 | COVERAGE_REPORT = coverage.out 10 | COVERAGE_MODE = count 11 | 12 | test: 13 | $(GOTEST) ./... 14 | 15 | test-coverage: 16 | echo "" > $(COVERAGE_REPORT); \ 17 | $(GOTEST) -coverprofile=$(COVERAGE_REPORT) -coverpkg=./... -covermode=$(COVERAGE_MODE) ./... 18 | -------------------------------------------------------------------------------- /vendor/github.com/moby/buildkit/frontend/dockerfile/dockerignore/dockerignore_deprecated.go: -------------------------------------------------------------------------------- 1 | package dockerignore 2 | 3 | import ( 4 | "io" 5 | 6 | "github.com/moby/patternmatcher/ignorefile" 7 | ) 8 | 9 | // ReadAll is an alias for [ignorefile.ReadAll]. 10 | // 11 | // Deprecated: use [ignorefile.ReadAll] instead. 12 | func ReadAll(reader io.Reader) ([]string, error) { 13 | return ignorefile.ReadAll(reader) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_linux.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 !386 && !amd64 && !amd64p32 && !arm64 6 | 7 | package cpu 8 | 9 | func archInit() { 10 | if err := readHWCAP(); err != nil { 11 | return 12 | } 13 | doinit() 14 | Initialized = true 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_mips64x.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 mips64 || mips64le 6 | 7 | package cpu 8 | 9 | const cacheLineSize = 32 10 | 11 | func initOptions() { 12 | options = []option{ 13 | {Name: "msa", Feature: &MIPS64X.HasMSA}, 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/secure/bidirule/bidirule10.0.0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build go1.10 6 | 7 | package bidirule 8 | 9 | func (t *Transformer) isFinal() bool { 10 | return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial 11 | } 12 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/genid/name.go: -------------------------------------------------------------------------------- 1 | // Copyright 2024 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 genid 6 | 7 | const ( 8 | NoUnkeyedLiteral_goname = "noUnkeyedLiteral" 9 | NoUnkeyedLiteralA_goname = "XXX_NoUnkeyedLiteral" 10 | 11 | BuilderSuffix_goname = "_builder" 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/cespare/xxhash/v2/xxhash_asm.go: -------------------------------------------------------------------------------- 1 | //go:build (amd64 || arm64) && !appengine && gc && !purego 2 | // +build amd64 arm64 3 | // +build !appengine 4 | // +build gc 5 | // +build !purego 6 | 7 | package xxhash 8 | 9 | // Sum64 computes the 64-bit xxHash digest of b with a zero seed. 10 | // 11 | //go:noescape 12 | func Sum64(b []byte) uint64 13 | 14 | //go:noescape 15 | func writeBlocks(d *Digest, b []byte) int 16 | -------------------------------------------------------------------------------- /vendor/google.golang.org/api/AUTHORS: -------------------------------------------------------------------------------- 1 | # This is the official list of authors for copyright purposes. 2 | # This file is distinct from the CONTRIBUTORS files. 3 | # See the latter for an explanation. 4 | 5 | # Names should be added to this file as 6 | # Name or Organization 7 | # The email address is not required for organizations. 8 | 9 | # Please keep the list sorted. 10 | Google Inc. 11 | LightStep Inc. 12 | -------------------------------------------------------------------------------- /vendor/github.com/aws/smithy-go/transport/http/time.go: -------------------------------------------------------------------------------- 1 | package http 2 | 3 | import ( 4 | "time" 5 | 6 | smithytime "github.com/aws/smithy-go/time" 7 | ) 8 | 9 | // ParseTime parses a time string like the HTTP Date header. This uses a more 10 | // relaxed rule set for date parsing compared to the standard library. 11 | func ParseTime(text string) (t time.Time, err error) { 12 | return smithytime.ParseHTTPDate(text) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/policy/doc.go: -------------------------------------------------------------------------------- 1 | //go:build go1.18 2 | // +build go1.18 3 | 4 | // Copyright 2017 Microsoft Corporation. All rights reserved. 5 | // Use of this source code is governed by an MIT 6 | // license that can be found in the LICENSE file. 7 | 8 | // Package policy contains the definitions needed for configuring in-box pipeline policies 9 | // and creating custom policies. 10 | package policy 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/error_response.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | // This file was generated by the swagger tool. 4 | // Editing this file might prove futile when you re-run the swagger generate command 5 | 6 | // ErrorResponse Represents an error. 7 | // swagger:model ErrorResponse 8 | type ErrorResponse struct { 9 | 10 | // The error message. 11 | // Required: true 12 | Message string `json:"message"` 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/moby/buildkit/util/stack/stack.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package stack; 4 | 5 | option go_package = "github.com/moby/buildkit/util/stack"; 6 | 7 | message Stack { 8 | repeated Frame frames = 1; 9 | repeated string cmdline = 2; 10 | int32 pid = 3; 11 | string version = 4; 12 | string revision = 5; 13 | } 14 | 15 | message Frame { 16 | string Name = 1; 17 | string File = 2; 18 | int32 Line = 3; 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/otiai10/mint/because.go: -------------------------------------------------------------------------------- 1 | package mint 2 | 3 | import "testing" 4 | 5 | // Because is context printer. 6 | func Because(t *testing.T, context string, wrapper func(*testing.T)) { 7 | Log(" Because ", context, "\n") 8 | wrapper(t) 9 | } 10 | 11 | // When is an alternative of `Because` 12 | func When(t *testing.T, context string, wrapper func(*testing.T)) { 13 | Log(" When ", context, "\n") 14 | wrapper(t) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/spiffe/go-spiffe/v2/bundle/spiffebundle/source.go: -------------------------------------------------------------------------------- 1 | package spiffebundle 2 | 3 | import "github.com/spiffe/go-spiffe/v2/spiffeid" 4 | 5 | // Source represents a source of SPIFFE bundles keyed by trust domain. 6 | type Source interface { 7 | // GetBundleForTrustDomain returns the SPIFFE bundle for the given trust 8 | // domain. 9 | GetBundleForTrustDomain(trustDomain spiffeid.TrustDomain) (*Bundle, error) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | // Package otelhttp provides an http.Handler and functions that are intended 5 | // to be used to add tracing by wrapping existing handlers (with Handler) and 6 | // routes WithRouteTag. 7 | package otelhttp // import "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp" 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/config_go126.go: -------------------------------------------------------------------------------- 1 | // Copyright 2025 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build go1.26 6 | 7 | package http2 8 | 9 | import ( 10 | "net/http" 11 | ) 12 | 13 | func http2ConfigStrictMaxConcurrentRequests(h2 *http.HTTP2Config) bool { 14 | return h2.StrictMaxConcurrentRequests 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/endian_little.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | //go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh 6 | 7 | package unix 8 | 9 | const isBigEndian = false 10 | -------------------------------------------------------------------------------- /vendor/cloud.google.com/go/storage/.repo-metadata.json: -------------------------------------------------------------------------------- 1 | { 2 | "api_shortname": "storage", 3 | "client_documentation": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/storage/latest", 4 | "client_library_type": "manual", 5 | "description": "Cloud Storage (GCS)", 6 | "distribution_name": "cloud.google.com/go/storage", 7 | "language": "go", 8 | "library_type": "GAPIC_MANUAL", 9 | "release_level": "stable" 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go-v2/service/signin/doc.go: -------------------------------------------------------------------------------- 1 | // Code generated by smithy-go-codegen DO NOT EDIT. 2 | 3 | // Package signin provides the API client, operations, and parameter types for AWS 4 | // Sign-In Service. 5 | // 6 | // AWS Sign-In manages authentication for AWS services. This service provides 7 | // secure authentication flows for accessing AWS resources from the console and 8 | // developer tools. 9 | package signin 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/volume/options.go: -------------------------------------------------------------------------------- 1 | package volume 2 | 3 | import "github.com/docker/docker/api/types/filters" 4 | 5 | // ListOptions holds parameters to list volumes. 6 | type ListOptions struct { 7 | Filters filters.Args 8 | } 9 | 10 | // PruneReport contains the response for Engine API: 11 | // POST "/volumes/prune" 12 | type PruneReport struct { 13 | VolumesDeleted []string 14 | SpaceReclaimed uint64 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/swarm_leave.go: -------------------------------------------------------------------------------- 1 | package client 2 | 3 | import ( 4 | "context" 5 | "net/url" 6 | ) 7 | 8 | // SwarmLeave leaves the swarm. 9 | func (cli *Client) SwarmLeave(ctx context.Context, force bool) error { 10 | query := url.Values{} 11 | if force { 12 | query.Set("force", "1") 13 | } 14 | resp, err := cli.post(ctx, "/swarm/leave", query, nil, nil) 15 | ensureReaderClosed(resp) 16 | return err 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/kevinburke/ssh_config/AUTHORS.txt: -------------------------------------------------------------------------------- 1 | Carlos A Becker 2 | Dustin Spicuzza 3 | Eugene Terentev 4 | Kevin Burke 5 | Mark Nevill 6 | Scott Lessans 7 | Sergey Lukjanov 8 | Wayne Ashley Berry 9 | santosh653 <70637961+santosh653@users.noreply.github.com> 10 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/internal/encoding/yaml/codec.go: -------------------------------------------------------------------------------- 1 | package yaml 2 | 3 | import "gopkg.in/yaml.v3" 4 | 5 | // Codec implements the encoding.Encoder and encoding.Decoder interfaces for YAML encoding. 6 | type Codec struct{} 7 | 8 | func (Codec) Encode(v map[string]any) ([]byte, error) { 9 | return yaml.Marshal(v) 10 | } 11 | 12 | func (Codec) Decode(b []byte, v map[string]any) error { 13 | return yaml.Unmarshal(b, &v) 14 | } 15 | --------------------------------------------------------------------------------