Dagger.WorkspaceMigration (dagger v1.0.0-beta.12)

Copy Markdown View Source

A planned workspace migration.

Summary

Functions

Filesystem changes for the full migration plan.

Native workspace config path after migration, relative to the workspace root. Empty if no workspace config exists.

A unique identifier for this WorkspaceMigration.

Unselected legacy module directories relative to the workspace root. Candidates can include fixtures.

Logical migration steps, each identified by a stable code.

Types

t()

@type t() :: %Dagger.WorkspaceMigration{client: term(), query_builder: term()}

Functions

changes(workspace_migration)

@spec changes(t()) :: Dagger.Changeset.t()

Filesystem changes for the full migration plan.

config_file(workspace_migration)

@spec config_file(t()) :: {:ok, String.t()} | {:error, term()}

Native workspace config path after migration, relative to the workspace root. Empty if no workspace config exists.

id(workspace_migration)

@spec id(t()) :: {:ok, String.t()} | {:error, term()}

A unique identifier for this WorkspaceMigration.

module_candidates(workspace_migration)

@spec module_candidates(t()) :: {:ok, [String.t()]} | {:error, term()}

Unselected legacy module directories relative to the workspace root. Candidates can include fixtures.

steps(workspace_migration)

@spec steps(t()) :: {:ok, [Dagger.WorkspaceMigrationStep.t()]} | {:error, term()}

Logical migration steps, each identified by a stable code.