- Implement dagger.#FS support - Migrate `context.imports` to dagger.#FS - Backward compat: dagger.#FS can be passed in lieu of a dagger.#Artifact - For instance, an import (`dagger.#FS`) can be passed to the current `yarn.#Package` implementation Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
1.1 KiB
1.1 KiB
sidebar_label
sidebar_label |
---|
dagger |
alpha.dagger.io/dagger
Dagger core types
import "alpha.dagger.io/dagger"
dagger.#Context
dagger.#Context Inputs
No input.
dagger.#Context Outputs
No output.
dagger.#FS
A reference to a filesystem tree. For example: - The root filesystem of a container - A source code repository - A directory containing binary artifacts Rule of thumb: if it fits in a tar archive, it fits in a #FS.
dagger.#FS Inputs
No input.
dagger.#FS Outputs
No output.
dagger.#Plan
A deployment plan executed by dagger up
dagger.#Plan Inputs
No input.
dagger.#Plan Outputs
No output.
dagger.#Secret
A reference to an external secret, for example: - A password - A SSH private key - An API token Secrets are never merged in the Cue tree. They can only be used by a special filesystem mount designed to minimize leak risk.
dagger.#Secret Inputs
No input.
dagger.#Secret Outputs
No output.
dagger.#Stream
Dagger stream. Can be mounted as a UNIX socket.
dagger.#Stream Inputs
No input.
dagger.#Stream Outputs
No output.