(account-host account-id region)
(call-aws-sdk-service {:keys [role-arn external-id access-key-id
secret-access-key region]}
service-constructor
operation)
call aws-sdk v3 operations
call aws-sdk v3 operations - may use STS to assume role if there is an arn present. Otherwise, default to use creds without STS
(ecr-auth {:keys [region] :as params})
get an ecr authorization token
get an ecr authorization token
(ecr-public-auth {:keys [region] :as params})
get an ecr authorization token
get an ecr authorization token
(get-authorization-token-command ecr-client)
(get-labelled-manifests-from-private-repository
{:keys [account-id region access-key-id] :as params}
repository
tag-or-digest)
get manifests (with labels) for private registries
get manifests (with labels) for private registries - use region and account-id to figure out host
(get-labelled-manifests-from-public-repository
{:keys [repository-name host digest tag] :as params})
get manifests (with labels) for public registries host will probably always just be public.ecr.aws
get manifests (with labels) for public registries host will probably always just be public.ecr.aws
(get-public-authorization-token-command ecr-client)
(list-repositories third-party-account-id ecr-client)
assumes that the AWS sdk is initialized (assumeRole may have already switched roles to third party ECR)
assumes that the AWS sdk is initialized (assumeRole may have already switched roles to third party ECR)
(wrap-error-in-exception message err)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close