@basetenlabs/sandbox - v0.3.0
    Preparing search index...

    Interface ImagePushFilesRequest

    ImagePushRequest that builds a build context held in memory.

    interface ImagePushFilesRequest {
        callOptions?: CallOptions;
        files: Record<string, string | Uint8Array | Blob>;
        name: string;
        pollIntervalMs?: number;
        timeoutMs?: number;
        wait?: boolean;
    }

    Hierarchy (View Summary)

    Index
    callOptions?: CallOptions
    files: Record<string, string | Uint8Array | Blob>

    Build context files by relative path, with forward slashes, which are zipped. Must include Dockerfile. Files get mode 0644.

    name: string

    Repository name. Pushing to an existing name adds a new version to it.

    pollIntervalMs?: number

    Milliseconds between checks. Defaults to 3s.

    timeoutMs?: number

    Milliseconds to wait before giving up. Giving up does not stop the image's processing. Defaults to 900s.

    wait?: boolean

    Whether to return only once the image is ready to use, throwing ImageBuildError if it fails. Defaults to true.