pub struct Env {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}
Fields§
§proc: Option<Arc<DaggerSessionProc>>
§selection: Selection
§graphql_client: DynGraphQLClient
Implementations§
Source§impl Env
impl Env
Sourcepub async fn id(&self) -> Result<EnvId, DaggerError>
pub async fn id(&self) -> Result<EnvId, DaggerError>
A unique identifier for this Env.
Sourcepub fn with_cache_volume_input(
&self,
name: impl Into<String>,
value: impl IntoID<CacheVolumeId>,
description: impl Into<String>,
) -> Env
pub fn with_cache_volume_input( &self, name: impl Into<String>, value: impl IntoID<CacheVolumeId>, description: impl Into<String>, ) -> Env
Create or update a binding of type CacheVolume in the environment
§Arguments
name
- The name of the bindingvalue
- The CacheVolume value to assign to the bindingdescription
- The purpose of the input
Sourcepub fn with_cache_volume_output(
&self,
name: impl Into<String>,
description: impl Into<String>,
) -> Env
pub fn with_cache_volume_output( &self, name: impl Into<String>, description: impl Into<String>, ) -> Env
Declare a desired CacheVolume output to be assigned in the environment
§Arguments
name
- The name of the bindingdescription
- A description of the desired value of the binding
Sourcepub fn with_cloud_input(
&self,
name: impl Into<String>,
value: impl IntoID<CloudId>,
description: impl Into<String>,
) -> Env
pub fn with_cloud_input( &self, name: impl Into<String>, value: impl IntoID<CloudId>, description: impl Into<String>, ) -> Env
Create or update a binding of type Cloud in the environment
§Arguments
name
- The name of the bindingvalue
- The Cloud value to assign to the bindingdescription
- The purpose of the input
Sourcepub fn with_cloud_output(
&self,
name: impl Into<String>,
description: impl Into<String>,
) -> Env
pub fn with_cloud_output( &self, name: impl Into<String>, description: impl Into<String>, ) -> Env
Declare a desired Cloud output to be assigned in the environment
§Arguments
name
- The name of the bindingdescription
- A description of the desired value of the binding
Sourcepub fn with_container_input(
&self,
name: impl Into<String>,
value: impl IntoID<ContainerId>,
description: impl Into<String>,
) -> Env
pub fn with_container_input( &self, name: impl Into<String>, value: impl IntoID<ContainerId>, description: impl Into<String>, ) -> Env
Create or update a binding of type Container in the environment
§Arguments
name
- The name of the bindingvalue
- The Container value to assign to the bindingdescription
- The purpose of the input
Sourcepub fn with_container_output(
&self,
name: impl Into<String>,
description: impl Into<String>,
) -> Env
pub fn with_container_output( &self, name: impl Into<String>, description: impl Into<String>, ) -> Env
Declare a desired Container output to be assigned in the environment
§Arguments
name
- The name of the bindingdescription
- A description of the desired value of the binding
Sourcepub fn with_directory_input(
&self,
name: impl Into<String>,
value: impl IntoID<DirectoryId>,
description: impl Into<String>,
) -> Env
pub fn with_directory_input( &self, name: impl Into<String>, value: impl IntoID<DirectoryId>, description: impl Into<String>, ) -> Env
Create or update a binding of type Directory in the environment
§Arguments
name
- The name of the bindingvalue
- The Directory value to assign to the bindingdescription
- The purpose of the input
Sourcepub fn with_directory_output(
&self,
name: impl Into<String>,
description: impl Into<String>,
) -> Env
pub fn with_directory_output( &self, name: impl Into<String>, description: impl Into<String>, ) -> Env
Declare a desired Directory output to be assigned in the environment
§Arguments
name
- The name of the bindingdescription
- A description of the desired value of the binding
Sourcepub fn with_env_input(
&self,
name: impl Into<String>,
value: impl IntoID<EnvId>,
description: impl Into<String>,
) -> Env
pub fn with_env_input( &self, name: impl Into<String>, value: impl IntoID<EnvId>, description: impl Into<String>, ) -> Env
Create or update a binding of type Env in the environment
§Arguments
name
- The name of the bindingvalue
- The Env value to assign to the bindingdescription
- The purpose of the input
Sourcepub fn with_env_output(
&self,
name: impl Into<String>,
description: impl Into<String>,
) -> Env
pub fn with_env_output( &self, name: impl Into<String>, description: impl Into<String>, ) -> Env
Declare a desired Env output to be assigned in the environment
§Arguments
name
- The name of the bindingdescription
- A description of the desired value of the binding
Sourcepub fn with_file_input(
&self,
name: impl Into<String>,
value: impl IntoID<FileId>,
description: impl Into<String>,
) -> Env
pub fn with_file_input( &self, name: impl Into<String>, value: impl IntoID<FileId>, description: impl Into<String>, ) -> Env
Create or update a binding of type File in the environment
§Arguments
name
- The name of the bindingvalue
- The File value to assign to the bindingdescription
- The purpose of the input
Sourcepub fn with_file_output(
&self,
name: impl Into<String>,
description: impl Into<String>,
) -> Env
pub fn with_file_output( &self, name: impl Into<String>, description: impl Into<String>, ) -> Env
Declare a desired File output to be assigned in the environment
§Arguments
name
- The name of the bindingdescription
- A description of the desired value of the binding
Sourcepub fn with_git_ref_input(
&self,
name: impl Into<String>,
value: impl IntoID<GitRefId>,
description: impl Into<String>,
) -> Env
pub fn with_git_ref_input( &self, name: impl Into<String>, value: impl IntoID<GitRefId>, description: impl Into<String>, ) -> Env
Create or update a binding of type GitRef in the environment
§Arguments
name
- The name of the bindingvalue
- The GitRef value to assign to the bindingdescription
- The purpose of the input
Sourcepub fn with_git_ref_output(
&self,
name: impl Into<String>,
description: impl Into<String>,
) -> Env
pub fn with_git_ref_output( &self, name: impl Into<String>, description: impl Into<String>, ) -> Env
Declare a desired GitRef output to be assigned in the environment
§Arguments
name
- The name of the bindingdescription
- A description of the desired value of the binding
Sourcepub fn with_git_repository_input(
&self,
name: impl Into<String>,
value: impl IntoID<GitRepositoryId>,
description: impl Into<String>,
) -> Env
pub fn with_git_repository_input( &self, name: impl Into<String>, value: impl IntoID<GitRepositoryId>, description: impl Into<String>, ) -> Env
Create or update a binding of type GitRepository in the environment
§Arguments
name
- The name of the bindingvalue
- The GitRepository value to assign to the bindingdescription
- The purpose of the input
Sourcepub fn with_git_repository_output(
&self,
name: impl Into<String>,
description: impl Into<String>,
) -> Env
pub fn with_git_repository_output( &self, name: impl Into<String>, description: impl Into<String>, ) -> Env
Declare a desired GitRepository output to be assigned in the environment
§Arguments
name
- The name of the bindingdescription
- A description of the desired value of the binding
Sourcepub fn with_json_value_input(
&self,
name: impl Into<String>,
value: impl IntoID<JsonValueId>,
description: impl Into<String>,
) -> Env
pub fn with_json_value_input( &self, name: impl Into<String>, value: impl IntoID<JsonValueId>, description: impl Into<String>, ) -> Env
Create or update a binding of type JSONValue in the environment
§Arguments
name
- The name of the bindingvalue
- The JSONValue value to assign to the bindingdescription
- The purpose of the input
Sourcepub fn with_json_value_output(
&self,
name: impl Into<String>,
description: impl Into<String>,
) -> Env
pub fn with_json_value_output( &self, name: impl Into<String>, description: impl Into<String>, ) -> Env
Declare a desired JSONValue output to be assigned in the environment
§Arguments
name
- The name of the bindingdescription
- A description of the desired value of the binding
Sourcepub fn with_llm_input(
&self,
name: impl Into<String>,
value: impl IntoID<Llmid>,
description: impl Into<String>,
) -> Env
pub fn with_llm_input( &self, name: impl Into<String>, value: impl IntoID<Llmid>, description: impl Into<String>, ) -> Env
Create or update a binding of type LLM in the environment
§Arguments
name
- The name of the bindingvalue
- The LLM value to assign to the bindingdescription
- The purpose of the input
Sourcepub fn with_llm_output(
&self,
name: impl Into<String>,
description: impl Into<String>,
) -> Env
pub fn with_llm_output( &self, name: impl Into<String>, description: impl Into<String>, ) -> Env
Declare a desired LLM output to be assigned in the environment
§Arguments
name
- The name of the bindingdescription
- A description of the desired value of the binding
Sourcepub fn with_module_config_client_input(
&self,
name: impl Into<String>,
value: impl IntoID<ModuleConfigClientId>,
description: impl Into<String>,
) -> Env
pub fn with_module_config_client_input( &self, name: impl Into<String>, value: impl IntoID<ModuleConfigClientId>, description: impl Into<String>, ) -> Env
Create or update a binding of type ModuleConfigClient in the environment
§Arguments
name
- The name of the bindingvalue
- The ModuleConfigClient value to assign to the bindingdescription
- The purpose of the input
Sourcepub fn with_module_config_client_output(
&self,
name: impl Into<String>,
description: impl Into<String>,
) -> Env
pub fn with_module_config_client_output( &self, name: impl Into<String>, description: impl Into<String>, ) -> Env
Declare a desired ModuleConfigClient output to be assigned in the environment
§Arguments
name
- The name of the bindingdescription
- A description of the desired value of the binding
Sourcepub fn with_module_input(
&self,
name: impl Into<String>,
value: impl IntoID<ModuleId>,
description: impl Into<String>,
) -> Env
pub fn with_module_input( &self, name: impl Into<String>, value: impl IntoID<ModuleId>, description: impl Into<String>, ) -> Env
Create or update a binding of type Module in the environment
§Arguments
name
- The name of the bindingvalue
- The Module value to assign to the bindingdescription
- The purpose of the input
Sourcepub fn with_module_output(
&self,
name: impl Into<String>,
description: impl Into<String>,
) -> Env
pub fn with_module_output( &self, name: impl Into<String>, description: impl Into<String>, ) -> Env
Declare a desired Module output to be assigned in the environment
§Arguments
name
- The name of the bindingdescription
- A description of the desired value of the binding
Sourcepub fn with_module_source_input(
&self,
name: impl Into<String>,
value: impl IntoID<ModuleSourceId>,
description: impl Into<String>,
) -> Env
pub fn with_module_source_input( &self, name: impl Into<String>, value: impl IntoID<ModuleSourceId>, description: impl Into<String>, ) -> Env
Create or update a binding of type ModuleSource in the environment
§Arguments
name
- The name of the bindingvalue
- The ModuleSource value to assign to the bindingdescription
- The purpose of the input
Sourcepub fn with_module_source_output(
&self,
name: impl Into<String>,
description: impl Into<String>,
) -> Env
pub fn with_module_source_output( &self, name: impl Into<String>, description: impl Into<String>, ) -> Env
Declare a desired ModuleSource output to be assigned in the environment
§Arguments
name
- The name of the bindingdescription
- A description of the desired value of the binding
Sourcepub fn with_search_result_input(
&self,
name: impl Into<String>,
value: impl IntoID<SearchResultId>,
description: impl Into<String>,
) -> Env
pub fn with_search_result_input( &self, name: impl Into<String>, value: impl IntoID<SearchResultId>, description: impl Into<String>, ) -> Env
Create or update a binding of type SearchResult in the environment
§Arguments
name
- The name of the bindingvalue
- The SearchResult value to assign to the bindingdescription
- The purpose of the input
Sourcepub fn with_search_result_output(
&self,
name: impl Into<String>,
description: impl Into<String>,
) -> Env
pub fn with_search_result_output( &self, name: impl Into<String>, description: impl Into<String>, ) -> Env
Declare a desired SearchResult output to be assigned in the environment
§Arguments
name
- The name of the bindingdescription
- A description of the desired value of the binding
Sourcepub fn with_search_submatch_input(
&self,
name: impl Into<String>,
value: impl IntoID<SearchSubmatchId>,
description: impl Into<String>,
) -> Env
pub fn with_search_submatch_input( &self, name: impl Into<String>, value: impl IntoID<SearchSubmatchId>, description: impl Into<String>, ) -> Env
Create or update a binding of type SearchSubmatch in the environment
§Arguments
name
- The name of the bindingvalue
- The SearchSubmatch value to assign to the bindingdescription
- The purpose of the input
Sourcepub fn with_search_submatch_output(
&self,
name: impl Into<String>,
description: impl Into<String>,
) -> Env
pub fn with_search_submatch_output( &self, name: impl Into<String>, description: impl Into<String>, ) -> Env
Declare a desired SearchSubmatch output to be assigned in the environment
§Arguments
name
- The name of the bindingdescription
- A description of the desired value of the binding
Sourcepub fn with_secret_input(
&self,
name: impl Into<String>,
value: impl IntoID<SecretId>,
description: impl Into<String>,
) -> Env
pub fn with_secret_input( &self, name: impl Into<String>, value: impl IntoID<SecretId>, description: impl Into<String>, ) -> Env
Create or update a binding of type Secret in the environment
§Arguments
name
- The name of the bindingvalue
- The Secret value to assign to the bindingdescription
- The purpose of the input
Sourcepub fn with_secret_output(
&self,
name: impl Into<String>,
description: impl Into<String>,
) -> Env
pub fn with_secret_output( &self, name: impl Into<String>, description: impl Into<String>, ) -> Env
Declare a desired Secret output to be assigned in the environment
§Arguments
name
- The name of the bindingdescription
- A description of the desired value of the binding
Sourcepub fn with_service_input(
&self,
name: impl Into<String>,
value: impl IntoID<ServiceId>,
description: impl Into<String>,
) -> Env
pub fn with_service_input( &self, name: impl Into<String>, value: impl IntoID<ServiceId>, description: impl Into<String>, ) -> Env
Create or update a binding of type Service in the environment
§Arguments
name
- The name of the bindingvalue
- The Service value to assign to the bindingdescription
- The purpose of the input
Sourcepub fn with_service_output(
&self,
name: impl Into<String>,
description: impl Into<String>,
) -> Env
pub fn with_service_output( &self, name: impl Into<String>, description: impl Into<String>, ) -> Env
Declare a desired Service output to be assigned in the environment
§Arguments
name
- The name of the bindingdescription
- A description of the desired value of the binding
Sourcepub fn with_socket_input(
&self,
name: impl Into<String>,
value: impl IntoID<SocketId>,
description: impl Into<String>,
) -> Env
pub fn with_socket_input( &self, name: impl Into<String>, value: impl IntoID<SocketId>, description: impl Into<String>, ) -> Env
Create or update a binding of type Socket in the environment
§Arguments
name
- The name of the bindingvalue
- The Socket value to assign to the bindingdescription
- The purpose of the input
Sourcepub fn with_socket_output(
&self,
name: impl Into<String>,
description: impl Into<String>,
) -> Env
pub fn with_socket_output( &self, name: impl Into<String>, description: impl Into<String>, ) -> Env
Declare a desired Socket output to be assigned in the environment
§Arguments
name
- The name of the bindingdescription
- A description of the desired value of the binding
Sourcepub fn with_string_input(
&self,
name: impl Into<String>,
value: impl Into<String>,
description: impl Into<String>,
) -> Env
pub fn with_string_input( &self, name: impl Into<String>, value: impl Into<String>, description: impl Into<String>, ) -> Env
Create or update an input value of type string
§Arguments
name
- The name of the bindingvalue
- The string value to assign to the bindingdescription
- The description of the input