Change Europa Core types ids
Signed-off-by: Joel Longtine <joel@dagger.io>
This commit is contained in:
parent
e8843b918e
commit
86366b1f11
@ -13,8 +13,9 @@ import (
|
||||
|
||||
var (
|
||||
fsIDPath = cue.MakePath(
|
||||
cue.Hid("_fs", stdlib.EnginePackage),
|
||||
cue.Str("id"),
|
||||
cue.Str("$dagger"),
|
||||
cue.Str("fs"),
|
||||
cue.Hid("_id", stdlib.EnginePackage),
|
||||
)
|
||||
)
|
||||
|
||||
|
@ -11,8 +11,9 @@ import (
|
||||
|
||||
var (
|
||||
secretIDPath = cue.MakePath(
|
||||
cue.Hid("_secret", stdlib.EnginePackage),
|
||||
cue.Str("id"),
|
||||
cue.Str("$dagger"),
|
||||
cue.Str("secret"),
|
||||
cue.Hid("_id", stdlib.EnginePackage),
|
||||
)
|
||||
)
|
||||
|
||||
|
@ -11,8 +11,9 @@ import (
|
||||
|
||||
var (
|
||||
serviceIDPath = cue.MakePath(
|
||||
cue.Hid("_service", stdlib.EnginePackage),
|
||||
cue.Str("id"),
|
||||
cue.Str("$dagger"),
|
||||
cue.Str("service"),
|
||||
cue.Hid("_id", stdlib.EnginePackage),
|
||||
)
|
||||
)
|
||||
|
||||
|
@ -7,7 +7,7 @@ package engine
|
||||
// - A directory containing binary artifacts
|
||||
// Rule of thumb: if it fits in a tar archive, it fits in a #FS.
|
||||
#FS: {
|
||||
_fs: id: string
|
||||
$dagger: fs: _id: string
|
||||
}
|
||||
|
||||
// A reference to an external secret, for example:
|
||||
@ -17,7 +17,7 @@ package engine
|
||||
// Secrets are never merged in the Cue tree. They can only be used
|
||||
// by a special filesystem mount designed to minimize leak risk.
|
||||
#Secret: {
|
||||
_secret: id: string
|
||||
$dagger: secret: _id: string
|
||||
}
|
||||
|
||||
// A reference to a network service endpoint, for example:
|
||||
@ -25,5 +25,5 @@ package engine
|
||||
// - A unix or npipe socket
|
||||
// - An HTTPS endpoint
|
||||
#Service: {
|
||||
_service: id: string
|
||||
$dagger: service: _id: string
|
||||
}
|
||||
|
Reference in New Issue
Block a user