Host
class Host extends AbstractObject implements IdAble
Information about the host environment.
Properties
$lastQuery | from AbstractObject |
Methods
No description
Accesses a directory on the host.
A unique identifier for this Host.
Creates a service that forwards traffic to a specified address via the host.
Sets a secret given a user-defined name and the file path on the host, and returns the secret.
Creates a tunnel that forwards traffic from the host to a service.
Accesses a Unix socket on the host.
Details
in
AbstractObject at line 13
__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain)
No description
in
AbstractObject at line 19
protected null|array|string|int|float|bool
queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)
No description
at line 19
Directory
directory(string $path, array|null $exclude = null, array|null $include = null)
Accesses a directory on the host.
at line 35
File
file(string $path)
Accesses a file on the host.
at line 45
AbstractId
id()
A unique identifier for this Host.
at line 54
Service
service(string|null $host = 'localhost', array $ports)
Creates a service that forwards traffic to a specified address via the host.
at line 69
Secret
setSecretFile(string $name, string $path)
Sets a secret given a user-defined name and the file path on the host, and returns the secret.
The file is limited to a size of 512000 bytes.
at line 80
Service
tunnel(Service $service, array|null $ports = null, bool|null $native = false)
Creates a tunnel that forwards traffic from the host to a service.
at line 96
Socket
unixSocket(string $path)
Accesses a Unix socket on the host.