docs/static/reference/php/Dagger/Address.html
class Address extends AbstractObject implements IdAble
A standardized address to load containers, directories, secrets, and other object types. Address format depends on the type, and is validated at type selection.
| | $lastQuery | | from AbstractObject |
__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain)
No description
from AbstractObject
null|array|string|int|float|bool
queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)
No description
from AbstractObject
Load a container from the address.
directory(array|null $exclude = null, array|null $include = null, bool|null $gitignore = false, bool|null $noCache = false)
Load a directory from the address.
file(array|null $exclude = null, array|null $include = null, bool|null $gitignore = false, bool|null $noCache = false)
Load a file from the address.
gitRef()
Load a git ref (branch, tag or commit) from the address.
Load a git repository from the address.
id()
A unique identifier for this Address.
secret()
Load a secret from the address.
service()
Load a service from the address.
socket()
Load a local socket from the address.
string
value()
The address value
__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain) No description
| AbstractClient | $client | | | QueryBuilderChain | $queryBuilderChain | |
protected null|array|string|int|float|bool queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)No description
| QueryBuilder | $leafQueryBuilder | | | string | $leafKey | |
| null|array|string|int|float|bool | |
Container container()Load a container from the address.
| Container | |
Directory directory(array|null $exclude = null, array|null $include = null, bool|null $gitignore = false, bool|null $noCache = false)Load a directory from the address.
| array|null | $exclude | | | array|null | $include | | | bool|null | $gitignore | | | bool|null | $noCache | |
| Directory | |
File file(array|null $exclude = null, array|null $include = null, bool|null $gitignore = false, bool|null $noCache = false)Load a file from the address.
| array|null | $exclude | | | array|null | $include | | | bool|null | $gitignore | | | bool|null | $noCache | |
| File | |
GitRef gitRef()Load a git ref (branch, tag or commit) from the address.
| GitRef | |
GitRepository gitRepository()Load a git repository from the address.
| GitRepository | |
AbstractId id()A unique identifier for this Address.
| AbstractId | |
Secret secret()Load a secret from the address.
| Secret | |
Service service()Load a service from the address.
| Service | |
Socket socket()Load a local socket from the address.
| Socket | |
string value()The address value
| string | |
Generated by Doctum, a API Documentation generator and fork of Sami.