d7a805f42b
Signed-off-by: Solomon Hykes <solomon@dagger.io>
35 lines
421 B
CUE
35 lines
421 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]
|
|
_
|
|
...
|
|
}
|
|
|
|
// Secret value
|
|
#Secret: {
|
|
@dagger(secret)
|
|
|
|
id: string
|
|
}
|
|
|
|
#Input: {
|
|
@dagger(input)
|
|
_
|
|
...
|
|
}
|
|
|
|
#Output: {
|
|
@dagger(output)
|
|
_
|
|
...
|
|
}
|