Skip to main content

RegistryOptions

@webda/oci


Interface: RegistryOptions

Defined in: packages/oci/src/image.ts:33

Registry access options shared by the build and the push

Extended by​

Properties​

credentials?​

optional credentials?: Record<string, RegistryCredentials>

Defined in: packages/oci/src/image.ts:37

Credentials per registry host, they take precedence over the Docker configuration


dockerConfig?​

optional dockerConfig?: any

Defined in: packages/oci/src/image.ts:41

Docker configuration, read from ~/.docker/config.json by default


fetch?​

optional fetch?: {(input, init?): Promise<Response>; (input, init?): Promise<Response>; }

Defined in: packages/oci/src/image.ts:49

fetch implementation, for tests

Call Signature​

(input, init?): Promise<Response>

MDN Reference

Parameters​
input​

RequestInfo | URL

init?​

RequestInit

Returns​

Promise<Response>

Call Signature​

(input, init?): Promise<Response>

MDN Reference

Parameters​
input​

string | Request | URL

init?​

RequestInit

Returns​

Promise<Response>


insecureRegistries?​

optional insecureRegistries?: string[]

Defined in: packages/oci/src/image.ts:45

Registries reached over plain http, localhost and 127.0.0.1 always are