This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/stdlib/dagger/dagger.cue
Sam Alba e6de59a340 added support for stream type npipe (Windows named pipe)
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-11-08 17:16:38 -08:00

48 lines
589 B
CUE

// Dagger core types
package dagger
import (
"alpha.dagger.io/dagger/op"
)
// An artifact such as source code checkout, container image, binary archive...
// May be passed as user input, or computed by a buildkit pipeline
#Artifact: {
@dagger(artifact)
#up: [...op.#Op]
_
...
}
// Dagger stream. Can be mounted as a UNIX socket.
#Stream: {
@dagger(stream)
{
// Unix Socket
unix: string
} | {
// Windows Named Pipe
npipe: string
}
}
// Secret value
#Secret: {
@dagger(secret)
id: string
}
#Input: {
@dagger(input)
_
...
}
#Output: {
@dagger(output)
_
...
}