dagger/dsl/binding

Values

pub fn as_address(parent: types.Binding) -> types.Address

Retrieve the binding value, as type Address

pub fn as_cache_volume(
  parent: types.Binding,
) -> types.CacheVolume

Retrieve the binding value, as type CacheVolume

pub fn as_changeset(parent: types.Binding) -> types.Changeset

Retrieve the binding value, as type Changeset

pub fn as_check(parent: types.Binding) -> types.Check

Retrieve the binding value, as type Check

pub fn as_check_group(parent: types.Binding) -> types.CheckGroup

Retrieve the binding value, as type CheckGroup

pub fn as_cloud(parent: types.Binding) -> types.Cloud

Retrieve the binding value, as type Cloud

pub fn as_container(parent: types.Binding) -> types.Container

Retrieve the binding value, as type Container

pub fn as_directory(parent: types.Binding) -> types.Directory

Retrieve the binding value, as type Directory

pub fn as_env(parent: types.Binding) -> types.Env

Retrieve the binding value, as type Env

pub fn as_env_file(parent: types.Binding) -> types.EnvFile

Retrieve the binding value, as type EnvFile

pub fn as_file(parent: types.Binding) -> types.File

Retrieve the binding value, as type File

pub fn as_generator(parent: types.Binding) -> types.Generator

Retrieve the binding value, as type Generator

pub fn as_generator_group(
  parent: types.Binding,
) -> types.GeneratorGroup

Retrieve the binding value, as type GeneratorGroup

pub fn as_git_ref(parent: types.Binding) -> types.GitRef

Retrieve the binding value, as type GitRef

pub fn as_git_repository(
  parent: types.Binding,
) -> types.GitRepository

Retrieve the binding value, as type GitRepository

pub fn as_j_s_o_n_value(parent: types.Binding) -> types.JSONValue

Retrieve the binding value, as type JSONValue

pub fn as_module(parent: types.Binding) -> types.Module

Retrieve the binding value, as type Module

pub fn as_module_config_client(
  parent: types.Binding,
) -> types.ModuleConfigClient

Retrieve the binding value, as type ModuleConfigClient

pub fn as_module_source(
  parent: types.Binding,
) -> types.ModuleSource

Retrieve the binding value, as type ModuleSource

pub fn as_search_result(
  parent: types.Binding,
) -> types.SearchResult

Retrieve the binding value, as type SearchResult

pub fn as_search_submatch(
  parent: types.Binding,
) -> types.SearchSubmatch

Retrieve the binding value, as type SearchSubmatch

pub fn as_secret(parent: types.Binding) -> types.Secret

Retrieve the binding value, as type Secret

pub fn as_service(parent: types.Binding) -> types.Service

Retrieve the binding value, as type Service

pub fn as_socket(parent: types.Binding) -> types.Socket

Retrieve the binding value, as type Socket

pub fn as_stat(parent: types.Binding) -> types.Stat

Retrieve the binding value, as type Stat

pub fn as_string(
  parent: types.Binding,
  client client: types.Client,
  then handler: fn(Result(String, types.QueryError)) -> a,
) -> a

Returns the binding’s string value

pub fn binding(id id: types.Binding) -> types.Binding
pub fn digest(
  parent: types.Binding,
  client client: types.Client,
  then handler: fn(Result(String, types.QueryError)) -> a,
) -> a

Returns the digest of the binding value

pub fn id(parent: types.Binding) -> types.Binding

A unique identifier for this Binding.

pub fn is_null(
  parent: types.Binding,
  client client: types.Client,
  then handler: fn(Result(Bool, types.QueryError)) -> a,
) -> a

Returns true if the binding is null

pub fn name(
  parent: types.Binding,
  client client: types.Client,
  then handler: fn(Result(String, types.QueryError)) -> a,
) -> a

Returns the binding name

pub fn type_name(
  parent: types.Binding,
  client client: types.Client,
  then handler: fn(Result(String, types.QueryError)) -> a,
) -> a

Returns the binding type

Search Document