Dagger.Binding (dagger v1.0.0-beta.13)

Copy Markdown View Source

Dagger.Binding

Summary

Functions

Retrieve the binding value, as type Address

Retrieve the binding value, as type CacheVolume

Retrieve the binding value, as type Changeset

Retrieve the binding value, as type Check

Retrieve the binding value, as type CheckGroup

Retrieve the binding value, as type Cloud

Retrieve the binding value, as type Container

Retrieve the binding value, as type CurrentModuleAsSDK

Retrieve the binding value, as type CurrentModuleAsSDKClient

Retrieve the binding value, as type CurrentModuleAsSDKModule

Retrieve the binding value, as type DiffStat

Retrieve the binding value, as type Directory

Retrieve the binding value, as type Env

Retrieve the binding value, as type EnvFile

Retrieve the binding value, as type File

Retrieve the binding value, as type Generator

Retrieve the binding value, as type GeneratorGroup

Retrieve the binding value, as type GitRef

Retrieve the binding value, as type GitRepository

Retrieve the binding value, as type HTTPState

Retrieve the binding value, as type JSONValue

Retrieve the binding value, as type LLMContentBlock

Retrieve the binding value, as type LLMMessage

Retrieve the binding value, as type Module

Retrieve the binding value, as type ModuleConfigClient

Retrieve the binding value, as type ModuleSource

Retrieve the binding value, as type Schema

Retrieve the binding value, as type SearchResult

Retrieve the binding value, as type SearchSubmatch

Retrieve the binding value, as type Secret

Retrieve the binding value, as type Service

Retrieve the binding value, as type Socket

Retrieve the binding value, as type Stat

Returns the binding's string value

Retrieve the binding value, as type Up

Retrieve the binding value, as type UpGroup

Retrieve the binding value, as type Volume

Retrieve the binding value, as type Workspace

Retrieve the binding value, as type WorkspaceGit

Retrieve the binding value, as type WorkspaceMigration

Retrieve the binding value, as type WorkspaceMigrationStep

Retrieve the binding value, as type WorkspaceModule

Retrieve the binding value, as type WorkspaceModuleSetting

Retrieve the binding value, as type WorkspaceSDK

Returns the digest of the binding value

A unique identifier for this Binding.

Returns the binding name

Returns true if the binding is null

Returns the binding type

Types

t()

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

Functions

as_address(binding)

@spec as_address(t()) :: Dagger.Address.t()

Retrieve the binding value, as type Address

as_cache_volume(binding)

@spec as_cache_volume(t()) :: Dagger.CacheVolume.t()

Retrieve the binding value, as type CacheVolume

as_changeset(binding)

@spec as_changeset(t()) :: Dagger.Changeset.t()

Retrieve the binding value, as type Changeset

as_check(binding)

@spec as_check(t()) :: Dagger.Check.t()

Retrieve the binding value, as type Check

as_check_group(binding)

@spec as_check_group(t()) :: Dagger.CheckGroup.t()

Retrieve the binding value, as type CheckGroup

as_cloud(binding)

@spec as_cloud(t()) :: Dagger.Cloud.t()

Retrieve the binding value, as type Cloud

as_container(binding)

@spec as_container(t()) :: Dagger.Container.t()

Retrieve the binding value, as type Container

as_current_module_as_sdk(binding)

@spec as_current_module_as_sdk(t()) :: Dagger.CurrentModuleAsSDK.t()

Retrieve the binding value, as type CurrentModuleAsSDK

as_current_module_as_sdk_client(binding)

@spec as_current_module_as_sdk_client(t()) :: Dagger.CurrentModuleAsSDKClient.t()

Retrieve the binding value, as type CurrentModuleAsSDKClient

as_current_module_as_sdk_module(binding)

@spec as_current_module_as_sdk_module(t()) :: Dagger.CurrentModuleAsSDKModule.t()

Retrieve the binding value, as type CurrentModuleAsSDKModule

as_diff_stat(binding)

@spec as_diff_stat(t()) :: Dagger.DiffStat.t()

Retrieve the binding value, as type DiffStat

as_directory(binding)

@spec as_directory(t()) :: Dagger.Directory.t()

Retrieve the binding value, as type Directory

as_env(binding)

@spec as_env(t()) :: Dagger.Env.t()

Retrieve the binding value, as type Env

as_env_file(binding)

@spec as_env_file(t()) :: Dagger.EnvFile.t()

Retrieve the binding value, as type EnvFile

as_file(binding)

@spec as_file(t()) :: Dagger.File.t()

Retrieve the binding value, as type File

as_generator(binding)

@spec as_generator(t()) :: Dagger.Generator.t()

Retrieve the binding value, as type Generator

as_generator_group(binding)

@spec as_generator_group(t()) :: Dagger.GeneratorGroup.t()

Retrieve the binding value, as type GeneratorGroup

as_git_ref(binding)

@spec as_git_ref(t()) :: Dagger.GitRef.t()

Retrieve the binding value, as type GitRef

as_git_repository(binding)

@spec as_git_repository(t()) :: Dagger.GitRepository.t()

Retrieve the binding value, as type GitRepository

as_http_state(binding)

@spec as_http_state(t()) :: Dagger.HTTPState.t()

Retrieve the binding value, as type HTTPState

as_json_value(binding)

@spec as_json_value(t()) :: Dagger.JSONValue.t()

Retrieve the binding value, as type JSONValue

as_llm_content_block(binding)

@spec as_llm_content_block(t()) :: Dagger.LLMContentBlock.t()

Retrieve the binding value, as type LLMContentBlock

as_llm_message(binding)

@spec as_llm_message(t()) :: Dagger.LLMMessage.t()

Retrieve the binding value, as type LLMMessage

as_module(binding)

@spec as_module(t()) :: Dagger.Module.t()

Retrieve the binding value, as type Module

as_module_config_client(binding)

@spec as_module_config_client(t()) :: Dagger.ModuleConfigClient.t()

Retrieve the binding value, as type ModuleConfigClient

as_module_source(binding)

@spec as_module_source(t()) :: Dagger.ModuleSource.t()

Retrieve the binding value, as type ModuleSource

as_schema(binding)

@spec as_schema(t()) :: Dagger.Schema.t()

Retrieve the binding value, as type Schema

as_search_result(binding)

@spec as_search_result(t()) :: Dagger.SearchResult.t()

Retrieve the binding value, as type SearchResult

as_search_submatch(binding)

@spec as_search_submatch(t()) :: Dagger.SearchSubmatch.t()

Retrieve the binding value, as type SearchSubmatch

as_secret(binding)

@spec as_secret(t()) :: Dagger.Secret.t()

Retrieve the binding value, as type Secret

as_service(binding)

@spec as_service(t()) :: Dagger.Service.t()

Retrieve the binding value, as type Service

as_socket(binding)

@spec as_socket(t()) :: Dagger.Socket.t()

Retrieve the binding value, as type Socket

as_stat(binding)

@spec as_stat(t()) :: Dagger.Stat.t() | nil

Retrieve the binding value, as type Stat

as_string(binding)

@spec as_string(t()) :: {:ok, String.t() | nil} | {:error, term()}

Returns the binding's string value

as_up(binding)

@spec as_up(t()) :: Dagger.Up.t()

Retrieve the binding value, as type Up

as_up_group(binding)

@spec as_up_group(t()) :: Dagger.UpGroup.t()

Retrieve the binding value, as type UpGroup

as_volume(binding)

@spec as_volume(t()) :: Dagger.Volume.t()

Retrieve the binding value, as type Volume

as_workspace(binding)

@spec as_workspace(t()) :: Dagger.Workspace.t()

Retrieve the binding value, as type Workspace

as_workspace_git(binding)

@spec as_workspace_git(t()) :: Dagger.WorkspaceGit.t()

Retrieve the binding value, as type WorkspaceGit

as_workspace_migration(binding)

@spec as_workspace_migration(t()) :: Dagger.WorkspaceMigration.t()

Retrieve the binding value, as type WorkspaceMigration

as_workspace_migration_step(binding)

@spec as_workspace_migration_step(t()) :: Dagger.WorkspaceMigrationStep.t()

Retrieve the binding value, as type WorkspaceMigrationStep

as_workspace_module(binding)

@spec as_workspace_module(t()) :: Dagger.WorkspaceModule.t()

Retrieve the binding value, as type WorkspaceModule

as_workspace_module_setting(binding)

@spec as_workspace_module_setting(t()) :: Dagger.WorkspaceModuleSetting.t()

Retrieve the binding value, as type WorkspaceModuleSetting

as_workspace_sdk(binding)

@spec as_workspace_sdk(t()) :: Dagger.WorkspaceSDK.t()

Retrieve the binding value, as type WorkspaceSDK

digest(binding)

@spec digest(t()) :: {:ok, String.t()} | {:error, term()}

Returns the digest of the binding value

id(binding)

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

A unique identifier for this Binding.

name(binding)

@spec name(t()) :: {:ok, String.t()} | {:error, term()}

Returns the binding name

null?(binding)

@spec null?(t()) :: {:ok, boolean()} | {:error, term()}

Returns true if the binding is null

type_name(binding)

@spec type_name(t()) :: {:ok, String.t()} | {:error, term()}

Returns the binding type