diff --git a/stdlib/dagger/engine/fs.cue b/stdlib/dagger/engine/fs.cue deleted file mode 100644 index 1b40bc04..00000000 --- a/stdlib/dagger/engine/fs.cue +++ /dev/null @@ -1,11 +0,0 @@ -package engine - -// A reference to a filesystem tree. -// For example: -// - The root filesystem of a container -// - A source code repository -// - A directory containing binary artifacts -// Rule of thumb: if it fits in a tar archive, it fits in a #FS. -#FS: { - _fs: id: string -} diff --git a/stdlib/dagger/engine/secret.cue b/stdlib/dagger/engine/secret.cue deleted file mode 100644 index 3e1849e5..00000000 --- a/stdlib/dagger/engine/secret.cue +++ /dev/null @@ -1,11 +0,0 @@ -package engine - -// A reference to an external secret, for example: -// - A password -// - A SSH private key -// - An API token -// 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 -} diff --git a/stdlib/dagger/engine/service.cue b/stdlib/dagger/engine/service.cue deleted file mode 100644 index a3ac204e..00000000 --- a/stdlib/dagger/engine/service.cue +++ /dev/null @@ -1,9 +0,0 @@ -package engine - -// A reference to a network service endpoint, for example: -// - A TCP or UDP port -// - A unix or npipe socket -// - An HTTPS endpoint -#Service: { - _service: id: string -} diff --git a/stdlib/dagger/engine/types.cue b/stdlib/dagger/engine/types.cue new file mode 100644 index 00000000..5a0a2c27 --- /dev/null +++ b/stdlib/dagger/engine/types.cue @@ -0,0 +1,29 @@ +package engine + +// A reference to a filesystem tree. +// For example: +// - The root filesystem of a container +// - A source code repository +// - A directory containing binary artifacts +// Rule of thumb: if it fits in a tar archive, it fits in a #FS. +#FS: { + _fs: id: string +} + +// A reference to an external secret, for example: +// - A password +// - A SSH private key +// - An API token +// 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 +} + +// A reference to a network service endpoint, for example: +// - A TCP or UDP port +// - A unix or npipe socket +// - An HTTPS endpoint +#Service: { + _service: id: string +}