View Source Dagger.FunctionCall (dagger v0.13.6)

An active function call.

Summary

Functions

A unique identifier for this FunctionCall.

The argument values the function is being invoked with.

The name of the function being called.

The value of the parent object of the function being called. If the function is top-level to the module, this is always an empty object.

The name of the parent object of the function being called. If the function is top-level to the module, this is the name of the module.

Set the return value of the function call to the provided value.

Types

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

Functions

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

A unique identifier for this FunctionCall.

Link to this function

input_args(function_call)

View Source
@spec input_args(t()) :: {:ok, [Dagger.FunctionCallArgValue.t()]} | {:error, term()}

The argument values the function is being invoked with.

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

The name of the function being called.

@spec parent(t()) :: {:ok, Dagger.JSON.t()} | {:error, term()}

The value of the parent object of the function being called. If the function is top-level to the module, this is always an empty object.

Link to this function

parent_name(function_call)

View Source
@spec parent_name(t()) :: {:ok, String.t()} | {:error, term()}

The name of the parent object of the function being called. If the function is top-level to the module, this is the name of the module.

Link to this function

return_value(function_call, value)

View Source
@spec return_value(t(), Dagger.JSON.t()) :: :ok | {:error, term()}

Set the return value of the function call to the provided value.