Current section
Files
Jump to
Current section
Files
lib/dagger/gen/secret.ex
# This file generated by `mix dagger.gen`. Please DO NOT EDIT.
defmodule Dagger.Secret do
@moduledoc "A reference to a secret value, which can be handled more safely than the value itself."
use Dagger.QueryBuilder
defstruct [:selection, :client]
(
@doc "The identifier for this secret."
def id(%__MODULE__{} = secret) do
selection = select(secret.selection, "id")
execute(selection, secret.client)
end
)
(
@doc "The value of this secret."
def plaintext(%__MODULE__{} = secret) do
selection = select(secret.selection, "plaintext")
execute(selection, secret.client)
end
)
end