Documentation
¶
Index ¶
Constants ¶
View Source
const (
GoSDKModuleIDPath = "typedefs.json"
)
View Source
const (
RuntimeWorkdirPath = "/scratch"
)
Variables ¶
This section is empty.
Functions ¶
func IsModuleSDKBuiltin ¶ added in v0.18.19
Return true if the given module is a builtin SDK.
Types ¶
type Loader ¶
type Loader struct{}
func (*Loader) SDKForModule ¶
func (l *Loader) SDKForModule( ctx context.Context, query *core.Query, sdk *core.SDKConfig, parentSrc *core.ModuleSource, ) (_ core.SDK, rerr error)
SDKForModule loads an SDK module based on the given SDK configuration.
If it's a builtin SDK, it will load it from the engine container. Otherwise, it will load it from the given source either from a URL or from a local path.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
dang
|
|
|
shared
Package dangshared holds the Dang-version-agnostic plumbing shared by every supported major version of the Dang runtime (core/sdk/dang/v1, v2, ...).
|
Package dangshared holds the Dang-version-agnostic plumbing shared by every supported major version of the Dang runtime (core/sdk/dang/v1, v2, ...). |
|
v1
Package dangv1 evaluates Dagger modules written against Dang v1 (github.com/vito/dang: `.{ }` is selection, `.{{ }}` does not exist).
|
Package dangv1 evaluates Dagger modules written against Dang v1 (github.com/vito/dang: `.{ }` is selection, `.{{ }}` does not exist). |
|
v2
Package dangv2 evaluates Dagger modules written against Dang v2 (github.com/vito/dang/v2: `.{ }` is dot-block application, `.{{ }}` is selection).
|
Package dangv2 evaluates Dagger modules written against Dang v2 (github.com/vito/dang/v2: `.{ }` is dot-block application, `.{{ }}` is selection). |
Click to show internal directories.
Click to hide internal directories.