Liking cljdoc? Tell your friends :D

atomist.dockerhub


auth-urlcljs


decorate-reposcljs

(decorate-repos repos)

docker-days-agocljs

(docker-days-ago s)

dockerhub-anonymous-authcljs

(dockerhub-anonymous-auth {:keys [repository username api-key]})

dockerhub-api-logincljs

(dockerhub-api-login username pat)

Exchange PAT for dockerhub-api JWT

Exchange PAT for dockerhub-api JWT
raw docstring

dockerhub-authcljs

(dockerhub-auth {:keys [repository username api-key]})

domaincljs


ensure-librarycljs

(ensure-library repository)

exp-backoffcljs

(exp-backoff start max factor)

get-is-private-flagcljs

(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
raw docstring

get-labelled-manifestscljs

(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
raw docstring

get-repo-detailscljs

(get-repo-details repository)

Get stuff stars, pulls etc

Get stuff stars, pulls etc
raw docstring

ingest-latest-tagscljs

(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

  • 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
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
raw docstring

is-private-repo?cljs

(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 
raw docstring

is-public-repo?cljs

(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.
raw docstring

last-tagcljs

(last-tag nspace repository-name access-token)

private-repo?cljs

(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
raw docstring

run-taskscljs

(run-tasks m & ts)

timeoutcljs


user-logincljs

(user-login username api-key)

User old fashioned auth

User old fashioned auth
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close