API Reference dagger v0.9.9
modules
Modules
The Boolean
scalar type represents true
or false
.
Key value object that represents a build argument.
A global cache volume identifier.
Sharing mode of the cache volume.
A directory whose contents persist across runs.
The CacheVolumeID
scalar type represents an identifier for an object of type CacheVolume.
The root of the DAG.
An OCI-compatible container, also known as a Docker container.
The ContainerID
scalar type represents an identifier for an object of type Container.
GraphQL client for Dagger.
Reflective module API provided to functions at runtime.
The CurrentModuleID
scalar type represents an identifier for an object of type CurrentModule.
The DateTime
scalar type represents a DateTime. The DateTime is serialized as an RFC 3339 quoted string
A directory.
The DirectoryID
scalar type represents an identifier for an object of type Directory.
An environment variable name and value.
The EnvVariableID
scalar type represents an identifier for an object of type EnvVariable.
A definition of a field on a custom object defined in a Module.
The FieldTypeDefID
scalar type represents an identifier for an object of type FieldTypeDef.
A file.
The FileID
scalar type represents an identifier for an object of type File.
Function represents a resolver provided by a Module.
An argument accepted by a function.
The FunctionArgID
scalar type represents an identifier for an object of type FunctionArg.
An active function call.
A value passed as a named argument to a function call.
The FunctionCallArgValueID
scalar type represents an identifier for an object of type FunctionCallArgValue.
The FunctionCallID
scalar type represents an identifier for an object of type FunctionCall.
FunctionCallInput
The FunctionID
scalar type represents an identifier for an object of type Function.
The result of running an SDK's codegen.
The GeneratedCodeID
scalar type represents an identifier for an object of type GeneratedCode.
A reference to a module loaded from a git repo.
The GitModuleRefID
scalar type represents an identifier for an object of type GitModuleRef.
Module source originating from a git repo.
The GitModuleSourceID
scalar type represents an identifier for an object of type GitModuleSource.
A git ref (tag, branch, or commit).
The GitRefID
scalar type represents an identifier for an object of type GitRef.
A git repository.
The GitRepositoryID
scalar type represents an identifier for an object of type GitRepository.
Information about the host environment.
The HostID
scalar type represents an identifier for an object of type Host.
An environment variable on the host environment.
The ID
scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4"
) or integer (such as 4
) input value will be accepted as an ID.
Compression algorithm to use for image layers.
Mediatypes to use in published or exported image metadata.
A graphql input type, which is essentially just a group of named args. This is currently only used to represent pre-existing usage of graphql input types in the core API. It is not used by user modules and shouldn't ever be as user module accept input objects via their id rather than graphql input types.
The InputTypeDefID
scalar type represents an identifier for an object of type InputTypeDef.
The Int
scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
An interactive shell that clients can connect to.
The InteractiveShellID
scalar type represents an identifier for an object of type InteractiveShell.
A definition of a custom interface defined in a Module.
The InterfaceTypeDefID
scalar type represents an identifier for an object of type InterfaceTypeDef.
An arbitrary JSON-encoded value.
A simple key value object that represents a label.
The LabelID
scalar type represents an identifier for an object of type Label.
A definition of a list type in a Module.
The ListTypeDefID
scalar type represents an identifier for an object of type ListTypeDef.
A reference to a module loaded from a path locally relative to a directory.
The LocalModuleRefID
scalar type represents an identifier for an object of type LocalModuleRef.
Module source that that originates from a path locally relative to an arbitrary directory.
The LocalModuleSourceID
scalar type represents an identifier for an object of type LocalModuleSource.
A Dagger module.
Static configuration for a module (e.g. parsed contents of dagger.json)
The ModuleConfigID
scalar type represents an identifier for an object of type ModuleConfig.
The configuration of dependency of a module.
The ModuleDependencyID
scalar type represents an identifier for an object of type ModuleDependency.
ModuleEnvironmentVariable
The ModuleID
scalar type represents an identifier for an object of type Module.
A reference to a module.
The ModuleRefID
scalar type represents an identifier for an object of type ModuleRef.
The kind of module ref.
The source needed to load and run a module, along with any metadata about the source such as versions/urls/etc.
The ModuleSourceID
scalar type represents an identifier for an object of type ModuleSource.
The kind of module source.
Transport layer network protocol associated to a port.
A definition of a custom object defined in a Module.
The ObjectTypeDefID
scalar type represents an identifier for an object of type ObjectTypeDef.
Key value object that represents a pipeline label.
The platform config OS and architecture in a Container.
A port exposed by a container.
Port forwarding rules for tunneling network traffic.
The PortID
scalar type represents an identifier for an object of type Port.
A collection of Dagger resources that can be queried and invoked.
A command defined in a project that can be invoked from the CLI.
A flag accepted by a project command.
A unique project command identifier.
A unique project identifier.
A reference to a secret value, which can be handled more safely than the value itself.
The SecretID
scalar type represents an identifier for an object of type Secret.
A content-addressed service providing TCP connectivity.
The ServiceID
scalar type represents an identifier for an object of type Service.
A Unix or TCP/IP socket that can be mounted into a container.
The SocketID
scalar type represents an identifier for an object of type Socket.
The String
scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
An interactive terminal that clients can connect to.
The TerminalID
scalar type represents an identifier for an object of type Terminal.
A definition of a parameter or return type in a Module.
The TypeDefID
scalar type represents an identifier for an object of type TypeDef.
Distinguishes the different kinds of TypeDefs.
The absence of a value.
mix-tasks
Mix Tasks
Generate Dagger API.