Dagger.Binding (dagger v0.18.2)

View Source

Dagger.Binding

Summary

Functions

Retrieve the binding value, as type CacheVolume

Retrieve the binding value, as type Container

Retrieve the binding value, as type Directory

Retrieve the binding value, as type Env

Retrieve the binding value, as type File

Retrieve the binding value, as type GitRef

Retrieve the binding value, as type GitRepository

Retrieve the binding value, as type LLM

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 Secret

Retrieve the binding value, as type Service

Retrieve the binding value, as type Socket

The digest of the binding value

A unique identifier for this Binding.

The binding name

The binding type

Types

t()

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

Functions

as_cache_volume(binding)

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

Retrieve the binding value, as type CacheVolume

as_container(binding)

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

Retrieve the binding value, as type Container

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_file(binding)

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

Retrieve the binding value, as type File

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_llm(binding)

@spec as_llm(t()) :: Dagger.LLM.t()

Retrieve the binding value, as type LLM

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_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

digest(binding)

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

The digest of the binding value

id(binding)

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

A unique identifier for this Binding.

name(binding)

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

The binding name

type_name(binding)

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

The binding type