View Source Dagger.Project (dagger v0.8.7)

A collection of Dagger resources that can be queried and invoked.

Link to this section Summary

Functions

Commands provided by this project

A unique identifier for this project.

Initialize this project from the given directory and config path

Name of the project

Link to this section Types

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

Link to this section Functions

@spec commands(t()) :: {:ok, [Dagger.ProjectCommand.t()] | nil} | {:error, term()}

Commands provided by this project

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

A unique identifier for this project.

Link to this function

load(project, source, config_path)

View Source
@spec load(t(), Dagger.Directory.t(), Dagger.String.t()) :: t()

Initialize this project from the given directory and config path

required-arguments

Required Arguments

  • source -
  • config_path -
@spec name(t()) :: {:ok, Dagger.String.t()} | {:error, term()}

Name of the project