(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]})
(exp-backoff start max factor)
(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
(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