├── docs ├── CNAME ├── usage │ ├── commands │ │ └── .pages │ ├── advanced │ │ ├── .pages │ │ └── cuda │ │ │ └── cuda-vector-add.yaml │ └── .pages ├── .pages ├── faq │ └── .pages ├── design │ └── .pages ├── static │ └── img │ │ ├── k3d_logo_black_blue.png │ │ ├── k3d_logo_black_green.png │ │ ├── favicons_black_blue │ │ ├── favicon.png │ │ ├── favicon-16x16.png │ │ ├── favicon-32x32.png │ │ ├── apple-touch-icon.png │ │ ├── android-chrome-192x192.png │ │ ├── android-chrome-512x512.png │ │ └── site.webmanifest │ │ └── favicons_black_green │ │ ├── favicon.ico │ │ ├── favicon-16x16.png │ │ ├── favicon-32x32.png │ │ ├── apple-touch-icon.png │ │ ├── android-chrome-192x192.png │ │ ├── android-chrome-512x512.png │ │ └── site.webmanifest └── requirements.txt ├── vendor ├── github.com │ ├── felixge │ │ └── httpsnoop │ │ │ ├── .gitignore │ │ │ ├── Makefile │ │ │ └── docs.go │ ├── klauspost │ │ └── compress │ │ │ ├── s2sx.sum │ │ │ ├── huff0 │ │ │ └── .gitignore │ │ │ ├── .gitattributes │ │ │ ├── s2sx.mod │ │ │ ├── gen.sh │ │ │ ├── internal │ │ │ └── cpuinfo │ │ │ │ └── cpuinfo_amd64.go │ │ │ └── zstd │ │ │ ├── internal │ │ │ └── xxhash │ │ │ │ ├── xxhash_safe.go │ │ │ │ └── xxhash_asm.go │ │ │ └── matchlen_amd64.go │ ├── modern-go │ │ ├── reflect2 │ │ │ ├── reflect2_amd64.s │ │ │ ├── relfect2_386.s │ │ │ ├── relfect2_arm.s │ │ │ ├── relfect2_arm64.s │ │ │ ├── relfect2_mipsx.s │ │ │ ├── relfect2_s390x.s │ │ │ ├── relfect2_amd64p32.s │ │ │ ├── relfect2_mips64x.s │ │ │ ├── relfect2_ppc64x.s │ │ │ ├── .gitignore │ │ │ ├── Gopkg.lock │ │ │ ├── .travis.yml │ │ │ └── go_above_19.go │ │ └── concurrent │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── go_above_19.go │ │ │ ├── test.sh │ │ │ └── log.go │ ├── docker │ │ ├── go-connections │ │ │ ├── sockets │ │ │ │ └── README.md │ │ │ └── tlsconfig │ │ │ │ └── certpool.go │ │ ├── distribution │ │ │ ├── .dockerignore │ │ │ ├── manifest │ │ │ │ └── doc.go │ │ │ ├── doc.go │ │ │ └── metrics │ │ │ │ └── prometheus.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 │ │ │ │ ├── connhelper │ │ │ │ │ └── commandconn │ │ │ │ │ │ ├── session_windows.go │ │ │ │ │ │ ├── pdeathsig_nolinux.go │ │ │ │ │ │ ├── pdeathsig_linux.go │ │ │ │ │ │ └── session_unix.go │ │ │ │ ├── context │ │ │ │ │ ├── docker │ │ │ │ │ │ └── constants.go │ │ │ │ │ └── endpoint.go │ │ │ │ ├── version │ │ │ │ │ └── version.go │ │ │ │ └── hints │ │ │ │ │ └── hints.go │ │ │ └── opts │ │ │ │ └── hosts_unix.go │ │ ├── docker │ │ │ ├── api │ │ │ │ ├── types │ │ │ │ │ ├── error_response_ext.go │ │ │ │ │ ├── checkpoint │ │ │ │ │ │ └── list.go │ │ │ │ │ ├── swarm │ │ │ │ │ │ ├── runtime │ │ │ │ │ │ │ └── gen.go │ │ │ │ │ │ └── service_update_response.go │ │ │ │ │ ├── container │ │ │ │ │ │ ├── errors.go │ │ │ │ │ │ ├── wait_exit_error.go │ │ │ │ │ │ └── change_type.go │ │ │ │ │ ├── volume │ │ │ │ │ │ ├── options.go │ │ │ │ │ │ └── volume_update.go │ │ │ │ │ ├── image │ │ │ │ │ │ └── image.go │ │ │ │ │ ├── error_response.go │ │ │ │ │ └── id_response.go │ │ │ │ └── swagger-gen.yaml │ │ │ ├── pkg │ │ │ │ ├── archive │ │ │ │ │ ├── diff_windows.go │ │ │ │ │ ├── copy_windows.go │ │ │ │ │ ├── archive_other.go │ │ │ │ │ ├── copy_unix.go │ │ │ │ │ ├── path_unix.go │ │ │ │ │ ├── time_unsupported.go │ │ │ │ │ └── time_linux.go │ │ │ │ └── system │ │ │ │ │ ├── errors.go │ │ │ │ │ ├── utimes_unsupported.go │ │ │ │ │ ├── lstat_windows.go │ │ │ │ │ ├── chtimes_nowindows.go │ │ │ │ │ ├── stat_openbsd.go │ │ │ │ │ ├── stat_darwin.go │ │ │ │ │ ├── mknod_freebsd.go │ │ │ │ │ ├── mknod_unix.go │ │ │ │ │ ├── stat_bsd.go │ │ │ │ │ └── args_windows.go │ │ │ └── client │ │ │ │ ├── client_windows.go │ │ │ │ ├── client_unix.go │ │ │ │ ├── interface_stable.go │ │ │ │ ├── service_remove.go │ │ │ │ ├── network_remove.go │ │ │ │ ├── plugin_set.go │ │ │ │ ├── swarm_join.go │ │ │ │ ├── container_unpause.go │ │ │ │ ├── container_pause.go │ │ │ │ ├── swarm_unlock.go │ │ │ │ ├── config_remove.go │ │ │ │ ├── secret_remove.go │ │ │ │ └── swarm_leave.go │ │ ├── go-metrics │ │ │ ├── docs.go │ │ │ ├── helpers.go │ │ │ ├── unit.go │ │ │ └── register.go │ │ └── go-units │ │ │ └── circle.yml │ ├── miekg │ │ └── pkcs11 │ │ │ ├── softhsm.conf │ │ │ ├── .gitignore │ │ │ ├── hsm.db │ │ │ ├── softhsm2.conf │ │ │ └── release.go │ ├── spf13 │ │ ├── pflag │ │ │ ├── .gitignore │ │ │ └── .travis.yml │ │ ├── viper │ │ │ ├── .yamlignore │ │ │ ├── .gitignore │ │ │ ├── internal │ │ │ │ ├── features │ │ │ │ │ ├── bind_struct.go │ │ │ │ │ └── bind_struct_default.go │ │ │ │ └── encoding │ │ │ │ │ ├── error.go │ │ │ │ │ ├── yaml │ │ │ │ │ └── codec.go │ │ │ │ │ └── toml │ │ │ │ │ └── codec.go │ │ │ ├── .yamllint.yaml │ │ │ ├── .envrc │ │ │ └── .editorconfig │ │ ├── afero │ │ │ ├── .gitignore │ │ │ └── appveyor.yml │ │ ├── cobra │ │ │ ├── .mailmap │ │ │ └── MAINTAINERS │ │ └── cast │ │ │ └── .gitignore │ ├── subosito │ │ └── gotenv │ │ │ ├── .env │ │ │ ├── .env.invalid │ │ │ ├── .gitignore │ │ │ └── .golangci.yaml │ ├── go-test │ │ └── deep │ │ │ └── .gitignore │ ├── mitchellh │ │ ├── reflectwalk │ │ │ ├── .travis.yml │ │ │ ├── README.md │ │ │ └── location.go │ │ └── copystructure │ │ │ └── copier_time.go │ ├── theupdateframework │ │ └── notary │ │ │ ├── NOTARY_VERSION │ │ │ ├── Jenkinsfile │ │ │ ├── const_windows.go │ │ │ ├── tuf │ │ │ └── README.md │ │ │ ├── CONTRIBUTORS │ │ │ ├── trustmanager │ │ │ ├── yubikey │ │ │ │ ├── pkcs11_darwin.go │ │ │ │ ├── non_pkcs11.go │ │ │ │ └── pkcs11_linux.go │ │ │ └── importLogic.md │ │ │ ├── .gitignore │ │ │ ├── const_nowindows.go │ │ │ ├── escrow.Dockerfile │ │ │ └── fips.go │ ├── Microsoft │ │ └── go-winio │ │ │ ├── .gitattributes │ │ │ ├── CODEOWNERS │ │ │ ├── internal │ │ │ └── fs │ │ │ │ └── doc.go │ │ │ ├── tools.go │ │ │ ├── .gitignore │ │ │ └── syscall.go │ ├── goodhosts │ │ └── hostsfile │ │ │ ├── .gitignore │ │ │ ├── build.go │ │ │ ├── os.go │ │ │ └── os_windows.go │ ├── distribution │ │ └── reference │ │ │ ├── .gitattributes │ │ │ ├── .gitignore │ │ │ ├── CODE-OF-CONDUCT.md │ │ │ ├── SECURITY.md │ │ │ └── .golangci.yml │ ├── urfave │ │ └── cli │ │ │ ├── .flake8 │ │ │ └── .gitignore │ ├── fsnotify │ │ └── fsnotify │ │ │ ├── .gitattributes │ │ │ ├── .gitignore │ │ │ ├── .mailmap │ │ │ ├── system_darwin.go │ │ │ ├── system_bsd.go │ │ │ └── .editorconfig │ ├── 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 │ ├── matttproud │ │ └── golang_protobuf_extensions │ │ │ ├── pbutil │ │ │ ├── .gitignore │ │ │ └── Makefile │ │ │ └── NOTICE │ ├── pelletier │ │ └── go-toml │ │ │ └── v2 │ │ │ ├── internal │ │ │ └── tracker │ │ │ │ └── tracker.go │ │ │ ├── .dockerignore │ │ │ ├── doc.go │ │ │ ├── .gitattributes │ │ │ ├── .gitignore │ │ │ ├── Dockerfile │ │ │ └── unstable │ │ │ └── doc.go │ ├── prometheus │ │ ├── procfs │ │ │ ├── .gitignore │ │ │ ├── MAINTAINERS.md │ │ │ ├── CODE_OF_CONDUCT.md │ │ │ ├── SECURITY.md │ │ │ ├── .golangci.yml │ │ │ └── NOTICE │ │ ├── client_golang │ │ │ └── prometheus │ │ │ │ ├── .gitignore │ │ │ │ └── README.md │ │ ├── client_model │ │ │ └── NOTICE │ │ └── common │ │ │ └── NOTICE │ ├── xeipuuv │ │ ├── gojsonschema │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ └── glide.yaml │ │ └── gojsonreference │ │ │ └── README.md │ ├── json-iterator │ │ └── go │ │ │ ├── .codecov.yml │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── test.sh │ │ │ └── build.sh │ ├── sagikazarmark │ │ ├── slog-shim │ │ │ ├── .gitignore │ │ │ ├── .envrc │ │ │ └── .editorconfig │ │ └── locafero │ │ │ ├── .gitignore │ │ │ ├── justfile │ │ │ ├── .envrc │ │ │ └── .editorconfig │ ├── opencontainers │ │ └── go-digest │ │ │ ├── .travis.yml │ │ │ ├── .mailmap │ │ │ └── MAINTAINERS │ ├── russross │ │ └── blackfriday │ │ │ └── v2 │ │ │ └── .gitignore │ ├── magiconair │ │ └── properties │ │ │ └── .gitignore │ ├── moby │ │ └── term │ │ │ ├── doc.go │ │ │ ├── termios_bsd.go │ │ │ ├── termios_nonbsd.go │ │ │ ├── .gitignore │ │ │ └── windows │ │ │ └── doc.go │ ├── asaskevich │ │ └── govalidator │ │ │ ├── doc.go │ │ │ ├── .travis.yml │ │ │ ├── .gitignore │ │ │ └── wercker.yml │ ├── hashicorp │ │ └── hcl │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── Makefile │ │ │ ├── hcl │ │ │ └── parser │ │ │ │ └── error.go │ │ │ └── appveyor.yml │ ├── Azure │ │ └── go-ansiterm │ │ │ ├── context.go │ │ │ ├── winterm │ │ │ └── utilities.go │ │ │ └── utilities.go │ ├── google │ │ ├── gofuzz │ │ │ └── .travis.yml │ │ ├── go-containerregistry │ │ │ └── pkg │ │ │ │ ├── name │ │ │ │ └── README.md │ │ │ │ ├── v1 │ │ │ │ └── layout │ │ │ │ │ └── README.md │ │ │ │ └── legacy │ │ │ │ └── tarball │ │ │ │ └── README.md │ │ └── go-cmp │ │ │ └── cmp │ │ │ └── internal │ │ │ └── flags │ │ │ └── flags.go │ ├── go-logr │ │ ├── logr │ │ │ └── CHANGELOG.md │ │ └── stdr │ │ │ └── README.md │ ├── liggitt │ │ └── tabwriter │ │ │ └── .travis.yml │ ├── pkg │ │ └── errors │ │ │ ├── .travis.yml │ │ │ └── .gitignore │ ├── golang │ │ └── protobuf │ │ │ ├── AUTHORS │ │ │ └── CONTRIBUTORS │ ├── sourcegraph │ │ └── conc │ │ │ ├── internal │ │ │ └── multierror │ │ │ │ ├── multierror_go120.go │ │ │ │ └── multierror_go119.go │ │ │ ├── .golangci.yml │ │ │ └── panics │ │ │ └── try.go │ ├── imdario │ │ └── mergo │ │ │ ├── .deepsource.toml │ │ │ ├── .travis.yml │ │ │ └── SECURITY.md │ ├── fvbommel │ │ └── sortorder │ │ │ ├── doc.go │ │ │ ├── .gitignore │ │ │ └── README.md │ ├── gorilla │ │ └── mux │ │ │ └── AUTHORS │ ├── cespare │ │ └── xxhash │ │ │ └── v2 │ │ │ ├── testall.sh │ │ │ └── xxhash_asm.go │ └── cpuguy83 │ │ └── go-md2man │ │ └── v2 │ │ └── md2man │ │ └── md2man.go ├── golang.org │ └── x │ │ ├── net │ │ ├── http2 │ │ │ └── .gitignore │ │ └── idna │ │ │ ├── pre_go118.go │ │ │ └── go118.go │ │ ├── sys │ │ ├── unix │ │ │ ├── .gitignore │ │ │ ├── ptrace_ios.go │ │ │ ├── syscall_linux_amd64_gc.go │ │ │ ├── endian_big.go │ │ │ ├── ptrace_darwin.go │ │ │ ├── constants.go │ │ │ ├── endian_little.go │ │ │ ├── mmap_nomremap.go │ │ │ ├── aliases.go │ │ │ ├── pagesize_unix.go │ │ │ ├── readdirent_getdents.go │ │ │ └── sysvshm_unix_other.go │ │ ├── plan9 │ │ │ ├── asm.s │ │ │ └── pwd_go15_plan9.go │ │ └── windows │ │ │ ├── empty.s │ │ │ ├── aliases.go │ │ │ └── mksyscall.go │ │ ├── term │ │ ├── codereview.cfg │ │ ├── term_unix_other.go │ │ └── term_unix_bsd.go │ │ ├── oauth2 │ │ ├── internal │ │ │ ├── doc.go │ │ │ └── client_appengine.go │ │ └── .travis.yml │ │ ├── tools │ │ └── internal │ │ │ ├── pkgbits │ │ │ ├── flags.go │ │ │ └── support.go │ │ │ ├── event │ │ │ └── doc.go │ │ │ ├── gcimporter │ │ │ ├── unified_yes.go │ │ │ ├── unified_no.go │ │ │ ├── support_go117.go │ │ │ └── newInterface11.go │ │ │ └── typesinternal │ │ │ └── types_118.go │ │ ├── exp │ │ └── slog │ │ │ └── internal │ │ │ └── ignorepc.go │ │ ├── text │ │ └── secure │ │ │ └── bidirule │ │ │ ├── bidirule10.0.0.go │ │ │ └── bidirule9.0.0.go │ │ └── sync │ │ └── errgroup │ │ ├── go120.go │ │ └── pre_go120.go ├── go.opentelemetry.io │ ├── otel │ │ ├── requirements.txt │ │ ├── .codespellignore │ │ ├── .gitattributes │ │ ├── codes │ │ │ ├── README.md │ │ │ └── doc.go │ │ ├── baggage │ │ │ ├── README.md │ │ │ └── doc.go │ │ ├── metric │ │ │ ├── README.md │ │ │ └── embedded │ │ │ │ └── README.md │ │ ├── trace │ │ │ ├── README.md │ │ │ └── embedded │ │ │ │ └── README.md │ │ ├── .gitmodules │ │ ├── attribute │ │ │ ├── README.md │ │ │ └── doc.go │ │ ├── propagation │ │ │ └── README.md │ │ ├── semconv │ │ │ └── v1.20.0 │ │ │ │ ├── README.md │ │ │ │ ├── exception.go │ │ │ │ └── http.go │ │ ├── version.go │ │ ├── .codespellrc │ │ ├── .lycheeignore │ │ ├── .gitignore │ │ ├── internal_logging.go │ │ └── .markdownlint.yaml │ └── contrib │ │ └── instrumentation │ │ └── net │ │ └── http │ │ └── otelhttp │ │ └── doc.go ├── go4.org │ └── netipx │ │ ├── .gitignore │ │ ├── .gitmodules │ │ └── AUTHORS ├── go.uber.org │ ├── multierr │ │ ├── .gitignore │ │ └── glide.yaml │ └── atomic │ │ └── .gitignore ├── sigs.k8s.io │ ├── json │ │ ├── OWNERS │ │ └── code-of-conduct.md │ └── yaml │ │ ├── code-of-conduct.md │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── OWNERS │ │ └── goyaml.v2 │ │ └── OWNERS ├── k8s.io │ ├── client-go │ │ ├── tools │ │ │ ├── metrics │ │ │ │ └── OWNERS │ │ │ └── auth │ │ │ │ └── OWNERS │ │ ├── util │ │ │ ├── keyutil │ │ │ │ └── OWNERS │ │ │ └── cert │ │ │ │ └── OWNERS │ │ ├── transport │ │ │ └── OWNERS │ │ ├── pkg │ │ │ └── apis │ │ │ │ └── clientauthentication │ │ │ │ └── OWNERS │ │ └── rest │ │ │ └── OWNERS │ ├── klog │ │ └── v2 │ │ │ ├── .golangci.yaml │ │ │ ├── code-of-conduct.md │ │ │ ├── OWNERS │ │ │ ├── internal │ │ │ └── clock │ │ │ │ └── README.md │ │ │ ├── .gitignore │ │ │ └── klog_file_others.go │ ├── utils │ │ └── clock │ │ │ └── README.md │ └── apimachinery │ │ └── pkg │ │ ├── api │ │ ├── resource │ │ │ └── OWNERS │ │ └── errors │ │ │ └── OWNERS │ │ └── apis │ │ └── meta │ │ └── v1 │ │ └── OWNERS ├── gopkg.in │ ├── ini.v1 │ │ ├── .gitignore │ │ ├── .editorconfig │ │ ├── Makefile │ │ └── codecov.yml │ └── yaml.v2 │ │ └── .travis.yml └── google.golang.org │ ├── protobuf │ ├── internal │ │ ├── editiondefaults │ │ │ ├── editions_defaults.binpb │ │ │ └── defaults.go │ │ ├── flags │ │ │ ├── proto_legacy_enable.go │ │ │ └── proto_legacy_disable.go │ │ ├── impl │ │ │ └── codec_map_go112.go │ │ └── errors │ │ │ └── is_go113.go │ ├── encoding │ │ └── prototext │ │ │ └── doc.go │ └── runtime │ │ └── protoiface │ │ └── legacy.go │ └── appengine │ └── internal │ ├── identity_flex.go │ ├── main_common.go │ └── main.go ├── tools ├── vendor │ ├── github.com │ │ ├── felixge │ │ │ └── httpsnoop │ │ │ │ ├── .gitignore │ │ │ │ ├── Makefile │ │ │ │ └── docs.go │ │ ├── docker │ │ │ ├── go-connections │ │ │ │ ├── sockets │ │ │ │ │ └── README.md │ │ │ │ └── tlsconfig │ │ │ │ │ └── certpool_other.go │ │ │ ├── docker │ │ │ │ ├── api │ │ │ │ │ ├── types │ │ │ │ │ │ ├── error_response_ext.go │ │ │ │ │ │ ├── checkpoint │ │ │ │ │ │ │ └── list.go │ │ │ │ │ │ ├── swarm │ │ │ │ │ │ │ ├── runtime │ │ │ │ │ │ │ │ └── gen.go │ │ │ │ │ │ │ └── service_update_response.go │ │ │ │ │ │ ├── container │ │ │ │ │ │ │ ├── errors.go │ │ │ │ │ │ │ ├── wait_exit_error.go │ │ │ │ │ │ │ └── change_type.go │ │ │ │ │ │ ├── volume │ │ │ │ │ │ │ ├── options.go │ │ │ │ │ │ │ └── volume_update.go │ │ │ │ │ │ ├── image │ │ │ │ │ │ │ └── image.go │ │ │ │ │ │ ├── error_response.go │ │ │ │ │ │ └── id_response.go │ │ │ │ │ └── swagger-gen.yaml │ │ │ │ └── client │ │ │ │ │ ├── client_windows.go │ │ │ │ │ ├── client_unix.go │ │ │ │ │ ├── interface_stable.go │ │ │ │ │ ├── service_remove.go │ │ │ │ │ ├── network_remove.go │ │ │ │ │ ├── plugin_set.go │ │ │ │ │ ├── swarm_join.go │ │ │ │ │ ├── container_unpause.go │ │ │ │ │ ├── container_pause.go │ │ │ │ │ ├── swarm_unlock.go │ │ │ │ │ ├── config_remove.go │ │ │ │ │ ├── secret_remove.go │ │ │ │ │ └── swarm_leave.go │ │ │ └── go-units │ │ │ │ └── circle.yml │ │ ├── Microsoft │ │ │ └── go-winio │ │ │ │ ├── .gitattributes │ │ │ │ ├── CODEOWNERS │ │ │ │ ├── tools.go │ │ │ │ ├── .gitignore │ │ │ │ └── syscall.go │ │ ├── distribution │ │ │ └── reference │ │ │ │ ├── .gitattributes │ │ │ │ ├── .gitignore │ │ │ │ ├── CODE-OF-CONDUCT.md │ │ │ │ ├── SECURITY.md │ │ │ │ └── .golangci.yml │ │ ├── urfave │ │ │ └── cli │ │ │ │ ├── .flake8 │ │ │ │ └── .gitignore │ │ ├── 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 │ │ ├── opencontainers │ │ │ └── go-digest │ │ │ │ ├── .travis.yml │ │ │ │ ├── .mailmap │ │ │ │ └── MAINTAINERS │ │ ├── russross │ │ │ └── blackfriday │ │ │ │ └── v2 │ │ │ │ └── .gitignore │ │ ├── go-logr │ │ │ ├── logr │ │ │ │ └── CHANGELOG.md │ │ │ └── stdr │ │ │ │ └── README.md │ │ ├── pkg │ │ │ └── errors │ │ │ │ ├── .travis.yml │ │ │ │ └── .gitignore │ │ └── cpuguy83 │ │ │ └── go-md2man │ │ │ └── v2 │ │ │ └── md2man │ │ │ └── md2man.go │ ├── golang.org │ │ └── x │ │ │ ├── sys │ │ │ ├── unix │ │ │ │ ├── .gitignore │ │ │ │ ├── ptrace_ios.go │ │ │ │ ├── syscall_linux_amd64_gc.go │ │ │ │ ├── ptrace_darwin.go │ │ │ │ ├── endian_big.go │ │ │ │ ├── constants.go │ │ │ │ ├── endian_little.go │ │ │ │ ├── mmap_nomremap.go │ │ │ │ ├── aliases.go │ │ │ │ ├── pagesize_unix.go │ │ │ │ ├── readdirent_getdents.go │ │ │ │ └── sysvshm_unix_other.go │ │ │ ├── windows │ │ │ │ ├── empty.s │ │ │ │ ├── aliases.go │ │ │ │ └── mksyscall.go │ │ │ └── execabs │ │ │ │ └── execabs_go118.go │ │ │ └── tools │ │ │ └── internal │ │ │ ├── pkgbits │ │ │ ├── flags.go │ │ │ └── support.go │ │ │ ├── event │ │ │ └── doc.go │ │ │ ├── gcimporter │ │ │ ├── unified_yes.go │ │ │ ├── unified_no.go │ │ │ ├── support_go117.go │ │ │ └── newInterface11.go │ │ │ └── typeparams │ │ │ └── enabled_go117.go │ └── go.opentelemetry.io │ │ ├── otel │ │ ├── requirements.txt │ │ ├── .codespellignore │ │ ├── .gitattributes │ │ ├── codes │ │ │ ├── README.md │ │ │ └── doc.go │ │ ├── trace │ │ │ ├── README.md │ │ │ └── embedded │ │ │ │ └── README.md │ │ ├── .gitmodules │ │ ├── baggage │ │ │ ├── README.md │ │ │ └── doc.go │ │ ├── metric │ │ │ ├── README.md │ │ │ └── embedded │ │ │ │ └── README.md │ │ ├── attribute │ │ │ ├── README.md │ │ │ └── doc.go │ │ ├── propagation │ │ │ └── README.md │ │ ├── semconv │ │ │ └── v1.20.0 │ │ │ │ ├── README.md │ │ │ │ ├── exception.go │ │ │ │ └── http.go │ │ ├── version.go │ │ ├── .codespellrc │ │ ├── .lycheeignore │ │ ├── .gitignore │ │ ├── internal_logging.go │ │ └── .markdownlint.yaml │ │ └── contrib │ │ └── instrumentation │ │ └── net │ │ └── http │ │ └── otelhttp │ │ └── doc.go ├── cmd │ └── commands.go └── Dockerfile ├── .dockerignore ├── pkg ├── config │ └── test_assets │ │ ├── config_test_unknown.yaml │ │ ├── ns-baz.yaml │ │ ├── config_test_simple_2.yaml │ │ ├── config_test_cluster.yaml │ │ ├── config_test_registries.yaml │ │ └── config_test_cluster_list.yaml ├── client │ └── test.json └── types │ └── fixes │ └── assets │ └── k3d-entrypoint-mounts.sh ├── go.work ├── .golangci.yml ├── tests └── assets │ ├── test_registries.yaml │ └── config_env.yaml ├── .github ├── FUNDING.yml └── workflows │ └── issue-sponsors.yaml ├── proxy ├── test │ └── portmap.yaml ├── Makefile ├── conf.d │ └── nginx.toml └── Dockerfile ├── docgen ├── main.go └── README.md └── .gitignore /docs/CNAME: -------------------------------------------------------------------------------- 1 | k3d.io -------------------------------------------------------------------------------- /docs/usage/commands/.pages: -------------------------------------------------------------------------------- 1 | title: Commands -------------------------------------------------------------------------------- /vendor/github.com/felixge/httpsnoop/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/s2sx.sum: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tools/vendor/github.com/felixge/httpsnoop/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/reflect2_amd64.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_386.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_arm.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_arm64.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_mipsx.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_s390x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/docker/go-connections/sockets/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/pkcs11/softhsm.conf: -------------------------------------------------------------------------------- 1 | 0:hsm.db 2 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_amd64p32.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_mips64x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_ppc64x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/* 2 | 3 | -------------------------------------------------------------------------------- /vendor/github.com/subosito/gotenv/.env: -------------------------------------------------------------------------------- 1 | HELLO=world 2 | -------------------------------------------------------------------------------- /vendor/github.com/subosito/gotenv/.env.invalid: -------------------------------------------------------------------------------- 1 | lol$wut 2 | -------------------------------------------------------------------------------- /tools/vendor/github.com/docker/go-connections/sockets/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/.dockerignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | -------------------------------------------------------------------------------- /vendor/github.com/go-test/deep/.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | *.out 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | h2i/h2i 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/.gitignore: -------------------------------------------------------------------------------- 1 | _obj/ 2 | unix.test 3 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/reflectwalk/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/.gitignore: -------------------------------------------------------------------------------- 1 | /coverage.txt 2 | -------------------------------------------------------------------------------- /vendor/github.com/theupdateframework/notary/NOTARY_VERSION: -------------------------------------------------------------------------------- 1 | 0.6.1 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/term/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /tools/vendor/golang.org/x/sys/unix/.gitignore: -------------------------------------------------------------------------------- 1 | _obj/ 2 | unix.test 3 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/go-winio/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf -------------------------------------------------------------------------------- /vendor/github.com/goodhosts/hostsfile/.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | coverage.txt -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/huff0/.gitignore: -------------------------------------------------------------------------------- 1 | /huff0-fuzz.zip 2 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/.yamlignore: -------------------------------------------------------------------------------- 1 | # TODO: FIXME 2 | /.github/ 3 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/requirements.txt: -------------------------------------------------------------------------------- 1 | codespell==2.2.6 2 | -------------------------------------------------------------------------------- /tools/vendor/github.com/Microsoft/go-winio/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf -------------------------------------------------------------------------------- /tools/vendor/go.opentelemetry.io/otel/requirements.txt: -------------------------------------------------------------------------------- 1 | codespell==2.2.6 2 | -------------------------------------------------------------------------------- /vendor/github.com/distribution/reference/.gitattributes: -------------------------------------------------------------------------------- 1 | *.go text eol=lf 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/manifest/doc.go: -------------------------------------------------------------------------------- 1 | package manifest 2 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /coverage.txt 3 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/.gitignore: -------------------------------------------------------------------------------- 1 | sftpfs/file1 2 | sftpfs/test/ 3 | -------------------------------------------------------------------------------- /vendor/github.com/urfave/cli/.flake8: -------------------------------------------------------------------------------- 1 | [flake8] 2 | max-line-length = 120 3 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | .github/ 2 | .local/ 3 | bin/ 4 | _dist/ 5 | proxy/ 6 | site/ 7 | -------------------------------------------------------------------------------- /tools/vendor/github.com/distribution/reference/.gitattributes: -------------------------------------------------------------------------------- 1 | *.go text eol=lf 2 | -------------------------------------------------------------------------------- /tools/vendor/github.com/urfave/cli/.flake8: -------------------------------------------------------------------------------- 1 | [flake8] 2 | max-line-length = 120 3 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/go-winio/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @microsoft/containerplat 2 | -------------------------------------------------------------------------------- /vendor/github.com/distribution/reference/.gitignore: -------------------------------------------------------------------------------- 1 | # Cover profiles 2 | *.out 3 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.gitattributes: -------------------------------------------------------------------------------- 1 | go.sum linguist-generated 2 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/.gitignore: -------------------------------------------------------------------------------- 1 | logrus 2 | vendor 3 | 4 | .idea/ 5 | -------------------------------------------------------------------------------- /vendor/go4.org/netipx/.gitignore: -------------------------------------------------------------------------------- 1 | crashers 2 | suppressions 3 | netaddr-fuzz.zip 4 | -------------------------------------------------------------------------------- /tools/vendor/github.com/Microsoft/go-winio/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @microsoft/containerplat 2 | -------------------------------------------------------------------------------- /tools/vendor/github.com/distribution/reference/.gitignore: -------------------------------------------------------------------------------- 1 | # Cover profiles 2 | *.out 3 | -------------------------------------------------------------------------------- /tools/vendor/github.com/sirupsen/logrus/.gitignore: -------------------------------------------------------------------------------- 1 | logrus 2 | vendor 3 | 4 | .idea/ 5 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/.gitattributes: -------------------------------------------------------------------------------- 1 | * -text 2 | *.bin -text -diff 3 | -------------------------------------------------------------------------------- /vendor/github.com/matttproud/golang_protobuf_extensions/pbutil/.gitignore: -------------------------------------------------------------------------------- 1 | cover.dat 2 | -------------------------------------------------------------------------------- /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/github.com/xeipuuv/gojsonschema/.gitignore: -------------------------------------------------------------------------------- 1 | *.sw[nop] 2 | *.iml 3 | .vscode/ 4 | -------------------------------------------------------------------------------- /vendor/go.uber.org/multierr/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | cover.html 3 | cover.out 4 | /bin 5 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.codecov.yml: -------------------------------------------------------------------------------- 1 | ignore: 2 | - "output_tests/.*" 3 | 4 | -------------------------------------------------------------------------------- /docs/.pages: -------------------------------------------------------------------------------- 1 | nav: 2 | - index.md 3 | - usage 4 | - design 5 | - faq 6 | collapse: false 7 | -------------------------------------------------------------------------------- /docs/faq/.pages: -------------------------------------------------------------------------------- 1 | title: FAQ 2 | nav: 3 | - faq.md 4 | - compatibility.md 5 | collapse: true 6 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/pkcs11/.gitignore: -------------------------------------------------------------------------------- 1 | tags 2 | test_db/*/generation 3 | test_db/*/*.lock 4 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /bug_test.go 3 | /coverage.txt 4 | /.idea 5 | -------------------------------------------------------------------------------- /vendor/github.com/subosito/gotenv/.gitignore: -------------------------------------------------------------------------------- 1 | *.test 2 | *.out 3 | annotate.json 4 | profile.cov 5 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/s2sx.mod: -------------------------------------------------------------------------------- 1 | module github.com/klauspost/compress 2 | 3 | go 1.16 4 | 5 | -------------------------------------------------------------------------------- /vendor/github.com/sagikazarmark/slog-shim/.gitignore: -------------------------------------------------------------------------------- 1 | /.devenv/ 2 | /.direnv/ 3 | /.task/ 4 | /build/ 5 | -------------------------------------------------------------------------------- /pkg/config/test_assets/config_test_unknown.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: k3d.io/v1alpha5 2 | kind: Unknown 3 | foo: bar 4 | -------------------------------------------------------------------------------- /pkg/config/test_assets/ns-baz.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | apiVersion: v1 3 | kind: Namespace 4 | metadata: 5 | name: baz 6 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/gen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cd s2/cmd/_s2sx/ || exit 1 4 | go generate . 5 | -------------------------------------------------------------------------------- /docs/usage/advanced/.pages: -------------------------------------------------------------------------------- 1 | title: Advanced Guides 2 | nav: 3 | - calico.md 4 | - cuda.md 5 | - podman.md 6 | -------------------------------------------------------------------------------- /go.work: -------------------------------------------------------------------------------- 1 | go 1.22.2 2 | 3 | // toolchain go1.22.2 4 | 5 | use ( 6 | . 7 | ./docgen 8 | ./tools 9 | ) 10 | -------------------------------------------------------------------------------- /vendor/github.com/matttproud/golang_protobuf_extensions/NOTICE: -------------------------------------------------------------------------------- 1 | Copyright 2012 Matt T. Proud (matt.proud@gmail.com) 2 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/.codespellignore: -------------------------------------------------------------------------------- 1 | ot 2 | fo 3 | te 4 | collison 5 | consequentially 6 | ans 7 | nam 8 | -------------------------------------------------------------------------------- /docs/design/.pages: -------------------------------------------------------------------------------- 1 | title: Design 2 | nav: 3 | - project.md 4 | - concepts.md 5 | - defaults.md 6 | - networking.md 7 | -------------------------------------------------------------------------------- /tools/vendor/go.opentelemetry.io/otel/.codespellignore: -------------------------------------------------------------------------------- 1 | ot 2 | fo 3 | te 4 | collison 5 | consequentially 6 | ans 7 | nam 8 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/pkcs11/hsm.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serverwentdown/k3d/main/vendor/github.com/miekg/pkcs11/hsm.db -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/go-digest/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.12.x 4 | - 1.13.x 5 | - master 6 | -------------------------------------------------------------------------------- /.golangci.yml: -------------------------------------------------------------------------------- 1 | linters-settings: 2 | errcheck: 3 | check-blank: false # to keep `_ = viper.BindPFlag(...)` from throwing errors -------------------------------------------------------------------------------- /docs/static/img/k3d_logo_black_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serverwentdown/k3d/main/docs/static/img/k3d_logo_black_blue.png -------------------------------------------------------------------------------- /tools/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/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 | -------------------------------------------------------------------------------- /vendor/github.com/russross/blackfriday/v2/.gitignore: -------------------------------------------------------------------------------- 1 | *.out 2 | *.swp 3 | *.8 4 | *.6 5 | _obj 6 | _test* 7 | markdown 8 | tags 9 | -------------------------------------------------------------------------------- /vendor/go4.org/netipx/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "corpus"] 2 | path = corpus 3 | url = https://github.com/inetaf/netaddr-corpus.git 4 | -------------------------------------------------------------------------------- /docs/static/img/k3d_logo_black_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serverwentdown/k3d/main/docs/static/img/k3d_logo_black_green.png -------------------------------------------------------------------------------- /tests/assets/test_registries.yaml: -------------------------------------------------------------------------------- 1 | mirrors: 2 | "my.company.registry": 3 | endpoint: 4 | - http://my.company.registry:5000 5 | -------------------------------------------------------------------------------- /tools/vendor/github.com/russross/blackfriday/v2/.gitignore: -------------------------------------------------------------------------------- 1 | *.out 2 | *.swp 3 | *.8 4 | *.6 5 | _obj 6 | _test* 7 | markdown 8 | tags 9 | -------------------------------------------------------------------------------- /vendor/github.com/goodhosts/hostsfile/build.go: -------------------------------------------------------------------------------- 1 | //go:build test 2 | // +build test 3 | 4 | package hostsfile 5 | 6 | func main() {} 7 | -------------------------------------------------------------------------------- /vendor/github.com/magiconair/properties/.gitignore: -------------------------------------------------------------------------------- 1 | *.sublime-project 2 | *.sublime-workspace 3 | *.un~ 4 | *.swp 5 | .idea/ 6 | *.iml 7 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/go-winio/tools.go: -------------------------------------------------------------------------------- 1 | //go:build tools 2 | 3 | package winio 4 | 5 | import _ "golang.org/x/tools/cmd/stringer" 6 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /docs/static/img/favicons_black_blue/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serverwentdown/k3d/main/docs/static/img/favicons_black_blue/favicon.png -------------------------------------------------------------------------------- /pkg/config/test_assets/config_test_simple_2.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: k3d.io/v1alpha5 2 | kind: Simple 3 | metadata: 4 | name: supertest 5 | agents: 8 6 | -------------------------------------------------------------------------------- /tools/vendor/github.com/Microsoft/go-winio/tools.go: -------------------------------------------------------------------------------- 1 | //go:build tools 2 | 3 | package winio 4 | 5 | import _ "golang.org/x/tools/cmd/stringer" 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 | -------------------------------------------------------------------------------- /docs/static/img/favicons_black_green/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serverwentdown/k3d/main/docs/static/img/favicons_black_green/favicon.ico -------------------------------------------------------------------------------- /tests/assets/config_env.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: k3d.io/v1alpha5 2 | kind: Simple 3 | metadata: 4 | name: testenvexpand 5 | servers: ${K3D_TEST_SERVERS} 6 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /vendor/sigs.k8s.io/json/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - deads2k 5 | - lavalamp 6 | - liggitt 7 | -------------------------------------------------------------------------------- /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/k8s.io/client-go/tools/metrics/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - wojtek-t 5 | - jayunit100 6 | -------------------------------------------------------------------------------- /docs/static/img/favicons_black_blue/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serverwentdown/k3d/main/docs/static/img/favicons_black_blue/favicon-16x16.png -------------------------------------------------------------------------------- /docs/static/img/favicons_black_blue/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serverwentdown/k3d/main/docs/static/img/favicons_black_blue/favicon-32x32.png -------------------------------------------------------------------------------- /docs/static/img/favicons_black_green/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serverwentdown/k3d/main/docs/static/img/favicons_black_green/favicon-16x16.png -------------------------------------------------------------------------------- /docs/static/img/favicons_black_green/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serverwentdown/k3d/main/docs/static/img/favicons_black_green/favicon-32x32.png -------------------------------------------------------------------------------- /vendor/github.com/asaskevich/govalidator/doc.go: -------------------------------------------------------------------------------- 1 | package govalidator 2 | 3 | // A package of validators and sanitizers for strings, structures and collections. 4 | -------------------------------------------------------------------------------- /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/miekg/pkcs11/softhsm2.conf: -------------------------------------------------------------------------------- 1 | log.level = INFO 2 | objectstore.backend = file 3 | directories.tokendir = test_data 4 | slots.removable = false 5 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/MAINTAINERS.md: -------------------------------------------------------------------------------- 1 | * Johannes 'fish' Ziemke @discordianfish 2 | * Paul Gier @pgier 3 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_js.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package logrus 4 | 5 | func isTerminal(fd int) bool { 6 | return false 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/.yamllint.yaml: -------------------------------------------------------------------------------- 1 | ignore-from-file: [.gitignore, .yamlignore] 2 | 3 | extends: default 4 | 5 | rules: 6 | line-length: disable 7 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/.golangci.yaml: -------------------------------------------------------------------------------- 1 | linters: 2 | disable-all: true 3 | enable: # sorted alphabetical 4 | - gofmt 5 | - misspell 6 | - revive 7 | -------------------------------------------------------------------------------- /vendor/k8s.io/utils/clock/README.md: -------------------------------------------------------------------------------- 1 | # Clock 2 | 3 | This package provides an interface for time-based operations. It allows 4 | mocking time for testing. 5 | -------------------------------------------------------------------------------- /docs/static/img/favicons_black_blue/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serverwentdown/k3d/main/docs/static/img/favicons_black_blue/apple-touch-icon.png -------------------------------------------------------------------------------- /docs/static/img/favicons_black_green/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serverwentdown/k3d/main/docs/static/img/favicons_black_green/apple-touch-icon.png -------------------------------------------------------------------------------- /pkg/client/test.json: -------------------------------------------------------------------------------- 1 | {"host":"test-host:5432","hostFromContainerRuntime":"test-host:1234","help":"https://k3d.io/stable/usage/registries/#using-a-local-registry"} 2 | -------------------------------------------------------------------------------- /pkg/config/test_assets/config_test_cluster.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: k3d.io/v1alpha5 2 | kind: Cluster 3 | name: foo 4 | nodes: 5 | - name: foo-node-0 6 | role: server 7 | -------------------------------------------------------------------------------- /tools/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/internal/features/bind_struct_default.go: -------------------------------------------------------------------------------- 1 | //go:build !viper_bind_struct 2 | 3 | package features 4 | 5 | const BindStruct = false 6 | -------------------------------------------------------------------------------- /vendor/go4.org/netipx/AUTHORS: -------------------------------------------------------------------------------- 1 | Alex Willmer 2 | Matt Layher 3 | Tailscale Inc. 4 | Tobias Klauser 5 | -------------------------------------------------------------------------------- /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/.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 | -------------------------------------------------------------------------------- /docs/static/img/favicons_black_blue/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serverwentdown/k3d/main/docs/static/img/favicons_black_blue/android-chrome-192x192.png -------------------------------------------------------------------------------- /docs/static/img/favicons_black_blue/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serverwentdown/k3d/main/docs/static/img/favicons_black_blue/android-chrome-512x512.png -------------------------------------------------------------------------------- /tools/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/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/docker/cli/cli/config/credentials/default_store_windows.go: -------------------------------------------------------------------------------- 1 | package credentials 2 | 3 | func defaultCredentialsStore() string { 4 | return "wincred" 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.mailmap: -------------------------------------------------------------------------------- 1 | Chris Howey 2 | Nathan Youngman <4566+nathany@users.noreply.github.com> 3 | -------------------------------------------------------------------------------- /vendor/github.com/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 -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /docs/static/img/favicons_black_green/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serverwentdown/k3d/main/docs/static/img/favicons_black_green/android-chrome-192x192.png -------------------------------------------------------------------------------- /docs/static/img/favicons_black_green/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serverwentdown/k3d/main/docs/static/img/favicons_black_green/android-chrome-512x512.png -------------------------------------------------------------------------------- /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/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/k8s.io/client-go/util/keyutil/OWNERS: -------------------------------------------------------------------------------- 1 | approvers: 2 | - sig-auth-certificates-approvers 3 | reviewers: 4 | - sig-auth-certificates-reviewers 5 | labels: 6 | - sig/auth 7 | -------------------------------------------------------------------------------- /vendor/github.com/docker/cli/cli/connhelper/commandconn/session_windows.go: -------------------------------------------------------------------------------- 1 | package commandconn 2 | 3 | import ( 4 | "os/exec" 5 | ) 6 | 7 | func createSession(cmd *exec.Cmd) { 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/google/gofuzz/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.11.x 5 | - 1.12.x 6 | - 1.13.x 7 | - master 8 | 9 | script: 10 | - go test -cover 11 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: k3d-io 4 | issuehunt: k3d-io/k3d 5 | liberapay: k3d-io 6 | custom: 7 | - https://www.buymeacoffee.com/thklein 8 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /pkg/types/fixes/assets/k3d-entrypoint-mounts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -o errexit 4 | set -o nounset 5 | 6 | echo "[$(date -Iseconds)] [Mounts] Fixing Mountpoints..." 7 | 8 | mount --make-rshared / 9 | -------------------------------------------------------------------------------- /proxy/test/portmap.yaml: -------------------------------------------------------------------------------- 1 | ports: 2 | 1234.tcp: 3 | - server-0 4 | - server-1 5 | 4321.udp: 6 | - agent-0 7 | - agent-1 8 | 9 | settings: 10 | workerConnections: 1030 11 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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/github.com/docker/docker/pkg/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/urfave/cli/.gitignore: -------------------------------------------------------------------------------- 1 | *.coverprofile 2 | coverage.txt 3 | node_modules/ 4 | vendor 5 | .idea 6 | /.local/ 7 | /internal/ 8 | /site/ 9 | package.json 10 | package-lock.json 11 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "opentelemetry-proto"] 2 | path = exporters/otlp/internal/opentelemetry-proto 3 | url = https://github.com/open-telemetry/opentelemetry-proto 4 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/code-of-conduct.md: -------------------------------------------------------------------------------- 1 | # Kubernetes Community Code of Conduct 2 | 3 | Please refer to our [Kubernetes Community Code of Conduct](https://git.k8s.io/community/code-of-conduct.md) 4 | -------------------------------------------------------------------------------- /vendor/sigs.k8s.io/json/code-of-conduct.md: -------------------------------------------------------------------------------- 1 | # Kubernetes Community Code of Conduct 2 | 3 | Please refer to our [Kubernetes Community Code of Conduct](https://git.k8s.io/community/code-of-conduct.md) 4 | -------------------------------------------------------------------------------- /vendor/sigs.k8s.io/yaml/code-of-conduct.md: -------------------------------------------------------------------------------- 1 | # Kubernetes Community Code of Conduct 2 | 3 | Please refer to our [Kubernetes Community Code of Conduct](https://git.k8s.io/community/code-of-conduct.md) 4 | -------------------------------------------------------------------------------- /tools/vendor/go.opentelemetry.io/otel/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "opentelemetry-proto"] 2 | path = exporters/otlp/internal/opentelemetry-proto 3 | url = https://github.com/open-telemetry/opentelemetry-proto 4 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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/github.com/Microsoft/go-winio/syscall.go: -------------------------------------------------------------------------------- 1 | //go:build windows 2 | 3 | package winio 4 | 5 | //go:generate go run github.com/Microsoft/go-winio/tools/mkwinsyscall -output zsyscall_windows.go ./*.go 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-logr/logr/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # CHANGELOG 2 | 3 | ## v1.0.0-rc1 4 | 5 | This is the first logged release. Major changes (including breaking changes) 6 | have occurred since earlier tags. 7 | -------------------------------------------------------------------------------- /vendor/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/matttproud/golang_protobuf_extensions/pbutil/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | 3 | cover: 4 | go test -cover -v -coverprofile=cover.dat ./... 5 | go tool cover -func cover.dat 6 | 7 | .PHONY: cover 8 | -------------------------------------------------------------------------------- /vendor/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 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/transport/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - smarterclayton 5 | - wojtek-t 6 | - deads2k 7 | - liggitt 8 | - caesarxuchao 9 | -------------------------------------------------------------------------------- /tools/cmd/commands.go: -------------------------------------------------------------------------------- 1 | package run 2 | 3 | import "github.com/urfave/cli" 4 | 5 | func ImageSave(c *cli.Context) error { 6 | return imageSave(c.Args(), c.String("destination"), c.String("cluster")) 7 | } 8 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/vendor/github.com/urfave/cli/.gitignore: -------------------------------------------------------------------------------- 1 | *.coverprofile 2 | coverage.txt 3 | node_modules/ 4 | vendor 5 | .idea 6 | /.local/ 7 | /internal/ 8 | /site/ 9 | package.json 10 | package-lock.json 11 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /vendor/github.com/docker/cli/cli/context/docker/constants.go: -------------------------------------------------------------------------------- 1 | package docker 2 | 3 | const ( 4 | // DockerEndpoint is the name of the docker endpoint in a stored context 5 | DockerEndpoint = "docker" 6 | ) 7 | -------------------------------------------------------------------------------- /vendor/github.com/liggitt/tabwriter/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - "1.8" 5 | - "1.9" 6 | - "1.10" 7 | - "1.11" 8 | - "1.12" 9 | - master 10 | 11 | script: go test -v ./... 12 | -------------------------------------------------------------------------------- /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/github.com/theupdateframework/notary/Jenkinsfile: -------------------------------------------------------------------------------- 1 | // Only run on Linux atm 2 | wrappedNode(label: 'ubuntu && ec2 && docker-edge') { 3 | deleteDir() 4 | stage "checkout" 5 | checkout scm 6 | 7 | } 8 | -------------------------------------------------------------------------------- /proxy/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: test 2 | 3 | test: 4 | docker build . -t ghcr.io/k3d-io/k3d-proxy:dev --no-cache 5 | docker run --rm -v $(shell pwd)/test/portmap.yaml:/etc/confd/values.yaml ghcr.io/k3d-io/k3d-proxy:dev 6 | -------------------------------------------------------------------------------- /tools/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/github.com/docker/cli/cli/connhelper/commandconn/pdeathsig_nolinux.go: -------------------------------------------------------------------------------- 1 | //go:build !linux 2 | 3 | package commandconn 4 | 5 | import ( 6 | "os/exec" 7 | ) 8 | 9 | func setPdeathsig(*exec.Cmd) {} 10 | -------------------------------------------------------------------------------- /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/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/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serverwentdown/k3d/main/vendor/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb -------------------------------------------------------------------------------- /tools/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/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/spf13/cobra/.mailmap: -------------------------------------------------------------------------------- 1 | Steve Francia 2 | Bjørn Erik Pedersen 3 | Fabiano Franz 4 | -------------------------------------------------------------------------------- /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/protobuf/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/golang/protobuf/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/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/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 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/vendor/go.opentelemetry.io/otel/trace/embedded/README.md: -------------------------------------------------------------------------------- 1 | # Trace Embedded 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/trace/embedded)](https://pkg.go.dev/go.opentelemetry.io/otel/trace/embedded) 4 | -------------------------------------------------------------------------------- /vendor/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.uber.org/multierr/glide.yaml: -------------------------------------------------------------------------------- 1 | package: go.uber.org/multierr 2 | import: 3 | - package: go.uber.org/atomic 4 | version: ^1 5 | testImport: 6 | - package: github.com/stretchr/testify 7 | subpackages: 8 | - assert 9 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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/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 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/util/cert/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - sig-auth-certificates-approvers 5 | reviewers: 6 | - sig-auth-certificates-reviewers 7 | labels: 8 | - sig/auth 9 | -------------------------------------------------------------------------------- /tools/vendor/github.com/sirupsen/logrus/terminal_check_no_terminal.go: -------------------------------------------------------------------------------- 1 | // +build js nacl plan9 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | ) 8 | 9 | func checkIfTerminal(w io.Writer) bool { 10 | return false 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/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/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 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/tools/auth/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - sig-auth-authenticators-approvers 5 | reviewers: 6 | - sig-auth-authenticators-reviewers 7 | labels: 8 | - sig/auth 9 | -------------------------------------------------------------------------------- /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.uber.org/atomic/.gitignore: -------------------------------------------------------------------------------- 1 | /bin 2 | .DS_Store 3 | /vendor 4 | cover.html 5 | cover.out 6 | lint.log 7 | 8 | # Binaries 9 | *.test 10 | 11 | # Profiling output 12 | *.prof 13 | 14 | # Output of fossa analyzer 15 | /fossa 16 | -------------------------------------------------------------------------------- /docs/usage/.pages: -------------------------------------------------------------------------------- 1 | title: Guides 2 | nav: 3 | - configfile.md 4 | - kubeconfig.md 5 | - multiserver.md 6 | - registries.md 7 | - exposing_services.md 8 | - importing_images.md 9 | - k3s.md 10 | - advanced 11 | - commands 12 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/.golangci.yml: -------------------------------------------------------------------------------- 1 | --- 2 | linters: 3 | enable: 4 | - godot 5 | - revive 6 | 7 | linter-settings: 8 | godot: 9 | capital: true 10 | exclude: 11 | # Ignore "See: URL" 12 | - 'See:' 13 | -------------------------------------------------------------------------------- /proxy/conf.d/nginx.toml: -------------------------------------------------------------------------------- 1 | [template] 2 | src = "nginx.tmpl" 3 | dest = "/etc/nginx/nginx.conf" 4 | keys = [ 5 | "ports", 6 | "settings" 7 | ] 8 | check_cmd = "/usr/sbin/nginx -T -c {{.src}}" 9 | reload_cmd = "/usr/sbin/nginx -s reload" 10 | -------------------------------------------------------------------------------- /vendor/github.com/imdario/mergo/.deepsource.toml: -------------------------------------------------------------------------------- 1 | version = 1 2 | 3 | test_patterns = [ 4 | "*_test.go" 5 | ] 6 | 7 | [[analyzers]] 8 | name = "go" 9 | enabled = true 10 | 11 | [analyzers.meta] 12 | import_path = "github.com/imdario/mergo" -------------------------------------------------------------------------------- /vendor/github.com/docker/cli/cli/connhelper/commandconn/pdeathsig_linux.go: -------------------------------------------------------------------------------- 1 | package commandconn 2 | 3 | import ( 4 | "os/exec" 5 | "syscall" 6 | ) 7 | 8 | func setPdeathsig(cmd *exec.Cmd) { 9 | cmd.SysProcAttr.Pdeathsig = syscall.SIGKILL 10 | } 11 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /tools/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/api/types/swarm/runtime/gen.go: -------------------------------------------------------------------------------- 1 | //go:generate protoc --gogofaster_out=import_path=github.com/docker/docker/api/types/swarm/runtime:. plugin.proto 2 | 3 | package runtime // import "github.com/docker/docker/api/types/swarm/runtime" 4 | -------------------------------------------------------------------------------- /vendor/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 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/api/resource/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - thockin 5 | - smarterclayton 6 | - wojtek-t 7 | - derekwaynecarr 8 | - mikedanese 9 | - saad-ali 10 | - janetkuo 11 | -------------------------------------------------------------------------------- /tools/vendor/github.com/docker/docker/api/types/swarm/runtime/gen.go: -------------------------------------------------------------------------------- 1 | //go:generate protoc --gogofaster_out=import_path=github.com/docker/docker/api/types/swarm/runtime:. plugin.proto 2 | 3 | package runtime // import "github.com/docker/docker/api/types/swarm/runtime" 4 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /vendor/github.com/docker/cli/cli/context/endpoint.go: -------------------------------------------------------------------------------- 1 | package context 2 | 3 | // EndpointMetaBase contains fields we expect to be common for most context endpoints 4 | type EndpointMetaBase struct { 5 | Host string `json:",omitempty"` 6 | SkipTLSVerify bool 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/archive/copy_windows.go: -------------------------------------------------------------------------------- 1 | package archive // import "github.com/docker/docker/pkg/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/fsnotify/fsnotify/system_darwin.go: -------------------------------------------------------------------------------- 1 | //go:build darwin 2 | // +build darwin 3 | 4 | package fsnotify 5 | 6 | import "golang.org/x/sys/unix" 7 | 8 | // note: this constant is not defined on BSD 9 | const openMode = unix.O_EVTONLY | unix.O_CLOEXEC 10 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.8.x 5 | - 1.x 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | 10 | script: 11 | - ./test.sh 12 | 13 | after_success: 14 | - bash <(curl -s https://codecov.io/bash) 15 | -------------------------------------------------------------------------------- /pkg/config/test_assets/config_test_registries.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: k3d.io/v1alpha5 2 | kind: Simple 3 | metadata: 4 | name: test 5 | servers: 1 6 | agents: 1 7 | registries: 8 | create: 9 | name: registry.localhost 10 | host: "0.0.0.0" 11 | hostPort: "5001" 12 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.8.x 5 | - 1.x 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | 10 | script: 11 | - ./test.sh 12 | 13 | after_success: 14 | - bash <(curl -s https://codecov.io/bash) 15 | -------------------------------------------------------------------------------- /vendor/github.com/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/golang.org/x/sys/plan9/asm.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | #include "textflag.h" 6 | 7 | TEXT ·use(SB),NOSPLIT,$0 8 | RET 9 | -------------------------------------------------------------------------------- /vendor/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 | -------------------------------------------------------------------------------- /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/pkg/archive/archive_other.go: -------------------------------------------------------------------------------- 1 | //go:build !linux 2 | 3 | package archive // import "github.com/docker/docker/pkg/archive" 4 | 5 | func getWhiteoutConverter(format WhiteoutFormat, inUserNS bool) (tarWhiteoutConverter, error) { 6 | return nil, nil 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/theupdateframework/notary/const_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package notary 4 | 5 | import "os" 6 | 7 | // NotarySupportedSignals does not contain any signals, because SIGUSR1/2 are not supported on windows 8 | var NotarySupportedSignals = []os.Signal{} 9 | -------------------------------------------------------------------------------- /tools/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/fsnotify/fsnotify/system_bsd.go: -------------------------------------------------------------------------------- 1 | //go:build freebsd || openbsd || netbsd || dragonfly 2 | // +build freebsd openbsd netbsd dragonfly 3 | 4 | package fsnotify 5 | 6 | import "golang.org/x/sys/unix" 7 | 8 | const openMode = unix.O_NONBLOCK | unix.O_RDONLY | unix.O_CLOEXEC 9 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /vendor/github.com/theupdateframework/notary/tuf/README.md: -------------------------------------------------------------------------------- 1 | ## Credits 2 | 3 | This implementation was originally forked from [flynn/go-tuf](https://github.com/flynn/go-tuf) 4 | 5 | This implementation retains the same 3 Clause BSD license present on 6 | the original flynn implementation. 7 | -------------------------------------------------------------------------------- /vendor/github.com/xeipuuv/gojsonschema/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - "1.11" 4 | - "1.12" 5 | - "1.13" 6 | before_install: 7 | - go get github.com/xeipuuv/gojsonreference 8 | - go get github.com/xeipuuv/gojsonpointer 9 | - go get github.com/stretchr/testify/assert 10 | -------------------------------------------------------------------------------- /tools/vendor/github.com/opencontainers/go-digest/.mailmap: -------------------------------------------------------------------------------- 1 | Aaron Lehmann 2 | Derek McGowan 3 | Stephen J Day 4 | Haibing Zhou 5 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/archive/copy_unix.go: -------------------------------------------------------------------------------- 1 | //go:build !windows 2 | 3 | package archive // import "github.com/docker/docker/pkg/archive" 4 | 5 | import ( 6 | "path/filepath" 7 | ) 8 | 9 | func normalizePath(path string) string { 10 | return filepath.ToSlash(path) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/pkg/apis/clientauthentication/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | # approval on api packages bubbles to api-approvers 4 | reviewers: 5 | - sig-auth-authenticators-approvers 6 | - sig-auth-authenticators-reviewers 7 | labels: 8 | - sig/auth 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/errors.go: -------------------------------------------------------------------------------- 1 | package system // import "github.com/docker/docker/pkg/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/fsnotify/fsnotify/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*.go] 4 | indent_style = tab 5 | indent_size = 4 6 | insert_final_newline = true 7 | 8 | [*.{yml,yaml}] 9 | indent_style = space 10 | indent_size = 2 11 | insert_final_newline = true 12 | trim_trailing_whitespace = true 13 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/NOTICE: -------------------------------------------------------------------------------- 1 | procfs provides functions to retrieve system, kernel and process 2 | metrics from the pseudo-filesystem proc. 3 | 4 | Copyright 2014-2015 The Prometheus Authors 5 | 6 | This product includes software developed at 7 | SoundCloud Ltd. (http://soundcloud.com/). 8 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/rest/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - thockin 5 | - smarterclayton 6 | - caesarxuchao 7 | - wojtek-t 8 | - deads2k 9 | - liggitt 10 | - sttts 11 | - luxas 12 | - dims 13 | - cjcullen 14 | - lojies 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/volume/options.go: -------------------------------------------------------------------------------- 1 | package volume // import "github.com/docker/docker/api/types/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 | -------------------------------------------------------------------------------- /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 oauth2 package. 6 | package internal 7 | -------------------------------------------------------------------------------- /docs/static/img/favicons_black_blue/site.webmanifest: -------------------------------------------------------------------------------- 1 | {"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} -------------------------------------------------------------------------------- /docs/static/img/favicons_black_green/site.webmanifest: -------------------------------------------------------------------------------- 1 | {"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} -------------------------------------------------------------------------------- /pkg/config/test_assets/config_test_cluster_list.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | apiVersion: k3d.io/v1alpha5 3 | kind: ClusterList 4 | clusters: 5 | - name: foo 6 | nodes: 7 | - name: foo-node-0 8 | role: server 9 | - name: bar 10 | nodes: 11 | - name: bar-node-0 12 | role: server 13 | -------------------------------------------------------------------------------- /vendor/github.com/fvbommel/sortorder/doc.go: -------------------------------------------------------------------------------- 1 | // Package sortorder implements sort orders and comparison functions. 2 | // 3 | // Currently, it only implements so-called "natural order", where integers 4 | // embedded in strings are compared by value. 5 | package sortorder // import "github.com/fvbommel/sortorder" 6 | -------------------------------------------------------------------------------- /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/modern-go/reflect2/Gopkg.lock: -------------------------------------------------------------------------------- 1 | # This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. 2 | 3 | 4 | [solve-meta] 5 | analyzer-name = "dep" 6 | analyzer-version = 1 7 | input-imports = [] 8 | solver-name = "gps-cdcl" 9 | solver-version = 1 10 | -------------------------------------------------------------------------------- /vendor/github.com/theupdateframework/notary/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | David Williamson (github: davidwilliamson) 2 | Aaron Lehmann (github: aaronlehmann) 3 | Lewis Marshall (github: lmars) 4 | Jonathan Rudenberg (github: titanous) 5 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | reviewers: 3 | - harshanarayana 4 | - pohly 5 | approvers: 6 | - dims 7 | - thockin 8 | - serathius 9 | emeritus_approvers: 10 | - brancz 11 | - justinsb 12 | - lavalamp 13 | - piosz 14 | - tallclair 15 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/internal/clock/README.md: -------------------------------------------------------------------------------- 1 | # Clock 2 | 3 | This package provides an interface for time-based operations. It allows 4 | mocking time for testing. 5 | 6 | This is a copy of k8s.io/utils/clock. We have to copy it to avoid a circular 7 | dependency (k8s.io/klog -> k8s.io/utils -> k8s.io/klog). 8 | -------------------------------------------------------------------------------- /tools/vendor/github.com/docker/docker/api/types/volume/options.go: -------------------------------------------------------------------------------- 1 | package volume // import "github.com/docker/docker/api/types/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 | -------------------------------------------------------------------------------- /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/asaskevich/govalidator/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | dist: xenial 3 | go: 4 | - '1.10' 5 | - '1.11' 6 | - '1.12' 7 | - '1.13' 8 | - 'tip' 9 | 10 | script: 11 | - go test -coverpkg=./... -coverprofile=coverage.info -timeout=5s 12 | - bash <(curl -s https://codecov.io/bash) 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/cli/cli/version/version.go: -------------------------------------------------------------------------------- 1 | package version 2 | 3 | // Default build-time variable. 4 | // These values are overridden via ldflags 5 | var ( 6 | PlatformName = "" 7 | Version = "unknown-version" 8 | GitCommit = "unknown-commit" 9 | BuildTime = "unknown-buildtime" 10 | ) 11 | -------------------------------------------------------------------------------- /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/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.25.0" 9 | } 10 | -------------------------------------------------------------------------------- /tools/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/asaskevich/govalidator/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | .idea/ 3 | # Binaries for programs and plugins 4 | *.exe 5 | *.exe~ 6 | *.dll 7 | *.so 8 | *.dylib 9 | 10 | # Test binary, built with `go test -c` 11 | *.test 12 | 13 | # Output of the go coverage tool, specifically when used with LiteIDE 14 | *.out 15 | 16 | -------------------------------------------------------------------------------- /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/api/types/image/image.go: -------------------------------------------------------------------------------- 1 | package image 2 | 3 | import "time" 4 | 5 | // Metadata contains engine-local data about the image. 6 | type Metadata struct { 7 | // LastTagTime is the date and time at which the image was last tagged. 8 | LastTagTime time.Time `json:",omitempty"` 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/client_windows.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | // DefaultDockerHost defines OS-specific default host if the DOCKER_HOST 4 | // (EnvOverrideHost) environment variable is unset or empty. 5 | const DefaultDockerHost = "npipe:////./pipe/docker_engine" 6 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/.gitignore: -------------------------------------------------------------------------------- 1 | # OSX leaves these everywhere on SMB shares 2 | ._* 3 | 4 | # OSX trash 5 | .DS_Store 6 | 7 | # Eclipse files 8 | .classpath 9 | .project 10 | .settings/** 11 | 12 | # Files generated by JetBrains IDEs, e.g. IntelliJ IDEA 13 | .idea/ 14 | *.iml 15 | 16 | # Vscode files 17 | .vscode 18 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/vendor/github.com/docker/docker/api/types/image/image.go: -------------------------------------------------------------------------------- 1 | package image 2 | 3 | import "time" 4 | 5 | // Metadata contains engine-local data about the image. 6 | type Metadata struct { 7 | // LastTagTime is the date and time at which the image was last tagged. 8 | LastTagTime time.Time `json:",omitempty"` 9 | } 10 | -------------------------------------------------------------------------------- /tools/vendor/github.com/docker/docker/client/client_windows.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | // DefaultDockerHost defines OS-specific default host if the DOCKER_HOST 4 | // (EnvOverrideHost) environment variable is unset or empty. 5 | const DefaultDockerHost = "npipe:////./pipe/docker_engine" 6 | -------------------------------------------------------------------------------- /tools/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.25.0" 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/internal/cpuinfo/cpuinfo_amd64.go: -------------------------------------------------------------------------------- 1 | //go:build amd64 && !appengine && !noasm && gc 2 | // +build amd64,!appengine,!noasm,gc 3 | 4 | package cpuinfo 5 | 6 | // go:noescape 7 | func x86extensions() (bmi1, bmi2 bool) 8 | 9 | func init() { 10 | hasBMI1, hasBMI2 = x86extensions() 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/go_above_19.go: -------------------------------------------------------------------------------- 1 | //+build go1.9 2 | 3 | package concurrent 4 | 5 | import "sync" 6 | 7 | // Map is a wrapper for sync.Map introduced in go1.9 8 | type Map struct { 9 | sync.Map 10 | } 11 | 12 | // NewMap creates a thread safe Map 13 | func NewMap() *Map { 14 | return &Map{} 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/theupdateframework/notary/trustmanager/yubikey/pkcs11_darwin.go: -------------------------------------------------------------------------------- 1 | // +build pkcs11,darwin 2 | 3 | package yubikey 4 | 5 | var possiblePkcs11Libs = []string{ 6 | "/usr/local/lib/libykcs11.dylib", 7 | "/usr/local/docker/lib/libykcs11.dylib", 8 | "/usr/local/docker-experimental/lib/libykcs11.dylib", 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.9.x 5 | - 1.x 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | - go get -t -v github.com/modern-go/reflect2-tests/... 10 | 11 | script: 12 | - ./test.sh 13 | 14 | after_success: 15 | - bash <(curl -s https://codecov.io/bash) 16 | -------------------------------------------------------------------------------- /vendor/github.com/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 | -------------------------------------------------------------------------------- /tools/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/github.com/docker/go-units/circle.yml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | post: 3 | # install golint 4 | - go get golang.org/x/lint/golint 5 | 6 | test: 7 | pre: 8 | # run analysis before tests 9 | - go vet ./... 10 | - test -z "$(golint ./... | tee /dev/stderr)" 11 | - test -z "$(gofmt -s -l . | tee /dev/stderr)" 12 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/mux/AUTHORS: -------------------------------------------------------------------------------- 1 | # This is the official list of gorilla/mux authors for copyright purposes. 2 | # 3 | # Please keep the list sorted. 4 | 5 | Google LLC (https://opensource.google.com/) 6 | Kamil Kisielk 7 | Matt Silverlock 8 | Rodrigo Moraes (https://github.com/moraes) 9 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/reflectwalk/README.md: -------------------------------------------------------------------------------- 1 | # reflectwalk 2 | 3 | reflectwalk is a Go library for "walking" a value in Go using reflection, 4 | in the same way a directory tree can be "walked" on the filesystem. Walking 5 | a complex structure can allow you to do manipulations on unknown structures 6 | such as those decoded from JSON. 7 | -------------------------------------------------------------------------------- /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.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,semconv,venv,.tools 9 | uri-ignore-words-list = * 10 | write = 11 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - "1.4.x" 5 | - "1.5.x" 6 | - "1.6.x" 7 | - "1.7.x" 8 | - "1.8.x" 9 | - "1.9.x" 10 | - "1.10.x" 11 | - "1.11.x" 12 | - "1.12.x" 13 | - "1.13.x" 14 | - "1.14.x" 15 | - "tip" 16 | 17 | go_import_path: gopkg.in/yaml.v2 18 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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,semconv,venv,.tools 9 | uri-ignore-words-list = * 10 | write = 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/client_unix.go: -------------------------------------------------------------------------------- 1 | //go:build !windows 2 | 3 | package client // import "github.com/docker/docker/client" 4 | 5 | // DefaultDockerHost defines OS-specific default host if the DOCKER_HOST 6 | // (EnvOverrideHost) environment variable is unset or empty. 7 | const DefaultDockerHost = "unix:///var/run/docker.sock" 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/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/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/golang.org/x/tools/internal/pkgbits/flags.go: -------------------------------------------------------------------------------- 1 | // Copyright 2022 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package pkgbits 6 | 7 | const ( 8 | flagSyncMarkers = 1 << iota // file format contains sync markers 9 | ) 10 | -------------------------------------------------------------------------------- /tools/vendor/github.com/docker/docker/client/client_unix.go: -------------------------------------------------------------------------------- 1 | //go:build !windows 2 | 3 | package client // import "github.com/docker/docker/client" 4 | 5 | // DefaultDockerHost defines OS-specific default host if the DOCKER_HOST 6 | // (EnvOverrideHost) environment variable is unset or empty. 7 | const DefaultDockerHost = "unix:///var/run/docker.sock" 8 | -------------------------------------------------------------------------------- /tools/vendor/golang.org/x/tools/internal/pkgbits/flags.go: -------------------------------------------------------------------------------- 1 | // Copyright 2022 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package pkgbits 6 | 7 | const ( 8 | flagSyncMarkers = 1 << iota // file format contains sync markers 9 | ) 10 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/copystructure/copier_time.go: -------------------------------------------------------------------------------- 1 | package copystructure 2 | 3 | import ( 4 | "reflect" 5 | "time" 6 | ) 7 | 8 | func init() { 9 | Copiers[reflect.TypeOf(time.Time{})] = timeCopier 10 | } 11 | 12 | func timeCopier(v interface{}) (interface{}, error) { 13 | // Just... copy it. 14 | return v.(time.Time), nil 15 | } 16 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/apis/meta/v1/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - thockin 5 | - smarterclayton 6 | - wojtek-t 7 | - deads2k 8 | - caesarxuchao 9 | - liggitt 10 | - sttts 11 | - luxas 12 | - janetkuo 13 | - justinsb 14 | - ncdc 15 | - soltysh 16 | - dims 17 | -------------------------------------------------------------------------------- /tools/vendor/github.com/sirupsen/logrus/terminal_check_unix.go: -------------------------------------------------------------------------------- 1 | // +build linux aix zos 2 | // +build !js 3 | 4 | package logrus 5 | 6 | import "golang.org/x/sys/unix" 7 | 8 | const ioctlReadTermios = unix.TCGETS 9 | 10 | func isTerminal(fd int) bool { 11 | _, err := unix.IoctlGetTermios(fd, ioctlReadTermios) 12 | return err == nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/volume/volume_update.go: -------------------------------------------------------------------------------- 1 | package volume // import "github.com/docker/docker/api/types/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/goodhosts/hostsfile/os.go: -------------------------------------------------------------------------------- 1 | //go:build !windows 2 | // +build !windows 3 | 4 | package hostsfile 5 | 6 | var ( 7 | HostsPerLine = -1 // unlimited 8 | HostsFilePath = "/etc/hosts" 9 | eol = "\n" 10 | ) 11 | 12 | func (h *Hosts) preFlush() error { return nil } 13 | func (h *Hosts) postFlush() error { return nil } 14 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/reflectwalk/location.go: -------------------------------------------------------------------------------- 1 | package reflectwalk 2 | 3 | //go:generate stringer -type=Location location.go 4 | 5 | type Location uint 6 | 7 | const ( 8 | None Location = iota 9 | Map 10 | MapKey 11 | MapValue 12 | Slice 13 | SliceElem 14 | Array 15 | ArrayElem 16 | Struct 17 | StructField 18 | WalkLoc 19 | ) 20 | -------------------------------------------------------------------------------- /vendor/github.com/xeipuuv/gojsonreference/README.md: -------------------------------------------------------------------------------- 1 | # gojsonreference 2 | An implementation of JSON Reference - Go language 3 | 4 | ## Dependencies 5 | https://github.com/xeipuuv/gojsonpointer 6 | 7 | ## References 8 | http://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-07 9 | 10 | http://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03 11 | -------------------------------------------------------------------------------- /vendor/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 | -------------------------------------------------------------------------------- /tools/vendor/github.com/docker/docker/api/types/volume/volume_update.go: -------------------------------------------------------------------------------- 1 | package volume // import "github.com/docker/docker/api/types/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/asaskevich/govalidator/wercker.yml: -------------------------------------------------------------------------------- 1 | box: golang 2 | build: 3 | steps: 4 | - setup-go-workspace 5 | 6 | - script: 7 | name: go get 8 | code: | 9 | go version 10 | go get -t ./... 11 | 12 | - script: 13 | name: go test 14 | code: | 15 | go test -race -v ./... 16 | -------------------------------------------------------------------------------- /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/.lycheeignore: -------------------------------------------------------------------------------- 1 | http://localhost 2 | http://jaeger-collector 3 | https://github.com/open-telemetry/opentelemetry-go/milestone/ 4 | https://github.com/open-telemetry/opentelemetry-go/projects 5 | file:///home/runner/work/opentelemetry-go/opentelemetry-go/libraries 6 | file:///home/runner/work/opentelemetry-go/opentelemetry-go/manual 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 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/vendor/go.opentelemetry.io/otel/.lycheeignore: -------------------------------------------------------------------------------- 1 | http://localhost 2 | http://jaeger-collector 3 | https://github.com/open-telemetry/opentelemetry-go/milestone/ 4 | https://github.com/open-telemetry/opentelemetry-go/projects 5 | file:///home/runner/work/opentelemetry-go/opentelemetry-go/libraries 6 | file:///home/runner/work/opentelemetry-go/opentelemetry-go/manual 7 | -------------------------------------------------------------------------------- /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/golang.org/x/tools/internal/event/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package event provides a set of packages that cover the main 6 | // concepts of telemetry in an implementation agnostic way. 7 | package event 8 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/flags/proto_legacy_disable.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !protolegacy 6 | // +build !protolegacy 7 | 8 | package flags 9 | 10 | const protoLegacy = false 11 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/api/errors/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - thockin 5 | - smarterclayton 6 | - wojtek-t 7 | - deads2k 8 | - derekwaynecarr 9 | - caesarxuchao 10 | - mikedanese 11 | - liggitt 12 | - saad-ali 13 | - janetkuo 14 | - tallclair 15 | - dims 16 | - cjcullen 17 | -------------------------------------------------------------------------------- /vendor/github.com/docker/cli/cli/connhelper/commandconn/session_unix.go: -------------------------------------------------------------------------------- 1 | //go:build !windows 2 | 3 | package commandconn 4 | 5 | import ( 6 | "os/exec" 7 | ) 8 | 9 | func createSession(cmd *exec.Cmd) { 10 | // for supporting ssh connection helper with ProxyCommand 11 | // https://github.com/docker/cli/issues/1707 12 | cmd.SysProcAttr.Setsid = true 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/utimes_unsupported.go: -------------------------------------------------------------------------------- 1 | //go:build !linux && !freebsd 2 | 3 | package system // import "github.com/docker/docker/pkg/system" 4 | 5 | import "syscall" 6 | 7 | // LUtimesNano is only supported on linux and freebsd. 8 | func LUtimesNano(path string, ts []syscall.Timespec) error { 9 | return ErrNotSupportedPlatform 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/go-metrics/unit.go: -------------------------------------------------------------------------------- 1 | package metrics 2 | 3 | // Unit represents the type or precision of a metric that is appended to 4 | // the metrics fully qualified name 5 | type Unit string 6 | 7 | const ( 8 | Nanoseconds Unit = "nanoseconds" 9 | Seconds Unit = "seconds" 10 | Bytes Unit = "bytes" 11 | Total Unit = "total" 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/imdario/mergo/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | arch: 3 | - amd64 4 | - ppc64le 5 | install: 6 | - go get -t 7 | - go get golang.org/x/tools/cmd/cover 8 | - go get github.com/mattn/goveralls 9 | script: 10 | - go test -race -v ./... 11 | after_script: 12 | - $HOME/gopath/bin/goveralls -service=travis-ci -repotoken $COVERALLS_TOKEN 13 | -------------------------------------------------------------------------------- /vendor/github.com/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/k8s.io/klog/v2/klog_file_others.go: -------------------------------------------------------------------------------- 1 | //go:build !windows 2 | // +build !windows 3 | 4 | package klog 5 | 6 | import ( 7 | "os/user" 8 | ) 9 | 10 | func getUserName() string { 11 | userNameOnce.Do(func() { 12 | current, err := user.Current() 13 | if err == nil { 14 | userName = current.Username 15 | } 16 | }) 17 | 18 | return userName 19 | } 20 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/vendor/golang.org/x/tools/internal/event/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package event provides a set of packages that cover the main 6 | // concepts of telemetry in an implementation agnostic way. 7 | package event 8 | -------------------------------------------------------------------------------- /vendor/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/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/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 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/empty.s: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !go1.12 6 | 7 | // This file is here to allow bodyless functions with go:linkname for Go 1.11 8 | // and earlier (see https://golang.org/issue/23311). 9 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/internal/identity_flex.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 Google LLC. All rights reserved. 2 | // Use of this source code is governed by the Apache 2.0 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build appenginevm 6 | // +build appenginevm 7 | 8 | package internal 9 | 10 | func init() { 11 | appengineFlex = true 12 | } 13 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/internal/main_common.go: -------------------------------------------------------------------------------- 1 | package internal 2 | 3 | // MainPath stores the file path of the main package. On App Engine Standard 4 | // using Go version 1.9 and below, this will be unset. On App Engine Flex and 5 | // App Engine Standard second-gen (Go 1.11 and above), this will be the 6 | // filepath to package main. 7 | var MainPath string 8 | -------------------------------------------------------------------------------- /tools/vendor/github.com/docker/go-connections/tlsconfig/certpool_other.go: -------------------------------------------------------------------------------- 1 | // +build !go1.7 2 | 3 | package tlsconfig 4 | 5 | import ( 6 | "crypto/x509" 7 | ) 8 | 9 | // SystemCertPool returns an new empty cert pool, 10 | // accessing system cert pool is supported in go 1.7 11 | func SystemCertPool() (*x509.CertPool, error) { 12 | return x509.NewCertPool(), nil 13 | } 14 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/vendor/golang.org/x/sys/windows/empty.s: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !go1.12 6 | 7 | // This file is here to allow bodyless functions with go:linkname for Go 1.11 8 | // and earlier (see https://golang.org/issue/23311). 9 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -coverprofile=profile.out -coverpkg=github.com/json-iterator/go $d 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/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 | -------------------------------------------------------------------------------- /tools/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/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/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/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 && go1.9 6 | 7 | package windows 8 | 9 | import "syscall" 10 | 11 | type Errno = syscall.Errno 12 | type SysProcAttr = syscall.SysProcAttr 13 | -------------------------------------------------------------------------------- /.github/workflows/issue-sponsors.yaml: -------------------------------------------------------------------------------- 1 | name: Label sponsors 2 | on: 3 | pull_request: 4 | types: [opened] 5 | issues: 6 | types: [opened] 7 | jobs: 8 | build: 9 | name: is-sponsor-label 10 | runs-on: ubuntu-latest 11 | steps: 12 | - uses: JasonEtco/is-sponsor-label-action@v2 13 | env: 14 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 15 | -------------------------------------------------------------------------------- /docgen/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "github.com/k3d-io/k3d/v5/cmd" 5 | l "github.com/k3d-io/k3d/v5/pkg/logger" 6 | "github.com/spf13/cobra/doc" 7 | ) 8 | 9 | func main() { 10 | k3d := cmd.NewCmdK3d() 11 | k3d.DisableAutoGenTag = true 12 | 13 | if err := doc.GenMarkdownTree(k3d, "./docs/usage/commands"); err != nil { 14 | l.Log().Fatalln(err) 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /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/modern-go/concurrent/test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -coverprofile=profile.out -coverpkg=github.com/modern-go/concurrent $d 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/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/github.com/xeipuuv/gojsonschema/glide.yaml: -------------------------------------------------------------------------------- 1 | package: github.com/xeipuuv/gojsonschema 2 | license: Apache 2.0 3 | import: 4 | - package: github.com/xeipuuv/gojsonschema 5 | 6 | - package: github.com/xeipuuv/gojsonpointer 7 | 8 | - package: github.com/xeipuuv/gojsonreference 9 | 10 | testImport: 11 | - package: github.com/stretchr/testify 12 | subpackages: 13 | - assert 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/internal/gcimporter/unified_yes.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 go1.18 && goexperiment.unified 6 | // +build go1.18,goexperiment.unified 7 | 8 | package gcimporter 9 | 10 | const unifiedIR = true 11 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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 && go1.9 6 | 7 | package windows 8 | 9 | import "syscall" 10 | 11 | type Errno = syscall.Errno 12 | type SysProcAttr = syscall.SysProcAttr 13 | -------------------------------------------------------------------------------- /tools/vendor/golang.org/x/tools/internal/gcimporter/unified_yes.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 go1.18 && goexperiment.unified 6 | // +build go1.18,goexperiment.unified 7 | 8 | package gcimporter 9 | 10 | const unifiedIR = true 11 | -------------------------------------------------------------------------------- /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/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/tools/internal/gcimporter/unified_no.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 !(go1.18 && goexperiment.unified) 6 | // +build !go1.18 !goexperiment.unified 7 | 8 | package gcimporter 9 | 10 | const unifiedIR = false 11 | -------------------------------------------------------------------------------- /docgen/README.md: -------------------------------------------------------------------------------- 1 | # docgen 2 | 3 | Only used to generate the command tree for . 4 | 5 | The code will output files in [`../docs/usage/commands/`](../docs/usage/commands/) 6 | 7 | ## Run 8 | 9 | ```bash 10 | # ensure that you're in the docgen dir, as the relative path to the docs/ dir is hardcoded 11 | cd docgen 12 | 13 | # run 14 | ./run.sh 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/usage/advanced/cuda/cuda-vector-add.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: cuda-vector-add 5 | spec: 6 | runtimeClassName: nvidia # Explicitly request the runtime 7 | restartPolicy: OnFailure 8 | containers: 9 | - name: cuda-vector-add 10 | image: "k8s.gcr.io/cuda-vector-add:v0.1" 11 | resources: 12 | limits: 13 | nvidia.com/gpu: 1 -------------------------------------------------------------------------------- /tools/vendor/golang.org/x/tools/internal/gcimporter/unified_no.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 !(go1.18 && goexperiment.unified) 6 | // +build !go1.18 !goexperiment.unified 7 | 8 | package gcimporter 9 | 10 | const unifiedIR = false 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/interface_stable.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | // APIClient is an interface that clients that talk with a docker server must implement. 4 | type APIClient interface { 5 | CommonAPIClient 6 | apiClientExperimental 7 | } 8 | 9 | // Ensure that Client always implements APIClient. 10 | var _ APIClient = &Client{} 11 | -------------------------------------------------------------------------------- /vendor/github.com/fvbommel/sortorder/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | # Folders 6 | _obj 7 | _test 8 | # Architecture specific extensions/prefixes 9 | *.[568vq] 10 | [568vq].out 11 | *.cgo1.go 12 | *.cgo2.c 13 | _cgo_defun.c 14 | _cgo_gotypes.go 15 | _cgo_export.* 16 | _testmain.go 17 | *.exe 18 | *.test 19 | *.prof 20 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/log.go: -------------------------------------------------------------------------------- 1 | package concurrent 2 | 3 | import ( 4 | "os" 5 | "log" 6 | "io/ioutil" 7 | ) 8 | 9 | // ErrorLogger is used to print out error, can be set to writer other than stderr 10 | var ErrorLogger = log.New(os.Stderr, "", 0) 11 | 12 | // InfoLogger is used to print informational message, default to off 13 | var InfoLogger = log.New(ioutil.Discard, "", 0) -------------------------------------------------------------------------------- /vendor/github.com/theupdateframework/notary/.gitignore: -------------------------------------------------------------------------------- 1 | /.vscode 2 | /cmd/notary-server/notary-server 3 | /cmd/notary-server/local.config.* 4 | /cmd/notary-signer/notary-signer 5 | /cmd/notary-signer/local.config.* 6 | /cmd/escrow/escrow 7 | /cmd/escrow/local.config.* 8 | cover 9 | bin 10 | cross 11 | .cover 12 | *.swp 13 | .idea 14 | *.iml 15 | *.test 16 | coverage*.txt 17 | gosec_output.csv 18 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /tools/vendor/github.com/docker/docker/client/interface_stable.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | // APIClient is an interface that clients that talk with a docker server must implement. 4 | type APIClient interface { 5 | CommonAPIClient 6 | apiClientExperimental 7 | } 8 | 9 | // Ensure that Client always implements APIClient. 10 | var _ APIClient = &Client{} 11 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /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/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/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/sigs.k8s.io/yaml/.gitignore: -------------------------------------------------------------------------------- 1 | # OSX leaves these everywhere on SMB shares 2 | ._* 3 | 4 | # Eclipse files 5 | .classpath 6 | .project 7 | .settings/** 8 | 9 | # Idea files 10 | .idea/** 11 | .idea/ 12 | 13 | # Emacs save files 14 | *~ 15 | 16 | # Vim-related files 17 | [._]*.s[a-w][a-z] 18 | [._]s[a-w][a-z] 19 | *.un~ 20 | Session.vim 21 | .netrwhist 22 | 23 | # Go test binaries 24 | *.test 25 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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/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/cli/cli/hints/hints.go: -------------------------------------------------------------------------------- 1 | package hints 2 | 3 | import ( 4 | "os" 5 | "strconv" 6 | ) 7 | 8 | // Enabled returns whether cli hints are enabled or not 9 | func Enabled() bool { 10 | if v := os.Getenv("DOCKER_CLI_HINTS"); v != "" { 11 | enabled, err := strconv.ParseBool(v) 12 | if err != nil { 13 | return true 14 | } 15 | return enabled 16 | } 17 | return true 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/docker/cli/opts/hosts_unix.go: -------------------------------------------------------------------------------- 1 | //go:build !windows 2 | 3 | package opts 4 | 5 | // defaultHost constant defines the default host string used by docker on other hosts than Windows 6 | const defaultHost = "unix://" + defaultUnixSocket 7 | 8 | // defaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g. dockerd -H tcp://:8080 9 | const defaultHTTPHost = "localhost" 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/service_remove.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import "context" 4 | 5 | // ServiceRemove kills and removes a service. 6 | func (cli *Client) ServiceRemove(ctx context.Context, serviceID string) error { 7 | resp, err := cli.delete(ctx, "/services/"+serviceID, nil, nil) 8 | defer ensureReaderClosed(resp) 9 | return err 10 | } 11 | -------------------------------------------------------------------------------- /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/oauth2/internal/client_appengine.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 appengine 6 | 7 | package internal 8 | 9 | import "google.golang.org/appengine/urlfetch" 10 | 11 | func init() { 12 | appengineClientHook = urlfetch.Client 13 | } 14 | -------------------------------------------------------------------------------- /vendor/sigs.k8s.io/yaml/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | arch: arm64 3 | dist: focal 4 | go: 1.15.x 5 | script: 6 | - diff -u <(echo -n) <(gofmt -d *.go) 7 | - diff -u <(echo -n) <(golint $(go list -e ./...) | grep -v YAMLToJSON) 8 | - GO111MODULE=on go vet . 9 | - GO111MODULE=on go test -v -race ./... 10 | - git diff --exit-code 11 | install: 12 | - GO111MODULE=off go get golang.org/x/lint/golint 13 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/vendor/github.com/docker/docker/client/service_remove.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import "context" 4 | 5 | // ServiceRemove kills and removes a service. 6 | func (cli *Client) ServiceRemove(ctx context.Context, serviceID string) error { 7 | resp, err := cli.delete(ctx, "/services/"+serviceID, nil, nil) 8 | defer ensureReaderClosed(resp) 9 | return err 10 | } 11 | -------------------------------------------------------------------------------- /tools/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/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/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. 10 | // 11 | //go:noescape 12 | func Sum64(b []byte) uint64 13 | 14 | //go:noescape 15 | func writeBlocks(d *Digest, b []byte) int 16 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/archive/time_unsupported.go: -------------------------------------------------------------------------------- 1 | //go:build !linux 2 | 3 | package archive // import "github.com/docker/docker/pkg/archive" 4 | 5 | import ( 6 | "syscall" 7 | "time" 8 | ) 9 | 10 | func timeToTimespec(time time.Time) (ts syscall.Timespec) { 11 | nsec := int64(0) 12 | if !time.IsZero() { 13 | nsec = time.UnixNano() 14 | } 15 | return syscall.NsecToTimespec(nsec) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/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/golang.org/x/term/term_unix_other.go: -------------------------------------------------------------------------------- 1 | // Copyright 2021 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 || solaris || zos 6 | 7 | package term 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | const ioctlReadTermios = unix.TCGETS 12 | const ioctlWriteTermios = unix.TCSETS 13 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/impl/codec_map_go112.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build go1.12 6 | // +build go1.12 7 | 8 | package impl 9 | 10 | import "reflect" 11 | 12 | func mapRange(v reflect.Value) *reflect.MapIter { return v.MapRange() } 13 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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/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/theupdateframework/notary/trustmanager/yubikey/non_pkcs11.go: -------------------------------------------------------------------------------- 1 | // go list ./... and go test ./... will not pick up this package without this 2 | // file, because go ? ./... does not honor build tags. 3 | 4 | // e.g. "go list -tags pkcs11 ./..." will not list this package if all the 5 | // files in it have a build tag. 6 | 7 | // See https://github.com/golang/go/issues/11246 8 | 9 | package yubikey 10 | -------------------------------------------------------------------------------- /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/sigs.k8s.io/yaml/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - dims 5 | - jpbetz 6 | - smarterclayton 7 | - deads2k 8 | - sttts 9 | - liggitt 10 | reviewers: 11 | - dims 12 | - thockin 13 | - jpbetz 14 | - smarterclayton 15 | - wojtek-t 16 | - deads2k 17 | - derekwaynecarr 18 | - mikedanese 19 | - liggitt 20 | - sttts 21 | - tallclair 22 | labels: 23 | - sig/api-machinery 24 | -------------------------------------------------------------------------------- /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/github.com/docker/docker/client/network_remove.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import "context" 4 | 5 | // NetworkRemove removes an existent network from the docker host. 6 | func (cli *Client) NetworkRemove(ctx context.Context, networkID string) error { 7 | resp, err := cli.delete(ctx, "/networks/"+networkID, nil, nil) 8 | defer ensureReaderClosed(resp) 9 | return err 10 | } 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sync/errgroup/go120.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 | //go:build go1.20 6 | 7 | package errgroup 8 | 9 | import "context" 10 | 11 | func withCancelCause(parent context.Context) (context.Context, func(error)) { 12 | return context.WithCancelCause(parent) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/errors/is_go113.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build go1.13 6 | // +build go1.13 7 | 8 | package errors 9 | 10 | import "errors" 11 | 12 | // Is is errors.Is. 13 | func Is(err, target error) bool { return errors.Is(err, target) } 14 | -------------------------------------------------------------------------------- /tools/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM golang:1.22.2-alpine3.19 AS builder 2 | ARG GIT_TAG 3 | WORKDIR /app 4 | COPY . . 5 | RUN apk update && apk add --no-cache make bash git 6 | ENV GIT_TAG=${GIT_TAG} 7 | ENV GO111MODULE=on 8 | ENV CGO_ENABLED=0 9 | RUN make build 10 | 11 | FROM alpine:3.19 12 | WORKDIR /app 13 | RUN apk update && apk add --no-cache bash 14 | COPY --from=builder /app/bin/k3d-tools . 15 | ENTRYPOINT [ "/app/k3d-tools"] 16 | 17 | -------------------------------------------------------------------------------- /tools/vendor/github.com/docker/docker/client/network_remove.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import "context" 4 | 5 | // NetworkRemove removes an existent network from the docker host. 6 | func (cli *Client) NetworkRemove(ctx context.Context, networkID string) error { 7 | resp, err := cli.delete(ctx, "/networks/"+networkID, nil, nil) 8 | defer ensureReaderClosed(resp) 9 | return err 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/metrics/prometheus.go: -------------------------------------------------------------------------------- 1 | package metrics 2 | 3 | import "github.com/docker/go-metrics" 4 | 5 | const ( 6 | // NamespacePrefix is the namespace of prometheus metrics 7 | NamespacePrefix = "registry" 8 | ) 9 | 10 | var ( 11 | // StorageNamespace is the prometheus namespace of blob/cache related operations 12 | StorageNamespace = metrics.NewNamespace(NamespacePrefix, "storage", nil) 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/plugin_set.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | ) 6 | 7 | // PluginSet modifies settings for an existing plugin 8 | func (cli *Client) PluginSet(ctx context.Context, name string, args []string) error { 9 | resp, err := cli.post(ctx, "/plugins/"+name+"/set", nil, args, nil) 10 | ensureReaderClosed(resp) 11 | return err 12 | } 13 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/internal/main.go: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Google Inc. All rights reserved. 2 | // Use of this source code is governed by the Apache 2.0 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build appengine 6 | // +build appengine 7 | 8 | package internal 9 | 10 | import ( 11 | "appengine_internal" 12 | ) 13 | 14 | func Main() { 15 | MainPath = "" 16 | appengine_internal.Main() 17 | } 18 | -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- 1 | mkdocs==1.5.3 2 | mkdocs-material==9.4.6 3 | pymdown-extensions==10.3.1 4 | mkdocs-git-revision-date-localized-plugin==1.2.1 5 | mkdocs-awesome-pages-plugin==2.9.2 6 | mdx_truly_sane_lists==1.3 # https://github.com/radude/mdx_truly_sane_lists 7 | mkdocs-include-markdown-plugin==6.0.3 # https://github.com/mondeja/mkdocs-include-markdown-plugin 8 | mike==1.1.2 # versioned docs: https://github.com/jimporter/mike 9 | 10 | -------------------------------------------------------------------------------- /tools/vendor/github.com/docker/docker/client/plugin_set.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | ) 6 | 7 | // PluginSet modifies settings for an existing plugin 8 | func (cli *Client) PluginSet(ctx context.Context, name string, args []string) error { 9 | resp, err := cli.post(ctx, "/plugins/"+name+"/set", nil, args, nil) 10 | ensureReaderClosed(resp) 11 | return err 12 | } 13 | -------------------------------------------------------------------------------- /vendor/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/docker/docker/pkg/archive/time_linux.go: -------------------------------------------------------------------------------- 1 | package archive // import "github.com/docker/docker/pkg/archive" 2 | 3 | import ( 4 | "syscall" 5 | "time" 6 | ) 7 | 8 | func timeToTimespec(time time.Time) (ts syscall.Timespec) { 9 | if time.IsZero() { 10 | // Return UTIME_OMIT special value 11 | ts.Sec = 0 12 | ts.Nsec = (1 << 30) - 2 13 | return 14 | } 15 | return syscall.NsecToTimespec(time.UnixNano()) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/pkcs11/release.go: -------------------------------------------------------------------------------- 1 | //go:build release 2 | // +build release 3 | 4 | package pkcs11 5 | 6 | import "fmt" 7 | 8 | // Release is current version of the pkcs11 library. 9 | var Release = R{1, 1, 1} 10 | 11 | // R holds the version of this library. 12 | type R struct { 13 | Major, Minor, Patch int 14 | } 15 | 16 | func (r R) String() string { 17 | return fmt.Sprintf("%d.%d.%d", r.Major, r.Minor, r.Patch) 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/theupdateframework/notary/trustmanager/importLogic.md: -------------------------------------------------------------------------------- 1 | ###This document is intended as an overview of the logic we use for importing keys 2 | 3 | # A flowchart to detail the logic of our import function in `utils/keys.go` (`func ImportKeys`) 4 | 5 | ![alt text](http://i.imgur.com/HQICWeO.png "Flowchart of key import logic") 6 | 7 | ### Should this logic change, you can edit this image at `https://www.draw.io/i/HQICWeO` 8 | 9 | -------------------------------------------------------------------------------- /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/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/golang.org/x/term/term_unix_bsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build darwin || dragonfly || freebsd || netbsd || openbsd 6 | 7 | package term 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | const ioctlReadTermios = unix.TIOCGETA 12 | const ioctlWriteTermios = unix.TIOCSETA 13 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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/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 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/mmap_nomremap.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 | //go:build aix || darwin || dragonfly || freebsd || openbsd || solaris || zos 6 | 7 | package unix 8 | 9 | var mapper = &mmapper{ 10 | active: make(map[*byte][]byte), 11 | mmap: mmap, 12 | munmap: munmap, 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/mksyscall.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build generate 6 | 7 | package windows 8 | 9 | //go:generate go run golang.org/x/sys/windows/mkwinsyscall -output zsyscall_windows.go eventlog.go service.go syscall_windows.go security_windows.go setupapi_windows.go 10 | -------------------------------------------------------------------------------- /tools/vendor/golang.org/x/sys/unix/mmap_nomremap.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 | //go:build aix || darwin || dragonfly || freebsd || openbsd || solaris || zos 6 | 7 | package unix 8 | 9 | var mapper = &mmapper{ 10 | active: make(map[*byte][]byte), 11 | mmap: mmap, 12 | munmap: munmap, 13 | } 14 | -------------------------------------------------------------------------------- /tools/vendor/golang.org/x/sys/windows/mksyscall.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build generate 6 | 7 | package windows 8 | 9 | //go:generate go run golang.org/x/sys/windows/mkwinsyscall -output zsyscall_windows.go eventlog.go service.go syscall_windows.go security_windows.go setupapi_windows.go 10 | -------------------------------------------------------------------------------- /tools/vendor/golang.org/x/tools/internal/typeparams/enabled_go117.go: -------------------------------------------------------------------------------- 1 | // Copyright 2021 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.18 6 | // +build !go1.18 7 | 8 | package typeparams 9 | 10 | // Enabled reports whether type parameters are enabled in the current build 11 | // environment. 12 | const Enabled = false 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/container/wait_exit_error.go: -------------------------------------------------------------------------------- 1 | package container 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 | // WaitExitError container waiting error, if any 7 | // swagger:model WaitExitError 8 | type WaitExitError struct { 9 | 10 | // Details of an error 11 | Message string `json:"Message,omitempty"` 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/swarm_join.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | 6 | "github.com/docker/docker/api/types/swarm" 7 | ) 8 | 9 | // SwarmJoin joins the swarm. 10 | func (cli *Client) SwarmJoin(ctx context.Context, req swarm.JoinRequest) error { 11 | resp, err := cli.post(ctx, "/swarm/join", nil, req, nil) 12 | ensureReaderClosed(resp) 13 | return err 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/lstat_windows.go: -------------------------------------------------------------------------------- 1 | package system // import "github.com/docker/docker/pkg/system" 2 | 3 | import "os" 4 | 5 | // Lstat calls os.Lstat to get a fileinfo interface back. 6 | // This is then copied into our own locally defined structure. 7 | func Lstat(path string) (*StatT, error) { 8 | fi, err := os.Lstat(path) 9 | if err != nil { 10 | return nil, err 11 | } 12 | 13 | return fromStatT(&fi) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/appveyor.yml: -------------------------------------------------------------------------------- 1 | version: "build-{branch}-{build}" 2 | image: Visual Studio 2015 3 | clone_folder: c:\gopath\src\github.com\hashicorp\hcl 4 | environment: 5 | GOPATH: c:\gopath 6 | init: 7 | - git config --global core.autocrlf false 8 | install: 9 | - cmd: >- 10 | echo %Path% 11 | 12 | go version 13 | 14 | go env 15 | 16 | go get -t ./... 17 | 18 | build_script: 19 | - cmd: go test -v ./... 20 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | Thumbs.db 3 | 4 | .tools/ 5 | venv/ 6 | .idea/ 7 | .vscode/ 8 | *.iml 9 | *.so 10 | coverage.* 11 | go.work 12 | go.work.sum 13 | 14 | gen/ 15 | 16 | /example/dice/dice 17 | /example/namedtracer/namedtracer 18 | /example/otel-collector/otel-collector 19 | /example/opencensus/opencensus 20 | /example/passthrough/passthrough 21 | /example/prometheus/prometheus 22 | /example/zipkin/zipkin 23 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/runtime/protoiface/legacy.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package protoiface 6 | 7 | type MessageV1 interface { 8 | Reset() 9 | String() string 10 | ProtoMessage() 11 | } 12 | 13 | type ExtensionRangeV1 struct { 14 | Start, End int32 // both inclusive 15 | } 16 | -------------------------------------------------------------------------------- /vendor/sigs.k8s.io/yaml/goyaml.v2/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - dims 5 | - jpbetz 6 | - smarterclayton 7 | - deads2k 8 | - sttts 9 | - liggitt 10 | - natasha41575 11 | - knverey 12 | reviewers: 13 | - dims 14 | - thockin 15 | - jpbetz 16 | - smarterclayton 17 | - deads2k 18 | - derekwaynecarr 19 | - mikedanese 20 | - liggitt 21 | - sttts 22 | - tallclair 23 | labels: 24 | - sig/api-machinery 25 | -------------------------------------------------------------------------------- /tools/vendor/github.com/docker/docker/api/types/container/wait_exit_error.go: -------------------------------------------------------------------------------- 1 | package container 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 | // WaitExitError container waiting error, if any 7 | // swagger:model WaitExitError 8 | type WaitExitError struct { 9 | 10 | // Details of an error 11 | Message string `json:"Message,omitempty"` 12 | } 13 | -------------------------------------------------------------------------------- /tools/vendor/github.com/docker/docker/client/swarm_join.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | 6 | "github.com/docker/docker/api/types/swarm" 7 | ) 8 | 9 | // SwarmJoin joins the swarm. 10 | func (cli *Client) SwarmJoin(ctx context.Context, req swarm.JoinRequest) error { 11 | resp, err := cli.post(ctx, "/swarm/join", nil, req, nil) 12 | ensureReaderClosed(resp) 13 | return err 14 | } 15 | -------------------------------------------------------------------------------- /tools/vendor/go.opentelemetry.io/otel/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | Thumbs.db 3 | 4 | .tools/ 5 | venv/ 6 | .idea/ 7 | .vscode/ 8 | *.iml 9 | *.so 10 | coverage.* 11 | go.work 12 | go.work.sum 13 | 14 | gen/ 15 | 16 | /example/dice/dice 17 | /example/namedtracer/namedtracer 18 | /example/otel-collector/otel-collector 19 | /example/opencensus/opencensus 20 | /example/passthrough/passthrough 21 | /example/prometheus/prometheus 22 | /example/zipkin/zipkin 23 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/container_unpause.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import "context" 4 | 5 | // ContainerUnpause resumes the process execution within a container 6 | func (cli *Client) ContainerUnpause(ctx context.Context, containerID string) error { 7 | resp, err := cli.post(ctx, "/containers/"+containerID+"/unpause", nil, nil, nil) 8 | ensureReaderClosed(resp) 9 | return err 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/chtimes_nowindows.go: -------------------------------------------------------------------------------- 1 | //go:build !windows 2 | 3 | package system // import "github.com/docker/docker/pkg/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 | -------------------------------------------------------------------------------- /tools/vendor/github.com/docker/docker/client/container_unpause.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import "context" 4 | 5 | // ContainerUnpause resumes the process execution within a container 6 | func (cli *Client) ContainerUnpause(ctx context.Context, containerID string) error { 7 | resp, err := cli.post(ctx, "/containers/"+containerID+"/unpause", nil, nil, nil) 8 | ensureReaderClosed(resp) 9 | return err 10 | } 11 | -------------------------------------------------------------------------------- /tools/vendor/golang.org/x/sys/execabs/execabs_go118.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 !go1.19 6 | 7 | package execabs 8 | 9 | import "os/exec" 10 | 11 | func isGo119ErrDot(err error) bool { 12 | return false 13 | } 14 | 15 | func isGo119ErrFieldSet(cmd *exec.Cmd) bool { 16 | return false 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/container/change_type.go: -------------------------------------------------------------------------------- 1 | package container 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 | // ChangeType Kind of change 7 | // 8 | // Can be one of: 9 | // 10 | // - `0`: Modified ("C") 11 | // - `1`: Added ("A") 12 | // - `2`: Deleted ("D") 13 | // 14 | // swagger:model ChangeType 15 | type ChangeType uint8 16 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/id_response.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | // This file was generated by the swagger tool. 4 | // Editing this file might prove futile when you re-run the swagger generate command 5 | 6 | // IDResponse Response to an API call that returns just an Id 7 | // swagger:model IdResponse 8 | type IDResponse struct { 9 | 10 | // The id of the newly created object. 11 | // Required: true 12 | ID string `json:"Id"` 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/stat_openbsd.go: -------------------------------------------------------------------------------- 1 | package system // import "github.com/docker/docker/pkg/system" 2 | 3 | import "syscall" 4 | 5 | // fromStatT converts a syscall.Stat_t type to a system.Stat_t type 6 | func fromStatT(s *syscall.Stat_t) (*StatT, error) { 7 | return &StatT{ 8 | size: s.Size, 9 | mode: uint32(s.Mode), 10 | uid: s.Uid, 11 | gid: s.Gid, 12 | rdev: uint64(s.Rdev), 13 | mtim: s.Mtim, 14 | }, nil 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/theupdateframework/notary/const_nowindows.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package notary 4 | 5 | import ( 6 | "os" 7 | "syscall" 8 | ) 9 | 10 | // NotarySupportedSignals contains the signals we would like to capture: 11 | // - SIGUSR1, indicates a increment of the log level. 12 | // - SIGUSR2, indicates a decrement of the log level. 13 | var NotarySupportedSignals = []os.Signal{ 14 | syscall.SIGUSR1, 15 | syscall.SIGUSR2, 16 | } 17 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/codes/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | /* 5 | Package codes defines the canonical error codes used by OpenTelemetry. 6 | 7 | It conforms to [the OpenTelemetry 8 | specification](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.20.0/specification/trace/api.md#set-status). 9 | */ 10 | package codes // import "go.opentelemetry.io/otel/codes" 11 | -------------------------------------------------------------------------------- /tools/vendor/github.com/docker/docker/api/types/container/change_type.go: -------------------------------------------------------------------------------- 1 | package container 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 | // ChangeType Kind of change 7 | // 8 | // Can be one of: 9 | // 10 | // - `0`: Modified ("C") 11 | // - `1`: Added ("A") 12 | // - `2`: Deleted ("D") 13 | // 14 | // swagger:model ChangeType 15 | type ChangeType uint8 16 | -------------------------------------------------------------------------------- /tools/vendor/github.com/docker/docker/api/types/id_response.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | // This file was generated by the swagger tool. 4 | // Editing this file might prove futile when you re-run the swagger generate command 5 | 6 | // IDResponse Response to an API call that returns just an Id 7 | // swagger:model IdResponse 8 | type IDResponse struct { 9 | 10 | // The id of the newly created object. 11 | // Required: true 12 | ID string `json:"Id"` 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/swarm/service_update_response.go: -------------------------------------------------------------------------------- 1 | package swarm 2 | 3 | // This file was generated by the swagger tool. 4 | // Editing this file might prove futile when you re-run the swagger generate command 5 | 6 | // ServiceUpdateResponse service update response 7 | // swagger:model ServiceUpdateResponse 8 | type ServiceUpdateResponse struct { 9 | 10 | // Optional warning messages 11 | Warnings []string `json:"Warnings"` 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/container_pause.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import "context" 4 | 5 | // ContainerPause pauses the main process of a given container without terminating it. 6 | func (cli *Client) ContainerPause(ctx context.Context, containerID string) error { 7 | resp, err := cli.post(ctx, "/containers/"+containerID+"/pause", nil, nil, nil) 8 | ensureReaderClosed(resp) 9 | return err 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/stat_darwin.go: -------------------------------------------------------------------------------- 1 | package system // import "github.com/docker/docker/pkg/system" 2 | 3 | import "syscall" 4 | 5 | // fromStatT converts a syscall.Stat_t type to a system.Stat_t type 6 | func fromStatT(s *syscall.Stat_t) (*StatT, error) { 7 | return &StatT{ 8 | size: s.Size, 9 | mode: uint32(s.Mode), 10 | uid: s.Uid, 11 | gid: s.Gid, 12 | rdev: uint64(s.Rdev), 13 | mtim: s.Mtimespec, 14 | }, nil 15 | } 16 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/internal_logging.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package otel // import "go.opentelemetry.io/otel" 5 | 6 | import ( 7 | "github.com/go-logr/logr" 8 | 9 | "go.opentelemetry.io/otel/internal/global" 10 | ) 11 | 12 | // SetLogger configures the logger used internally to opentelemetry. 13 | func SetLogger(logger logr.Logger) { 14 | global.SetLogger(logger) 15 | } 16 | -------------------------------------------------------------------------------- /tools/vendor/github.com/docker/docker/client/container_pause.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import "context" 4 | 5 | // ContainerPause pauses the main process of a given container without terminating it. 6 | func (cli *Client) ContainerPause(ctx context.Context, containerID string) error { 7 | resp, err := cli.post(ctx, "/containers/"+containerID+"/pause", nil, nil, nil) 8 | ensureReaderClosed(resp) 9 | return err 10 | } 11 | -------------------------------------------------------------------------------- /tools/vendor/go.opentelemetry.io/otel/codes/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | /* 5 | Package codes defines the canonical error codes used by OpenTelemetry. 6 | 7 | It conforms to [the OpenTelemetry 8 | specification](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.20.0/specification/trace/api.md#set-status). 9 | */ 10 | package codes // import "go.opentelemetry.io/otel/codes" 11 | -------------------------------------------------------------------------------- /tools/vendor/go.opentelemetry.io/otel/internal_logging.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package otel // import "go.opentelemetry.io/otel" 5 | 6 | import ( 7 | "github.com/go-logr/logr" 8 | 9 | "go.opentelemetry.io/otel/internal/global" 10 | ) 11 | 12 | // SetLogger configures the logger used internally to opentelemetry. 13 | func SetLogger(logger logr.Logger) { 14 | global.SetLogger(logger) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/mknod_freebsd.go: -------------------------------------------------------------------------------- 1 | //go:build freebsd 2 | 3 | package system // import "github.com/docker/docker/pkg/system" 4 | 5 | import ( 6 | "golang.org/x/sys/unix" 7 | ) 8 | 9 | // Mknod creates a filesystem node (file, device special file or named pipe) named path 10 | // with attributes specified by mode and dev. 11 | func Mknod(path string, mode uint32, dev int) error { 12 | return unix.Mknod(path, mode, uint64(dev)) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/mknod_unix.go: -------------------------------------------------------------------------------- 1 | //go:build !freebsd && !windows 2 | 3 | package system // import "github.com/docker/docker/pkg/system" 4 | 5 | import ( 6 | "golang.org/x/sys/unix" 7 | ) 8 | 9 | // Mknod creates a filesystem node (file, device special file or named pipe) named path 10 | // with attributes specified by mode and dev. 11 | func Mknod(path string, mode uint32, dev int) error { 12 | return unix.Mknod(path, mode, dev) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/imdario/mergo/SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | ## Supported Versions 4 | 5 | | Version | Supported | 6 | | ------- | ------------------ | 7 | | 0.3.x | :white_check_mark: | 8 | | < 0.3 | :x: | 9 | 10 | ## Security contact information 11 | 12 | To report a security vulnerability, please use the 13 | [Tidelift security contact](https://tidelift.com/security). 14 | Tidelift will coordinate the fix and disclosure. 15 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_asm.go: -------------------------------------------------------------------------------- 1 | //go:build (amd64 || arm64) && !appengine && gc && !purego && !noasm 2 | // +build amd64 arm64 3 | // +build !appengine 4 | // +build gc 5 | // +build !purego 6 | // +build !noasm 7 | 8 | package xxhash 9 | 10 | // Sum64 computes the 64-bit xxHash digest of b. 11 | // 12 | //go:noescape 13 | func Sum64(b []byte) uint64 14 | 15 | //go:noescape 16 | func writeBlocks(s *Digest, b []byte) int 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/internal/gcimporter/support_go117.go: -------------------------------------------------------------------------------- 1 | // Copyright 2021 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.18 6 | // +build !go1.18 7 | 8 | package gcimporter 9 | 10 | import "go/types" 11 | 12 | const iexportVersion = iexportVersionGo1_11 13 | 14 | func additionalPredeclared() []types.Type { 15 | return nil 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/internal/pkgbits/support.go: -------------------------------------------------------------------------------- 1 | // Copyright 2022 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package pkgbits 6 | 7 | import "fmt" 8 | 9 | func assert(b bool) { 10 | if !b { 11 | panic("assertion failed") 12 | } 13 | } 14 | 15 | func errorf(format string, args ...interface{}) { 16 | panic(fmt.Errorf(format, args...)) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/editiondefaults/defaults.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 editiondefaults contains the binary representation of the editions 6 | // defaults. 7 | package editiondefaults 8 | 9 | import _ "embed" 10 | 11 | //go:embed editions_defaults.binpb 12 | var Defaults []byte 13 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Binaries for programs and plugins 2 | *.exe 3 | *.exe~ 4 | *.dll 5 | *.so 6 | *.dylib 7 | 8 | # Output folders 9 | tools/bin/ 10 | tools/_dist/ 11 | bin/ 12 | _dist/ 13 | site/ 14 | 15 | # Test binary, build with `go test -c` 16 | *.test 17 | 18 | # Output of the go coverage tool, specifically when used with LiteIDE 19 | *.out 20 | 21 | # Editors 22 | .vscode/ 23 | .local/ 24 | .idea/ 25 | qodana.yaml 26 | *.iml 27 | 28 | # Pipenv 29 | Pipfile* 30 | 31 | -------------------------------------------------------------------------------- /tools/vendor/github.com/cpuguy83/go-md2man/v2/md2man/md2man.go: -------------------------------------------------------------------------------- 1 | package md2man 2 | 3 | import ( 4 | "github.com/russross/blackfriday/v2" 5 | ) 6 | 7 | // Render converts a markdown document into a roff formatted document. 8 | func Render(doc []byte) []byte { 9 | renderer := NewRoffRenderer() 10 | 11 | return blackfriday.Run(doc, 12 | []blackfriday.Option{blackfriday.WithRenderer(renderer), 13 | blackfriday.WithExtensions(renderer.GetExtensions())}...) 14 | } 15 | -------------------------------------------------------------------------------- /tools/vendor/github.com/docker/docker/api/types/swarm/service_update_response.go: -------------------------------------------------------------------------------- 1 | package swarm 2 | 3 | // This file was generated by the swagger tool. 4 | // Editing this file might prove futile when you re-run the swagger generate command 5 | 6 | // ServiceUpdateResponse service update response 7 | // swagger:model ServiceUpdateResponse 8 | type ServiceUpdateResponse struct { 9 | 10 | // Optional warning messages 11 | Warnings []string `json:"Warnings"` 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/swagger-gen.yaml: -------------------------------------------------------------------------------- 1 | 2 | layout: 3 | models: 4 | - name: definition 5 | source: asset:model 6 | target: "{{ joinFilePath .Target .ModelPackage }}" 7 | file_name: "{{ (snakize (pascalize .Name)) }}.go" 8 | operations: 9 | - name: handler 10 | source: asset:serverOperation 11 | target: "{{ joinFilePath .Target .APIPackage .Package }}" 12 | file_name: "{{ (snakize (pascalize .Name)) }}.go" 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/swarm_unlock.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | 6 | "github.com/docker/docker/api/types/swarm" 7 | ) 8 | 9 | // SwarmUnlock unlocks locked swarm. 10 | func (cli *Client) SwarmUnlock(ctx context.Context, req swarm.UnlockRequest) error { 11 | serverResp, err := cli.post(ctx, "/swarm/unlock", nil, req, nil) 12 | ensureReaderClosed(serverResp) 13 | return err 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/felixge/httpsnoop/docs.go: -------------------------------------------------------------------------------- 1 | // Package httpsnoop provides an easy way to capture http related metrics (i.e. 2 | // response time, bytes written, and http status code) from your application's 3 | // http.Handlers. 4 | // 5 | // Doing this requires non-trivial wrapping of the http.ResponseWriter 6 | // interface, which is also exposed for users interested in a more low-level 7 | // API. 8 | package httpsnoop 9 | 10 | //go:generate go run codegen/main.go 11 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | set -x 4 | 5 | if [ ! -d /tmp/build-golang/src/github.com/json-iterator ]; then 6 | mkdir -p /tmp/build-golang/src/github.com/json-iterator 7 | ln -s $PWD /tmp/build-golang/src/github.com/json-iterator/go 8 | fi 9 | export GOPATH=/tmp/build-golang 10 | go get -u github.com/golang/dep/cmd/dep 11 | cd /tmp/build-golang/src/github.com/json-iterator/go 12 | exec $GOPATH/bin/dep ensure -update 13 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/internal/encoding/toml/codec.go: -------------------------------------------------------------------------------- 1 | package toml 2 | 3 | import ( 4 | "github.com/pelletier/go-toml/v2" 5 | ) 6 | 7 | // Codec implements the encoding.Encoder and encoding.Decoder interfaces for TOML encoding. 8 | type Codec struct{} 9 | 10 | func (Codec) Encode(v map[string]any) ([]byte, error) { 11 | return toml.Marshal(v) 12 | } 13 | 14 | func (Codec) Decode(b []byte, v map[string]any) error { 15 | return toml.Unmarshal(b, &v) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/theupdateframework/notary/escrow.Dockerfile: -------------------------------------------------------------------------------- 1 | FROM golang:1.14.1-alpine 2 | 3 | ENV NOTARYPKG github.com/theupdateframework/notary 4 | ENV GO111MODULE=on 5 | 6 | # Copy the local repo to the expected go path 7 | COPY . /go/src/${NOTARYPKG} 8 | 9 | WORKDIR /go/src/${NOTARYPKG} 10 | 11 | EXPOSE 4450 12 | 13 | # Install escrow 14 | RUN go install ${NOTARYPKG}/cmd/escrow 15 | 16 | ENTRYPOINT [ "escrow" ] 17 | CMD [ "-config=cmd/escrow/config.toml" ] 18 | -------------------------------------------------------------------------------- /vendor/github.com/theupdateframework/notary/fips.go: -------------------------------------------------------------------------------- 1 | package notary 2 | 3 | import ( 4 | "crypto" 5 | // Need to import md5 so can test availability. 6 | _ "crypto/md5" // #nosec 7 | ) 8 | 9 | // FIPSEnabled returns true if running in FIPS mode. 10 | // If compiled in FIPS mode the md5 hash function is never available 11 | // even when imported. This seems to be the best test we have for it. 12 | func FIPSEnabled() bool { 13 | return !crypto.MD5.Available() 14 | } 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/secure/bidirule/bidirule9.0.0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !go1.10 6 | 7 | package bidirule 8 | 9 | func (t *Transformer) isFinal() bool { 10 | if !t.isRTL() { 11 | return true 12 | } 13 | return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial 14 | } 15 | -------------------------------------------------------------------------------- /tools/vendor/github.com/docker/docker/api/swagger-gen.yaml: -------------------------------------------------------------------------------- 1 | 2 | layout: 3 | models: 4 | - name: definition 5 | source: asset:model 6 | target: "{{ joinFilePath .Target .ModelPackage }}" 7 | file_name: "{{ (snakize (pascalize .Name)) }}.go" 8 | operations: 9 | - name: handler 10 | source: asset:serverOperation 11 | target: "{{ joinFilePath .Target .APIPackage .Package }}" 12 | file_name: "{{ (snakize (pascalize .Name)) }}.go" 13 | -------------------------------------------------------------------------------- /tools/vendor/github.com/docker/docker/client/swarm_unlock.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | 6 | "github.com/docker/docker/api/types/swarm" 7 | ) 8 | 9 | // SwarmUnlock unlocks locked swarm. 10 | func (cli *Client) SwarmUnlock(ctx context.Context, req swarm.UnlockRequest) error { 11 | serverResp, err := cli.post(ctx, "/swarm/unlock", nil, req, nil) 12 | ensureReaderClosed(serverResp) 13 | return err 14 | } 15 | -------------------------------------------------------------------------------- /tools/vendor/github.com/felixge/httpsnoop/docs.go: -------------------------------------------------------------------------------- 1 | // Package httpsnoop provides an easy way to capture http related metrics (i.e. 2 | // response time, bytes written, and http status code) from your application's 3 | // http.Handlers. 4 | // 5 | // Doing this requires non-trivial wrapping of the http.ResponseWriter 6 | // interface, which is also exposed for users interested in a more low-level 7 | // API. 8 | package httpsnoop 9 | 10 | //go:generate go run codegen/main.go 11 | -------------------------------------------------------------------------------- /tools/vendor/golang.org/x/tools/internal/gcimporter/support_go117.go: -------------------------------------------------------------------------------- 1 | // Copyright 2021 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.18 6 | // +build !go1.18 7 | 8 | package gcimporter 9 | 10 | import "go/types" 11 | 12 | const iexportVersion = iexportVersionGo1_11 13 | 14 | func additionalPredeclared() []types.Type { 15 | return nil 16 | } 17 | -------------------------------------------------------------------------------- /tools/vendor/golang.org/x/tools/internal/pkgbits/support.go: -------------------------------------------------------------------------------- 1 | // Copyright 2022 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package pkgbits 6 | 7 | import "fmt" 8 | 9 | func assert(b bool) { 10 | if !b { 11 | panic("assertion failed") 12 | } 13 | } 14 | 15 | func errorf(format string, args ...interface{}) { 16 | panic(fmt.Errorf(format, args...)) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/fvbommel/sortorder/README.md: -------------------------------------------------------------------------------- 1 | # sortorder [![PkgGoDev](https://pkg.go.dev/badge/github.com/fvbommel/sortorder)](https://pkg.go.dev/github.com/fvbommel/sortorder) 2 | 3 | import "github.com/fvbommel/sortorder" 4 | 5 | Sort orders and comparison functions. 6 | 7 | Case-insensitive sort orders are in the `casefolded` sub-package 8 | because it pulls in the Unicode tables in the standard library, 9 | which can add significantly to the size of binaries. 10 | -------------------------------------------------------------------------------- /vendor/github.com/goodhosts/hostsfile/os_windows.go: -------------------------------------------------------------------------------- 1 | package hostsfile 2 | 3 | var ( 4 | HostsPerLine = 9 5 | HostsFilePath = "${SystemRoot}/System32/drivers/etc/hosts" 6 | eol = "\r\n" 7 | ) 8 | 9 | func (h *Hosts) preFlush() error { 10 | // need to force hosts per line always on windows see https://github.com/goodhosts/hostsfile/issues/18 11 | h.HostsPerLine(HostsPerLine) 12 | return nil 13 | } 14 | 15 | func (h *Hosts) postFlush() error { return nil } 16 | -------------------------------------------------------------------------------- /vendor/github.com/theupdateframework/notary/trustmanager/yubikey/pkcs11_linux.go: -------------------------------------------------------------------------------- 1 | // +build pkcs11,linux 2 | 3 | package yubikey 4 | 5 | var possiblePkcs11Libs = []string{ 6 | "/usr/lib/libykcs11.so", 7 | "/usr/lib/libykcs11.so.1", // yubico-piv-tool on Fedora installs here 8 | "/usr/lib64/libykcs11.so", 9 | "/usr/lib64/libykcs11.so.1", // yubico-piv-tool on Fedora installs here 10 | "/usr/lib/x86_64-linux-gnu/libykcs11.so", 11 | "/usr/local/lib/libykcs11.so", 12 | } 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/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 aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | type Signal = syscall.Signal 12 | type Errno = syscall.Errno 13 | type SysProcAttr = syscall.SysProcAttr 14 | -------------------------------------------------------------------------------- /tools/vendor/golang.org/x/sys/unix/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 aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | type Signal = syscall.Signal 12 | type Errno = syscall.Errno 13 | type SysProcAttr = syscall.SysProcAttr 14 | -------------------------------------------------------------------------------- /vendor/github.com/cpuguy83/go-md2man/v2/md2man/md2man.go: -------------------------------------------------------------------------------- 1 | package md2man 2 | 3 | import ( 4 | "github.com/russross/blackfriday/v2" 5 | ) 6 | 7 | // Render converts a markdown document into a roff formatted document. 8 | func Render(doc []byte) []byte { 9 | renderer := NewRoffRenderer() 10 | 11 | return blackfriday.Run(doc, 12 | []blackfriday.Option{ 13 | blackfriday.WithRenderer(renderer), 14 | blackfriday.WithExtensions(renderer.GetExtensions()), 15 | }...) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/config_remove.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import "context" 4 | 5 | // ConfigRemove removes a config. 6 | func (cli *Client) ConfigRemove(ctx context.Context, id string) error { 7 | if err := cli.NewVersionError(ctx, "1.30", "config remove"); err != nil { 8 | return err 9 | } 10 | resp, err := cli.delete(ctx, "/configs/"+id, nil, nil) 11 | defer ensureReaderClosed(resp) 12 | return err 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/secret_remove.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import "context" 4 | 5 | // SecretRemove removes a secret. 6 | func (cli *Client) SecretRemove(ctx context.Context, id string) error { 7 | if err := cli.NewVersionError(ctx, "1.25", "secret remove"); err != nil { 8 | return err 9 | } 10 | resp, err := cli.delete(ctx, "/secrets/"+id, nil, nil) 11 | defer ensureReaderClosed(resp) 12 | return err 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sync/errgroup/pre_go120.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 | //go:build !go1.20 6 | 7 | package errgroup 8 | 9 | import "context" 10 | 11 | func withCancelCause(parent context.Context) (context.Context, func(error)) { 12 | ctx, cancel := context.WithCancel(parent) 13 | return ctx, func(error) { cancel() } 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/swarm_leave.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | "net/url" 6 | ) 7 | 8 | // SwarmLeave leaves the swarm. 9 | func (cli *Client) SwarmLeave(ctx context.Context, force bool) error { 10 | query := url.Values{} 11 | if force { 12 | query.Set("force", "1") 13 | } 14 | resp, err := cli.post(ctx, "/swarm/leave", query, nil, nil) 15 | ensureReaderClosed(resp) 16 | return err 17 | } 18 | -------------------------------------------------------------------------------- /tools/vendor/github.com/docker/docker/client/config_remove.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import "context" 4 | 5 | // ConfigRemove removes a config. 6 | func (cli *Client) ConfigRemove(ctx context.Context, id string) error { 7 | if err := cli.NewVersionError(ctx, "1.30", "config remove"); err != nil { 8 | return err 9 | } 10 | resp, err := cli.delete(ctx, "/configs/"+id, nil, nil) 11 | defer ensureReaderClosed(resp) 12 | return err 13 | } 14 | -------------------------------------------------------------------------------- /tools/vendor/github.com/docker/docker/client/secret_remove.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import "context" 4 | 5 | // SecretRemove removes a secret. 6 | func (cli *Client) SecretRemove(ctx context.Context, id string) error { 7 | if err := cli.NewVersionError(ctx, "1.25", "secret remove"); err != nil { 8 | return err 9 | } 10 | resp, err := cli.delete(ctx, "/secrets/"+id, nil, nil) 11 | defer ensureReaderClosed(resp) 12 | return err 13 | } 14 | -------------------------------------------------------------------------------- /tools/vendor/github.com/docker/docker/client/swarm_leave.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | "net/url" 6 | ) 7 | 8 | // SwarmLeave leaves the swarm. 9 | func (cli *Client) SwarmLeave(ctx context.Context, force bool) error { 10 | query := url.Values{} 11 | if force { 12 | query.Set("force", "1") 13 | } 14 | resp, err := cli.post(ctx, "/swarm/leave", query, nil, nil) 15 | ensureReaderClosed(resp) 16 | return err 17 | } 18 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/.markdownlint.yaml: -------------------------------------------------------------------------------- 1 | # Default state for all rules 2 | default: true 3 | 4 | # ul-style 5 | MD004: false 6 | 7 | # hard-tabs 8 | MD010: false 9 | 10 | # line-length 11 | MD013: false 12 | 13 | # no-duplicate-header 14 | MD024: 15 | siblings_only: true 16 | 17 | #single-title 18 | MD025: false 19 | 20 | # ol-prefix 21 | MD029: 22 | style: ordered 23 | 24 | # no-inline-html 25 | MD033: false 26 | 27 | # fenced-code-language 28 | MD040: false 29 | 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/idna/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 | // Transitional processing is disabled by default in Go 1.18. 12 | // https://golang.org/issue/47510 13 | const transitionalLookup = false 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/internal/gcimporter/newInterface11.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 go1.11 6 | // +build go1.11 7 | 8 | package gcimporter 9 | 10 | import "go/types" 11 | 12 | func newInterface(methods []*types.Func, embeddeds []types.Type) *types.Interface { 13 | return types.NewInterfaceType(methods, embeddeds) 14 | } 15 | -------------------------------------------------------------------------------- /proxy/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM nginx:1.25.1-alpine3.17 2 | # TODO:_ consider switching to https://github.com/abtreece/confd to not maintain a custom fork anymore 3 | 4 | ARG OS 5 | ARG ARCH 6 | 7 | ENV OS=${OS} 8 | ENV ARCH=${ARCH} 9 | COPY install-confd.sh /scripts/install-confd.sh 10 | RUN mkdir -p /etc/confd \ 11 | && /scripts/install-confd.sh 12 | 13 | COPY templates /etc/confd/templates/ 14 | COPY conf.d /etc/confd/conf.d/ 15 | COPY nginx-proxy /usr/bin/ 16 | 17 | ENTRYPOINT nginx-proxy 18 | -------------------------------------------------------------------------------- /tools/vendor/go.opentelemetry.io/otel/.markdownlint.yaml: -------------------------------------------------------------------------------- 1 | # Default state for all rules 2 | default: true 3 | 4 | # ul-style 5 | MD004: false 6 | 7 | # hard-tabs 8 | MD010: false 9 | 10 | # line-length 11 | MD013: false 12 | 13 | # no-duplicate-header 14 | MD024: 15 | siblings_only: true 16 | 17 | #single-title 18 | MD025: false 19 | 20 | # ol-prefix 21 | MD029: 22 | style: ordered 23 | 24 | # no-inline-html 25 | MD033: false 26 | 27 | # fenced-code-language 28 | MD040: false 29 | 30 | -------------------------------------------------------------------------------- /tools/vendor/golang.org/x/tools/internal/gcimporter/newInterface11.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 go1.11 6 | // +build go1.11 7 | 8 | package gcimporter 9 | 10 | import "go/types" 11 | 12 | func newInterface(methods []*types.Func, embeddeds []types.Type) *types.Interface { 13 | return types.NewInterfaceType(methods, embeddeds) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/stat_bsd.go: -------------------------------------------------------------------------------- 1 | //go:build freebsd || netbsd 2 | 3 | package system // import "github.com/docker/docker/pkg/system" 4 | 5 | import "syscall" 6 | 7 | // fromStatT converts a syscall.Stat_t type to a system.Stat_t type 8 | func fromStatT(s *syscall.Stat_t) (*StatT, error) { 9 | return &StatT{ 10 | size: s.Size, 11 | mode: uint32(s.Mode), 12 | uid: s.Uid, 13 | gid: s.Gid, 14 | rdev: uint64(s.Rdev), 15 | mtim: s.Mtimespec, 16 | }, nil 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/docker/go-metrics/register.go: -------------------------------------------------------------------------------- 1 | package metrics 2 | 3 | import "github.com/prometheus/client_golang/prometheus" 4 | 5 | // Register adds all the metrics in the provided namespace to the global 6 | // metrics registry 7 | func Register(n *Namespace) { 8 | prometheus.MustRegister(n) 9 | } 10 | 11 | // Deregister removes all the metrics in the provided namespace from the 12 | // global metrics registry 13 | func Deregister(n *Namespace) { 14 | prometheus.Unregister(n) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/pagesize_unix.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 | //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris 6 | 7 | // For Unix, get the pagesize from the runtime. 8 | 9 | package unix 10 | 11 | import "syscall" 12 | 13 | func Getpagesize() int { 14 | return syscall.Getpagesize() 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/readdirent_getdents.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 aix || dragonfly || freebsd || linux || netbsd || openbsd 6 | 7 | package unix 8 | 9 | // ReadDirent reads directory entries from fd and writes them into buf. 10 | func ReadDirent(fd int, buf []byte) (n int, err error) { 11 | return Getdents(fd, buf) 12 | } 13 | -------------------------------------------------------------------------------- /tools/vendor/golang.org/x/sys/unix/pagesize_unix.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 | //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris 6 | 7 | // For Unix, get the pagesize from the runtime. 8 | 9 | package unix 10 | 11 | import "syscall" 12 | 13 | func Getpagesize() int { 14 | return syscall.Getpagesize() 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/docker/go-connections/tlsconfig/certpool.go: -------------------------------------------------------------------------------- 1 | package tlsconfig 2 | 3 | import ( 4 | "crypto/x509" 5 | "runtime" 6 | ) 7 | 8 | // SystemCertPool returns a copy of the system cert pool, 9 | // returns an error if failed to load or empty pool on windows. 10 | func SystemCertPool() (*x509.CertPool, error) { 11 | certpool, err := x509.SystemCertPool() 12 | if err != nil && runtime.GOOS == "windows" { 13 | return x509.NewCertPool(), nil 14 | } 15 | return certpool, err 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/zstd/matchlen_amd64.go: -------------------------------------------------------------------------------- 1 | //go:build amd64 && !appengine && !noasm && gc 2 | // +build amd64,!appengine,!noasm,gc 3 | 4 | // Copyright 2019+ Klaus Post. All rights reserved. 5 | // License information can be found in the LICENSE file. 6 | 7 | package zstd 8 | 9 | // matchLen returns how many bytes match in a and b 10 | // 11 | // It assumes that: 12 | // 13 | // len(a) <= len(b) and len(a) > 0 14 | // 15 | //go:noescape 16 | func matchLen(a []byte, b []byte) int 17 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go_above_19.go: -------------------------------------------------------------------------------- 1 | //+build go1.9 2 | 3 | package reflect2 4 | 5 | import ( 6 | "unsafe" 7 | ) 8 | 9 | //go:linkname resolveTypeOff reflect.resolveTypeOff 10 | func resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer 11 | 12 | //go:linkname makemap reflect.makemap 13 | func makemap(rtype unsafe.Pointer, cap int) (m unsafe.Pointer) 14 | 15 | func makeMapWithSize(rtype unsafe.Pointer, cap int) unsafe.Pointer { 16 | return makemap(rtype, cap) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/sysvshm_unix_other.go: -------------------------------------------------------------------------------- 1 | // Copyright 2021 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 | // SysvShmCtl performs control operations on the shared memory segment 10 | // specified by id. 11 | func SysvShmCtl(id, cmd int, desc *SysvShmDesc) (result int, err error) { 12 | return shmctl(id, cmd, desc) 13 | } 14 | -------------------------------------------------------------------------------- /tools/vendor/golang.org/x/sys/unix/readdirent_getdents.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 aix || dragonfly || freebsd || linux || netbsd || openbsd 6 | 7 | package unix 8 | 9 | // ReadDirent reads directory entries from fd and writes them into buf. 10 | func ReadDirent(fd int, buf []byte) (n int, err error) { 11 | return Getdents(fd, buf) 12 | } 13 | -------------------------------------------------------------------------------- /tools/vendor/golang.org/x/sys/unix/sysvshm_unix_other.go: -------------------------------------------------------------------------------- 1 | // Copyright 2021 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 | // SysvShmCtl performs control operations on the shared memory segment 10 | // specified by id. 11 | func SysvShmCtl(id, cmd int, desc *SysvShmDesc) (result int, err error) { 12 | return shmctl(id, cmd, desc) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/google/go-containerregistry/pkg/legacy/tarball/README.md: -------------------------------------------------------------------------------- 1 | # `legacy/tarball` 2 | 3 | [![GoDoc](https://godoc.org/github.com/google/go-containerregistry/pkg/legacy/tarball?status.svg)](https://godoc.org/github.com/google/go-containerregistry/pkg/legacy/tarball) 4 | 5 | This package implements support for writing legacy tarballs, as described 6 | [here](https://github.com/moby/moby/blob/749d90e10f989802638ae542daf54257f3bf71f2/image/spec/v1.2.md#combined-image-json--filesystem-changeset-format). 7 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/args_windows.go: -------------------------------------------------------------------------------- 1 | package system // import "github.com/docker/docker/pkg/system" 2 | 3 | import ( 4 | "strings" 5 | 6 | "golang.org/x/sys/windows" 7 | ) 8 | 9 | // EscapeArgs makes a Windows-style escaped command line from a set of arguments 10 | func EscapeArgs(args []string) string { 11 | escapedArgs := make([]string, len(args)) 12 | for i, a := range args { 13 | escapedArgs[i] = windows.EscapeArg(a) 14 | } 15 | return strings.Join(escapedArgs, " ") 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/plan9/pwd_go15_plan9.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 go1.5 6 | 7 | package plan9 8 | 9 | import "syscall" 10 | 11 | func fixwd() { 12 | syscall.Fixwd() 13 | } 14 | 15 | func Getwd() (wd string, err error) { 16 | return syscall.Getwd() 17 | } 18 | 19 | func Chdir(path string) error { 20 | return syscall.Chdir(path) 21 | } 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/internal/typesinternal/types_118.go: -------------------------------------------------------------------------------- 1 | // Copyright 2021 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.18 6 | // +build go1.18 7 | 8 | package typesinternal 9 | 10 | import ( 11 | "go/types" 12 | ) 13 | 14 | func init() { 15 | SetGoVersion = func(conf *types.Config, version string) bool { 16 | conf.GoVersion = version 17 | return true 18 | } 19 | } 20 | --------------------------------------------------------------------------------