├── .dockerignore ├── .gitignore ├── test ├── config.txt ├── date.yml ├── error.yml ├── sleep.yml ├── more_replicas.yml ├── query.yml ├── global.yml └── configs.yml ├── .github ├── CODEOWNERS ├── FUNDING.yml ├── swarm-cronjob.png ├── ISSUE_TEMPLATE │ ├── config.yml │ └── feature.yml └── dependabot.yml ├── docs ├── changelog.md ├── assets │ ├── logo.png │ ├── favicon.ico │ ├── meta │ │ ├── favicon-128.png │ │ ├── favicon-16x16.png │ │ ├── favicon-32x32.png │ │ ├── favicon-96x96.png │ │ ├── mstile-70x70.png │ │ ├── favicon-196x196.png │ │ ├── mstile-144x144.png │ │ ├── mstile-150x150.png │ │ ├── mstile-310x150.png │ │ ├── mstile-310x310.png │ │ ├── apple-touch-icon-57x57.png │ │ ├── apple-touch-icon-60x60.png │ │ ├── apple-touch-icon-72x72.png │ │ ├── apple-touch-icon-76x76.png │ │ ├── apple-touch-icon-114x114.png │ │ ├── apple-touch-icon-120x120.png │ │ ├── apple-touch-icon-144x144.png │ │ └── apple-touch-icon-152x152.png │ └── stylesheets │ │ └── extra.css ├── donate.md └── examples │ └── prune-swarm-nodes.md ├── vendor ├── github.com │ ├── alecthomas │ │ └── kong │ │ │ ├── .gitignore │ │ │ ├── kong.png │ │ │ ├── kong.sketch │ │ │ ├── guesswidth.go │ │ │ ├── error.go │ │ │ ├── global.go │ │ │ ├── defaults.go │ │ │ ├── renovate.json5 │ │ │ └── negatable.go │ ├── felixge │ │ └── httpsnoop │ │ │ ├── .gitignore │ │ │ ├── Makefile │ │ │ └── docs.go │ ├── rs │ │ └── zerolog │ │ │ ├── CNAME │ │ │ ├── _config.yml │ │ │ ├── not_go112.go │ │ │ ├── pretty.png │ │ │ ├── go112.go │ │ │ └── .gitignore │ ├── Microsoft │ │ └── go-winio │ │ │ ├── .gitignore │ │ │ └── syscall.go │ ├── docker │ │ ├── go-connections │ │ │ ├── sockets │ │ │ │ ├── README.md │ │ │ │ └── tcp_socket.go │ │ │ └── tlsconfig │ │ │ │ ├── certpool.go │ │ │ │ └── config_client_ciphers.go │ │ ├── distribution │ │ │ ├── .dockerignore │ │ │ ├── manifest │ │ │ │ ├── doc.go │ │ │ │ └── versioned.go │ │ │ ├── doc.go │ │ │ ├── metrics │ │ │ │ └── prometheus.go │ │ │ ├── registry │ │ │ │ └── api │ │ │ │ │ └── v2 │ │ │ │ │ └── doc.go │ │ │ └── .gitignore │ │ ├── cli │ │ │ ├── cli │ │ │ │ ├── config │ │ │ │ │ ├── credentials │ │ │ │ │ │ ├── default_store_windows.go │ │ │ │ │ │ ├── default_store_darwin.go │ │ │ │ │ │ ├── default_store_unsupported.go │ │ │ │ │ │ ├── default_store_linux.go │ │ │ │ │ │ ├── default_store.go │ │ │ │ │ │ └── credentials.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 │ │ │ │ └── command │ │ │ │ │ └── trust.go │ │ │ ├── opts │ │ │ │ └── hosts_unix.go │ │ │ └── NOTICE │ │ ├── docker │ │ │ ├── api │ │ │ │ ├── types │ │ │ │ │ ├── error_response_ext.go │ │ │ │ │ ├── checkpoint │ │ │ │ │ │ ├── list.go │ │ │ │ │ │ └── options.go │ │ │ │ │ ├── swarm │ │ │ │ │ │ ├── runtime │ │ │ │ │ │ │ ├── gen.go │ │ │ │ │ │ │ └── plugin.proto │ │ │ │ │ │ ├── service_update_response.go │ │ │ │ │ │ └── service_create_response.go │ │ │ │ │ ├── container │ │ │ │ │ │ ├── errors.go │ │ │ │ │ │ ├── wait_exit_error.go │ │ │ │ │ │ ├── change_type.go │ │ │ │ │ │ ├── wait_response.go │ │ │ │ │ │ ├── filesystem_change.go │ │ │ │ │ │ ├── change_types.go │ │ │ │ │ │ ├── create_request.go │ │ │ │ │ │ ├── create_response.go │ │ │ │ │ │ └── container_update.go │ │ │ │ │ ├── volume │ │ │ │ │ │ ├── volume_update.go │ │ │ │ │ │ ├── options.go │ │ │ │ │ │ └── list_response.go │ │ │ │ │ ├── error_response.go │ │ │ │ │ ├── id_response.go │ │ │ │ │ ├── image │ │ │ │ │ │ └── delete_response.go │ │ │ │ │ ├── plugin_interface_type.go │ │ │ │ │ ├── network │ │ │ │ │ │ └── create_response.go │ │ │ │ │ ├── plugin_env.go │ │ │ │ │ ├── plugin_device.go │ │ │ │ │ ├── blkiodev │ │ │ │ │ │ └── blkio.go │ │ │ │ │ ├── port.go │ │ │ │ │ └── system │ │ │ │ │ │ └── runtime.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 │ │ │ │ ├── build_cancel.go │ │ │ │ ├── container_rename.go │ │ │ │ ├── checkpoint_create.go │ │ │ │ ├── node_remove.go │ │ │ │ ├── node_update.go │ │ │ │ ├── plugin_remove.go │ │ │ │ ├── plugin_disable.go │ │ │ │ ├── plugin_enable.go │ │ │ │ ├── container_kill.go │ │ │ │ ├── plugin_push.go │ │ │ │ ├── container_export.go │ │ │ │ ├── image_save.go │ │ │ │ ├── swarm_inspect.go │ │ │ │ ├── swarm_init.go │ │ │ │ ├── version.go │ │ │ │ ├── network_disconnect.go │ │ │ │ ├── volume_create.go │ │ │ │ ├── network_connect.go │ │ │ │ ├── config_update.go │ │ │ │ ├── secret_update.go │ │ │ │ ├── swarm_get_unlock_key.go │ │ │ │ ├── checkpoint_delete.go │ │ │ │ ├── interface_experimental.go │ │ │ │ └── plugin_create.go │ │ │ ├── errdefs │ │ │ │ └── doc.go │ │ │ └── NOTICE │ │ ├── go-metrics │ │ │ ├── docs.go │ │ │ ├── helpers.go │ │ │ ├── unit.go │ │ │ ├── register.go │ │ │ └── NOTICE │ │ ├── go-units │ │ │ ├── circle.yml │ │ │ └── README.md │ │ └── docker-credential-helpers │ │ │ └── credentials │ │ │ ├── version.go │ │ │ └── helper.go │ ├── miekg │ │ └── pkcs11 │ │ │ ├── softhsm.conf │ │ │ ├── .gitignore │ │ │ ├── hsm.db │ │ │ ├── softhsm2.conf │ │ │ ├── .travis.yml │ │ │ └── release.go │ ├── spf13 │ │ ├── pflag │ │ │ ├── .gitignore │ │ │ └── .travis.yml │ │ └── cobra │ │ │ ├── .mailmap │ │ │ ├── MAINTAINERS │ │ │ └── .gitignore │ ├── robfig │ │ └── cron │ │ │ └── v3 │ │ │ ├── .travis.yml │ │ │ └── .gitignore │ ├── 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 │ │ │ ├── client │ │ │ └── repo.go │ │ │ ├── storage │ │ │ └── errors.go │ │ │ ├── MAINTAINERS.ALUMNI │ │ │ └── notary.go │ ├── distribution │ │ └── reference │ │ │ ├── .gitattributes │ │ │ ├── .gitignore │ │ │ ├── CODE-OF-CONDUCT.md │ │ │ ├── SECURITY.md │ │ │ └── .golangci.yml │ ├── sirupsen │ │ └── logrus │ │ │ ├── .gitignore │ │ │ ├── terminal_check_js.go │ │ │ ├── terminal_check_appengine.go │ │ │ ├── terminal_check_no_terminal.go │ │ │ ├── terminal_check_solaris.go │ │ │ ├── terminal_check_unix.go │ │ │ ├── appveyor.yml │ │ │ ├── terminal_check_bsd.go │ │ │ ├── terminal_check_notappengine.go │ │ │ ├── .travis.yml │ │ │ ├── terminal_check_windows.go │ │ │ └── doc.go │ ├── matttproud │ │ └── golang_protobuf_extensions │ │ │ ├── pbutil │ │ │ ├── .gitignore │ │ │ └── Makefile │ │ │ └── NOTICE │ ├── prometheus │ │ ├── procfs │ │ │ ├── MAINTAINERS.md │ │ │ ├── .travis.yml │ │ │ ├── NOTICE │ │ │ ├── Makefile │ │ │ └── README.md │ │ ├── client_golang │ │ │ └── prometheus │ │ │ │ ├── .gitignore │ │ │ │ └── README.md │ │ ├── client_model │ │ │ └── NOTICE │ │ └── common │ │ │ └── NOTICE │ ├── mattn │ │ ├── go-isatty │ │ │ ├── doc.go │ │ │ ├── go.test.sh │ │ │ ├── isatty_others.go │ │ │ ├── isatty_tcgets.go │ │ │ ├── isatty_plan9.go │ │ │ ├── isatty_bsd.go │ │ │ └── isatty_solaris.go │ │ └── go-colorable │ │ │ └── go.test.sh │ ├── opencontainers │ │ └── go-digest │ │ │ ├── .travis.yml │ │ │ ├── .mailmap │ │ │ ├── MAINTAINERS │ │ │ └── .pullapprove.yml │ ├── moby │ │ └── term │ │ │ ├── doc.go │ │ │ ├── termios_bsd.go │ │ │ ├── termios_nonbsd.go │ │ │ ├── .gitignore │ │ │ └── windows │ │ │ └── doc.go │ ├── grpc-ecosystem │ │ └── grpc-gateway │ │ │ └── v2 │ │ │ ├── utilities │ │ │ ├── doc.go │ │ │ └── readerfactory.go │ │ │ ├── runtime │ │ │ └── doc.go │ │ │ └── internal │ │ │ └── httprule │ │ │ └── fuzz.go │ ├── Azure │ │ └── go-ansiterm │ │ │ ├── context.go │ │ │ ├── winterm │ │ │ └── utilities.go │ │ │ ├── utilities.go │ │ │ └── ground_state.go │ ├── google │ │ └── uuid │ │ │ ├── CONTRIBUTORS │ │ │ ├── doc.go │ │ │ └── node_js.go │ ├── go-logr │ │ ├── logr │ │ │ ├── CHANGELOG.md │ │ │ ├── .golangci.yaml │ │ │ └── CONTRIBUTING.md │ │ └── stdr │ │ │ └── README.md │ ├── pkg │ │ └── errors │ │ │ ├── .travis.yml │ │ │ └── .gitignore │ ├── golang │ │ └── protobuf │ │ │ ├── AUTHORS │ │ │ └── CONTRIBUTORS │ ├── fvbommel │ │ └── sortorder │ │ │ ├── doc.go │ │ │ ├── .gitignore │ │ │ └── README.md │ ├── gorilla │ │ └── mux │ │ │ ├── AUTHORS │ │ │ ├── context.go │ │ │ ├── ISSUE_TEMPLATE.md │ │ │ └── .travis.yml │ ├── cenkalti │ │ └── backoff │ │ │ └── v4 │ │ │ └── .gitignore │ ├── inconshreveable │ │ └── mousetrap │ │ │ └── trap_others.go │ ├── gogo │ │ └── protobuf │ │ │ └── AUTHORS │ └── containerd │ │ └── log │ │ └── .golangci.yml ├── google.golang.org │ ├── grpc │ │ ├── AUTHORS │ │ ├── GOVERNANCE.md │ │ ├── CODE-OF-CONDUCT.md │ │ ├── SECURITY.md │ │ └── NOTICE.txt │ └── protobuf │ │ ├── internal │ │ ├── editiondefaults │ │ │ ├── editions_defaults.binpb │ │ │ └── defaults.go │ │ ├── flags │ │ │ ├── proto_legacy_enable.go │ │ │ └── proto_legacy_disable.go │ │ ├── impl │ │ │ ├── codec_map_go112.go │ │ │ ├── codec_unsafe.go │ │ │ └── enum.go │ │ ├── errors │ │ │ └── is_go113.go │ │ └── genid │ │ │ ├── doc.go │ │ │ ├── wrappers.go │ │ │ ├── map_entry.go │ │ │ └── empty_gen.go │ │ ├── encoding │ │ ├── prototext │ │ │ └── doc.go │ │ └── protojson │ │ │ └── doc.go │ │ ├── runtime │ │ └── protoiface │ │ │ └── legacy.go │ │ └── proto │ │ ├── proto_reflect.go │ │ └── proto_methods.go ├── golang.org │ └── x │ │ ├── net │ │ ├── http2 │ │ │ ├── .gitignore │ │ │ ├── config_pre_go124.go │ │ │ └── timer.go │ │ └── idna │ │ │ ├── pre_go118.go │ │ │ └── go118.go │ │ ├── sys │ │ ├── unix │ │ │ ├── .gitignore │ │ │ ├── ptrace_ios.go │ │ │ ├── vgetrandom_unsupported.go │ │ │ ├── syscall_linux_amd64_gc.go │ │ │ ├── endian_big.go │ │ │ ├── ptrace_darwin.go │ │ │ ├── constants.go │ │ │ ├── endian_little.go │ │ │ ├── mmap_nomremap.go │ │ │ ├── vgetrandom_linux.go │ │ │ ├── aliases.go │ │ │ ├── readdirent_getdents.go │ │ │ ├── pagesize_unix.go │ │ │ ├── sysvshm_unix_other.go │ │ │ ├── asm_aix_ppc64.s │ │ │ ├── syscall_linux_gc_arm.go │ │ │ ├── asm_solaris_amd64.s │ │ │ ├── fcntl_linux_32bit.go │ │ │ ├── syscall_linux_alarm.go │ │ │ ├── gccgo_linux_amd64.go │ │ │ ├── syscall_linux_gc.go │ │ │ ├── syscall_hurd_386.go │ │ │ ├── sysvshm_linux.go │ │ │ ├── sockcmsg_dragonfly.go │ │ │ ├── race0.go │ │ │ ├── syscall_linux_gc_386.go │ │ │ ├── syscall_linux_gccgo_arm.go │ │ │ └── syscall_unix_gc.go │ │ ├── plan9 │ │ │ ├── asm.s │ │ │ ├── pwd_go15_plan9.go │ │ │ ├── pwd_plan9.go │ │ │ ├── race0.go │ │ │ ├── mksysnum_plan9.sh │ │ │ ├── str.go │ │ │ └── env_plan9.go │ │ └── windows │ │ │ ├── aliases.go │ │ │ ├── registry │ │ │ └── mksyscall.go │ │ │ ├── mksyscall.go │ │ │ ├── race0.go │ │ │ └── str.go │ │ ├── term │ │ ├── codereview.cfg │ │ ├── term_unix_other.go │ │ ├── term_unix_bsd.go │ │ └── README.md │ │ └── text │ │ └── secure │ │ └── bidirule │ │ ├── bidirule10.0.0.go │ │ └── bidirule9.0.0.go └── go.opentelemetry.io │ ├── otel │ ├── requirements.txt │ ├── .gitattributes │ ├── .codespellignore │ ├── sdk │ │ ├── README.md │ │ ├── trace │ │ │ ├── README.md │ │ │ ├── version.go │ │ │ └── doc.go │ │ ├── metric │ │ │ ├── README.md │ │ │ ├── exemplar │ │ │ │ ├── README.md │ │ │ │ └── doc.go │ │ │ ├── metricdata │ │ │ │ └── README.md │ │ │ ├── version.go │ │ │ └── internal │ │ │ │ ├── aggregate │ │ │ │ └── doc.go │ │ │ │ └── reuse_slice.go │ │ ├── resource │ │ │ ├── README.md │ │ │ ├── host_id_darwin.go │ │ │ ├── host_id_linux.go │ │ │ ├── host_id_bsd.go │ │ │ ├── host_id_readfile.go │ │ │ └── host_id_exec.go │ │ ├── instrumentation │ │ │ ├── README.md │ │ │ ├── library.go │ │ │ ├── scope.go │ │ │ └── doc.go │ │ └── version.go │ ├── codes │ │ ├── README.md │ │ └── doc.go │ ├── baggage │ │ ├── README.md │ │ └── doc.go │ ├── metric │ │ ├── README.md │ │ ├── noop │ │ │ └── README.md │ │ └── embedded │ │ │ └── README.md │ ├── trace │ │ ├── README.md │ │ ├── noop │ │ │ └── README.md │ │ ├── embedded │ │ │ └── README.md │ │ └── nonrecording.go │ ├── attribute │ │ ├── README.md │ │ └── doc.go │ ├── .gitignore │ ├── propagation │ │ ├── README.md │ │ └── doc.go │ ├── semconv │ │ ├── v1.20.0 │ │ │ ├── README.md │ │ │ ├── exception.go │ │ │ ├── http.go │ │ │ ├── doc.go │ │ │ └── schema.go │ │ ├── v1.21.0 │ │ │ ├── README.md │ │ │ ├── exception.go │ │ │ ├── doc.go │ │ │ └── schema.go │ │ └── v1.26.0 │ │ │ ├── README.md │ │ │ ├── exception.go │ │ │ ├── doc.go │ │ │ └── schema.go │ ├── exporters │ │ └── otlp │ │ │ ├── otlptrace │ │ │ ├── README.md │ │ │ ├── otlptracegrpc │ │ │ │ └── README.md │ │ │ ├── version.go │ │ │ ├── doc.go │ │ │ └── internal │ │ │ │ └── tracetransform │ │ │ │ └── resource.go │ │ │ └── otlpmetric │ │ │ └── otlpmetricgrpc │ │ │ ├── README.md │ │ │ └── version.go │ ├── version.go │ ├── .codespellrc │ ├── .lycheeignore │ ├── internal_logging.go │ ├── .markdownlint.yaml │ ├── CODEOWNERS │ └── verify_readmes.sh │ ├── auto │ └── sdk │ │ ├── internal │ │ └── telemetry │ │ │ └── doc.go │ │ └── doc.go │ └── contrib │ └── instrumentation │ └── net │ └── http │ └── otelhttp │ ├── doc.go │ └── version.go ├── codecov.yml ├── cmd ├── sig.go └── sig_windows.go ├── internal └── model │ ├── worker.go │ └── cli.go ├── Makefile ├── .editorconfig └── hack └── lint.Dockerfile /.dockerignore: -------------------------------------------------------------------------------- 1 | /bin 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /bin 2 | -------------------------------------------------------------------------------- /test/config.txt: -------------------------------------------------------------------------------- 1 | foo 2 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @crazy-max 2 | -------------------------------------------------------------------------------- /docs/changelog.md: -------------------------------------------------------------------------------- 1 | {!../CHANGELOG.md!} 2 | -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/kong/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/felixge/httpsnoop/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/rs/zerolog/CNAME: -------------------------------------------------------------------------------- 1 | zerolog.io -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/AUTHORS: -------------------------------------------------------------------------------- 1 | Google Inc. 2 | -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/go-winio/.gitignore: -------------------------------------------------------------------------------- 1 | *.exe 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/go-connections/sockets/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/pkcs11/softhsm.conf: -------------------------------------------------------------------------------- 1 | 0:hsm.db 2 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/* 2 | 3 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/.dockerignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | -------------------------------------------------------------------------------- /vendor/github.com/robfig/cron/v3/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | h2i/h2i 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/.gitignore: -------------------------------------------------------------------------------- 1 | _obj/ 2 | unix.test 3 | -------------------------------------------------------------------------------- /vendor/github.com/theupdateframework/notary/NOTARY_VERSION: -------------------------------------------------------------------------------- 1 | 0.6.1 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/term/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /vendor/github.com/rs/zerolog/_config.yml: -------------------------------------------------------------------------------- 1 | remote_theme: rs/gh-readme 2 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/requirements.txt: -------------------------------------------------------------------------------- 1 | codespell==2.3.0 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 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: crazy-max 2 | custom: https://www.paypal.me/crazyws 3 | -------------------------------------------------------------------------------- /vendor/github.com/distribution/reference/.gitignore: -------------------------------------------------------------------------------- 1 | # Cover profiles 2 | *.out 3 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/.gitignore: -------------------------------------------------------------------------------- 1 | logrus 2 | vendor 3 | 4 | .idea/ 5 | -------------------------------------------------------------------------------- /vendor/github.com/matttproud/golang_protobuf_extensions/pbutil/.gitignore: -------------------------------------------------------------------------------- 1 | cover.dat 2 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/MAINTAINERS.md: -------------------------------------------------------------------------------- 1 | * Tobias Schmidt 2 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/pkcs11/.gitignore: -------------------------------------------------------------------------------- 1 | tags 2 | test_db/*/generation 3 | test_db/*/*.lock 4 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/client_golang/prometheus/.gitignore: -------------------------------------------------------------------------------- 1 | command-line-arguments.test 2 | -------------------------------------------------------------------------------- /docs/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/docs/assets/logo.png -------------------------------------------------------------------------------- /docs/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/docs/assets/favicon.ico -------------------------------------------------------------------------------- /.github/swarm-cronjob.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/.github/swarm-cronjob.png -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/doc.go: -------------------------------------------------------------------------------- 1 | // Package isatty implements interface to isatty 2 | package isatty 3 | -------------------------------------------------------------------------------- /vendor/github.com/matttproud/golang_protobuf_extensions/NOTICE: -------------------------------------------------------------------------------- 1 | Copyright 2012 Matt T. Proud (matt.proud@gmail.com) 2 | -------------------------------------------------------------------------------- /docs/assets/meta/favicon-128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/docs/assets/meta/favicon-128.png -------------------------------------------------------------------------------- /docs/assets/meta/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/docs/assets/meta/favicon-16x16.png -------------------------------------------------------------------------------- /docs/assets/meta/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/docs/assets/meta/favicon-32x32.png -------------------------------------------------------------------------------- /docs/assets/meta/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/docs/assets/meta/favicon-96x96.png -------------------------------------------------------------------------------- /docs/assets/meta/mstile-70x70.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/docs/assets/meta/mstile-70x70.png -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/go-digest/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.12.x 4 | - 1.13.x 5 | - master 6 | -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- 1 | comment: false 2 | 3 | coverage: 4 | status: 5 | patch: false 6 | 7 | github_checks: 8 | annotations: false 9 | -------------------------------------------------------------------------------- /docs/assets/meta/favicon-196x196.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/docs/assets/meta/favicon-196x196.png -------------------------------------------------------------------------------- /docs/assets/meta/mstile-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/docs/assets/meta/mstile-144x144.png -------------------------------------------------------------------------------- /docs/assets/meta/mstile-150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/docs/assets/meta/mstile-150x150.png -------------------------------------------------------------------------------- /docs/assets/meta/mstile-310x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/docs/assets/meta/mstile-310x150.png -------------------------------------------------------------------------------- /docs/assets/meta/mstile-310x310.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/docs/assets/meta/mstile-310x310.png -------------------------------------------------------------------------------- /vendor/github.com/miekg/pkcs11/hsm.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/vendor/github.com/miekg/pkcs11/hsm.db -------------------------------------------------------------------------------- /vendor/github.com/rs/zerolog/not_go112.go: -------------------------------------------------------------------------------- 1 | // +build !go1.12 2 | 3 | package zerolog 4 | 5 | const contextCallerSkipFrameCount = 3 6 | -------------------------------------------------------------------------------- /vendor/github.com/rs/zerolog/pretty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/vendor/github.com/rs/zerolog/pretty.png -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/kong/kong.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/vendor/github.com/alecthomas/kong/kong.png -------------------------------------------------------------------------------- /docs/assets/meta/apple-touch-icon-57x57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/docs/assets/meta/apple-touch-icon-57x57.png -------------------------------------------------------------------------------- /docs/assets/meta/apple-touch-icon-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/docs/assets/meta/apple-touch-icon-60x60.png -------------------------------------------------------------------------------- /docs/assets/meta/apple-touch-icon-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/docs/assets/meta/apple-touch-icon-72x72.png -------------------------------------------------------------------------------- /docs/assets/meta/apple-touch-icon-76x76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/docs/assets/meta/apple-touch-icon-76x76.png -------------------------------------------------------------------------------- /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/assets/meta/apple-touch-icon-114x114.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/docs/assets/meta/apple-touch-icon-114x114.png -------------------------------------------------------------------------------- /docs/assets/meta/apple-touch-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/docs/assets/meta/apple-touch-icon-120x120.png -------------------------------------------------------------------------------- /docs/assets/meta/apple-touch-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/docs/assets/meta/apple-touch-icon-144x144.png -------------------------------------------------------------------------------- /docs/assets/meta/apple-touch-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/docs/assets/meta/apple-touch-icon-152x152.png -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/kong/kong.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/vendor/github.com/alecthomas/kong/kong.sketch -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/.codespellignore: -------------------------------------------------------------------------------- 1 | ot 2 | fo 3 | te 4 | collison 5 | consequentially 6 | ans 7 | nam 8 | valu 9 | thirdparty 10 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /docs/assets/stylesheets/extra.css: -------------------------------------------------------------------------------- 1 | .md-header-nav__title { 2 | font-size: .85rem; 3 | } 4 | 5 | .md-typeset__table code { 6 | word-break: normal; 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/grpc-ecosystem/grpc-gateway/v2/utilities/doc.go: -------------------------------------------------------------------------------- 1 | // Package utilities provides members for internal use in grpc-gateway. 2 | package utilities 3 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/pkcs11/softhsm2.conf: -------------------------------------------------------------------------------- 1 | log.level = INFO 2 | objectstore.backend = file 3 | directories.tokendir = test_db 4 | slots.removable = false 5 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_js.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package logrus 4 | 5 | func isTerminal(fd int) bool { 6 | return false 7 | } 8 | -------------------------------------------------------------------------------- /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/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/go.opentelemetry.io/otel/sdk/README.md: -------------------------------------------------------------------------------- 1 | # SDK 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/sdk)](https://pkg.go.dev/go.opentelemetry.io/otel/sdk) 4 | -------------------------------------------------------------------------------- /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/prometheus/procfs/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | 5 | go: 6 | - 1.9.x 7 | - 1.x 8 | 9 | go_import_path: github.com/prometheus/procfs 10 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/GOVERNANCE.md: -------------------------------------------------------------------------------- 1 | This repository is governed by the gRPC organization's [governance rules](https://github.com/grpc/grpc-community/blob/master/governance.md). 2 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Paul Borman 2 | bmatsuo 3 | shawnps 4 | theory 5 | jboverfelt 6 | dsymonds 7 | cd1 8 | wallclockbuilder 9 | dansouza 10 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /cmd/sig.go: -------------------------------------------------------------------------------- 1 | //go:build !windows 2 | // +build !windows 3 | 4 | package main 5 | 6 | import ( 7 | "golang.org/x/sys/unix" 8 | ) 9 | 10 | const ( 11 | SIGTERM = unix.SIGTERM 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/error_response_ext.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | // Error returns the error message 4 | func (e ErrorResponse) Error() string { 5 | return e.Message 6 | } 7 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/baggage/README.md: -------------------------------------------------------------------------------- 1 | # Baggage 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/baggage)](https://pkg.go.dev/go.opentelemetry.io/otel/baggage) 4 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/metric/README.md: -------------------------------------------------------------------------------- 1 | # Metric API 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/metric)](https://pkg.go.dev/go.opentelemetry.io/otel/metric) 4 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/trace/README.md: -------------------------------------------------------------------------------- 1 | # Trace API 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/trace)](https://pkg.go.dev/go.opentelemetry.io/otel/trace) 4 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/CODE-OF-CONDUCT.md: -------------------------------------------------------------------------------- 1 | ## Community Code of Conduct 2 | 3 | gRPC follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md). 4 | -------------------------------------------------------------------------------- /cmd/sig_windows.go: -------------------------------------------------------------------------------- 1 | //go:build windows 2 | // +build windows 3 | 4 | package main 5 | 6 | import ( 7 | "golang.org/x/sys/windows" 8 | ) 9 | 10 | const ( 11 | SIGTERM = windows.SIGTERM 12 | ) 13 | -------------------------------------------------------------------------------- /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/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/go.opentelemetry.io/otel/sdk/trace/README.md: -------------------------------------------------------------------------------- 1 | # SDK Trace 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/sdk/trace)](https://pkg.go.dev/go.opentelemetry.io/otel/sdk/trace) 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/grpc-ecosystem/grpc-gateway/v2/runtime/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package runtime contains runtime helper functions used by 3 | servers which protoc-gen-grpc-gateway generates. 4 | */ 5 | package runtime 6 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/metric/README.md: -------------------------------------------------------------------------------- 1 | # Metric SDK 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/sdk/metric)](https://pkg.go.dev/go.opentelemetry.io/otel/sdk/metric) 4 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/trace/noop/README.md: -------------------------------------------------------------------------------- 1 | # Trace Noop 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/trace/noop)](https://pkg.go.dev/go.opentelemetry.io/otel/trace/noop) 4 | -------------------------------------------------------------------------------- /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/go.opentelemetry.io/otel/metric/noop/README.md: -------------------------------------------------------------------------------- 1 | # Metric Noop 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/metric/noop)](https://pkg.go.dev/go.opentelemetry.io/otel/metric/noop) 4 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/propagation/README.md: -------------------------------------------------------------------------------- 1 | # Propagation 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/propagation)](https://pkg.go.dev/go.opentelemetry.io/otel/propagation) 4 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/resource/README.md: -------------------------------------------------------------------------------- 1 | # SDK Resource 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/sdk/resource)](https://pkg.go.dev/go.opentelemetry.io/otel/sdk/resource) 4 | -------------------------------------------------------------------------------- /vendor/github.com/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/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crazy-max/swarm-cronjob/HEAD/vendor/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb -------------------------------------------------------------------------------- /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/prometheus/client_golang/prometheus/README.md: -------------------------------------------------------------------------------- 1 | See [![go-doc](https://godoc.org/github.com/prometheus/client_golang/prometheus?status.svg)](https://godoc.org/github.com/prometheus/client_golang/prometheus). 2 | -------------------------------------------------------------------------------- /vendor/github.com/rs/zerolog/go112.go: -------------------------------------------------------------------------------- 1 | // +build go1.12 2 | 3 | package zerolog 4 | 5 | // Since go 1.12, some auto generated init functions are hidden from 6 | // runtime.Caller. 7 | const contextCallerSkipFrameCount = 2 8 | -------------------------------------------------------------------------------- /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/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/github.com/Microsoft/go-winio/syscall.go: -------------------------------------------------------------------------------- 1 | package winio 2 | 3 | //go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output zsyscall_windows.go file.go pipe.go sd.go fileinfo.go privilege.go backup.go hvsock.go 4 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/metric/embedded/README.md: -------------------------------------------------------------------------------- 1 | # Metric Embedded 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/metric/embedded)](https://pkg.go.dev/go.opentelemetry.io/otel/metric/embedded) 4 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/semconv/v1.20.0/README.md: -------------------------------------------------------------------------------- 1 | # Semconv v1.20.0 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/semconv/v1.20.0)](https://pkg.go.dev/go.opentelemetry.io/otel/semconv/v1.20.0) 4 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/semconv/v1.21.0/README.md: -------------------------------------------------------------------------------- 1 | # Semconv v1.21.0 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/semconv/v1.21.0)](https://pkg.go.dev/go.opentelemetry.io/otel/semconv/v1.21.0) 4 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/semconv/v1.26.0/README.md: -------------------------------------------------------------------------------- 1 | # Semconv v1.26.0 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/semconv/v1.26.0)](https://pkg.go.dev/go.opentelemetry.io/otel/semconv/v1.26.0) 4 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/client_model/NOTICE: -------------------------------------------------------------------------------- 1 | Data model artifacts for Prometheus. 2 | Copyright 2012-2015 The Prometheus Authors 3 | 4 | This product includes software developed at 5 | SoundCloud Ltd. (http://soundcloud.com/). 6 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_no_terminal.go: -------------------------------------------------------------------------------- 1 | // +build js nacl plan9 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | ) 8 | 9 | func checkIfTerminal(w io.Writer) bool { 10 | return false 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/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/spf13/cobra/MAINTAINERS: -------------------------------------------------------------------------------- 1 | maintainers: 2 | - spf13 3 | - johnSchnake 4 | - jpmcb 5 | - marckhouzam 6 | inactive: 7 | - anthonyfok 8 | - bep 9 | - bogem 10 | - broady 11 | - eparis 12 | - jharshman 13 | - wfernandes 14 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/instrumentation/README.md: -------------------------------------------------------------------------------- 1 | # SDK Instrumentation 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/sdk/instrumentation)](https://pkg.go.dev/go.opentelemetry.io/otel/sdk/instrumentation) 4 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/metric/exemplar/README.md: -------------------------------------------------------------------------------- 1 | # Metric SDK Exemplars 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/sdk/metric/exemplar)](https://pkg.go.dev/go.opentelemetry.io/otel/sdk/metric/exemplar) 4 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/metric/metricdata/README.md: -------------------------------------------------------------------------------- 1 | # SDK Metric data 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/sdk/metric/metricdata)](https://pkg.go.dev/go.opentelemetry.io/otel/sdk/metric/metricdata) 4 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | For information on gRPC Security Policy and reporting potential security issues, please see [gRPC CVE Process](https://github.com/grpc/proposal/blob/master/P4-grpc-cve-process.md). 4 | -------------------------------------------------------------------------------- /vendor/github.com/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/go.opentelemetry.io/otel/exporters/otlp/otlptrace/README.md: -------------------------------------------------------------------------------- 1 | # OTLP Trace Exporter 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/exporters/otlp/otlptrace)](https://pkg.go.dev/go.opentelemetry.io/otel/exporters/otlp/otlptrace) 4 | -------------------------------------------------------------------------------- /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/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/golang.org/x/sys/plan9/asm.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | #include "textflag.h" 6 | 7 | TEXT ·use(SB),NOSPLIT,$0 8 | RET 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/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/grpc-ecosystem/grpc-gateway/v2/internal/httprule/fuzz.go: -------------------------------------------------------------------------------- 1 | //go:build gofuzz 2 | // +build gofuzz 3 | 4 | package httprule 5 | 6 | func Fuzz(data []byte) int { 7 | if _, err := Parse(string(data)); err != nil { 8 | return 0 9 | } 10 | return 0 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/pkcs11/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: required 3 | dist: trusty 4 | 5 | go: 6 | - 1.9 7 | - tip 8 | 9 | script: 10 | - go test -v ./... 11 | 12 | before_script: 13 | - sudo apt-get update 14 | - sudo apt-get -y install libsofthsm 15 | -------------------------------------------------------------------------------- /vendor/github.com/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 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/go-digest/.mailmap: -------------------------------------------------------------------------------- 1 | Aaron Lehmann 2 | Derek McGowan 3 | Stephen J Day 4 | Haibing Zhou 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 | -------------------------------------------------------------------------------- /internal/model/worker.go: -------------------------------------------------------------------------------- 1 | package model 2 | 3 | // Job holds service job details 4 | type Job struct { 5 | Name string 6 | Enable bool 7 | Schedule string 8 | SkipRunning bool 9 | RegistryAuth bool 10 | QueryRegistry *bool 11 | Replicas uint64 12 | } 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/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/README.md: -------------------------------------------------------------------------------- 1 | # OTLP Trace gRPC Exporter 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc)](https://pkg.go.dev/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc) 4 | -------------------------------------------------------------------------------- /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/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/go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc/README.md: -------------------------------------------------------------------------------- 1 | # OTLP Metric gRPC Exporter 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc)](https://pkg.go.dev/go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc) 4 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: all 2 | all: 3 | 4 | .PHONY: vendor 5 | vendor: 6 | $(eval $@_TMP_OUT := $(shell mktemp -d -t swarm-cronjob-output.XXXXXXXXXX)) 7 | docker buildx bake --set "*.output=type=local,dest=$($@_TMP_OUT)" vendor 8 | rm -rf ./vendor 9 | cp -R "$($@_TMP_OUT)"/* ./ 10 | rm -rf "$($@_TMP_OUT)"/* 11 | -------------------------------------------------------------------------------- /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/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.33.0" 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/distribution/reference/CODE-OF-CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Code of Conduct 2 | 3 | We follow the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md). 4 | 5 | Please contact the [CNCF Code of Conduct Committee](mailto:conduct@cncf.io) in order to report violations of the Code of Conduct. 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/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/go.opentelemetry.io/otel/sdk/resource/host_id_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package resource // import "go.opentelemetry.io/otel/sdk/resource" 5 | 6 | var platformHostIDReader hostIDReader = &hostIDReaderDarwin{ 7 | execCommand: execCommand, 8 | } 9 | -------------------------------------------------------------------------------- /vendor/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/go.opentelemetry.io/auto/sdk/internal/telemetry/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | /* 5 | Package telemetry provides a lightweight representations of OpenTelemetry 6 | telemetry that is compatible with the OTLP JSON protobuf encoding. 7 | */ 8 | package telemetry 9 | -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/kong/guesswidth.go: -------------------------------------------------------------------------------- 1 | //go:build appengine || (!linux && !freebsd && !darwin && !dragonfly && !netbsd && !openbsd) 2 | // +build appengine !linux,!freebsd,!darwin,!dragonfly,!netbsd,!openbsd 3 | 4 | package kong 5 | 6 | import "io" 7 | 8 | func guessWidth(w io.Writer) int { 9 | return 80 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_solaris.go: -------------------------------------------------------------------------------- 1 | package logrus 2 | 3 | import ( 4 | "golang.org/x/sys/unix" 5 | ) 6 | 7 | // IsTerminal returns true if the given file descriptor is a terminal. 8 | func isTerminal(fd int) bool { 9 | _, err := unix.IoctlGetTermio(fd, unix.TCGETA) 10 | return err == nil 11 | } 12 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/version.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package sdk // import "go.opentelemetry.io/otel/sdk" 5 | 6 | // Version is the current release version of the OpenTelemetry SDK in use. 7 | func Version() string { 8 | return "1.33.0" 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/go-units/circle.yml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | post: 3 | # install golint 4 | - go get golang.org/x/lint/golint 5 | 6 | test: 7 | pre: 8 | # run analysis before tests 9 | - go vet ./... 10 | - test -z "$(golint ./... | tee /dev/stderr)" 11 | - test -z "$(gofmt -s -l . | tee /dev/stderr)" 12 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/mux/AUTHORS: -------------------------------------------------------------------------------- 1 | # This is the official list of gorilla/mux authors for copyright purposes. 2 | # 3 | # Please keep the list sorted. 4 | 5 | Google LLC (https://opensource.google.com/) 6 | Kamil Kisielk 7 | Matt Silverlock 8 | Rodrigo Moraes (https://github.com/moraes) 9 | -------------------------------------------------------------------------------- /vendor/github.com/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/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/moby/term/.gitignore: -------------------------------------------------------------------------------- 1 | # if you want to ignore files created by your editor/tools, consider using a 2 | # global .gitignore or .git/info/exclude see https://help.github.com/articles/ignoring-files 3 | .* 4 | !.github 5 | !.gitignore 6 | profile.out 7 | # support running go modules in vendor mode for local development 8 | vendor/ 9 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_unix.go: -------------------------------------------------------------------------------- 1 | // +build linux aix zos 2 | // +build !js 3 | 4 | package logrus 5 | 6 | import "golang.org/x/sys/unix" 7 | 8 | const ioctlReadTermios = unix.TCGETS 9 | 10 | func isTerminal(fd int) bool { 11 | _, err := unix.IoctlGetTermios(fd, ioctlReadTermios) 12 | return err == nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/metric/version.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package metric // import "go.opentelemetry.io/otel/sdk/metric" 5 | 6 | // version is the current release version of the metric SDK in use. 7 | func version() string { 8 | return "1.33.0" 9 | } 10 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/trace/version.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package trace // import "go.opentelemetry.io/otel/sdk/trace" 5 | 6 | // version is the current release version of the metric SDK in use. 7 | func version() string { 8 | return "1.16.0-rc.1" 9 | } 10 | -------------------------------------------------------------------------------- /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/google.golang.org/protobuf/encoding/prototext/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package prototext marshals and unmarshals protocol buffer messages as the 6 | // textproto format. 7 | package prototext 8 | -------------------------------------------------------------------------------- /vendor/github.com/distribution/reference/SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | ## Reporting a Vulnerability 4 | 5 | The maintainers take security seriously. If you discover a security issue, please bring it to their attention right away! 6 | 7 | Please DO NOT file a public issue, instead send your report privately to cncf-distribution-security@lists.cncf.io. 8 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/.codespellrc: -------------------------------------------------------------------------------- 1 | # https://github.com/codespell-project/codespell 2 | [codespell] 3 | builtin = clear,rare,informal 4 | check-filenames = 5 | check-hidden = 6 | ignore-words = .codespellignore 7 | interactive = 1 8 | skip = .git,go.mod,go.sum,go.work,go.work.sum,semconv,venv,.tools 9 | uri-ignore-words-list = * 10 | write = 11 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/.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/go.opentelemetry.io/otel/sdk/metric/exemplar/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | // Package exemplar provides an implementation of the OpenTelemetry exemplar 5 | // reservoir to be used in metric collection pipelines. 6 | package exemplar // import "go.opentelemetry.io/otel/sdk/metric/exemplar" 7 | -------------------------------------------------------------------------------- /vendor/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 | -------------------------------------------------------------------------------- /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/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/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/mattn/go-isatty/go.test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -race -coverprofile=profile.out -covermode=atomic "$d" 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/moby/term/windows/doc.go: -------------------------------------------------------------------------------- 1 | // These files implement ANSI-aware input and output streams for use by the Docker Windows client. 2 | // When asked for the set of standard streams (e.g., stdin, stdout, stderr), the code will create 3 | // and return pseudo-streams that convert ANSI sequences to / from Windows Console API calls. 4 | 5 | package windowsconsole 6 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/appveyor.yml: -------------------------------------------------------------------------------- 1 | version: "{build}" 2 | platform: x64 3 | clone_folder: c:\gopath\src\github.com\sirupsen\logrus 4 | environment: 5 | GOPATH: c:\gopath 6 | branches: 7 | only: 8 | - master 9 | install: 10 | - set PATH=%GOPATH%\bin;c:\go\bin;%PATH% 11 | - go version 12 | build_script: 13 | - go get -t 14 | - go test 15 | -------------------------------------------------------------------------------- /vendor/github.com/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/mattn/go-colorable/go.test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -race -coverprofile=profile.out -covermode=atomic "$d" 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_bsd.go: -------------------------------------------------------------------------------- 1 | // +build darwin dragonfly freebsd netbsd openbsd 2 | // +build !js 3 | 4 | package logrus 5 | 6 | import "golang.org/x/sys/unix" 7 | 8 | const ioctlReadTermios = unix.TIOCGETA 9 | 10 | func isTerminal(fd int) bool { 11 | _, err := unix.IoctlGetTermios(fd, ioctlReadTermios) 12 | return err == nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_notappengine.go: -------------------------------------------------------------------------------- 1 | // +build !appengine,!js,!windows,!nacl,!plan9 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | "os" 8 | ) 9 | 10 | func checkIfTerminal(w io.Writer) bool { 11 | switch v := w.(type) { 12 | case *os.File: 13 | return isTerminal(int(v.Fd())) 14 | default: 15 | return false 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/instrumentation/library.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package instrumentation // import "go.opentelemetry.io/otel/sdk/instrumentation" 5 | 6 | // Library represents the instrumentation library. 7 | // 8 | // Deprecated: use [Scope] instead. 9 | type Library = Scope 10 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/resource/host_id_linux.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | //go:build linux 5 | // +build linux 6 | 7 | package resource // import "go.opentelemetry.io/otel/sdk/resource" 8 | 9 | var platformHostIDReader hostIDReader = &hostIDReaderLinux{ 10 | readFile: readFile, 11 | } 12 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/semconv/v1.20.0/exception.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package semconv // import "go.opentelemetry.io/otel/semconv/v1.20.0" 5 | 6 | const ( 7 | // ExceptionEventName is the name of the Span event representing an exception. 8 | ExceptionEventName = "exception" 9 | ) 10 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/semconv/v1.21.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.21.0" 5 | 6 | const ( 7 | // ExceptionEventName is the name of the Span event representing an exception. 8 | ExceptionEventName = "exception" 9 | ) 10 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/semconv/v1.26.0/exception.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package semconv // import "go.opentelemetry.io/otel/semconv/v1.26.0" 5 | 6 | const ( 7 | // ExceptionEventName is the name of the Span event representing an exception. 8 | ExceptionEventName = "exception" 9 | ) 10 | -------------------------------------------------------------------------------- /vendor/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/go.opentelemetry.io/otel/semconv/v1.20.0/http.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package semconv // import "go.opentelemetry.io/otel/semconv/v1.20.0" 5 | 6 | // HTTP scheme attributes. 7 | var ( 8 | HTTPSchemeHTTP = HTTPSchemeKey.String("http") 9 | HTTPSchemeHTTPS = HTTPSchemeKey.String("https") 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/aliases.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build windows 6 | 7 | package windows 8 | 9 | import "syscall" 10 | 11 | type Errno = syscall.Errno 12 | type SysProcAttr = syscall.SysProcAttr 13 | -------------------------------------------------------------------------------- /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/alecthomas/kong/error.go: -------------------------------------------------------------------------------- 1 | package kong 2 | 3 | // ParseError is the error type returned by Kong.Parse(). 4 | // 5 | // It contains the parse Context that triggered the error. 6 | type ParseError struct { 7 | error 8 | Context *Context 9 | } 10 | 11 | // Unwrap returns the original cause of the error. 12 | func (p *ParseError) Unwrap() error { return p.error } 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/golang.org/x/sys/windows/registry/mksyscall.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build generate 6 | 7 | package registry 8 | 9 | //go:generate go run golang.org/x/sys/windows/mkwinsyscall -output zsyscall_windows.go syscall.go 10 | -------------------------------------------------------------------------------- /test/date.yml: -------------------------------------------------------------------------------- 1 | version: "3.2" 2 | 3 | services: 4 | test: 5 | image: busybox 6 | command: date 7 | deploy: 8 | mode: replicated 9 | replicas: 0 10 | labels: 11 | - "swarm.cronjob.enable=true" 12 | - "swarm.cronjob.schedule=* * * * *" 13 | - "swarm.cronjob.skip-running=false" 14 | restart_policy: 15 | condition: none 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/idna/pre_go118.go: -------------------------------------------------------------------------------- 1 | // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT. 2 | 3 | // Copyright 2021 The Go Authors. All rights reserved. 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file. 6 | 7 | //go:build !go1.18 8 | 9 | package idna 10 | 11 | const transitionalLookup = true 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/vgetrandom_unsupported.go: -------------------------------------------------------------------------------- 1 | // Copyright 2024 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !linux || !go1.24 6 | 7 | package unix 8 | 9 | func vgetrandom(p []byte, flags uint32) (ret int, supported bool) { 10 | return -1, false 11 | } 12 | -------------------------------------------------------------------------------- /test/error.yml: -------------------------------------------------------------------------------- 1 | version: "3.2" 2 | 3 | services: 4 | test: 5 | image: busybox 6 | command: exit 1 7 | deploy: 8 | mode: replicated 9 | replicas: 0 10 | labels: 11 | - "swarm.cronjob.enable=true" 12 | - "swarm.cronjob.schedule=* * * * *" 13 | - "swarm.cronjob.skip-running=false" 14 | restart_policy: 15 | condition: none 16 | -------------------------------------------------------------------------------- /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/robfig/cron/v3/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | -------------------------------------------------------------------------------- /vendor/github.com/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/go.opentelemetry.io/otel/exporters/otlp/otlptrace/version.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package otlptrace // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace" 5 | 6 | // Version is the current release version of the OpenTelemetry OTLP trace exporter in use. 7 | func Version() string { 8 | return "1.33.0" 9 | } 10 | -------------------------------------------------------------------------------- /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/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/go.opentelemetry.io/otel/sdk/trace/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | /* 5 | Package trace contains support for OpenTelemetry distributed tracing. 6 | 7 | The following assumes a basic familiarity with OpenTelemetry concepts. 8 | See https://opentelemetry.io. 9 | */ 10 | package trace // import "go.opentelemetry.io/otel/sdk/trace" 11 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /internal/model/cli.go: -------------------------------------------------------------------------------- 1 | package model 2 | 3 | import "github.com/alecthomas/kong" 4 | 5 | // Cli holds command line args, flags and cmds 6 | type Cli struct { 7 | Version kong.VersionFlag 8 | LogLevel string `kong:"name='log-level',env='LOG_LEVEL',default='info',help='Set log level.'"` 9 | LogJSON bool `kong:"name='log-json',env='LOG_JSON',default='false',help='Enable JSON logging output.'"` 10 | } 11 | -------------------------------------------------------------------------------- /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/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/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 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/pkcs11/release.go: -------------------------------------------------------------------------------- 1 | // +build release 2 | 3 | package pkcs11 4 | 5 | import "fmt" 6 | 7 | // Release is current version of the pkcs11 library. 8 | var Release = R{1, 0, 2} 9 | 10 | // R holds the version of this library. 11 | type R struct { 12 | Major, Minor, Patch int 13 | } 14 | 15 | func (r R) String() string { 16 | return fmt.Sprintf("%d.%d.%d", r.Major, r.Minor, r.Patch) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/Makefile: -------------------------------------------------------------------------------- 1 | ci: fmt lint test 2 | 3 | fmt: 4 | ! gofmt -l *.go | read nothing 5 | go vet 6 | 7 | lint: 8 | go get github.com/golang/lint/golint 9 | golint *.go 10 | 11 | test: sysfs/fixtures/.unpacked 12 | go test -v ./... 13 | 14 | sysfs/fixtures/.unpacked: sysfs/fixtures.ttar 15 | ./ttar -C sysfs -x -f sysfs/fixtures.ttar 16 | touch $@ 17 | 18 | .PHONY: fmt lint test ci 19 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /test/sleep.yml: -------------------------------------------------------------------------------- 1 | version: "3.2" 2 | 3 | services: 4 | test: 5 | image: crazymax/loop 6 | environment: 7 | - DURATION=58s 8 | deploy: 9 | mode: replicated 10 | replicas: 0 11 | labels: 12 | - "swarm.cronjob.enable=true" 13 | - "swarm.cronjob.schedule=0/30 * * * * *" 14 | - "swarm.cronjob.skip-running=true" 15 | restart_policy: 16 | condition: none 17 | -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/kong/global.go: -------------------------------------------------------------------------------- 1 | package kong 2 | 3 | import ( 4 | "os" 5 | ) 6 | 7 | // Parse constructs a new parser and parses the default command-line. 8 | func Parse(cli interface{}, options ...Option) *Context { 9 | parser, err := New(cli, options...) 10 | if err != nil { 11 | panic(err) 12 | } 13 | ctx, err := parser.Parse(os.Args[1:]) 14 | parser.FatalIfErrorf(err) 15 | return ctx 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/rs/zerolog/.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 | tmp 10 | 11 | # Architecture specific extensions/prefixes 12 | *.[568vq] 13 | [568vq].out 14 | 15 | *.cgo1.go 16 | *.cgo2.c 17 | _cgo_defun.c 18 | _cgo_gotypes.go 19 | _cgo_export.* 20 | 21 | _testmain.go 22 | 23 | *.exe 24 | *.test 25 | *.prof 26 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # This file is for unifying the coding style for different editors and IDEs. 2 | # More information at http://editorconfig.org 3 | 4 | root = true 5 | 6 | [*] 7 | charset = utf-8 8 | indent_size = 2 9 | indent_style = space 10 | end_of_line = lf 11 | insert_final_newline = true 12 | trim_trailing_whitespace = true 13 | 14 | [*.go] 15 | indent_style = tab 16 | 17 | [*.md] 18 | trim_trailing_whitespace = false 19 | -------------------------------------------------------------------------------- /vendor/github.com/cenkalti/backoff/v4/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | 24 | # IDEs 25 | .idea/ 26 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /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/github.com/gorilla/mux/context.go: -------------------------------------------------------------------------------- 1 | package mux 2 | 3 | import ( 4 | "context" 5 | "net/http" 6 | ) 7 | 8 | func contextGet(r *http.Request, key interface{}) interface{} { 9 | return r.Context().Value(key) 10 | } 11 | 12 | func contextSet(r *http.Request, key, val interface{}) *http.Request { 13 | if val == nil { 14 | return r 15 | } 16 | 17 | return r.WithContext(context.WithValue(r.Context(), key, val)) 18 | } 19 | -------------------------------------------------------------------------------- /test/more_replicas.yml: -------------------------------------------------------------------------------- 1 | version: "3.2" 2 | 3 | services: 4 | test: 5 | image: busybox 6 | command: date 7 | deploy: 8 | mode: replicated 9 | replicas: 0 10 | labels: 11 | - "swarm.cronjob.enable=true" 12 | - "swarm.cronjob.schedule=* * * * *" 13 | - "swarm.cronjob.skip-running=false" 14 | - "swarm.cronjob.replicas=5" 15 | restart_policy: 16 | condition: none 17 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc/version.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package otlpmetricgrpc // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc" 5 | 6 | // Version is the current release version of the OpenTelemetry OTLP over gRPC metrics exporter in use. 7 | func Version() string { 8 | return "1.33.0" 9 | } 10 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/golang.org/x/sys/unix/vgetrandom_linux.go: -------------------------------------------------------------------------------- 1 | // Copyright 2024 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && go1.24 6 | 7 | package unix 8 | 9 | import _ "unsafe" 10 | 11 | //go:linkname vgetrandom runtime.vgetrandom 12 | //go:noescape 13 | func vgetrandom(p []byte, flags uint32) (ret int, supported bool) 14 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | # https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser 2 | blank_issues_enabled: true 3 | contact_links: 4 | - name: Questions and Discussions 5 | url: https://github.com/crazy-max/swarm-cronjob/discussions/new 6 | about: Use Github Discussions to ask questions and/or open discussion topics. 7 | -------------------------------------------------------------------------------- /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/gorilla/mux/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | **What version of Go are you running?** (Paste the output of `go version`) 2 | 3 | 4 | **What version of gorilla/mux are you at?** (Paste the output of `git rev-parse HEAD` inside `$GOPATH/src/github.com/gorilla/mux`) 5 | 6 | 7 | **Describe your problem** (and what you have tried so far) 8 | 9 | 10 | **Paste a minimal, runnable, reproduction of your issue below** (use backticks to format it) 11 | 12 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | // Package aggregate provides aggregate types used compute aggregations and 5 | // cycle the state of metric measurements made by the SDK. These types and 6 | // functionality are meant only for internal SDK use. 7 | package aggregate // import "go.opentelemetry.io/otel/sdk/metric/internal/aggregate" 8 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /docs/donate.md: -------------------------------------------------------------------------------- 1 | **swarm-cronjob** is free and open source and always will be. 2 | 3 | All kinds of contributions are welcome! The most basic way to show your support is to 4 | [star the project]({{ config.repo_url }}), or to raise issues. 5 | 6 | You can also support this project by [**becoming a sponsor on GitHub**](https://github.com/sponsors/crazy-max) or 7 | by making a [Paypal donation](https://www.paypal.me/crazyws) to ensure this journey continues indefinitely! 8 | -------------------------------------------------------------------------------- /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/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/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 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /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/go.opentelemetry.io/otel/sdk/resource/host_id_bsd.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | //go:build dragonfly || freebsd || netbsd || openbsd || solaris 5 | // +build dragonfly freebsd netbsd openbsd solaris 6 | 7 | package resource // import "go.opentelemetry.io/otel/sdk/resource" 8 | 9 | var platformHostIDReader hostIDReader = &hostIDReaderBSD{ 10 | execCommand: execCommand, 11 | readFile: readFile, 12 | } 13 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /test/query.yml: -------------------------------------------------------------------------------- 1 | version: "3.2" 2 | 3 | services: 4 | test: 5 | image: alpine:3.16 6 | command: date 7 | deploy: 8 | mode: replicated 9 | replicas: 0 10 | labels: 11 | - "swarm.cronjob.enable=true" 12 | - "swarm.cronjob.schedule=* * * * *" 13 | - "swarm.cronjob.skip-running=false" 14 | - "swarm.cronjob.query-registry=true" 15 | - "swarm.cronjob.registry-auth=true" 16 | restart_policy: 17 | condition: none 18 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 Google Inc. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package uuid generates and inspects UUIDs. 6 | // 7 | // UUIDs are based on RFC 4122 and DCE 1.1: Authentication and Security 8 | // Services. 9 | // 10 | // A UUID is a 16 byte (128 bit) array. UUIDs may be used as keys to 11 | // maps or compared directly. 12 | package uuid 13 | -------------------------------------------------------------------------------- /vendor/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/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 | 10 | // PruneReport contains the response for Engine API: 11 | // POST "/volumes/prune" 12 | type PruneReport struct { 13 | VolumesDeleted []string 14 | SpaceReclaimed uint64 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/docker/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/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 | -------------------------------------------------------------------------------- /test/global.yml: -------------------------------------------------------------------------------- 1 | version: "3.2" 2 | 3 | services: 4 | test: 5 | image: docker:18.09.7 6 | command: ["docker", "info", "--format=NodeID: {{ json .Swarm.NodeID }}"] 7 | volumes: 8 | - "/var/run/docker.sock:/var/run/docker.sock" 9 | deploy: 10 | mode: global 11 | labels: 12 | - "swarm.cronjob.enable=true" 13 | - "swarm.cronjob.schedule=* * * * *" 14 | - "swarm.cronjob.skip-running=false" 15 | restart_policy: 16 | condition: none 17 | -------------------------------------------------------------------------------- /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/go.opentelemetry.io/otel/semconv/v1.21.0/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | // Package semconv implements OpenTelemetry semantic conventions. 5 | // 6 | // OpenTelemetry semantic conventions are agreed standardized naming 7 | // patterns for OpenTelemetry things. This package represents the v1.21.0 8 | // version of the OpenTelemetry semantic conventions. 9 | package semconv // import "go.opentelemetry.io/otel/semconv/v1.21.0" 10 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/semconv/v1.26.0/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | // Package semconv implements OpenTelemetry semantic conventions. 5 | // 6 | // OpenTelemetry semantic conventions are agreed standardized naming 7 | // patterns for OpenTelemetry things. This package represents the v1.26.0 8 | // version of the OpenTelemetry semantic conventions. 9 | package semconv // import "go.opentelemetry.io/otel/semconv/v1.26.0" 10 | -------------------------------------------------------------------------------- /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 || zos 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/google.golang.org/protobuf/internal/genid/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 genid contains constants for declarations in descriptor.proto 6 | // and the well-known types. 7 | package genid 8 | 9 | import "google.golang.org/protobuf/reflect/protoreflect" 10 | 11 | const GoogleProtobuf_package protoreflect.FullName = "google.protobuf" 12 | -------------------------------------------------------------------------------- /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) || zos 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/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/github.com/docker/docker/client/build_cancel.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | "net/url" 6 | ) 7 | 8 | // BuildCancel requests the daemon to cancel the ongoing build request. 9 | func (cli *Client) BuildCancel(ctx context.Context, id string) error { 10 | query := url.Values{} 11 | query.Set("id", id) 12 | 13 | serverResp, err := cli.post(ctx, "/build/cancel", query, nil, nil) 14 | ensureReaderClosed(serverResp) 15 | return err 16 | } 17 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/resource/host_id_readfile.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | //go:build linux || dragonfly || freebsd || netbsd || openbsd || solaris 5 | 6 | package resource // import "go.opentelemetry.io/otel/sdk/resource" 7 | 8 | import "os" 9 | 10 | func readFile(filename string) (string, error) { 11 | b, err := os.ReadFile(filename) 12 | if err != nil { 13 | return "", err 14 | } 15 | 16 | return string(b), nil 17 | } 18 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/semconv/v1.20.0/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | // Package semconv implements OpenTelemetry semantic conventions. 5 | // 6 | // OpenTelemetry semantic conventions are agreed standardized naming 7 | // patterns for OpenTelemetry things. This package represents the conventions 8 | // as of the v1.20.0 version of the OpenTelemetry specification. 9 | package semconv // import "go.opentelemetry.io/otel/semconv/v1.20.0" 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_aix_ppc64.s: -------------------------------------------------------------------------------- 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 gc 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System calls for ppc64, AIX are implemented in runtime/syscall_aix.go 11 | // 12 | 13 | TEXT ·syscall6(SB),NOSPLIT,$0-88 14 | JMP syscall·syscall6(SB) 15 | 16 | TEXT ·rawSyscall6(SB),NOSPLIT,$0-88 17 | JMP syscall·rawSyscall6(SB) 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.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 arm && gc && linux 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | // Underlying system call writes to newoffset via pointer. 12 | // Implemented in assembly to avoid allocation. 13 | func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno) 14 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/mux/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | 4 | matrix: 5 | include: 6 | - go: 1.7.x 7 | - go: 1.8.x 8 | - go: 1.9.x 9 | - go: 1.10.x 10 | - go: 1.11.x 11 | - go: 1.x 12 | env: LATEST=true 13 | - go: tip 14 | allow_failures: 15 | - go: tip 16 | 17 | install: 18 | - # Skip 19 | 20 | script: 21 | - go get -t -v ./... 22 | - diff -u <(echo -n) <(gofmt -d .) 23 | - if [[ "$LATEST" = true ]]; then go tool vet .; fi 24 | - go test -v -race ./... 25 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | /* 5 | Package otlptrace contains abstractions for OTLP span exporters. 6 | See the official OTLP span exporter implementations: 7 | - [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc], 8 | - [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp]. 9 | */ 10 | package otlptrace // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace" 11 | -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/kong/defaults.go: -------------------------------------------------------------------------------- 1 | package kong 2 | 3 | // ApplyDefaults if they are not already set. 4 | func ApplyDefaults(target interface{}, options ...Option) error { 5 | app, err := New(target, options...) 6 | if err != nil { 7 | return err 8 | } 9 | ctx, err := Trace(app, nil) 10 | if err != nil { 11 | return err 12 | } 13 | err = ctx.Resolve() 14 | if err != nil { 15 | return err 16 | } 17 | if err = ctx.ApplyDefaults(); err != nil { 18 | return err 19 | } 20 | return ctx.Validate() 21 | } 22 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature.yml: -------------------------------------------------------------------------------- 1 | # https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema 2 | name: Feature request 3 | description: Missing functionality? Come tell us about it! 4 | labels: 5 | - kind/enhancement 6 | - status/triage 7 | 8 | body: 9 | - type: textarea 10 | id: description 11 | attributes: 12 | label: Description 13 | description: What is the feature you want to see? 14 | validations: 15 | required: true 16 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker-credential-helpers/credentials/version.go: -------------------------------------------------------------------------------- 1 | package credentials 2 | 3 | var ( 4 | // Name is filled at linking time 5 | Name = "" 6 | 7 | // Package is filled at linking time 8 | Package = "github.com/docker/docker-credential-helpers" 9 | 10 | // Version holds the complete version number. Filled in at linking time. 11 | Version = "v0.0.0+unknown" 12 | 13 | // Revision is filled with the VCS (e.g. git) revision being used to build 14 | // the program at linking time. 15 | Revision = "" 16 | ) 17 | -------------------------------------------------------------------------------- /vendor/github.com/go-logr/logr/.golangci.yaml: -------------------------------------------------------------------------------- 1 | run: 2 | timeout: 1m 3 | tests: true 4 | 5 | linters: 6 | disable-all: true 7 | enable: 8 | - asciicheck 9 | - errcheck 10 | - forcetypeassert 11 | - gocritic 12 | - gofmt 13 | - goimports 14 | - gosimple 15 | - govet 16 | - ineffassign 17 | - misspell 18 | - revive 19 | - staticcheck 20 | - typecheck 21 | - unused 22 | 23 | issues: 24 | exclude-use-default: false 25 | max-issues-per-linter: 0 26 | max-same-issues: 10 27 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/metric/internal/reuse_slice.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package internal // import "go.opentelemetry.io/otel/sdk/metric/internal" 5 | 6 | // ReuseSlice returns a zeroed view of slice if its capacity is greater than or 7 | // equal to n. Otherwise, it returns a new []T with capacity equal to n. 8 | func ReuseSlice[T any](slice []T, n int) []T { 9 | if cap(slice) >= n { 10 | return slice[:n] 11 | } 12 | return make([]T, n) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_solaris_amd64.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 | //go:build gc 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System calls for amd64, Solaris are implemented in runtime/syscall_solaris.go 11 | // 12 | 13 | TEXT ·sysvicall6(SB),NOSPLIT,$0-88 14 | JMP syscall·sysvicall6(SB) 15 | 16 | TEXT ·rawSysvicall6(SB),NOSPLIT,$0-88 17 | JMP syscall·rawSysvicall6(SB) 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (linux && 386) || (linux && arm) || (linux && mips) || (linux && mipsle) || (linux && ppc) 6 | 7 | package unix 8 | 9 | func init() { 10 | // On 32-bit Linux systems, the fcntl syscall that matches Go's 11 | // Flock_t type is SYS_FCNTL64, not SYS_FCNTL. 12 | fcntl64Syscall = SYS_FCNTL64 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_alarm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2022 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && (386 || amd64 || mips || mipsle || mips64 || mipsle || ppc64 || ppc64le || ppc || s390x || sparc64) 6 | 7 | package unix 8 | 9 | // SYS_ALARM is not defined on arm or riscv, but is available for other GOARCH 10 | // values. 11 | 12 | //sys Alarm(seconds uint) (remaining uint, err error) 13 | -------------------------------------------------------------------------------- /vendor/github.com/grpc-ecosystem/grpc-gateway/v2/utilities/readerfactory.go: -------------------------------------------------------------------------------- 1 | package utilities 2 | 3 | import ( 4 | "bytes" 5 | "io" 6 | ) 7 | 8 | // IOReaderFactory takes in an io.Reader and returns a function that will allow you to create a new reader that begins 9 | // at the start of the stream 10 | func IOReaderFactory(r io.Reader) (func() io.Reader, error) { 11 | b, err := io.ReadAll(r) 12 | if err != nil { 13 | return nil, err 14 | } 15 | 16 | return func() io.Reader { 17 | return bytes.NewReader(b) 18 | }, nil 19 | } 20 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/semconv/v1.20.0/schema.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 | // SchemaURL is the schema URL that matches the version of the semantic conventions 7 | // that this package defines. Semconv packages starting from v1.4.0 must declare 8 | // non-empty schema URL in the form https://opentelemetry.io/schemas/ 9 | const SchemaURL = "https://opentelemetry.io/schemas/1.20.0" 10 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/semconv/v1.21.0/schema.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package semconv // import "go.opentelemetry.io/otel/semconv/v1.21.0" 5 | 6 | // SchemaURL is the schema URL that matches the version of the semantic conventions 7 | // that this package defines. Semconv packages starting from v1.4.0 must declare 8 | // non-empty schema URL in the form https://opentelemetry.io/schemas/ 9 | const SchemaURL = "https://opentelemetry.io/schemas/1.21.0" 10 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/semconv/v1.26.0/schema.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package semconv // import "go.opentelemetry.io/otel/semconv/v1.26.0" 5 | 6 | // SchemaURL is the schema URL that matches the version of the semantic conventions 7 | // that this package defines. Semconv packages starting from v1.4.0 must declare 8 | // non-empty schema URL in the form https://opentelemetry.io/schemas/ 9 | const SchemaURL = "https://opentelemetry.io/schemas/1.26.0" 10 | -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/kong/renovate.json5: -------------------------------------------------------------------------------- 1 | { 2 | $schema: "https://docs.renovatebot.com/renovate-schema.json", 3 | extends: [ 4 | "config:recommended", 5 | ":semanticCommits", 6 | ":semanticCommitTypeAll(chore)", 7 | ":semanticCommitScope(deps)", 8 | "group:allNonMajor", 9 | "schedule:earlyMondays", // Run once a week. 10 | ], 11 | packageRules: [ 12 | { 13 | "matchPackageNames": ["golangci-lint"], 14 | "matchManagers": ["hermit"], 15 | "enabled": false 16 | }, 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/manifest/versioned.go: -------------------------------------------------------------------------------- 1 | package manifest 2 | 3 | // Versioned provides a struct with the manifest schemaVersion and mediaType. 4 | // Incoming content with unknown schema version can be decoded against this 5 | // struct to check the version. 6 | type Versioned struct { 7 | // SchemaVersion is the image manifest schema that this image follows 8 | SchemaVersion int `json:"schemaVersion"` 9 | 10 | // MediaType is the media type of this schema. 11 | MediaType string `json:"mediaType,omitempty"` 12 | } 13 | -------------------------------------------------------------------------------- /docs/examples/prune-swarm-nodes.md: -------------------------------------------------------------------------------- 1 | # Prune Swarm nodes 2 | 3 | ```yaml 4 | version: "3.2" 5 | 6 | services: 7 | prune-nodes: 8 | image: docker 9 | command: ["docker", "system", "prune", "-f"] 10 | volumes: 11 | - "/var/run/docker.sock:/var/run/docker.sock" 12 | deploy: 13 | mode: global 14 | labels: 15 | - "swarm.cronjob.enable=true" 16 | - "swarm.cronjob.schedule=0 */5 * * * *" 17 | - "swarm.cronjob.skip-running=false" 18 | restart_policy: 19 | condition: none 20 | ``` 21 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/genid/wrappers.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 genid 6 | 7 | import "google.golang.org/protobuf/reflect/protoreflect" 8 | 9 | // Generic field name and number for messages in wrappers.proto. 10 | const ( 11 | WrapperValue_Value_field_name protoreflect.Name = "value" 12 | WrapperValue_Value_field_number protoreflect.FieldNumber = 1 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/image/delete_response.go: -------------------------------------------------------------------------------- 1 | package image 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 | // DeleteResponse delete response 7 | // swagger:model DeleteResponse 8 | type DeleteResponse struct { 9 | 10 | // The image ID of an image that was deleted 11 | Deleted string `json:"Deleted,omitempty"` 12 | 13 | // The image ID of an image that was untagged 14 | Untagged string `json:"Untagged,omitempty"` 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/container_rename.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | "net/url" 6 | ) 7 | 8 | // ContainerRename changes the name of a given container. 9 | func (cli *Client) ContainerRename(ctx context.Context, containerID, newContainerName string) error { 10 | query := url.Values{} 11 | query.Set("name", newContainerName) 12 | resp, err := cli.post(ctx, "/containers/"+containerID+"/rename", query, nil, nil) 13 | ensureReaderClosed(resp) 14 | return err 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/plan9/pwd_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 | func fixwd() { 10 | } 11 | 12 | func Getwd() (wd string, err error) { 13 | fd, err := open(".", O_RDONLY) 14 | if err != nil { 15 | return "", err 16 | } 17 | defer Close(fd) 18 | return Fd2path(fd) 19 | } 20 | 21 | func Chdir(path string) error { 22 | return chdir(path) 23 | } 24 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/resource/host_id_exec.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | //go:build darwin || dragonfly || freebsd || netbsd || openbsd || solaris 5 | 6 | package resource // import "go.opentelemetry.io/otel/sdk/resource" 7 | 8 | import "os/exec" 9 | 10 | func execCommand(name string, arg ...string) (string, error) { 11 | cmd := exec.Command(name, arg...) 12 | b, err := cmd.Output() 13 | if err != nil { 14 | return "", err 15 | } 16 | 17 | return string(b), nil 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/registry/api/v2/doc.go: -------------------------------------------------------------------------------- 1 | // Package v2 describes routes, urls and the error codes used in the Docker 2 | // Registry JSON HTTP API V2. In addition to declarations, descriptors are 3 | // provided for routes and error codes that can be used for implementation and 4 | // automatically generating documentation. 5 | // 6 | // Definitions here are considered to be locked down for the V2 registry api. 7 | // Any changes must be considered carefully and should not proceed without a 8 | // change proposal in docker core. 9 | package v2 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/volume/list_response.go: -------------------------------------------------------------------------------- 1 | package volume 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 | // ListResponse VolumeListResponse 7 | // 8 | // Volume list response 9 | // swagger:model ListResponse 10 | type ListResponse struct { 11 | 12 | // List of volumes 13 | Volumes []*Volume `json:"Volumes"` 14 | 15 | // Warnings that occurred when fetching the list of volumes. 16 | // 17 | Warnings []string `json:"Warnings"` 18 | } 19 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/gccgo_linux_amd64.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 gccgo && linux && amd64 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | //extern gettimeofday 12 | func realGettimeofday(*Timeval, *byte) int32 13 | 14 | func gettimeofday(tv *Timeval) (err syscall.Errno) { 15 | r := realGettimeofday(tv, nil) 16 | if r < 0 { 17 | return syscall.GetErrno() 18 | } 19 | return 0 20 | } 21 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/config_pre_go124.go: -------------------------------------------------------------------------------- 1 | // Copyright 2024 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !go1.24 6 | 7 | package http2 8 | 9 | import "net/http" 10 | 11 | // Pre-Go 1.24 fallback. 12 | // The Server.HTTP2 and Transport.HTTP2 config fields were added in Go 1.24. 13 | 14 | func fillNetHTTPServerConfig(conf *http2Config, srv *http.Server) {} 15 | 16 | func fillNetHTTPTransportConfig(conf *http2Config, tr *http.Transport) {} 17 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/checkpoint_create.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | 6 | "github.com/docker/docker/api/types/checkpoint" 7 | ) 8 | 9 | // CheckpointCreate creates a checkpoint from the given container with the given name 10 | func (cli *Client) CheckpointCreate(ctx context.Context, container string, options checkpoint.CreateOptions) error { 11 | resp, err := cli.post(ctx, "/containers/"+container+"/checkpoints", nil, options, nil) 12 | ensureReaderClosed(resp) 13 | return err 14 | } 15 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/impl/codec_unsafe.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 impl 6 | 7 | // When using unsafe pointers, we can just treat enum values as int32s. 8 | 9 | var ( 10 | coderEnumNoZero = coderInt32NoZero 11 | coderEnum = coderInt32 12 | coderEnumPtr = coderInt32Ptr 13 | coderEnumSlice = coderInt32Slice 14 | coderEnumPackedSlice = coderInt32PackedSlice 15 | ) 16 | -------------------------------------------------------------------------------- /vendor/github.com/Azure/go-ansiterm/ground_state.go: -------------------------------------------------------------------------------- 1 | package ansiterm 2 | 3 | type groundState struct { 4 | baseState 5 | } 6 | 7 | func (gs groundState) Handle(b byte) (s state, e error) { 8 | gs.parser.context.currentChar = b 9 | 10 | nextState, err := gs.baseState.Handle(b) 11 | if nextState != nil || err != nil { 12 | return nextState, err 13 | } 14 | 15 | switch { 16 | case sliceContains(printables, b): 17 | return gs, gs.parser.print() 18 | 19 | case sliceContains(executors, b): 20 | return gs, gs.parser.execute() 21 | } 22 | 23 | return gs, nil 24 | } 25 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/container/wait_response.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 | // WaitResponse ContainerWaitResponse 7 | // 8 | // OK response to ContainerWait operation 9 | // swagger:model WaitResponse 10 | type WaitResponse struct { 11 | 12 | // error 13 | Error *WaitExitError `json:"Error,omitempty"` 14 | 15 | // Exit code of the container 16 | // Required: true 17 | StatusCode int64 `json:"StatusCode"` 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/node_remove.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | "net/url" 6 | 7 | "github.com/docker/docker/api/types" 8 | ) 9 | 10 | // NodeRemove removes a Node. 11 | func (cli *Client) NodeRemove(ctx context.Context, nodeID string, options types.NodeRemoveOptions) error { 12 | query := url.Values{} 13 | if options.Force { 14 | query.Set("force", "1") 15 | } 16 | 17 | resp, err := cli.delete(ctx, "/nodes/"+nodeID, query, nil) 18 | defer ensureReaderClosed(resp) 19 | return err 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/node_update.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | "net/url" 6 | 7 | "github.com/docker/docker/api/types/swarm" 8 | ) 9 | 10 | // NodeUpdate updates a Node. 11 | func (cli *Client) NodeUpdate(ctx context.Context, nodeID string, version swarm.Version, node swarm.NodeSpec) error { 12 | query := url.Values{} 13 | query.Set("version", version.String()) 14 | resp, err := cli.post(ctx, "/nodes/"+nodeID+"/update", query, node, nil) 15 | ensureReaderClosed(resp) 16 | return err 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/node_js.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Google Inc. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build js 6 | 7 | package uuid 8 | 9 | // getHardwareInterface returns nil values for the JS version of the code. 10 | // This removes the "net" dependency, because it is not used in the browser. 11 | // Using the "net" library inflates the size of the transpiled JS code by 673k bytes. 12 | func getHardwareInterface(name string) (string, []byte) { return "", nil } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/container/filesystem_change.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 | // FilesystemChange Change in the container's filesystem. 7 | // 8 | // swagger:model FilesystemChange 9 | type FilesystemChange struct { 10 | 11 | // kind 12 | // Required: true 13 | Kind ChangeType `json:"Kind"` 14 | 15 | // Path to file or directory that has changed. 16 | // 17 | // Required: true 18 | Path string `json:"Path"` 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/docker/go-connections/tlsconfig/config_client_ciphers.go: -------------------------------------------------------------------------------- 1 | // Package tlsconfig provides primitives to retrieve secure-enough TLS configurations for both clients and servers. 2 | package tlsconfig 3 | 4 | import ( 5 | "crypto/tls" 6 | ) 7 | 8 | // Client TLS cipher suites (dropping CBC ciphers for client preferred suite set) 9 | var clientCipherSuites = []uint16{ 10 | tls.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, 11 | tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, 12 | tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, 13 | tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/plugin_remove.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | "net/url" 6 | 7 | "github.com/docker/docker/api/types" 8 | ) 9 | 10 | // PluginRemove removes a plugin 11 | func (cli *Client) PluginRemove(ctx context.Context, name string, options types.PluginRemoveOptions) error { 12 | query := url.Values{} 13 | if options.Force { 14 | query.Set("force", "1") 15 | } 16 | 17 | resp, err := cli.delete(ctx, "/plugins/"+name, query, nil) 18 | defer ensureReaderClosed(resp) 19 | return err 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/isatty_others.go: -------------------------------------------------------------------------------- 1 | //go:build appengine || js || nacl || wasm 2 | // +build appengine js nacl wasm 3 | 4 | package isatty 5 | 6 | // IsTerminal returns true if the file descriptor is terminal which 7 | // is always false on js and appengine classic which is a sandboxed PaaS. 8 | func IsTerminal(fd uintptr) bool { 9 | return false 10 | } 11 | 12 | // IsCygwinTerminal() return true if the file descriptor is a cygwin or msys2 13 | // terminal. This is also always false on this environment. 14 | func IsCygwinTerminal(fd uintptr) bool { 15 | return false 16 | } 17 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/trace/nonrecording.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package trace // import "go.opentelemetry.io/otel/trace" 5 | 6 | // nonRecordingSpan is a minimal implementation of a Span that wraps a 7 | // SpanContext. It performs no operations other than to return the wrapped 8 | // SpanContext. 9 | type nonRecordingSpan struct { 10 | noopSpan 11 | 12 | sc SpanContext 13 | } 14 | 15 | // SpanContext returns the wrapped SpanContext. 16 | func (s nonRecordingSpan) SpanContext() SpanContext { return s.sc } 17 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/checkpoint/options.go: -------------------------------------------------------------------------------- 1 | package checkpoint 2 | 3 | // CreateOptions holds parameters to create a checkpoint from a container. 4 | type CreateOptions struct { 5 | CheckpointID string 6 | CheckpointDir string 7 | Exit bool 8 | } 9 | 10 | // ListOptions holds parameters to list checkpoints for a container. 11 | type ListOptions struct { 12 | CheckpointDir string 13 | } 14 | 15 | // DeleteOptions holds parameters to delete a checkpoint from a container. 16 | type DeleteOptions struct { 17 | CheckpointID string 18 | CheckpointDir string 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/container/change_types.go: -------------------------------------------------------------------------------- 1 | package container 2 | 3 | const ( 4 | // ChangeModify represents the modify operation. 5 | ChangeModify ChangeType = 0 6 | // ChangeAdd represents the add operation. 7 | ChangeAdd ChangeType = 1 8 | // ChangeDelete represents the delete operation. 9 | ChangeDelete ChangeType = 2 10 | ) 11 | 12 | func (ct ChangeType) String() string { 13 | switch ct { 14 | case ChangeModify: 15 | return "C" 16 | case ChangeAdd: 17 | return "A" 18 | case ChangeDelete: 19 | return "D" 20 | default: 21 | return "" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/plugin_disable.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | "net/url" 6 | 7 | "github.com/docker/docker/api/types" 8 | ) 9 | 10 | // PluginDisable disables a plugin 11 | func (cli *Client) PluginDisable(ctx context.Context, name string, options types.PluginDisableOptions) error { 12 | query := url.Values{} 13 | if options.Force { 14 | query.Set("force", "1") 15 | } 16 | resp, err := cli.post(ctx, "/plugins/"+name+"/disable", query, nil, nil) 17 | ensureReaderClosed(resp) 18 | return err 19 | } 20 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/plan9/race0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 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 plan9 && !race 6 | 7 | package plan9 8 | 9 | import ( 10 | "unsafe" 11 | ) 12 | 13 | const raceenabled = false 14 | 15 | func raceAcquire(addr unsafe.Pointer) { 16 | } 17 | 18 | func raceReleaseMerge(addr unsafe.Pointer) { 19 | } 20 | 21 | func raceReadRange(addr unsafe.Pointer, len int) { 22 | } 23 | 24 | func raceWriteRange(addr unsafe.Pointer, len int) { 25 | } 26 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_gc.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 linux && gc 6 | 7 | package unix 8 | 9 | // SyscallNoError may be used instead of Syscall for syscalls that don't fail. 10 | func SyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) 11 | 12 | // RawSyscallNoError may be used instead of RawSyscall for syscalls that don't 13 | // fail. 14 | func RawSyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) 15 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/encoding/protojson/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 protojson marshals and unmarshals protocol buffer messages as JSON 6 | // format. It follows the guide at 7 | // https://protobuf.dev/programming-guides/proto3#json. 8 | // 9 | // This package produces a different output than the standard [encoding/json] 10 | // package, which does not operate correctly on protocol buffer messages. 11 | package protojson 12 | -------------------------------------------------------------------------------- /test/configs.yml: -------------------------------------------------------------------------------- 1 | version: "3.5" 2 | 3 | services: 4 | test: 5 | image: busybox 6 | command: cat /app/config.txt 7 | deploy: 8 | mode: replicated 9 | replicas: 0 10 | labels: 11 | - "swarm.cronjob.enable=true" 12 | - "swarm.cronjob.schedule=* * * * *" 13 | - "swarm.cronjob.skip-running=false" 14 | - "swarm.cronjob.registry-auth=false" 15 | restart_policy: 16 | condition: none 17 | configs: 18 | - source: my_config 19 | target: /app/config.txt 20 | 21 | configs: 22 | my_config: 23 | file: ./config.txt 24 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/propagation/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | /* 5 | Package propagation contains OpenTelemetry context propagators. 6 | 7 | OpenTelemetry propagators are used to extract and inject context data from and 8 | into messages exchanged by applications. The propagator supported by this 9 | package is the W3C Trace Context encoding 10 | (https://www.w3.org/TR/trace-context/), and W3C Baggage 11 | (https://www.w3.org/TR/baggage/). 12 | */ 13 | package propagation // import "go.opentelemetry.io/otel/propagation" 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/plan9/mksysnum_plan9.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright 2009 The Go Authors. All rights reserved. 3 | # Use of this source code is governed by a BSD-style 4 | # license that can be found in the LICENSE file. 5 | 6 | COMMAND="mksysnum_plan9.sh $@" 7 | 8 | cat <= 10 { 16 | buf[i] = byte(val%10 + '0') 17 | i-- 18 | val /= 10 19 | } 20 | buf[i] = byte(val + '0') 21 | return string(buf[i:]) 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker-credential-helpers/credentials/helper.go: -------------------------------------------------------------------------------- 1 | package credentials 2 | 3 | // Helper is the interface a credentials store helper must implement. 4 | type Helper interface { 5 | // Add appends credentials to the store. 6 | Add(*Credentials) error 7 | // Delete removes credentials from the store. 8 | Delete(serverURL string) error 9 | // Get retrieves credentials from the store. 10 | // It returns username and secret as strings. 11 | Get(serverURL string) (string, string, error) 12 | // List returns the stored serverURLs and their associated usernames. 13 | List() (map[string]string, error) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/isatty_tcgets.go: -------------------------------------------------------------------------------- 1 | //go:build (linux || aix || zos) && !appengine 2 | // +build linux aix zos 3 | // +build !appengine 4 | 5 | package isatty 6 | 7 | import "golang.org/x/sys/unix" 8 | 9 | // IsTerminal return true if the file descriptor is terminal. 10 | func IsTerminal(fd uintptr) bool { 11 | _, err := unix.IoctlGetTermios(int(fd), unix.TCGETS) 12 | return err == nil 13 | } 14 | 15 | // IsCygwinTerminal return true if the file descriptor is a cygwin or msys2 16 | // terminal. This is also always false on this environment. 17 | func IsCygwinTerminal(fd uintptr) bool { 18 | return false 19 | } 20 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/auto/sdk/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | /* 5 | Package sdk provides an auto-instrumentable OpenTelemetry SDK. 6 | 7 | An [go.opentelemetry.io/auto.Instrumentation] can be configured to target the 8 | process running this SDK. In that case, all telemetry the SDK produces will be 9 | processed and handled by that [go.opentelemetry.io/auto.Instrumentation]. 10 | 11 | By default, if there is no [go.opentelemetry.io/auto.Instrumentation] set to 12 | auto-instrument the SDK, the SDK will not generate any telemetry. 13 | */ 14 | package sdk 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/str.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 windows 6 | 7 | package windows 8 | 9 | func itoa(val int) string { // do it here rather than with fmt to avoid dependency 10 | if val < 0 { 11 | return "-" + itoa(-val) 12 | } 13 | var buf [32]byte // big enough for int64 14 | i := len(buf) - 1 15 | for val >= 10 { 16 | buf[i] = byte(val%10 + '0') 17 | i-- 18 | val /= 10 19 | } 20 | buf[i] = byte(val + '0') 21 | return string(buf[i:]) 22 | } 23 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/timer.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 | package http2 5 | 6 | import "time" 7 | 8 | // A timer is a time.Timer, as an interface which can be replaced in tests. 9 | type timer = interface { 10 | C() <-chan time.Time 11 | Reset(d time.Duration) bool 12 | Stop() bool 13 | } 14 | 15 | // timeTimer adapts a time.Timer to the timer interface. 16 | type timeTimer struct { 17 | *time.Timer 18 | } 19 | 20 | func (t timeTimer) C() <-chan time.Time { return t.Timer.C } 21 | -------------------------------------------------------------------------------- /hack/lint.Dockerfile: -------------------------------------------------------------------------------- 1 | # syntax=docker/dockerfile:1 2 | 3 | ARG GO_VERSION="1.23" 4 | ARG ALPINE_VERSION="3.21" 5 | ARG GOLANGCI_LINT_VERSION="v1.62" 6 | 7 | FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS base 8 | ENV GOFLAGS="-buildvcs=false" 9 | RUN apk add --no-cache gcc linux-headers musl-dev 10 | WORKDIR /src 11 | 12 | FROM golangci/golangci-lint:${GOLANGCI_LINT_VERSION}-alpine AS golangci-lint 13 | FROM base AS lint 14 | RUN --mount=type=bind,target=. \ 15 | --mount=type=cache,target=/root/.cache \ 16 | --mount=from=golangci-lint,source=/usr/bin/golangci-lint,target=/usr/bin/golangci-lint \ 17 | golangci-lint run ./... 18 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/container/create_response.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 | // CreateResponse ContainerCreateResponse 7 | // 8 | // OK response to ContainerCreate operation 9 | // swagger:model CreateResponse 10 | type CreateResponse struct { 11 | 12 | // The ID of the created container 13 | // Required: true 14 | ID string `json:"Id"` 15 | 16 | // Warnings encountered when creating the container 17 | // Required: true 18 | Warnings []string `json:"Warnings"` 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/container_export.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | "io" 6 | "net/url" 7 | ) 8 | 9 | // ContainerExport retrieves the raw contents of a container 10 | // and returns them as an io.ReadCloser. It's up to the caller 11 | // to close the stream. 12 | func (cli *Client) ContainerExport(ctx context.Context, containerID string) (io.ReadCloser, error) { 13 | serverResp, err := cli.get(ctx, "/containers/"+containerID+"/export", url.Values{}, nil) 14 | if err != nil { 15 | return nil, err 16 | } 17 | 18 | return serverResp.body, nil 19 | } 20 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/NOTICE.txt: -------------------------------------------------------------------------------- 1 | Copyright 2014 gRPC authors. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/image_save.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | "io" 6 | "net/url" 7 | ) 8 | 9 | // ImageSave retrieves one or more images from the docker host as an io.ReadCloser. 10 | // It's up to the caller to store the images and close the stream. 11 | func (cli *Client) ImageSave(ctx context.Context, imageIDs []string) (io.ReadCloser, error) { 12 | query := url.Values{ 13 | "names": imageIDs, 14 | } 15 | 16 | resp, err := cli.get(ctx, "/images/get", query, nil) 17 | if err != nil { 18 | return nil, err 19 | } 20 | return resp.body, nil 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/swarm_inspect.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | "encoding/json" 6 | 7 | "github.com/docker/docker/api/types/swarm" 8 | ) 9 | 10 | // SwarmInspect inspects the swarm. 11 | func (cli *Client) SwarmInspect(ctx context.Context) (swarm.Swarm, error) { 12 | serverResp, err := cli.get(ctx, "/swarm", nil, nil) 13 | defer ensureReaderClosed(serverResp) 14 | if err != nil { 15 | return swarm.Swarm{}, err 16 | } 17 | 18 | var response swarm.Swarm 19 | err = json.NewDecoder(serverResp.body).Decode(&response) 20 | return response, err 21 | } 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/sysvshm_linux.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 linux 6 | 7 | package unix 8 | 9 | import "runtime" 10 | 11 | // SysvShmCtl performs control operations on the shared memory segment 12 | // specified by id. 13 | func SysvShmCtl(id, cmd int, desc *SysvShmDesc) (result int, err error) { 14 | if runtime.GOARCH == "arm" || 15 | runtime.GOARCH == "mips64" || runtime.GOARCH == "mips64le" { 16 | cmd |= ipc_64 17 | } 18 | 19 | return shmctl(id, cmd, desc) 20 | } 21 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/proto/proto_reflect.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 | // The protoreflect build tag disables use of fast-path methods. 6 | //go:build protoreflect 7 | // +build protoreflect 8 | 9 | package proto 10 | 11 | import ( 12 | "google.golang.org/protobuf/reflect/protoreflect" 13 | "google.golang.org/protobuf/runtime/protoiface" 14 | ) 15 | 16 | const hasProtoMethods = false 17 | 18 | func protoMethods(m protoreflect.Message) *protoiface.Methods { 19 | return nil 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/plugin_env.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 | // PluginEnv plugin env 7 | // swagger:model PluginEnv 8 | type PluginEnv struct { 9 | 10 | // description 11 | // Required: true 12 | Description string `json:"Description"` 13 | 14 | // name 15 | // Required: true 16 | Name string `json:"Name"` 17 | 18 | // settable 19 | // Required: true 20 | Settable []string `json:"Settable"` 21 | 22 | // value 23 | // Required: true 24 | Value *string `json:"Value"` 25 | } 26 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/swarm_init.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | "encoding/json" 6 | 7 | "github.com/docker/docker/api/types/swarm" 8 | ) 9 | 10 | // SwarmInit initializes the swarm. 11 | func (cli *Client) SwarmInit(ctx context.Context, req swarm.InitRequest) (string, error) { 12 | serverResp, err := cli.post(ctx, "/swarm/init", nil, req, nil) 13 | defer ensureReaderClosed(serverResp) 14 | if err != nil { 15 | return "", err 16 | } 17 | 18 | var response string 19 | err = json.NewDecoder(serverResp.body).Decode(&response) 20 | return response, err 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/theupdateframework/notary/storage/errors.go: -------------------------------------------------------------------------------- 1 | package storage 2 | 3 | import ( 4 | "errors" 5 | "fmt" 6 | ) 7 | 8 | var ( 9 | // ErrPathOutsideStore indicates that the returned path would be 10 | // outside the store 11 | ErrPathOutsideStore = errors.New("path outside file store") 12 | ) 13 | 14 | // ErrMetaNotFound indicates we did not find a particular piece 15 | // of metadata in the store 16 | type ErrMetaNotFound struct { 17 | Resource string 18 | } 19 | 20 | func (err ErrMetaNotFound) Error() string { 21 | return fmt.Sprintf("%s trust data unavailable. Has a notary repository been initialized?", err.Resource) 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/version.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | "encoding/json" 6 | 7 | "github.com/docker/docker/api/types" 8 | ) 9 | 10 | // ServerVersion returns information of the docker client and server host. 11 | func (cli *Client) ServerVersion(ctx context.Context) (types.Version, error) { 12 | resp, err := cli.get(ctx, "/version", nil, nil) 13 | defer ensureReaderClosed(resp) 14 | if err != nil { 15 | return types.Version{}, err 16 | } 17 | 18 | var server types.Version 19 | err = json.NewDecoder(resp.body).Decode(&server) 20 | return server, err 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/AUTHORS: -------------------------------------------------------------------------------- 1 | # This is the official list of GoGo authors for copyright purposes. 2 | # This file is distinct from the CONTRIBUTORS file, which 3 | # lists people. For example, employees are listed in CONTRIBUTORS, 4 | # but not in AUTHORS, because the employer holds the copyright. 5 | 6 | # Names should be added to this file as one of 7 | # Organization's name 8 | # Individual's name 9 | # Individual's name 10 | 11 | # Please keep the list sorted. 12 | 13 | Sendgrid, Inc 14 | Vastech SA (PTY) LTD 15 | Walter Schulze 16 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/isatty_plan9.go: -------------------------------------------------------------------------------- 1 | //go:build plan9 2 | // +build plan9 3 | 4 | package isatty 5 | 6 | import ( 7 | "syscall" 8 | ) 9 | 10 | // IsTerminal returns true if the given file descriptor is a terminal. 11 | func IsTerminal(fd uintptr) bool { 12 | path, err := syscall.Fd2path(int(fd)) 13 | if err != nil { 14 | return false 15 | } 16 | return path == "/dev/cons" || path == "/mnt/term/dev/cons" 17 | } 18 | 19 | // IsCygwinTerminal return true if the file descriptor is a cygwin or msys2 20 | // terminal. This is also always false on this environment. 21 | func IsCygwinTerminal(fd uintptr) bool { 22 | return false 23 | } 24 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/sockcmsg_dragonfly.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 unix 6 | 7 | // Round the length of a raw sockaddr up to align it properly. 8 | func cmsgAlignOf(salen int) int { 9 | salign := SizeofPtr 10 | if SizeofPtr == 8 && !supportsABI(_dragonflyABIChangeVersion) { 11 | // 64-bit Dragonfly before the September 2019 ABI changes still requires 12 | // 32-bit aligned access to network subsystem. 13 | salign = 4 14 | } 15 | return (salen + salign - 1) & ^(salign - 1) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/docker/distribution/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | 26 | # never checkin from the bin file (for now) 27 | bin/* 28 | 29 | # Test key files 30 | *.pem 31 | 32 | # Cover profiles 33 | *.out 34 | 35 | # Editor/IDE specific files. 36 | *.sublime-project 37 | *.sublime-workspace 38 | .idea/* 39 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/plugin_device.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 | // PluginDevice plugin device 7 | // swagger:model PluginDevice 8 | type PluginDevice struct { 9 | 10 | // description 11 | // Required: true 12 | Description string `json:"Description"` 13 | 14 | // name 15 | // Required: true 16 | Name string `json:"Name"` 17 | 18 | // path 19 | // Required: true 20 | Path *string `json:"Path"` 21 | 22 | // settable 23 | // Required: true 24 | Settable []string `json:"Settable"` 25 | } 26 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/network_disconnect.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | 6 | "github.com/docker/docker/api/types/network" 7 | ) 8 | 9 | // NetworkDisconnect disconnects a container from an existent network in the docker host. 10 | func (cli *Client) NetworkDisconnect(ctx context.Context, networkID, containerID string, force bool) error { 11 | nd := network.DisconnectOptions{ 12 | Container: containerID, 13 | Force: force, 14 | } 15 | resp, err := cli.post(ctx, "/networks/"+networkID+"/disconnect", nil, nd, nil) 16 | ensureReaderClosed(resp) 17 | return err 18 | } 19 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/genid/map_entry.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 genid 6 | 7 | import "google.golang.org/protobuf/reflect/protoreflect" 8 | 9 | // Generic field names and numbers for synthetic map entry messages. 10 | const ( 11 | MapEntry_Key_field_name protoreflect.Name = "key" 12 | MapEntry_Value_field_name protoreflect.Name = "value" 13 | 14 | MapEntry_Key_field_number protoreflect.FieldNumber = 1 15 | MapEntry_Value_field_number protoreflect.FieldNumber = 2 16 | ) 17 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/proto/proto_methods.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 | // The protoreflect build tag disables use of fast-path methods. 6 | //go:build !protoreflect 7 | // +build !protoreflect 8 | 9 | package proto 10 | 11 | import ( 12 | "google.golang.org/protobuf/reflect/protoreflect" 13 | "google.golang.org/protobuf/runtime/protoiface" 14 | ) 15 | 16 | const hasProtoMethods = true 17 | 18 | func protoMethods(m protoreflect.Message) *protoiface.Methods { 19 | return m.ProtoMethods() 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/volume_create.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | "encoding/json" 6 | 7 | "github.com/docker/docker/api/types/volume" 8 | ) 9 | 10 | // VolumeCreate creates a volume in the docker host. 11 | func (cli *Client) VolumeCreate(ctx context.Context, options volume.CreateOptions) (volume.Volume, error) { 12 | var vol volume.Volume 13 | resp, err := cli.post(ctx, "/volumes/create", nil, options, nil) 14 | defer ensureReaderClosed(resp) 15 | if err != nil { 16 | return vol, err 17 | } 18 | err = json.NewDecoder(resp.body).Decode(&vol) 19 | return vol, err 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_windows.go: -------------------------------------------------------------------------------- 1 | // +build !appengine,!js,windows 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | "os" 8 | 9 | "golang.org/x/sys/windows" 10 | ) 11 | 12 | func checkIfTerminal(w io.Writer) bool { 13 | switch v := w.(type) { 14 | case *os.File: 15 | handle := windows.Handle(v.Fd()) 16 | var mode uint32 17 | if err := windows.GetConsoleMode(handle, &mode); err != nil { 18 | return false 19 | } 20 | mode |= windows.ENABLE_VIRTUAL_TERMINAL_PROCESSING 21 | if err := windows.SetConsoleMode(handle, mode); err != nil { 22 | return false 23 | } 24 | return true 25 | } 26 | return false 27 | } 28 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/version.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package otelhttp // import "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp" 5 | 6 | // Version is the current release version of the otelhttp instrumentation. 7 | func Version() string { 8 | return "0.58.0" 9 | // This string is updated by the pre_release.sh script during release 10 | } 11 | 12 | // SemVersion is the semantic version to be supplied to tracer/meter creation. 13 | // 14 | // Deprecated: Use [Version] instead. 15 | func SemVersion() string { 16 | return Version() 17 | } 18 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform/resource.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package tracetransform // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform" 5 | 6 | import ( 7 | "go.opentelemetry.io/otel/sdk/resource" 8 | resourcepb "go.opentelemetry.io/proto/otlp/resource/v1" 9 | ) 10 | 11 | // Resource transforms a Resource into an OTLP Resource. 12 | func Resource(r *resource.Resource) *resourcepb.Resource { 13 | if r == nil { 14 | return nil 15 | } 16 | return &resourcepb.Resource{Attributes: ResourceAttributes(r)} 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/docker/cli/cli/config/credentials/default_store.go: -------------------------------------------------------------------------------- 1 | package credentials 2 | 3 | import "os/exec" 4 | 5 | // DetectDefaultStore return the default credentials store for the platform if 6 | // no user-defined store is passed, and the store executable is available. 7 | func DetectDefaultStore(store string) string { 8 | if store != "" { 9 | // use user-defined 10 | return store 11 | } 12 | 13 | platformDefault := defaultCredentialsStore() 14 | if platformDefault == "" { 15 | return "" 16 | } 17 | 18 | if _, err := exec.LookPath(remoteCredentialsPrefix + platformDefault); err != nil { 19 | return "" 20 | } 21 | return platformDefault 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/blkiodev/blkio.go: -------------------------------------------------------------------------------- 1 | package blkiodev // import "github.com/docker/docker/api/types/blkiodev" 2 | 3 | import "fmt" 4 | 5 | // WeightDevice is a structure that holds device:weight pair 6 | type WeightDevice struct { 7 | Path string 8 | Weight uint16 9 | } 10 | 11 | func (w *WeightDevice) String() string { 12 | return fmt.Sprintf("%s:%d", w.Path, w.Weight) 13 | } 14 | 15 | // ThrottleDevice is a structure that holds device:rate_per_second pair 16 | type ThrottleDevice struct { 17 | Path string 18 | Rate uint64 19 | } 20 | 21 | func (t *ThrottleDevice) String() string { 22 | return fmt.Sprintf("%s:%d", t.Path, t.Rate) 23 | } 24 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/network_connect.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | 6 | "github.com/docker/docker/api/types/network" 7 | ) 8 | 9 | // NetworkConnect connects a container to an existent network in the docker host. 10 | func (cli *Client) NetworkConnect(ctx context.Context, networkID, containerID string, config *network.EndpointSettings) error { 11 | nc := network.ConnectOptions{ 12 | Container: containerID, 13 | EndpointConfig: config, 14 | } 15 | resp, err := cli.post(ctx, "/networks/"+networkID+"/connect", nil, nc, nil) 16 | ensureReaderClosed(resp) 17 | return err 18 | } 19 | -------------------------------------------------------------------------------- /vendor/golang.org/x/term/README.md: -------------------------------------------------------------------------------- 1 | # Go terminal/console support 2 | 3 | [![Go Reference](https://pkg.go.dev/badge/golang.org/x/term.svg)](https://pkg.go.dev/golang.org/x/term) 4 | 5 | This repository provides Go terminal and console support packages. 6 | 7 | ## Report Issues / Send Patches 8 | 9 | This repository uses Gerrit for code changes. To learn how to submit changes to 10 | this repository, see https://go.dev/doc/contribute. 11 | 12 | The git repository is https://go.googlesource.com/term. 13 | 14 | The main issue tracker for the term repository is located at 15 | https://go.dev/issues. Prefix your issue with "x/term:" in the 16 | subject line, so it is easy to find. 17 | -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/kong/negatable.go: -------------------------------------------------------------------------------- 1 | package kong 2 | 3 | // negatableDefault is a placeholder value for the Negatable tag to indicate 4 | // the negated flag is --no-. This is needed as at the time of 5 | // parsing a tag, the field's flag name is not yet known. 6 | const negatableDefault = "_" 7 | 8 | // negatableFlagName returns the name of the flag for a negatable field, or 9 | // an empty string if the field is not negatable. 10 | func negatableFlagName(name, negation string) string { 11 | switch negation { 12 | case "": 13 | return "" 14 | case negatableDefault: 15 | return "--no-" + name 16 | default: 17 | return "--" + negation 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/container/container_update.go: -------------------------------------------------------------------------------- 1 | package container // import "github.com/docker/docker/api/types/container" 2 | 3 | // ---------------------------------------------------------------------------- 4 | // Code generated by `swagger generate operation`. DO NOT EDIT. 5 | // 6 | // See hack/generate-swagger-api.sh 7 | // ---------------------------------------------------------------------------- 8 | 9 | // ContainerUpdateOKBody OK response to ContainerUpdate operation 10 | // swagger:model ContainerUpdateOKBody 11 | type ContainerUpdateOKBody struct { 12 | 13 | // warnings 14 | // Required: true 15 | Warnings []string `json:"Warnings"` 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/port.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 | // Port An open port on a container 7 | // swagger:model Port 8 | type Port struct { 9 | 10 | // Host IP address that the container's port is mapped to 11 | IP string `json:"IP,omitempty"` 12 | 13 | // Port on the container 14 | // Required: true 15 | PrivatePort uint16 `json:"PrivatePort"` 16 | 17 | // Port exposed on the host 18 | PublicPort uint16 `json:"PublicPort,omitempty"` 19 | 20 | // type 21 | // Required: true 22 | Type string `json:"Type"` 23 | } 24 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/genid/empty_gen.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 | // Code generated by generate-protos. DO NOT EDIT. 6 | 7 | package genid 8 | 9 | import ( 10 | protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 | ) 12 | 13 | const File_google_protobuf_empty_proto = "google/protobuf/empty.proto" 14 | 15 | // Names for google.protobuf.Empty. 16 | const ( 17 | Empty_message_name protoreflect.Name = "Empty" 18 | Empty_message_fullname protoreflect.FullName = "google.protobuf.Empty" 19 | ) 20 | -------------------------------------------------------------------------------- /vendor/github.com/go-logr/logr/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | Logr is open to pull-requests, provided they fit within the intended scope of 4 | the project. Specifically, this library aims to be VERY small and minimalist, 5 | with no external dependencies. 6 | 7 | ## Compatibility 8 | 9 | This project intends to follow [semantic versioning](http://semver.org) and 10 | is very strict about compatibility. Any proposed changes MUST follow those 11 | rules. 12 | 13 | ## Performance 14 | 15 | As a logging library, logr must be as light-weight as possible. Any proposed 16 | code change must include results of running the [benchmark](./benchmark) 17 | before and after the change. 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/race0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 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 && !race) || (linux && !race) || (freebsd && !race) || netbsd || openbsd || solaris || dragonfly || zos 6 | 7 | package unix 8 | 9 | import ( 10 | "unsafe" 11 | ) 12 | 13 | const raceenabled = false 14 | 15 | func raceAcquire(addr unsafe.Pointer) { 16 | } 17 | 18 | func raceReleaseMerge(addr unsafe.Pointer) { 19 | } 20 | 21 | func raceReadRange(addr unsafe.Pointer, len int) { 22 | } 23 | 24 | func raceWriteRange(addr unsafe.Pointer, len int) { 25 | } 26 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_gc_386.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 linux && gc && 386 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | // Underlying system call writes to newoffset via pointer. 12 | // Implemented in assembly to avoid allocation. 13 | func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno) 14 | 15 | func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno) 16 | func rawsocketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno) 17 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/isatty_bsd.go: -------------------------------------------------------------------------------- 1 | //go:build (darwin || freebsd || openbsd || netbsd || dragonfly || hurd) && !appengine 2 | // +build darwin freebsd openbsd netbsd dragonfly hurd 3 | // +build !appengine 4 | 5 | package isatty 6 | 7 | import "golang.org/x/sys/unix" 8 | 9 | // IsTerminal return true if the file descriptor is terminal. 10 | func IsTerminal(fd uintptr) bool { 11 | _, err := unix.IoctlGetTermios(int(fd), unix.TIOCGETA) 12 | return err == nil 13 | } 14 | 15 | // IsCygwinTerminal return true if the file descriptor is a cygwin or msys2 16 | // terminal. This is also always false on this environment. 17 | func IsCygwinTerminal(fd uintptr) bool { 18 | return false 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/.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 | # Vim files https://github.com/github/gitignore/blob/master/Global/Vim.gitignore 23 | # swap 24 | [._]*.s[a-w][a-z] 25 | [._]s[a-w][a-z] 26 | # session 27 | Session.vim 28 | # temporary 29 | .netrwhist 30 | *~ 31 | # auto-generated tag files 32 | tags 33 | 34 | *.exe 35 | cobra.test 36 | bin 37 | 38 | .idea/ 39 | *.iml 40 | -------------------------------------------------------------------------------- /vendor/github.com/theupdateframework/notary/MAINTAINERS.ALUMNI: -------------------------------------------------------------------------------- 1 | # Notary maintainers alumni file 2 | # 3 | # This file describes past maintainers who have stepped down from the role. 4 | # This is a living document - if you see something out of date or missing, speak up! 5 | # 6 | # It is structured to be consumable by both humans and programs. 7 | # To extract its contents programmatically, use any TOML-compliant parser. 8 | # 9 | [Org] 10 | [Org."Notary Alumni"] 11 | people = [ 12 | "dmcgowan", 13 | ] 14 | 15 | [people] 16 | 17 | # ADD YOURSELF HERE IN ALPHABETICAL ORDER 18 | 19 | [people.dmcgowan] 20 | Name = "Derek McGowan" 21 | Email = "derek@docker.com" 22 | GitHub = "dmcgowan" 23 | -------------------------------------------------------------------------------- /vendor/github.com/docker/cli/cli/config/credentials/credentials.go: -------------------------------------------------------------------------------- 1 | package credentials 2 | 3 | import ( 4 | "github.com/docker/cli/cli/config/types" 5 | ) 6 | 7 | // Store is the interface that any credentials store must implement. 8 | type Store interface { 9 | // Erase removes credentials from the store for a given server. 10 | Erase(serverAddress string) error 11 | // Get retrieves credentials from the store for a given server. 12 | Get(serverAddress string) (types.AuthConfig, error) 13 | // GetAll retrieves all the credentials from the store. 14 | GetAll() (map[string]types.AuthConfig, error) 15 | // Store saves credentials in the store. 16 | Store(authConfig types.AuthConfig) error 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/config_update.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | "net/url" 6 | 7 | "github.com/docker/docker/api/types/swarm" 8 | ) 9 | 10 | // ConfigUpdate attempts to update a config 11 | func (cli *Client) ConfigUpdate(ctx context.Context, id string, version swarm.Version, config swarm.ConfigSpec) error { 12 | if err := cli.NewVersionError(ctx, "1.30", "config update"); err != nil { 13 | return err 14 | } 15 | query := url.Values{} 16 | query.Set("version", version.String()) 17 | resp, err := cli.post(ctx, "/configs/"+id+"/update", query, config, nil) 18 | ensureReaderClosed(resp) 19 | return err 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/secret_update.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | "net/url" 6 | 7 | "github.com/docker/docker/api/types/swarm" 8 | ) 9 | 10 | // SecretUpdate attempts to update a secret. 11 | func (cli *Client) SecretUpdate(ctx context.Context, id string, version swarm.Version, secret swarm.SecretSpec) error { 12 | if err := cli.NewVersionError(ctx, "1.25", "secret update"); err != nil { 13 | return err 14 | } 15 | query := url.Values{} 16 | query.Set("version", version.String()) 17 | resp, err := cli.post(ctx, "/secrets/"+id+"/update", query, secret, nil) 18 | ensureReaderClosed(resp) 19 | return err 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/errdefs/doc.go: -------------------------------------------------------------------------------- 1 | // Package errdefs defines a set of error interfaces that packages should use for communicating classes of errors. 2 | // Errors that cross the package boundary should implement one (and only one) of these interfaces. 3 | // 4 | // Packages should not reference these interfaces directly, only implement them. 5 | // To check if a particular error implements one of these interfaces, there are helper 6 | // functions provided (e.g. `Is`) which can be used rather than asserting the interfaces directly. 7 | // If you must assert on these interfaces, be sure to check the causal chain (`err.Cause()`). 8 | package errdefs // import "github.com/docker/docker/errdefs" 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/swarm/service_create_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 | // ServiceCreateResponse contains the information returned to a client on the 7 | // creation of a new service. 8 | // 9 | // swagger:model ServiceCreateResponse 10 | type ServiceCreateResponse struct { 11 | 12 | // The ID of the created service. 13 | ID string `json:"ID,omitempty"` 14 | 15 | // Optional warning message. 16 | // 17 | // FIXME(thaJeztah): this should have "omitempty" in the generated type. 18 | // 19 | Warnings []string `json:"Warnings"` 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/theupdateframework/notary/notary.go: -------------------------------------------------------------------------------- 1 | package notary 2 | 3 | // PassRetriever is a callback function that should retrieve a passphrase 4 | // for a given named key. If it should be treated as new passphrase (e.g. with 5 | // confirmation), createNew will be true. Attempts is passed in so that implementers 6 | // decide how many chances to give to a human, for example. 7 | type PassRetriever func(keyName, alias string, createNew bool, attempts int) (passphrase string, giveup bool, err error) 8 | 9 | // CtxKey is a wrapper type for use in context.WithValue() to satisfy golint 10 | // https://github.com/golang/go/issues/17293 11 | // https://github.com/golang/lint/pull/245 12 | type CtxKey int 13 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/isatty_solaris.go: -------------------------------------------------------------------------------- 1 | //go:build solaris && !appengine 2 | // +build solaris,!appengine 3 | 4 | package isatty 5 | 6 | import ( 7 | "golang.org/x/sys/unix" 8 | ) 9 | 10 | // IsTerminal returns true if the given file descriptor is a terminal. 11 | // see: https://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libc/port/gen/isatty.c 12 | func IsTerminal(fd uintptr) bool { 13 | _, err := unix.IoctlGetTermio(int(fd), unix.TCGETA) 14 | return err == nil 15 | } 16 | 17 | // IsCygwinTerminal return true if the file descriptor is a cygwin or msys2 18 | // terminal. This is also always false on this environment. 19 | func IsCygwinTerminal(fd uintptr) bool { 20 | return false 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/swarm_get_unlock_key.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | "encoding/json" 6 | 7 | "github.com/docker/docker/api/types" 8 | ) 9 | 10 | // SwarmGetUnlockKey retrieves the swarm's unlock key. 11 | func (cli *Client) SwarmGetUnlockKey(ctx context.Context) (types.SwarmUnlockKeyResponse, error) { 12 | serverResp, err := cli.get(ctx, "/swarm/unlockkey", nil, nil) 13 | defer ensureReaderClosed(serverResp) 14 | if err != nil { 15 | return types.SwarmUnlockKeyResponse{}, err 16 | } 17 | 18 | var response types.SwarmUnlockKeyResponse 19 | err = json.NewDecoder(serverResp.body).Decode(&response) 20 | return response, err 21 | } 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/plan9/env_plan9.go: -------------------------------------------------------------------------------- 1 | // Copyright 2011 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 | // Plan 9 environment variables. 6 | 7 | package plan9 8 | 9 | import ( 10 | "syscall" 11 | ) 12 | 13 | func Getenv(key string) (value string, found bool) { 14 | return syscall.Getenv(key) 15 | } 16 | 17 | func Setenv(key, value string) error { 18 | return syscall.Setenv(key, value) 19 | } 20 | 21 | func Clearenv() { 22 | syscall.Clearenv() 23 | } 24 | 25 | func Environ() []string { 26 | return syscall.Environ() 27 | } 28 | 29 | func Unsetenv(key string) error { 30 | return syscall.Unsetenv(key) 31 | } 32 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.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 linux && gccgo && arm 6 | 7 | package unix 8 | 9 | import ( 10 | "syscall" 11 | "unsafe" 12 | ) 13 | 14 | func seek(fd int, offset int64, whence int) (int64, syscall.Errno) { 15 | var newoffset int64 16 | offsetLow := uint32(offset & 0xffffffff) 17 | offsetHigh := uint32((offset >> 32) & 0xffffffff) 18 | _, _, err := Syscall6(SYS__LLSEEK, uintptr(fd), uintptr(offsetHigh), uintptr(offsetLow), uintptr(unsafe.Pointer(&newoffset)), uintptr(whence), 0) 19 | return newoffset, err 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/containerd/log/.golangci.yml: -------------------------------------------------------------------------------- 1 | linters: 2 | enable: 3 | - exportloopref # Checks for pointers to enclosing loop variables 4 | - gofmt 5 | - goimports 6 | - gosec 7 | - ineffassign 8 | - misspell 9 | - nolintlint 10 | - revive 11 | - staticcheck 12 | - tenv # Detects using os.Setenv instead of t.Setenv since Go 1.17 13 | - unconvert 14 | - unused 15 | - vet 16 | - dupword # Checks for duplicate words in the source code 17 | disable: 18 | - errcheck 19 | 20 | run: 21 | timeout: 5m 22 | skip-dirs: 23 | - api 24 | - cluster 25 | - design 26 | - docs 27 | - docs/man 28 | - releases 29 | - reports 30 | - test # e2e scripts 31 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/system/runtime.go: -------------------------------------------------------------------------------- 1 | package system 2 | 3 | // Runtime describes an OCI runtime 4 | type Runtime struct { 5 | // "Legacy" runtime configuration for runc-compatible runtimes. 6 | 7 | Path string `json:"path,omitempty"` 8 | Args []string `json:"runtimeArgs,omitempty"` 9 | 10 | // Shimv2 runtime configuration. Mutually exclusive with the legacy config above. 11 | 12 | Type string `json:"runtimeType,omitempty"` 13 | Options map[string]interface{} `json:"options,omitempty"` 14 | } 15 | 16 | // RuntimeWithStatus extends [Runtime] to hold [RuntimeStatus]. 17 | type RuntimeWithStatus struct { 18 | Runtime 19 | Status map[string]string `json:"status,omitempty"` 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/README.md: -------------------------------------------------------------------------------- 1 | # procfs 2 | 3 | This procfs package provides functions to retrieve system, kernel and process 4 | metrics from the pseudo-filesystem proc. 5 | 6 | *WARNING*: This package is a work in progress. Its API may still break in 7 | backwards-incompatible ways without warnings. Use it at your own risk. 8 | 9 | [![GoDoc](https://godoc.org/github.com/prometheus/procfs?status.png)](https://godoc.org/github.com/prometheus/procfs) 10 | [![Build Status](https://travis-ci.org/prometheus/procfs.svg?branch=master)](https://travis-ci.org/prometheus/procfs) 11 | [![Go Report Card](https://goreportcard.com/badge/github.com/prometheus/procfs)](https://goreportcard.com/report/github.com/prometheus/procfs) 12 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package logrus is a structured logger for Go, completely API compatible with the standard library logger. 3 | 4 | 5 | The simplest way to use Logrus is simply the package-level exported logger: 6 | 7 | package main 8 | 9 | import ( 10 | log "github.com/sirupsen/logrus" 11 | ) 12 | 13 | func main() { 14 | log.WithFields(log.Fields{ 15 | "animal": "walrus", 16 | "number": 1, 17 | "size": 10, 18 | }).Info("A walrus appears") 19 | } 20 | 21 | Output: 22 | time="2015-09-07T08:48:33Z" level=info msg="A walrus appears" animal=walrus number=1 size=10 23 | 24 | For a full guide visit https://github.com/sirupsen/logrus 25 | */ 26 | package logrus 27 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_unix_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 (darwin || dragonfly || freebsd || (linux && !ppc64 && !ppc64le) || netbsd || openbsd || solaris) && gc 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) 12 | func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) 13 | func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) 14 | func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) 15 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/impl/enum.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 impl 6 | 7 | import ( 8 | "reflect" 9 | 10 | "google.golang.org/protobuf/reflect/protoreflect" 11 | ) 12 | 13 | type EnumInfo struct { 14 | GoReflectType reflect.Type // int32 kind 15 | Desc protoreflect.EnumDescriptor 16 | } 17 | 18 | func (t *EnumInfo) New(n protoreflect.EnumNumber) protoreflect.Enum { 19 | return reflect.ValueOf(n).Convert(t.GoReflectType).Interface().(protoreflect.Enum) 20 | } 21 | func (t *EnumInfo) Descriptor() protoreflect.EnumDescriptor { return t.Desc } 22 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/checkpoint_delete.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | "net/url" 6 | 7 | "github.com/docker/docker/api/types/checkpoint" 8 | ) 9 | 10 | // CheckpointDelete deletes the checkpoint with the given name from the given container 11 | func (cli *Client) CheckpointDelete(ctx context.Context, containerID string, options checkpoint.DeleteOptions) error { 12 | query := url.Values{} 13 | if options.CheckpointDir != "" { 14 | query.Set("dir", options.CheckpointDir) 15 | } 16 | 17 | resp, err := cli.delete(ctx, "/containers/"+containerID+"/checkpoints/"+options.CheckpointID, query, nil) 18 | ensureReaderClosed(resp) 19 | return err 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/docker/cli/NOTICE: -------------------------------------------------------------------------------- 1 | Docker 2 | Copyright 2012-2017 Docker, Inc. 3 | 4 | This product includes software developed at Docker, Inc. (https://www.docker.com). 5 | 6 | This product contains software (https://github.com/creack/pty) developed 7 | by Keith Rarick, licensed under the MIT License. 8 | 9 | The following is courtesy of our legal counsel: 10 | 11 | 12 | Use and transfer of Docker may be subject to certain restrictions by the 13 | United States and other governments. 14 | It is your responsibility to ensure that your use and/or transfer does not 15 | violate applicable laws. 16 | 17 | For more information, see https://www.bis.doc.gov 18 | 19 | See also https://www.apache.org/dev/crypto.html and/or seek legal counsel. 20 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: "gomod" 4 | open-pull-requests-limit: 10 5 | directory: "/" 6 | schedule: 7 | interval: "daily" 8 | time: "08:00" 9 | timezone: "Europe/Paris" 10 | groups: 11 | docker-dependencies: 12 | patterns: 13 | - "github.com/docker/cli" 14 | - "github.com/docker/docker" 15 | labels: 16 | - "kind/dependencies" 17 | - "bot" 18 | - package-ecosystem: "github-actions" 19 | open-pull-requests-limit: 10 20 | directory: "/" 21 | schedule: 22 | interval: "daily" 23 | time: "08:00" 24 | timezone: "Europe/Paris" 25 | labels: 26 | - "kind/dependencies" 27 | - "bot" 28 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/interface_experimental.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | 6 | "github.com/docker/docker/api/types/checkpoint" 7 | ) 8 | 9 | type apiClientExperimental interface { 10 | CheckpointAPIClient 11 | } 12 | 13 | // CheckpointAPIClient defines API client methods for the checkpoints 14 | type CheckpointAPIClient interface { 15 | CheckpointCreate(ctx context.Context, container string, options checkpoint.CreateOptions) error 16 | CheckpointDelete(ctx context.Context, container string, options checkpoint.DeleteOptions) error 17 | CheckpointList(ctx context.Context, container string, options checkpoint.ListOptions) ([]checkpoint.Summary, error) 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/client/plugin_create.go: -------------------------------------------------------------------------------- 1 | package client // import "github.com/docker/docker/client" 2 | 3 | import ( 4 | "context" 5 | "io" 6 | "net/http" 7 | "net/url" 8 | 9 | "github.com/docker/docker/api/types" 10 | ) 11 | 12 | // PluginCreate creates a plugin 13 | func (cli *Client) PluginCreate(ctx context.Context, createContext io.Reader, createOptions types.PluginCreateOptions) error { 14 | headers := http.Header(make(map[string][]string)) 15 | headers.Set("Content-Type", "application/x-tar") 16 | 17 | query := url.Values{} 18 | query.Set("name", createOptions.RepoName) 19 | 20 | resp, err := cli.postRaw(ctx, "/plugins/create", query, createContext, headers) 21 | ensureReaderClosed(resp) 22 | return err 23 | } 24 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/instrumentation/scope.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package instrumentation // import "go.opentelemetry.io/otel/sdk/instrumentation" 5 | 6 | import "go.opentelemetry.io/otel/attribute" 7 | 8 | // Scope represents the instrumentation scope. 9 | type Scope struct { 10 | // Name is the name of the instrumentation scope. This should be the 11 | // Go package name of that scope. 12 | Name string 13 | // Version is the version of the instrumentation scope. 14 | Version string 15 | // SchemaURL of the telemetry emitted by the scope. 16 | SchemaURL string 17 | // Attributes of the telemetry emitted by the scope. 18 | Attributes attribute.Set 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/NOTICE: -------------------------------------------------------------------------------- 1 | Docker 2 | Copyright 2012-2017 Docker, Inc. 3 | 4 | This product includes software developed at Docker, Inc. (https://www.docker.com). 5 | 6 | This product contains software (https://github.com/creack/pty) developed 7 | by Keith Rarick, licensed under the MIT License. 8 | 9 | The following is courtesy of our legal counsel: 10 | 11 | 12 | Use and transfer of Docker may be subject to certain restrictions by the 13 | United States and other governments. 14 | It is your responsibility to ensure that your use and/or transfer does not 15 | violate applicable laws. 16 | 17 | For more information, please see https://www.bis.doc.gov 18 | 19 | See also https://www.apache.org/dev/crypto.html and/or seek legal counsel. 20 | -------------------------------------------------------------------------------- /vendor/github.com/docker/go-connections/sockets/tcp_socket.go: -------------------------------------------------------------------------------- 1 | // Package sockets provides helper functions to create and configure Unix or TCP sockets. 2 | package sockets 3 | 4 | import ( 5 | "crypto/tls" 6 | "net" 7 | ) 8 | 9 | // NewTCPSocket creates a TCP socket listener with the specified address and 10 | // the specified tls configuration. If TLSConfig is set, will encapsulate the 11 | // TCP listener inside a TLS one. 12 | func NewTCPSocket(addr string, tlsConfig *tls.Config) (net.Listener, error) { 13 | l, err := net.Listen("tcp", addr) 14 | if err != nil { 15 | return nil, err 16 | } 17 | if tlsConfig != nil { 18 | tlsConfig.NextProtos = []string{"http/1.1"} 19 | l = tls.NewListener(l, tlsConfig) 20 | } 21 | return l, nil 22 | } 23 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/sdk/instrumentation/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | // Package instrumentation provides types to represent the code libraries that 5 | // provide OpenTelemetry instrumentation. These types are used in the 6 | // OpenTelemetry signal pipelines to identify the source of telemetry. 7 | // 8 | // See 9 | // https://github.com/open-telemetry/oteps/blob/d226b677d73a785523fe9b9701be13225ebc528d/text/0083-component.md 10 | // and 11 | // https://github.com/open-telemetry/oteps/blob/d226b677d73a785523fe9b9701be13225ebc528d/text/0201-scope-attributes.md 12 | // for more information. 13 | package instrumentation // import "go.opentelemetry.io/otel/sdk/instrumentation" 14 | --------------------------------------------------------------------------------