Back to Dagger

Dagger

docs/static/reference/php/Dagger.html

0.20.713.6 KB
Original Source

Dagger

Namespaces

Dagger\AttributeDagger\Client

Classes

Address

A standardized address to load containers, directories, secrets, and other object types. Address format depends on the type, and is validated at type selection.

AddressId

The AddressID scalar type represents an identifier for an object of type Address.

Binding

BindingId

The BindingID scalar type represents an identifier for an object of type Binding.

BuildArg

Key value object that represents a build argument.

CacheVolume

A directory whose contents persist across runs.

CacheVolumeId

The CacheVolumeID scalar type represents an identifier for an object of type CacheVolume.

Changeset

A comparison between two directories representing changes that can be applied.

ChangesetDiffStatEntry

ChangesetDiffStatEntryId

The ChangesetDiffStatEntryID scalar type represents an identifier for an object of type ChangesetDiffStatEntry.

ChangesetId

The ChangesetID scalar type represents an identifier for an object of type Changeset.

Check

CheckGroup

CheckGroupId

The CheckGroupID scalar type represents an identifier for an object of type CheckGroup.

CheckId

The CheckID scalar type represents an identifier for an object of type Check.

Client

The root of the DAG.

Cloud

Dagger Cloud configuration and state

CloudId

The CloudID scalar type represents an identifier for an object of type Cloud.

Connection

Container

An OCI-compatible container, also known as a Docker container.

ContainerId

The ContainerID scalar type represents an identifier for an object of type Container.

CurrentModule

Reflective module API provided to functions at runtime.

CurrentModuleId

The CurrentModuleID scalar type represents an identifier for an object of type CurrentModule.

Dagger

DiffStat

DiffStatId

The DiffStatID scalar type represents an identifier for an object of type DiffStat.

Directory

A directory.

DirectoryId

The DirectoryID scalar type represents an identifier for an object of type Directory.

Engine

The Dagger engine configuration and state

EngineCache

A cache storage for the Dagger engine

EngineCacheEntry

An individual cache entry in a cache entry set

EngineCacheEntryId

The EngineCacheEntryID scalar type represents an identifier for an object of type EngineCacheEntry.

EngineCacheEntrySet

A set of cache entries returned by a query to a cache

EngineCacheEntrySetId

The EngineCacheEntrySetID scalar type represents an identifier for an object of type EngineCacheEntrySet.

EngineCacheId

The EngineCacheID scalar type represents an identifier for an object of type EngineCache.

EngineId

The EngineID scalar type represents an identifier for an object of type Engine.

EnumTypeDef

A definition of a custom enum defined in a Module.

EnumTypeDefId

The EnumTypeDefID scalar type represents an identifier for an object of type EnumTypeDef.

EnumValueTypeDef

A definition of a value in a custom enum defined in a Module.

EnumValueTypeDefId

The EnumValueTypeDefID scalar type represents an identifier for an object of type EnumValueTypeDef.

Env

EnvFile

A collection of environment variables.

EnvFileId

The EnvFileID scalar type represents an identifier for an object of type EnvFile.

EnvId

The EnvID scalar type represents an identifier for an object of type Env.

EnvVariable

An environment variable name and value.

EnvVariableId

The EnvVariableID scalar type represents an identifier for an object of type EnvVariable.

Error

ErrorId

The ErrorID scalar type represents an identifier for an object of type Error.

ErrorValue

ErrorValueId

The ErrorValueID scalar type represents an identifier for an object of type ErrorValue.

FieldTypeDef

A definition of a field on a custom object defined in a Module.

FieldTypeDefId

The FieldTypeDefID scalar type represents an identifier for an object of type FieldTypeDef.

File

A file.

FileId

The FileID scalar type represents an identifier for an object of type File.

FunctionArg

An argument accepted by a function.

FunctionArgId

The FunctionArgID scalar type represents an identifier for an object of type FunctionArg.

FunctionCall

An active function call.

FunctionCallArgValue

A value passed as a named argument to a function call.

FunctionCallArgValueId

The FunctionCallArgValueID scalar type represents an identifier for an object of type FunctionCallArgValue.

FunctionCallId

The FunctionCallID scalar type represents an identifier for an object of type FunctionCall.

FunctionId

The FunctionID scalar type represents an identifier for an object of type Function.

Function_

Function represents a resolver provided by a Module.

GeneratedCode

The result of running an SDK's codegen.

GeneratedCodeId

The GeneratedCodeID scalar type represents an identifier for an object of type GeneratedCode.

Generator

GeneratorGroup

GeneratorGroupId

The GeneratorGroupID scalar type represents an identifier for an object of type GeneratorGroup.

GeneratorId

The GeneratorID scalar type represents an identifier for an object of type Generator.

GitRef

A git ref (tag, branch, or commit).

GitRefId

The GitRefID scalar type represents an identifier for an object of type GitRef.

GitRepository

A git repository.

GitRepositoryId

The GitRepositoryID scalar type represents an identifier for an object of type GitRepository.

HealthcheckConfig

Image healthcheck configuration.

HealthcheckConfigId

The HealthcheckConfigID scalar type represents an identifier for an object of type HealthcheckConfig.

Host

Information about the host environment.

HostId

The HostID scalar type represents an identifier for an object of type Host.

InputTypeDef

A graphql input type, which is essentially just a group of named args.

InputTypeDefId

The InputTypeDefID scalar type represents an identifier for an object of type InputTypeDef.

InterfaceTypeDef

A definition of a custom interface defined in a Module.

InterfaceTypeDefId

The InterfaceTypeDefID scalar type represents an identifier for an object of type InterfaceTypeDef.

Json

An arbitrary JSON-encoded value.

JsonValue

JsonValueId

The JSONValueID scalar type represents an identifier for an object of type JSONValue.

LLM

LLMId

The LLMID scalar type represents an identifier for an object of type LLM.

LLMTokenUsage

LLMTokenUsageId

The LLMTokenUsageID scalar type represents an identifier for an object of type LLMTokenUsage.

Label

A simple key value object that represents a label.

LabelId

The LabelID scalar type represents an identifier for an object of type Label.

ListTypeDef

A definition of a list type in a Module.

ListTypeDefId

The ListTypeDefID scalar type represents an identifier for an object of type ListTypeDef.

Module

A Dagger module.

ModuleConfigClient

The client generated for the module.

ModuleConfigClientId

The ModuleConfigClientID scalar type represents an identifier for an object of type ModuleConfigClient.

ModuleId

The ModuleID scalar type represents an identifier for an object of type Module.

ModuleSource

The source needed to load and run a module, along with any metadata about the source such as versions/urls/etc.

ModuleSourceId

The ModuleSourceID scalar type represents an identifier for an object of type ModuleSource.

ObjectTypeDef

A definition of a custom object defined in a Module.

ObjectTypeDefId

The ObjectTypeDefID scalar type represents an identifier for an object of type ObjectTypeDef.

PhpSdk

PhpSdkId

The PhpSdkID scalar type represents an identifier for an object of type PhpSdk.

PipelineLabel

Key value object that represents a pipeline label.

Platform

The platform config OS and architecture in a Container.

Port

A port exposed by a container.

PortForward

Port forwarding rules for tunneling network traffic.

PortId

The PortID scalar type represents an identifier for an object of type Port.

QueryId

The QueryID scalar type represents an identifier for an object of type Query.

SDKConfig

The SDK config of the module.

SDKConfigId

The SDKConfigID scalar type represents an identifier for an object of type SDKConfig.

ScalarTypeDef

A definition of a custom scalar defined in a Module.

ScalarTypeDefId

The ScalarTypeDefID scalar type represents an identifier for an object of type ScalarTypeDef.

SearchResult

SearchResultId

The SearchResultID scalar type represents an identifier for an object of type SearchResult.

SearchSubmatch

SearchSubmatchId

The SearchSubmatchID scalar type represents an identifier for an object of type SearchSubmatch.

Secret

A reference to a secret value, which can be handled more safely than the value itself.

SecretId

The SecretID scalar type represents an identifier for an object of type Secret.

Service

A content-addressed service providing TCP connectivity.

ServiceId

The ServiceID scalar type represents an identifier for an object of type Service.

Socket

A Unix or TCP/IP socket that can be mounted into a container.

SocketId

The SocketID scalar type represents an identifier for an object of type Socket.

SourceMap

Source location information.

SourceMapId

The SourceMapID scalar type represents an identifier for an object of type SourceMap.

Stat

A file or directory status object.

StatId

The StatID scalar type represents an identifier for an object of type Stat.

Terminal

An interactive terminal that clients can connect to.

TerminalId

The TerminalID scalar type represents an identifier for an object of type Terminal.

TypeDef

A definition of a parameter or return type in a Module.

TypeDefId

The TypeDefID scalar type represents an identifier for an object of type TypeDef.

Up

UpGroup

UpGroupId

The UpGroupID scalar type represents an identifier for an object of type UpGroup.

UpId

The UpID scalar type represents an identifier for an object of type Up.

Workspace

A Dagger workspace detected from the current working directory.

WorkspaceId

The WorkspaceID scalar type represents an identifier for an object of type Workspace.

Functions

Client

dag()

No description

at line 7

Generated by Doctum, a API Documentation generator and fork of Sami.