e6de59a340
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
48 lines
589 B
CUE
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)
|
|
_
|
|
...
|
|
}
|