modal
    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

    • Creates an Image from a raw registry tag, optionally using a Secret for authentication.

      Parameters

      • tag: string

        The registry tag for the Image.

      • secret: Secret

        A Secret containing credentials for registry authentication.

      Returns Image

    • Creates an Image from a raw registry tag, optionally using a Secret for authentication.

      Parameters

      • tag: string

        The registry tag for the Image.

      • secret: Secret

        A Secret containing credentials for registry authentication.

      Returns Image

    • Creates an Image from an Image ID

      Parameters

      • imageId: string

        Image ID.

      Returns Promise<Image>

    • Creates an Image from a raw registry tag, optionally using a Secret for authentication.

      Parameters

      • tag: string

        The registry tag for the Image.

      • Optionalsecret: Secret

        Optional. A Secret containing credentials for registry authentication.

      Returns Image