ExAtlas.Spec.GpuType (ExAtlas v0.5.0)

Copy Markdown View Source

Normalized GPU type + pricing entry returned by list_gpu_types/1.

Summary

Types

stock()

@type stock() :: :high | :medium | :low | :unavailable | :unknown

t()

@type t() :: %ExAtlas.Spec.GpuType{
  canonical: atom() | nil,
  cloud_type: :secure | :community | :any | nil,
  display_name: String.t() | nil,
  id: String.t(),
  lowest_price_per_hour: float() | nil,
  memory_gb: pos_integer() | nil,
  provider: atom(),
  raw: map(),
  spot_price_per_hour: float() | nil,
  stock: stock() | nil
}