Dagger.WorkspaceModule (dagger v1.0.0-beta.11)

Copy Markdown View Source

A module entry in the workspace configuration.

Summary

Functions

Whether the module is the workspace entrypoint (functions aliased to Query root).

A unique identifier for this WorkspaceModule.

The module name.

List constructor-backed settings for this module.

The module source path.

Types

t()

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

Functions

entrypoint(workspace_module)

@spec entrypoint(t()) :: {:ok, boolean()} | {:error, term()}

Whether the module is the workspace entrypoint (functions aliased to Query root).

id(workspace_module)

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

A unique identifier for this WorkspaceModule.

name(workspace_module)

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

The module name.

settings(workspace_module)

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

List constructor-backed settings for this module.

source(workspace_module)

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

The module source path.