Image.Plug.Variant (image_plug v0.1.0)

Copy Markdown View Source

A named, stored pipeline that requests can resolve by name.

Variants are the project's analogue of Cloudflare Images variants: reusable templates that any URL can name. The :options field holds the original provider-specific options string for round-tripping through the admin API; :pipeline holds the parsed canonical form.

Summary

Types

t()

@type t() :: %Image.Plug.Variant{
  inserted_at: nil | DateTime.t(),
  metadata: map(),
  name: String.t(),
  never_require_signed_urls?: boolean(),
  options: nil | String.t(),
  pipeline: Image.Plug.Pipeline.t(),
  updated_at: nil | DateTime.t()
}