Dagger.Binding (dagger v0.20.7)

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

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 Workspace

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

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

Retrieve the binding value, as type Workspace

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