chore!: Make dagger.#Address
private
BREAKING CHANGE: don’t use `dagger.#Address`. Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
This commit is contained in:
parent
b6c3f91d45
commit
543d29bbb1
@ -24,7 +24,7 @@ package dagger
|
||||
}
|
||||
|
||||
// Access client network endpoints
|
||||
network: [address=#Address]: _#clientNetwork & {
|
||||
network: [address=_#address]: _#clientNetwork & {
|
||||
"address": address
|
||||
}
|
||||
|
||||
@ -97,7 +97,7 @@ _#clientNetwork: {
|
||||
|
||||
// URL to the socket
|
||||
// Example: unix:///var/run/docker.sock
|
||||
address: #Address
|
||||
address: _#address
|
||||
|
||||
{
|
||||
// unix socket or npipe
|
||||
@ -108,6 +108,9 @@ _#clientNetwork: {
|
||||
}
|
||||
}
|
||||
|
||||
// A network service address
|
||||
_#address: string & =~"^(unix://|npipe://).+"
|
||||
|
||||
_#clientEnv: {
|
||||
$dagger: task: _name: "ClientEnv"
|
||||
|
||||
|
@ -32,7 +32,3 @@ package dagger
|
||||
#Socket: {
|
||||
$dagger: service: _id: string
|
||||
}
|
||||
|
||||
// A network service address
|
||||
#Address: string & =~"^(unix://|npipe://).+"
|
||||
// TODO: #Address: string & =~"^(tcp://|unix://|npipe://|udp://).+"
|
||||
|
Reference in New Issue
Block a user