Current section

Files

Jump to
dagger lib dagger gen image_layer_compression.ex
Raw

lib/dagger/gen/image_layer_compression.ex

# This file generated by `dagger_codegen`. Please DO NOT EDIT.
defmodule Dagger.ImageLayerCompression do
@moduledoc "Compression algorithm to use for image layers."
@type t() :: :Gzip | :Zstd | :EStarGZ | :Uncompressed
@spec gzip() :: :Gzip
def gzip(), do: :Gzip
@spec zstd() :: :Zstd
def zstd(), do: :Zstd
@spec e_star_gz() :: :EStarGZ
def e_star_gz(), do: :EStarGZ
@spec uncompressed() :: :Uncompressed
def uncompressed(), do: :Uncompressed
@doc false
@spec from_string(String.t()) :: t()
def from_string(string)
def from_string("Gzip"), do: :Gzip
def from_string("Zstd"), do: :Zstd
def from_string("EStarGZ"), do: :EStarGZ
def from_string("Uncompressed"), do: :Uncompressed
end