Something went wrong. Try again.
Dagger 1.0.0 beta SDK experiments
dagger purescript gleam clojure
Something went wrong. Try again.
2.0 kB · 58 lines
at main
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859-- Generated by scripts/generate.mjs. Do not edit.module Dagger.FunctionArg ( defaultAddress , defaultPath , defaultValue , deprecated , description , id , ignore , name , sourceMap , typeDef ) where
import Data.Maybe (Maybe)import Effect.Aff (Aff)import Dagger.Internal.Runtime as Rimport Dagger.Types as T
-- | Only applies to arguments of type Container. If the argument is not set, load it from the given address (e.g. alpine:latest)defaultAddress :: T.FunctionArg -> Aff StringdefaultAddress = R.scalar "defaultAddress" []
-- | Only applies to arguments of type File or Directory. If the argument is not set, load it from the given path in the context directorydefaultPath :: T.FunctionArg -> Aff StringdefaultPath = R.scalar "defaultPath" []
-- | A default value to use for this argument when not explicitly set by the caller, if any.defaultValue :: T.FunctionArg -> Aff T.JSONdefaultValue = R.scalar "defaultValue" []
-- | The reason this function is deprecated, if any.deprecated :: T.FunctionArg -> Aff (Maybe String)deprecated = R.scalar "deprecated" []
-- | A doc string for the argument, if any.description :: T.FunctionArg -> Aff Stringdescription = R.scalar "description" []
-- | A unique identifier for this FunctionArg.id :: T.FunctionArg -> Aff T.IDid = R.scalar "id" []
-- | Only applies to arguments of type Directory. The ignore patterns are applied to the input directory, and matching entries are filtered out, in a cache-efficient manner.ignore :: T.FunctionArg -> Aff (Array String)ignore = R.scalar "ignore" []
-- | The name of the argument in lowerCamelCase format.name :: T.FunctionArg -> Aff Stringname = R.scalar "name" []
-- | The location of this arg declaration.sourceMap :: T.FunctionArg -> Aff (Maybe T.SourceMap)sourceMap = R.nullableObject "SourceMap" "sourceMap" []
-- | The type of the argument.typeDef :: T.FunctionArg -> T.TypeDeftypeDef = R.select "typeDef" []