UNPKG

@iexec/iapp

Version:

A CLI to guide you through the process of building an iExec iApp

24 lines (23 loc) 689 B
/** * get an authorization token to perform operations on a repository of the docker hub registry * * NB: delivered token expires after 5 mins */ export declare function getAuthToken({ repository, action, dockerhubUsername, dockerhubAccessToken, }: { /** * docker repository name */ repository: string; /** * docker hub username (must have specified "action" access to repository) */ dockerhubUsername: string; /** * docker hub access token (must have specified "action" access to repository) */ dockerhubAccessToken: string; /** * docker action scope (ex "pull", "push") */ action?: string; }): Promise<string>;