Skip to main content

RegistryClientOptions

@webda/oci


Interface: RegistryClientOptions

Defined in: packages/oci/src/registry.ts:10

Options of a RegistryClient

Properties​

credentials?​

optional credentials?: RegistryCredentials

Defined in: packages/oci/src/registry.ts:14

Credentials, anonymous when undefined


fetch?​

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

Defined in: packages/oci/src/registry.ts:22

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>


insecure?​

optional insecure?: boolean

Defined in: packages/oci/src/registry.ts:18

Use plain http: default for localhost and 127.0.0.1