Packages

https://dagger.io SDK for Elixir

Current section

Files

Jump to
dagger_ex lib dagger gen host_variable.ex
Raw

lib/dagger/gen/host_variable.ex

# This file generated by `mix dagger.gen`. Please DO NOT EDIT.
defmodule Dagger.HostVariable do
@moduledoc "An environment variable on the host environment."
use Dagger.QueryBuilder
defstruct [:selection, :client]
(
@doc "A secret referencing the value of this variable."
@deprecated "been superseded by `setSecret`"
def secret(%__MODULE__{} = host_variable) do
selection = select(host_variable.selection, "secret")
%Dagger.Secret{selection: selection, client: host_variable.client}
end
)
(
@doc "The value of this variable."
def value(%__MODULE__{} = host_variable) do
selection = select(host_variable.selection, "value")
execute(selection, host_variable.client)
end
)
end