View Source Dagger.FunctionArg (dagger v0.12.3)
An argument accepted by a function.
This is a specification for an argument at function definition time, not an argument passed at function call time.
Summary
Functions
A default value to use for this argument when not explicitly set by the caller, if any.
A doc string for the argument, if any.
A unique identifier for this FunctionArg.
The name of the argument in lowerCamelCase format.
The type of the argument.
Types
Functions
@spec default_value(t()) :: {:ok, Dagger.JSON.t()} | {:error, term()}
A default value to use for this argument when not explicitly set by the caller, if any.
A doc string for the argument, if any.
@spec id(t()) :: {:ok, Dagger.FunctionArgID.t()} | {:error, term()}
A unique identifier for this FunctionArg.
The name of the argument in lowerCamelCase format.
@spec type_def(t()) :: Dagger.TypeDef.t()
The type of the argument.