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

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).

List the functions of this module's main object, in GraphQL field form.

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).

functions(workspace_module)

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

List the functions of this module's main object, in GraphQL field form.

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.