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

Copy Markdown View Source

Dagger.TerminalTarget

Summary

Functions

The description of the terminal target

A unique identifier for this TerminalTarget.

Return the command name of the terminal target. Entrypoint targets omit the module prefix.

The module in which the terminal target is defined

The path of the terminal target within its module

Types

t()

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

Functions

description(terminal_target)

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

The description of the terminal target

id(terminal_target)

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

A unique identifier for this TerminalTarget.

name(terminal_target)

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

Return the command name of the terminal target. Entrypoint targets omit the module prefix.

original_module(terminal_target)

@spec original_module(t()) :: Dagger.Module.t()

The module in which the terminal target is defined

path(terminal_target)

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

The path of the terminal target within its module