Dagger.Env (dagger v0.19.4)
View SourceDagger.Env
Summary
Functions
A unique identifier for this Env.
Retrieves an input binding by name
Returns all input bindings provided to the environment
Retrieves an output binding by name
Returns all declared output bindings for the environment
Create or update a binding of type Address in the environment
Declare a desired Address output to be assigned in 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 Changeset in the environment
Declare a desired Changeset output to be assigned in the environment
Create or update a binding of type Cloud in the environment
Declare a desired Cloud 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
Installs the current module into the environment, exposing its functions to the model
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 EnvFile in the environment
Declare a desired EnvFile 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 JSONValue in the environment
Declare a desired JSONValue output to be assigned in the environment
Installs a module into the environment, exposing its functions to the model
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 SearchResult in the environment
Declare a desired SearchResult output to be assigned in the environment
Create or update a binding of type SearchSubmatch in the environment
Declare a desired SearchSubmatch 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
Provides a string input binding to the environment
Declares a desired string output binding
Returns a new environment with the provided workspace
Returns a new environment without any outputs
Types
Functions
@spec id(t()) :: {:ok, Dagger.EnvID.t()} | {:error, term()}
A unique identifier for this Env.
@spec input(t(), String.t()) :: Dagger.Binding.t()
Retrieves an input binding by name
@spec inputs(t()) :: {:ok, [Dagger.Binding.t()]} | {:error, term()}
Returns all input bindings provided to the environment
@spec output(t(), String.t()) :: Dagger.Binding.t()
Retrieves an output binding by name
@spec outputs(t()) :: {:ok, [Dagger.Binding.t()]} | {:error, term()}
Returns all declared output bindings for the environment
@spec with_address_input(t(), String.t(), Dagger.Address.t(), String.t()) :: t()
Create or update a binding of type Address in the environment
Declare a desired Address output to be assigned in the environment
@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
Declare a desired CacheVolume output to be assigned in the environment
@spec with_changeset_input(t(), String.t(), Dagger.Changeset.t(), String.t()) :: t()
Create or update a binding of type Changeset in the environment
Declare a desired Changeset output to be assigned in the environment
@spec with_cloud_input(t(), String.t(), Dagger.Cloud.t(), String.t()) :: t()
Create or update a binding of type Cloud in the environment
Declare a desired Cloud output to be assigned in the environment
@spec with_container_input(t(), String.t(), Dagger.Container.t(), String.t()) :: t()
Create or update a binding of type Container in the environment
Declare a desired Container output to be assigned in the environment
Installs the current module into the environment, exposing its functions to the model
Contextual path arguments will be populated using the environment's workspace.
@spec with_directory_input(t(), String.t(), Dagger.Directory.t(), String.t()) :: t()
Create or update a binding of type Directory in the environment
Declare a desired Directory output to be assigned in the environment
@spec with_env_file_input(t(), String.t(), Dagger.EnvFile.t(), String.t()) :: t()
Create or update a binding of type EnvFile in the environment
Declare a desired EnvFile 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
@spec with_file_input(t(), String.t(), Dagger.File.t(), String.t()) :: t()
Create or update a binding of type File in the environment
Declare a desired File output to be assigned in the environment
@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
Declare a desired GitRef output to be assigned in the environment
@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
Declare a desired GitRepository output to be assigned in the environment
@spec with_json_value_input(t(), String.t(), Dagger.JSONValue.t(), String.t()) :: t()
Create or update a binding of type JSONValue in the environment
Declare a desired JSONValue output to be assigned in the environment
@spec with_module(t(), Dagger.Module.t()) :: t()
Installs a module into the environment, exposing its functions to the model
Contextual path arguments will be populated using the environment's workspace.
@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
Declare a desired ModuleConfigClient output to be assigned in the environment
@spec with_module_input(t(), String.t(), Dagger.Module.t(), String.t()) :: t()
Create or update a binding of type Module in the environment
Declare a desired Module output to be assigned in the environment
@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
Declare a desired ModuleSource output to be assigned in the environment
@spec with_search_result_input(t(), String.t(), Dagger.SearchResult.t(), String.t()) :: t()
Create or update a binding of type SearchResult in the environment
Declare a desired SearchResult output to be assigned in the environment
@spec with_search_submatch_input( t(), String.t(), Dagger.SearchSubmatch.t(), String.t() ) :: t()
Create or update a binding of type SearchSubmatch in the environment
Declare a desired SearchSubmatch output to be assigned in the environment
@spec with_secret_input(t(), String.t(), Dagger.Secret.t(), String.t()) :: t()
Create or update a binding of type Secret in the environment
Declare a desired Secret output to be assigned in the environment
@spec with_service_input(t(), String.t(), Dagger.Service.t(), String.t()) :: t()
Create or update a binding of type Service in the environment
Declare a desired Service output to be assigned in the environment
@spec with_socket_input(t(), String.t(), Dagger.Socket.t(), String.t()) :: t()
Create or update a binding of type Socket in the environment
Declare a desired Socket output to be assigned in the environment
Provides a string input binding to the environment
Declares a desired string output binding
@spec with_workspace(t(), Dagger.Directory.t()) :: t()
Returns a new environment with the provided workspace
Returns a new environment without any outputs
@spec workspace(t()) :: Dagger.Directory.t()