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

View File

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

View File

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

View File

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