Dagger.Binding (dagger v0.19.4)

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 Cloud

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 EnvFile

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 JSONValue

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

Returns the binding's string value

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_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_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_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_json_value(binding)

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

Retrieve the binding value, as type JSONValue

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_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_string(binding)

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

Returns the binding's string value

digest(binding)

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

Returns 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()}

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