Parameters
- image: string
- fetcher: {
(input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
(input: string | URL | Request, init?: RequestInit): Promise<Response>;
}
-
- (input: URL | RequestInfo, init?: RequestInit): Promise<Response>
-
Parameters
- input: URL | RequestInfo
Optionalinit: RequestInit
Returns Promise<Response>
- (input: string | URL | Request, init?: RequestInit): Promise<Response>
-
Parameters
- input: string | URL | Request
Optionalinit: RequestInit
Returns Promise<Response>
Returns Promise<string | null>
Null when the manifest resolves; else why not, in a few words.
Asks an image's registry, anonymously, whether its manifest is there.
Follows the registry's anonymous bearer-token challenge when it sends one.