(decorate-repos repos)
(docker-days-ago s)
(dockerhub-anonymous-auth {:keys [repository username api-key]})
(dockerhub-api-login username pat)
Exchange PAT for dockerhub-api JWT
Exchange PAT for dockerhub-api JWT
(dockerhub-auth {:keys [repository username api-key]})
(ensure-library repository)
(exp-backoff start max factor)
(get-is-private-flag token repository)
All other is-(public|private).+ are probably bad - use this
All other is-(public|private).+ are probably bad - use this
(get-labelled-manifests repository tag-or-digest)
(get-labelled-manifests repository tag-or-digest username api-key)
log error or return labels
log error or return labels
(get-repo-details repository)
Get stuff stars, pulls etc
Get stuff stars, pulls etc
(ingest-latest-tags handler)
config-change.edn: scan repositories and tags and ingest the most recent ones tag-discovery.edn: scan repositories on a schedule - skip transactions if latest tag has not been updated
config-change.edn: scan repositories and tags and ingest the most recent ones tag-discovery.edn: scan repositories on a schedule - skip transactions if latest tag has not been updated - page through repositories (api-usage n/10) - get latest tag (api-usage 1 per repo) - get manifests (api-usage 1 tag if image n / platform if manifest list) 100 repositories where all of the latest tags are images (not manifest lists) -> 300 calls
(is-private-repo? username api-key repository)
Is repository a private repo?. As above, but only returns true if auth works and it's private . Used by dockerhub-integration to check if a repo is private
Is repository a private repo?. As above, but only returns true if auth works and it's private . Used by dockerhub-integration to check if a repo is private
(is-public-repo? token repository)
Is this repository explicitly showing false
for is_private
? Failure will result in us saying the repository isn't public. To be deemed public the response has to have
authenticated properly and have a value of false
to is_private otherwise we're saying it's private.
Is this repository explicitly showing `false` for `is_private`? Failure will result in us saying the repository isn't public. To be deemed public the response has to have authenticated properly and have a value of `false` to is_private otherwise we're saying it's private.
(last-tag nspace repository-name access-token)
(private-repo? username api-key repository tag-or-digest)
Used by atomist-bot user with public-read-only token. Assumes auth issues means private
Used by atomist-bot user with public-read-only token. Assumes auth issues means private
(run-tasks m & ts)
(user-login username api-key)
User old fashioned auth
User old fashioned auth
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close