modal-ts
    Preparing search index...

    Class ImageService

    Service for managing Images.

    Normally only ever accessed via the client as:

    const modal = new ModalClient();
    const image = await modal.images.fromRegistry("alpine");
    Index

    Constructors

    Methods

    • Parameters

      • imageId: string

        削除する Image の ID

      • _: ImageDeleteParams = {}

        将来の拡張用パラメータ

      Returns Promise<void>

      ID で Image を削除する。削除は不可逆で、Function/Sandbox からの使用を妨げる。中間レイヤーは削除されない

    • Parameters

      • tag: string

        Image のレジストリタグ

      • secret: Secret

        AWS 認証用の Secret

      Returns Image

      Image インスタンス

      AWS ECR のレジストリタグから Image を作成する

    • Parameters

      • tag: string

        Image のレジストリタグ

      • secret: Secret

        GCP 認証用の Secret

      Returns Image

      Image インスタンス

      GCP Artifact Registry のレジストリタグから Image を作成する

    • Parameters

      • imageId: string

        Image ID

      Returns Promise<Image>

      Image インスタンス

      Image ID から Image を作成する

    • Parameters

      • tag: string

        Image のレジストリタグ

      • Optionalsecret: Secret

        レジストリ認証用の Secret

      Returns Image

      Image インスタンス

      レジストリタグから Image を作成する。認証用に Secret を指定可能