This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/docs/reference/dagger
Andrea Luzzardi 5b7b1cab79 Migrate dagger.#Secret and dagger.#Stream to new format
- 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>
2021-12-01 17:33:35 -08:00
..
op.md Support loading artifacts into a Docker Engine 2021-10-12 14:16:01 -07:00
README.md Migrate dagger.#Secret and dagger.#Stream to new format 2021-12-01 17:33:35 -08:00

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.