View Source Dagger.FunctionCall (dagger v0.9.4)
FunctionCall
Link to this section Summary
Functions
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. The value should be a string of the JSON serialization of the return value.
Link to this section Types
Link to this section Functions
@spec input_args(t()) :: {:ok, [Dagger.FunctionCallArgValue.t()] | nil} | {:error, term()}
The argument values the function is being invoked with.
@spec name(t()) :: {:ok, Dagger.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.
@spec parent_name(t()) :: {:ok, Dagger.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.
@spec return_value(t(), Dagger.JSON.t()) :: {:ok, Dagger.Void.t() | nil} | {:error, term()}
Set the return value of the function call to the provided value. The value should be a string of the JSON serialization of the return value.
required-arguments
Required Arguments
value
-