Rename dagger.#DAG to dagger.#Plan

Signed-off-by: Solomon Hykes <solomon@dagger.io>
This commit is contained in:
Solomon Hykes 2022-02-09 00:32:24 +00:00
parent e3131671a7
commit 3d56513895
3 changed files with 3 additions and 9 deletions

View File

@ -1,10 +1,7 @@
package engine package engine
// A deployment plan executed by `dagger up`
#Plan: #DAG
// A special kind of program which `dagger` can execute. // A special kind of program which `dagger` can execute.
#DAG: { #Plan: {
// Receive inputs from the client // Receive inputs from the client
inputs: { inputs: {
// Receive directories // Receive directories

View File

@ -4,8 +4,5 @@ import (
"dagger.io/dagger/engine" "dagger.io/dagger/engine"
) )
// A deployment plan executed by `dagger up`
#Plan: engine.#Plan
// A special kind of program which `dagger` can execute. // A special kind of program which `dagger` can execute.
#DAG: engine.#DAG #Plan: engine.#Plan

View File

@ -8,7 +8,7 @@ import (
"universe.dagger.io/yarn" "universe.dagger.io/yarn"
) )
dagger.#DAG & { dagger.#Plan & {
// Build the app with yarn // Build the app with yarn
actions: build: yarn.#Build actions: build: yarn.#Build