Dagger.CurrentModuleAsSDKClient (dagger v1.0.0-beta.11)

Copy Markdown View Source

A generated client the current SDK produces in the workspace.

Summary

Functions

A unique identifier for this CurrentModuleAsSDKClient.

The module the client is bound to (workspace-relative path or canonical ref).

The resolved module source this client is bound to, including its dependency closure and pinned version.

Workspace-root-relative path of the generated client.

The pinned version of the bound module, if any.

Types

t()

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

Functions

id(current_module_as_sdk_client)

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

A unique identifier for this CurrentModuleAsSDKClient.

module(current_module_as_sdk_client)

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

The module the client is bound to (workspace-relative path or canonical ref).

module_source(current_module_as_sdk_client)

@spec module_source(t()) :: Dagger.ModuleSource.t()

The resolved module source this client is bound to, including its dependency closure and pinned version.

path(current_module_as_sdk_client)

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

Workspace-root-relative path of the generated client.

pin(current_module_as_sdk_client)

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

The pinned version of the bound module, if any.