IFClite TypeScript API
    Preparing search index...

    Interface OciClientOptions

    interface OciClientOptions {
        createHasher?: () => OciHasher;
        credentials?: OciCredentials;
        fetch?: {
            (input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
            (input: string | Request | URL, init?: RequestInit): Promise<Response>;
        };
        insecureHosts?: readonly string[];
        maxManifestBytes?: number;
        trustedRealms?: readonly string[];
        userAgent?: string;
    }
    Index
    createHasher?: () => OciHasher

    Streaming hasher factory. Default: WebCrypto over the whole body.

    credentials?: OciCredentials
    fetch?: {
        (input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
        (input: string | Request | URL, init?: RequestInit): Promise<Response>;
    }

    Defaults to globalThis.fetch.

    Type Declaration

      • (input: RequestInfo | URL, init?: RequestInit): Promise<Response>
      • Parameters

        • input: RequestInfo | URL
        • Optionalinit: RequestInit

        Returns Promise<Response>

      • (input: string | Request | URL, init?: RequestInit): Promise<Response>
      • Parameters

        • input: string | Request | URL
        • Optionalinit: RequestInit

        Returns Promise<Response>

    insecureHosts?: readonly string[]

    host or host:port entries allowed over plain http:.

    maxManifestBytes?: number

    Default 4 MiB.

    trustedRealms?: readonly string[]

    Token-realm origins (https://auth.example.com) other than the registry's own origin that may receive username/password credentials.

    userAgent?: string

    Sent as User-Agent when set (browsers may ignore it).