5b7b1cab79
- Refactored to keep every transformation of built-in types (e.g. FS, Secret, etc) to/from CUE in the same place (plancontext) - dagger.#Service and dagger.#Secret are now following the new FS-like format (e.g. `_service: id: string`) - Backward compatibility - dagger.#Stream is now an alias for dagger.#Service Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com> |
||
---|---|---|
.. | ||
op.md | ||
README.md |
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.#Service
A reference to a network service endpoint, for example: - A TCP or UDP port - A unix or npipe socket - An HTTPS endpoint
dagger.#Service Inputs
No input.
dagger.#Service Outputs
No output.
dagger.#Stream
Dagger stream. Can be mounted as a UNIX socket.
dagger.#Stream Inputs
No input.
dagger.#Stream Outputs
No output.