package
1.3.10
Repository: https://github.com/go-idp/registry.git
Documentation: pkg.go.dev

# Functions

Apk checks if the client is using apk.
Apt check if the client is using apt.
Bun check if the client is using bun { "Accept": [ "*/*" ], "Accept-Encoding": [ "br, gzip, deflate" ], "Connection": [ "close" ], "User-Agent": [ "Bun/0.5.9" ], "X-Request-Id": [ "be9e9db2f422/rU1byNY6LG-005769" ] }.
Chrome checks if the client is using chrome.
Cnpm check if the client is using cnpm { "Accept": [ "application/json" ], "Connection": [ "keep-alive" ], "User-Agent": [ "npminstall/6.5.1 node-urllib/3.0.0 Node.js/16.20.2 (OS X; arm64)" ], "X-Request-Id": [ "14987760a9f2/nTkGwZGh8l-000022" ] } { "Connection": [ "close" ], "Remoteip": [ "222.71.122.104" ], "User-Agent": [ "node-urllib/3.27.0 Node.js/20.9.0 (OS X; arm64)" ], "X-Request-Id": [ "91e641ce1926/do9mLDeeMk-022983" ] }.
Containerd check if the client is using containerd { "headers": { "Accept": [ "application/vnd.docker.distribution.manifest.v2+json, application/vnd.docker.distribution.manifest.list.v2+json, application/vnd.oci.image.manifest.v1+json, application/vnd.oci.image.index.v1+json, */*" ], "Connection": [ "close" ], "User-Agent": [ "containerd/1.4.0+unknown" ], "X-Request-Id": [ "aee97e84b6bb/gL9ZD34gkv-000001" ] }, "method": "HEAD", "path": "/v2/idp/openjdk/manifests/v11-1" }.
Curl checks if the client is using curl.
Docker check if the client is using docker Example: { "Accept": [ "application/vnd.oci.image.index.v1+json", "application/vnd.docker.distribution.manifest.v1+prettyjws", "application/json", "application/vnd.oci.image.manifest.v1+json", "application/vnd.docker.distribution.manifest.v2+json", "application/vnd.docker.distribution.manifest.list.v2+json" ], "Accept-Encoding": [ "gzip" ], "Connection": [ "close" ], "User-Agent": [ "docker/24.0.6 go/go1.20.7 git-commit/1a79695 kernel/6.4.16-linuxkit os/linux arch/arm64 UpstreamClient(Docker-Client/24.0.6 \\(darwin\\))" ], "X-Request-Id": [ "14987760a9f2/nTkGwZGh8l-000018" ] } // buildkit (docker buildx) { [3/2218] "headers": { "Accept": [ "application/vnd.docker.distribution.manifest.v2+json, application/vnd.docker.distribution.manifest.list.v2+json, application/vnd.oci.image.manifest.v1+json, application/vnd.oci.image.index.v1+json, */*" ], "Connection": [ "close" ], "Traceparent": [ "00-e6c58f2b63707ac86153ead04283d8e0-749297dfcf6b0a62-01" ], "User-Agent": [ "buildkit/v0.12" ], "X-Request-Id": [ "3b9f38c61c5f/eXYwXysyvl-000372" ] }, "method": "HEAD", "path": "/v2/whatwewant/builder-ta-node/manifests/v16-1" }.
Git checks if the client is using git { "Accept": [ "*/*" ], "Accept-Encoding": [ "deflate, gzip" ], "Accept-Language": [ "en-US, *;q=0.9" ], "Cache-Control": [ "no-cache" ], "Connection": [ "close" ], "Git-Protocol": [ "version=2" ], "Pragma": [ "no-cache" ], "User-Agent": [ "git/2.40.0" ], "X-Request-Id": [ "febcc805d9a3/8gk319QOph-000009" ] }.
Go checks if the client is using go.
Got check if the client is using got.
Maven is the maven registry.
Node check if the client is using node.
Npm check if the client is using npm.
Pip is the interface for the pip command.
Pnpm check if the client is using pnpm.
Podman checks if the client is using podman API: /v2 { "Accept-Encoding": [ "gzip" ], "Connection": [ "close" ], "Docker-Distribution-Api-Version": [ "registry/2.0" ], "User-Agent": [ "containers/5.28.0 (github.com/containers/image)" ], "X-Request-Id": [ "91e641ce1926/do9mLDeeMk-000021" ] } API: /v1/_ping { "Accept-Encoding": [ "gzip" ], "Connection": [ "close" ], "Docker-Distribution-Api-Version": [ "registry/2.0" ], "User-Agent": [ "containers/5.28.0 (github.com/containers/image)" ], "X-Request-Id": [ "91e641ce1926/do9mLDeeMk-000022" ] }.
TypeInstaller checks if the client is using a type installer Repo: https://github.com/nfour/types-installer { "headers": { "Accept": [ "*/*" ], "Accept-Encoding": [ "gzip,deflate" ], "Connection": [ "close" ], "Content-Encoding": [ "gzip" ], "Content-Length": [ "185" ], "Content-Type": [ "application/json" ], "Npm-Auth-Type": [ "web" ], "Npm-Command": [ "install" ], "User-Agent": [ "typesInstaller/5.5.4" ], "X-Request-Id": [ "4b5860a3e5d9/LKroIteYXu-000854" ] }, "method": "POST", "path": "/-/npm/v1/security/audits/quick" }.
Undici check if the client is using undici { "Accept": [ "*/*" ], "Accept-Encoding": [ "br, gzip, deflate" ], "Accept-Language": [ "*" ], "Connection": [ "close" ], "Sec-Fetch-Mode": [ "cors" ], "User-Agent": [ "undici" ], "X-Request-Id": [ "be9e9db2f422/rU1byNY6LG-005692" ] }.
Wget check if the client is using wget.
Yarn check if the client is using yarn.
Yum check if the client is using yum.