Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
Richard Jones 2021-12-16 12:43:50 -07:00
parent 73e12296d3
commit 3224a0aeab
No known key found for this signature in database
GPG Key ID: CFB3A382EB166F4C
4 changed files with 9 additions and 10 deletions

View File

@ -22,8 +22,8 @@ package engine
_#inputDirectory: {
// Import from this path ON THE CLIENT MACHINE
// Example: "/Users/Alice/dev/todoapp/src"
_type: "LocalDirectory"
path: string
_type: "LocalDirectory"
path: string
// Filename patterns to include
// Example: ["*.go", "Dockerfile"]
@ -48,11 +48,11 @@ _#inputSecret: {
{
// Read secret from a file ON THE CLIENT MACHINE
_type: "SecretFile"
path: string
_type: "SecretFile"
path: string
} | {
// Read secret from an environment variable ON THE CLIENT MACHINE
_type: "SecretEnv"
_type: "SecretEnv"
envvar: string
}
}
@ -62,7 +62,7 @@ _#proxyEndpoint: {
// Service endpoint can be proxied to action containers as unix sockets
// FIXME: should #Service be renamed to #ServiceEndpoint or #Endpoint? Naming things is hard...
// FIXME: reconcile with spec
_type: "Service"
_type: "Service"
service: #Service
{
unix: string

View File

@ -1,5 +1,5 @@
// The Dagger API.
package dagger
package engine
// A deployment plan executed by `dagger up`
#Plan: #DAG

View File

@ -1,7 +1,7 @@
package dagger
import (
"alpha.dagger.io/europa/dagger/engine"
"alpha.dagger.io/europa/dagger/engine"
)
#Plan: engine.#Plan

View File

@ -25,4 +25,3 @@ import (
// - A unix socket
// - An HTTPS endpoint
#Service: engine.#Service