Dagger.Env (dagger v0.18.2)

View Source

Dagger.Env

Summary

Functions

A unique identifier for this Env.

retrieve an input value by name

return all input values for the environment

retrieve an output value by name

return all output values for the environment

Create or update a binding of type CacheVolume in the environment

Declare a desired CacheVolume output to be assigned in the environment

Create or update a binding of type Container in the environment

Declare a desired Container output to be assigned in the environment

Create or update a binding of type Directory in the environment

Declare a desired Directory output to be assigned in the environment

Create or update a binding of type Env in the environment

Declare a desired Env output to be assigned in the environment

Create or update a binding of type File in the environment

Declare a desired File output to be assigned in the environment

Create or update a binding of type GitRef in the environment

Declare a desired GitRef output to be assigned in the environment

Create or update a binding of type GitRepository in the environment

Declare a desired GitRepository output to be assigned in the environment

Create or update a binding of type LLM in the environment

Declare a desired LLM output to be assigned in the environment

Create or update a binding of type ModuleConfigClient in the environment

Declare a desired ModuleConfigClient output to be assigned in the environment

Create or update a binding of type Module in the environment

Declare a desired Module output to be assigned in the environment

Create or update a binding of type ModuleSource in the environment

Declare a desired ModuleSource output to be assigned in the environment

Create or update a binding of type Secret in the environment

Declare a desired Secret output to be assigned in the environment

Create or update a binding of type Service in the environment

Declare a desired Service output to be assigned in the environment

Create or update a binding of type Socket in the environment

Declare a desired Socket output to be assigned in the environment

Create or update an input value of type string

Types

t()

@type t() :: %Dagger.Env{client: term(), query_builder: term()}

Functions

id(env)

@spec id(t()) :: {:ok, Dagger.EnvID.t()} | {:error, term()}

A unique identifier for this Env.

input(env, name)

@spec input(t(), String.t()) :: Dagger.Binding.t()

retrieve an input value by name

inputs(env)

@spec inputs(t()) :: {:ok, [Dagger.Binding.t()]} | {:error, term()}

return all input values for the environment

output(env, name)

@spec output(t(), String.t()) :: Dagger.Binding.t()

retrieve an output value by name

outputs(env)

@spec outputs(t()) :: {:ok, [Dagger.Binding.t()]} | {:error, term()}

return all output values for the environment

with_cache_volume_input(env, name, value, description)

@spec with_cache_volume_input(t(), String.t(), Dagger.CacheVolume.t(), String.t()) ::
  t()

Create or update a binding of type CacheVolume in the environment

with_cache_volume_output(env, name, description)

@spec with_cache_volume_output(t(), String.t(), String.t()) :: t()

Declare a desired CacheVolume output to be assigned in the environment

with_container_input(env, name, value, description)

@spec with_container_input(t(), String.t(), Dagger.Container.t(), String.t()) :: t()

Create or update a binding of type Container in the environment

with_container_output(env, name, description)

@spec with_container_output(t(), String.t(), String.t()) :: t()

Declare a desired Container output to be assigned in the environment

with_directory_input(env, name, value, description)

@spec with_directory_input(t(), String.t(), Dagger.Directory.t(), String.t()) :: t()

Create or update a binding of type Directory in the environment

with_directory_output(env, name, description)

@spec with_directory_output(t(), String.t(), String.t()) :: t()

Declare a desired Directory output to be assigned in the environment

with_env_input(env, name, value, description)

@spec with_env_input(t(), String.t(), t(), String.t()) :: t()

Create or update a binding of type Env in the environment

with_env_output(env, name, description)

@spec with_env_output(t(), String.t(), String.t()) :: t()

Declare a desired Env output to be assigned in the environment

with_file_input(env, name, value, description)

@spec with_file_input(t(), String.t(), Dagger.File.t(), String.t()) :: t()

Create or update a binding of type File in the environment

with_file_output(env, name, description)

@spec with_file_output(t(), String.t(), String.t()) :: t()

Declare a desired File output to be assigned in the environment

with_git_ref_input(env, name, value, description)

@spec with_git_ref_input(t(), String.t(), Dagger.GitRef.t(), String.t()) :: t()

Create or update a binding of type GitRef in the environment

with_git_ref_output(env, name, description)

@spec with_git_ref_output(t(), String.t(), String.t()) :: t()

Declare a desired GitRef output to be assigned in the environment

with_git_repository_input(env, name, value, description)

@spec with_git_repository_input(t(), String.t(), Dagger.GitRepository.t(), String.t()) ::
  t()

Create or update a binding of type GitRepository in the environment

with_git_repository_output(env, name, description)

@spec with_git_repository_output(t(), String.t(), String.t()) :: t()

Declare a desired GitRepository output to be assigned in the environment

with_llm_input(env, name, value, description)

@spec with_llm_input(t(), String.t(), Dagger.LLM.t(), String.t()) :: t()

Create or update a binding of type LLM in the environment

with_llm_output(env, name, description)

@spec with_llm_output(t(), String.t(), String.t()) :: t()

Declare a desired LLM output to be assigned in the environment

with_module_config_client_input(env, name, value, description)

@spec with_module_config_client_input(
  t(),
  String.t(),
  Dagger.ModuleConfigClient.t(),
  String.t()
) :: t()

Create or update a binding of type ModuleConfigClient in the environment

with_module_config_client_output(env, name, description)

@spec with_module_config_client_output(t(), String.t(), String.t()) :: t()

Declare a desired ModuleConfigClient output to be assigned in the environment

with_module_input(env, name, value, description)

@spec with_module_input(t(), String.t(), Dagger.Module.t(), String.t()) :: t()

Create or update a binding of type Module in the environment

with_module_output(env, name, description)

@spec with_module_output(t(), String.t(), String.t()) :: t()

Declare a desired Module output to be assigned in the environment

with_module_source_input(env, name, value, description)

@spec with_module_source_input(t(), String.t(), Dagger.ModuleSource.t(), String.t()) ::
  t()

Create or update a binding of type ModuleSource in the environment

with_module_source_output(env, name, description)

@spec with_module_source_output(t(), String.t(), String.t()) :: t()

Declare a desired ModuleSource output to be assigned in the environment

with_secret_input(env, name, value, description)

@spec with_secret_input(t(), String.t(), Dagger.Secret.t(), String.t()) :: t()

Create or update a binding of type Secret in the environment

with_secret_output(env, name, description)

@spec with_secret_output(t(), String.t(), String.t()) :: t()

Declare a desired Secret output to be assigned in the environment

with_service_input(env, name, value, description)

@spec with_service_input(t(), String.t(), Dagger.Service.t(), String.t()) :: t()

Create or update a binding of type Service in the environment

with_service_output(env, name, description)

@spec with_service_output(t(), String.t(), String.t()) :: t()

Declare a desired Service output to be assigned in the environment

with_socket_input(env, name, value, description)

@spec with_socket_input(t(), String.t(), Dagger.Socket.t(), String.t()) :: t()

Create or update a binding of type Socket in the environment

with_socket_output(env, name, description)

@spec with_socket_output(t(), String.t(), String.t()) :: t()

Declare a desired Socket output to be assigned in the environment

with_string_input(env, name, value, description)

@spec with_string_input(t(), String.t(), String.t(), String.t()) :: t()

Create or update an input value of type string