View Source Dagger.ModuleConfig (dagger v0.10.0)

Static configuration for a module (e.g. parsed contents of dagger.json)

Link to this section Summary

Link to this section Types

@type t() :: %Dagger.ModuleConfig{client: term(), selection: term()}

Link to this section Functions

Link to this function


View Source
@spec dependencies(t()) :: {:ok, [Dagger.String.t()]} | {:error, term()}
@spec exclude(t()) :: {:ok, [Dagger.String.t()]} | {:error, term()}
@spec id(t()) :: {:ok, Dagger.ModuleConfigID.t()} | {:error, term()}

A unique identifier for this ModuleConfig.

@spec include(t()) :: {:ok, [Dagger.String.t()]} | {:error, term()}
@spec name(t()) :: {:ok, Dagger.String.t()} | {:error, term()}
@spec root(t()) :: {:ok, Dagger.String.t()} | {:error, term()}
@spec sdk(t()) :: {:ok, Dagger.String.t()} | {:error, term()}