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

Copy Markdown View Source

Dagger.Up

Summary

Functions

The description of the service

A unique identifier for this Up.

Return the command name of the service. Entrypoint targets omit the module prefix.

The original module in which the service has been defined

The path of the service within its module

Execute the service function

Types

t()

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

Functions

description(up)

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

The description of the service

id(up)

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

A unique identifier for this Up.

name(up)

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

Return the command name of the service. Entrypoint targets omit the module prefix.

original_module(up)

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

The original module in which the service has been defined

path(up)

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

The path of the service within its module

run(up)

@spec run(t()) :: t()

Execute the service function