go-sdk
No long description provided.
Installation
dagger install github.com/shykes/dagger-go-sdk@395fd1d988f2e31d2b6dd8c83ad4b347952d8b16Entrypoint
Return Type
GoSdkModuleConfig !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| file | File ! | - | No description provided |
Example
Function GoSdkModuleConfig.Constructor is not accessible from the go-sdk moduleFunction GoSdkModuleConfig.Constructor is not accessible from the go-sdk moduleFunction GoSdkModuleConfig.Constructor is not accessible from the go-sdk moduleFunction GoSdkModuleConfig.Constructor is not accessible from the go-sdk moduleEntrypoint
Return Type
GoSdkModDeps !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| path | String ! | - | Workspace-relative path of the module root. |
| fork | GoSdkWorkspaceFork ! | - | Fork used to stage workspace-rooted changes. |
| daggerJson | File ! | - | This module's dagger.json. |
Example
dagger -m github.com/shykes/dagger-go-sdk@395fd1d988f2e31d2b6dd8c83ad4b347952d8b16 call \
--path string --dagger-json file:pathfunc (m *MyModule) Example(path string, fork *dagger.GoSdkWorkspaceFork, daggerJson *dagger.File) *dagger.GoSdkModDeps {
return dag.
GoSdk(path, fork, daggerJson)
}@function
def example(path: str, fork: dagger.GoSdkWorkspaceFork, dagger_json: dagger.File) -> dagger.GoSdkModDeps:
return (
dag.go_sdk(path, fork, dagger_json)
)@func()
example(path: string, fork: GoSdkWorkspaceFork, daggerJson: File): GoSdkModDeps {
return dag
.goSdk(path, fork, daggerJson)
}Entrypoint
Return Type
GoSdkWorkspaceCwd ! Example
Function GoSdkWorkspaceCwd.Constructor is not accessible from the go-sdk moduleFunction GoSdkWorkspaceCwd.Constructor is not accessible from the go-sdk moduleFunction GoSdkWorkspaceCwd.Constructor is not accessible from the go-sdk moduleFunction GoSdkWorkspaceCwd.Constructor is not accessible from the go-sdk moduleEntrypoint
Return Type
GoSdk !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| skipGenerateFilename | String | - | Marker filename that skips generate when found at or above a Go SDK module root. |
Example
dagger -m github.com/shykes/dagger-go-sdk@395fd1d988f2e31d2b6dd8c83ad4b347952d8b16 call \
func (m *MyModule) Example() *dagger.GoSdk {
return dag.
GoSdk()
}@function
def example() -> dagger.GoSdk:
return (
dag.go_sdk()
)@func()
example(): GoSdk {
return dag
.goSdk()
}Entrypoint
Return Type
GoSdkWorkspaceForkChecks ! Example
Function GoSdkWorkspaceForkChecks.Constructor is not accessible from the go-sdk moduleFunction GoSdkWorkspaceForkChecks.Constructor is not accessible from the go-sdk moduleFunction GoSdkWorkspaceForkChecks.Constructor is not accessible from the go-sdk moduleFunction GoSdkWorkspaceForkChecks.Constructor is not accessible from the go-sdk moduleEntrypoint
Return Type
GoSdkWorkspaceFork !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| ws | Workspace | - | No description provided |
| cwd | String ! | - | Caller cwd relative to the workspace root. |
| before | Directory ! | - | No description provided |
| after | Directory ! | - | No description provided |
Example
Function GoSdkWorkspaceFork.Constructor is not accessible from the go-sdk moduleFunction GoSdkWorkspaceFork.Constructor is not accessible from the go-sdk moduleFunction GoSdkWorkspaceFork.Constructor is not accessible from the go-sdk moduleFunction GoSdkWorkspaceFork.Constructor is not accessible from the go-sdk moduleEntrypoint
Return Type
GoSdkModEngine !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| path | String ! | - | Workspace-relative path of the module root. |
| fork | GoSdkWorkspaceFork ! | - | Fork used to stage workspace-rooted changes. |
| daggerJson | File ! | - | This module's dagger.json. |
Example
dagger -m github.com/shykes/dagger-go-sdk@395fd1d988f2e31d2b6dd8c83ad4b347952d8b16 call \
--path string --dagger-json file:pathfunc (m *MyModule) Example(path string, fork *dagger.GoSdkWorkspaceFork, daggerJson *dagger.File) *dagger.GoSdkModEngine {
return dag.
GoSdk(path, fork, daggerJson)
}@function
def example(path: str, fork: dagger.GoSdkWorkspaceFork, dagger_json: dagger.File) -> dagger.GoSdkModEngine:
return (
dag.go_sdk(path, fork, dagger_json)
)@func()
example(path: string, fork: GoSdkWorkspaceFork, daggerJson: File): GoSdkModEngine {
return dag
.goSdk(path, fork, daggerJson)
}Entrypoint
Return Type
GoSdkMod !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| path | String ! | - | Workspace-relative path of this module root. |
| fork | GoSdkWorkspaceFork ! | - | Fork used to stage workspace-rooted changes. |
| daggerJson | File ! | - | This module's dagger.json. |
| skipGenerateFilename | String ! | - | Marker filename that skips generate when found at or above this module root. |
Example
dagger -m github.com/shykes/dagger-go-sdk@395fd1d988f2e31d2b6dd8c83ad4b347952d8b16 call \
--path string --dagger-json file:path --skip-generate-filename stringfunc (m *MyModule) Example(path string, fork *dagger.GoSdkWorkspaceFork, daggerJson *dagger.File, skipGenerateFilename string) *dagger.GoSdkMod {
return dag.
GoSdk(path, fork, daggerJson, skipGenerateFilename)
}@function
def example(path: str, fork: dagger.GoSdkWorkspaceFork, dagger_json: dagger.File, skip_generate_filename: str) -> dagger.GoSdkMod:
return (
dag.go_sdk(path, fork, dagger_json, skip_generate_filename)
)@func()
example(path: string, fork: GoSdkWorkspaceFork, daggerJson: File, skipGenerateFilename: string): GoSdkMod {
return dag
.goSdk(path, fork, daggerJson, skipGenerateFilename)
}Entrypoint
Return Type
GoSdkWorkspaceForks ! Example
Function GoSdkWorkspaceForks.Constructor is not accessible from the go-sdk moduleFunction GoSdkWorkspaceForks.Constructor is not accessible from the go-sdk moduleFunction GoSdkWorkspaceForks.Constructor is not accessible from the go-sdk moduleFunction GoSdkWorkspaceForks.Constructor is not accessible from the go-sdk moduleEntrypoint
Return Type
GoSdkDaggerQueryHelpers ! Example
Function GoSdkDaggerQueryHelpers.Constructor is not accessible from the go-sdk moduleFunction GoSdkDaggerQueryHelpers.Constructor is not accessible from the go-sdk moduleFunction GoSdkDaggerQueryHelpers.Constructor is not accessible from the go-sdk moduleFunction GoSdkDaggerQueryHelpers.Constructor is not accessible from the go-sdk moduleEntrypoint
Return Type
GoSdkNestedDaggerQuery !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| name | String ! | - | No description provided |
| varsJson | String ! | - | No description provided |
| mountedDirectoryPath | String ! | - | No description provided |
| mountedDirectory | Directory ! | - | No description provided |
Example
Function GoSdkNestedDaggerQuery.Constructor is not accessible from the go-sdk moduleFunction GoSdkNestedDaggerQuery.Constructor is not accessible from the go-sdk moduleFunction GoSdkNestedDaggerQuery.Constructor is not accessible from the go-sdk moduleFunction GoSdkNestedDaggerQuery.Constructor is not accessible from the go-sdk moduleEntrypoint
Return Type
GoSdkTemplate !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| name | String ! | - | Template name passed to init. |
| source | Directory ! | - | Template source files materialized into the new module before generation. |
Example
Function GoSdkTemplate.Constructor is not accessible from the go-sdk moduleFunction GoSdkTemplate.Constructor is not accessible from the go-sdk moduleFunction GoSdkTemplate.Constructor is not accessible from the go-sdk moduleFunction GoSdkTemplate.Constructor is not accessible from the go-sdk moduleTypes
GoSdkModuleConfig 🔗
Read and edit a module's dagger.json file.
withUpdatedDependencies() 🔗
Return dagger.json after updating one dependency, or all remote dependencies.
This uses a dagger.json-only mock workspace because the Dagger update API currently requires a local module source.
Return Type
File !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| ws | Workspace | - | No description provided |
| modulePath | String ! | - | No description provided |
| name | String | - | No description provided |
Example
Function GoSdkModuleConfig.withUpdatedDependencies is not accessible from the go-sdk moduleFunction GoSdkModuleConfig.withUpdatedDependencies is not accessible from the go-sdk moduleFunction GoSdkModuleConfig.withUpdatedDependencies is not accessible from the go-sdk moduleFunction GoSdkModuleConfig.withUpdatedDependencies is not accessible from the go-sdk moduledependencies() 🔗
Return dependency names when present, otherwise dependency sources.
Return Type
[String ! ] ! Example
Function GoSdkModuleConfig.dependencies is not accessible from the go-sdk moduleFunction GoSdkModuleConfig.dependencies is not accessible from the go-sdk moduleFunction GoSdkModuleConfig.dependencies is not accessible from the go-sdk moduleFunction GoSdkModuleConfig.dependencies is not accessible from the go-sdk modulewithDependency() 🔗
Return dagger.json with one dependency appended.
Named dependencies are written as objects. Unnamed dependencies are written as strings to match the existing dagger.json format.
Return Type
File !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| source | String ! | - | No description provided |
| name | String | - | No description provided |
Example
Function GoSdkModuleConfig.withDependency is not accessible from the go-sdk moduleFunction GoSdkModuleConfig.withDependency is not accessible from the go-sdk moduleFunction GoSdkModuleConfig.withDependency is not accessible from the go-sdk moduleFunction GoSdkModuleConfig.withDependency is not accessible from the go-sdk modulewithoutDependency() 🔗
Return dagger.json with dependencies matching the given name or source removed.
Return Type
File !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| name | String ! | - | No description provided |
Example
Function GoSdkModuleConfig.withoutDependency is not accessible from the go-sdk moduleFunction GoSdkModuleConfig.withoutDependency is not accessible from the go-sdk moduleFunction GoSdkModuleConfig.withoutDependency is not accessible from the go-sdk moduleFunction GoSdkModuleConfig.withoutDependency is not accessible from the go-sdk moduleGoSdkModDeps 🔗
Dagger dependencies for a Go SDK module.
add() 🔗
Add a Dagger dependency to dagger.json.
Return Type
Changeset !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| ws | Workspace | - | No description provided |
| source | String ! | - | No description provided |
| name | String | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(source string) *dagger.Changeset {
return dag.
GoSdk().
Mod().
Deps().
Add(source)
}@function
def example(source: str) -> dagger.Changeset:
return (
dag.go_sdk()
.mod()
.deps()
.add(source)
)@func()
example(source: string): Changeset {
return dag
.goSdk()
.mod()
.deps()
.add(source)
}list() 🔗
Return dependency names when present, otherwise dependency sources.
Return Type
[String ! ] ! Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(ctx context.Context) []string {
return dag.
GoSdk().
Mod().
Deps().
List(ctx)
}@function
async def example() -> List[str]:
return await (
dag.go_sdk()
.mod()
.deps()
.list()
)@func()
async example(): Promise<string[]> {
return dag
.goSdk()
.mod()
.deps()
.list()
}remove() 🔗
Remove a Dagger dependency from dagger.json by name or source.
Return Type
Changeset !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| ws | Workspace | - | No description provided |
| name | String ! | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(name string) *dagger.Changeset {
return dag.
GoSdk().
Mod().
Deps().
Remove(name)
}@function
def example(name: str) -> dagger.Changeset:
return (
dag.go_sdk()
.mod()
.deps()
.remove(name)
)@func()
example(name: string): Changeset {
return dag
.goSdk()
.mod()
.deps()
.remove(name)
}update() 🔗
Update one dependency by name or source, or update all remote dependencies in dagger.json.
Return Type
Changeset !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| ws | Workspace | - | No description provided |
| name | String | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example() *dagger.Changeset {
return dag.
GoSdk().
Mod().
Deps().
Update()
}@function
def example() -> dagger.Changeset:
return (
dag.go_sdk()
.mod()
.deps()
.update()
)@func()
example(): Changeset {
return dag
.goSdk()
.mod()
.deps()
.update()
}GoSdkWorkspaceCwd 🔗
Return the caller cwd relative to the workspace root.
GoSdk 🔗
Manage Dagger modules that use the Go SDK.
skipGenerateFilename() 🔗
Marker filename that skips generate when found at or above a Go SDK module root.
Return Type
String ! Example
dagger -m github.com/shykes/dagger-go-sdk@395fd1d988f2e31d2b6dd8c83ad4b347952d8b16 call \
skip-generate-filenamefunc (m *MyModule) Example(ctx context.Context) string {
return dag.
GoSdk().
SkipGenerateFilename(ctx)
}@function
async def example() -> str:
return await (
dag.go_sdk()
.skip_generate_filename()
)@func()
async example(): Promise<string> {
return dag
.goSdk()
.skipGenerateFilename()
}generateAll() 🔗
Generate all discovered Go SDK modules. Modules with the generate skip marker are skipped.
Return Type
Changeset !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| ws | Workspace | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example() *dagger.Changeset {
return dag.
GoSdk().
GenerateAll()
}@function
def example() -> dagger.Changeset:
return (
dag.go_sdk()
.generate_all()
)@func()
example(): Changeset {
return dag
.goSdk()
.generateAll()
}mod() 🔗
Return the Go SDK module at or above a workspace path.
When findUp is true, path may point inside the module.
Return Type
GoSdkMod !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| ws | Workspace | - | No description provided |
| path | String | - | No description provided |
| findUp | Boolean | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example() *dagger.GoSdkMod {
return dag.
GoSdk().
Mod()
}@function
def example() -> dagger.GoSdkMod:
return (
dag.go_sdk()
.mod()
)@func()
example(): GoSdkMod {
return dag
.goSdk()
.mod()
}init() 🔗
Create a new Go SDK Dagger module and return the files to write.
By default, the new module is created under the nearest .dagger directory
visible from the current workspace path:
/modules/
Pass path to choose a different module location. The target path must not
already contain a Dagger module.
Pass template to materialize files from templates/. The empty
default uses this module’s minimal template.
By default, future generated SDK files are checked into version control. Pass
ignoreGenerated to configure generation to add generated SDK paths to
.gitignore instead.
Return Type
Changeset !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| ws | Workspace | - | No description provided |
| name | String ! | - | No description provided |
| path | String | - | No description provided |
| template | String | - | No description provided |
| ignoreGenerated | Boolean | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(name string) *dagger.Changeset {
return dag.
GoSdk().
Init(name)
}@function
def example(name: str) -> dagger.Changeset:
return (
dag.go_sdk()
.init(name)
)@func()
example(name: string): Changeset {
return dag
.goSdk()
.init(name)
}workspaceForkShimCheck() 🔗
Check the workspace fork shim that roots returned changesets for the caller.
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| ws | Workspace | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(ctx context.Context) {
return dag.
GoSdk().
WorkspaceForkShimCheck(ctx)
}@function
async def example() -> None:
return await (
dag.go_sdk()
.workspace_fork_shim_check()
)@func()
async example(): Promise<void> {
return dag
.goSdk()
.workspaceForkShimCheck()
}modules() 🔗
Return every Dagger module whose sdk.source is “go”.
Return Type
[GoSdkMod ! ] !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| ws | Workspace | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example() []*dagger.GoSdkMod {
return dag.
GoSdk().
Modules()
}@function
def example() -> List[dagger.GoSdkMod]:
return (
dag.go_sdk()
.modules()
)@func()
example(): GoSdkMod[] {
return dag
.goSdk()
.modules()
}templates() 🔗
Return init templates tracked by this module.
Templates live under templates/ and are materialized into the new module. Passing an empty template to init uses the module default.
Return Type
[GoSdkTemplate ! ] ! Example
dagger -m github.com/shykes/dagger-go-sdk@395fd1d988f2e31d2b6dd8c83ad4b347952d8b16 call \
templatesfunc (m *MyModule) Example() []*dagger.GoSdkTemplate {
return dag.
GoSdk().
Templates()
}@function
def example() -> List[dagger.GoSdkTemplate]:
return (
dag.go_sdk()
.templates()
)@func()
example(): GoSdkTemplate[] {
return dag
.goSdk()
.templates()
}GoSdkWorkspaceForkChecks 🔗
Checks for the workspace fork shim.
GoSdkWorkspaceFork 🔗
An ephemeral fork of a workspace used to stage changes without side effects. Path arguments are future WorkspacePath values: strings relative to the workspace root. "." means the workspace root.
GoSdkModEngine 🔗
Required Dagger engine version for a Go SDK module.
require() 🔗
Configure this module to require the given Dagger engine version.
Return Type
Changeset !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | String ! | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(version string) *dagger.Changeset {
return dag.
GoSdk().
Mod().
Engine().
Require(version)
}@function
def example(version: str) -> dagger.Changeset:
return (
dag.go_sdk()
.mod()
.engine()
.require(version)
)@func()
example(version: string): Changeset {
return dag
.goSdk()
.mod()
.engine()
.require(version)
}requireCurrent() 🔗
Configure this module to require the current Dagger engine version.
Return Type
Changeset ! Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example() *dagger.Changeset {
return dag.
GoSdk().
Mod().
Engine().
RequireCurrent()
}@function
def example() -> dagger.Changeset:
return (
dag.go_sdk()
.mod()
.engine()
.require_current()
)@func()
example(): Changeset {
return dag
.goSdk()
.mod()
.engine()
.requireCurrent()
}requireLatest() 🔗
Configure this module to require the latest stable Dagger engine version.
Return Type
Changeset ! Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example() *dagger.Changeset {
return dag.
GoSdk().
Mod().
Engine().
RequireLatest()
}@function
def example() -> dagger.Changeset:
return (
dag.go_sdk()
.mod()
.engine()
.require_latest()
)@func()
example(): Changeset {
return dag
.goSdk()
.mod()
.engine()
.requireLatest()
}required() 🔗
The Dagger engine version required by this module, without a leading “v”.
Return Type
String ! Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(ctx context.Context) string {
return dag.
GoSdk().
Mod().
Engine().
Required(ctx)
}@function
async def example() -> str:
return await (
dag.go_sdk()
.mod()
.engine()
.required()
)@func()
async example(): Promise<string> {
return dag
.goSdk()
.mod()
.engine()
.required()
}GoSdkMod 🔗
A Dagger module that uses the Go SDK.
path() 🔗
Workspace-relative path of this module root.
Return Type
String ! Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(ctx context.Context) string {
return dag.
GoSdk().
Mod().
Path(ctx)
}@function
async def example() -> str:
return await (
dag.go_sdk()
.mod()
.path()
)@func()
async example(): Promise<string> {
return dag
.goSdk()
.mod()
.path()
}skipGenerate() 🔗
Whether this module or an ancestor contains the configured generate skip marker.
Return Type
Boolean !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| ws | Workspace | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(ctx context.Context) bool {
return dag.
GoSdk().
Mod().
SkipGenerate(ctx)
}@function
async def example() -> bool:
return await (
dag.go_sdk()
.mod()
.skip_generate()
)@func()
async example(): Promise<boolean> {
return dag
.goSdk()
.mod()
.skipGenerate()
}deps() 🔗
Manage this module’s Dagger dependencies.
Return Type
GoSdkModDeps ! Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example() *dagger.GoSdkModDeps {
return dag.
GoSdk().
Mod().
Deps()
}@function
def example() -> dagger.GoSdkModDeps:
return (
dag.go_sdk()
.mod()
.deps()
)@func()
example(): GoSdkModDeps {
return dag
.goSdk()
.mod()
.deps()
}engine() 🔗
Manage the Dagger engine version required by this module.
Return Type
GoSdkModEngine ! Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example() *dagger.GoSdkModEngine {
return dag.
GoSdk().
Mod().
Engine()
}@function
def example() -> dagger.GoSdkModEngine:
return (
dag.go_sdk()
.mod()
.engine()
)@func()
example(): GoSdkModEngine {
return dag
.goSdk()
.mod()
.engine()
}generate() 🔗
Generate this module. If the generate skip marker is present, the changeset is empty.
Return Type
Changeset !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| ws | Workspace | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example() *dagger.Changeset {
return dag.
GoSdk().
Mod().
Generate()
}@function
def example() -> dagger.Changeset:
return (
dag.go_sdk()
.mod()
.generate()
)@func()
example(): Changeset {
return dag
.goSdk()
.mod()
.generate()
}GoSdkWorkspaceForks 🔗
Helpers for staging workspace-rooted edits before returning a Changeset. This file is prefixed with 00 because Dang currently resolves type annotations in file load order. This is a local shim for a future core concept. Callers pass paths relative to the workspace root. The shim converts them to the caller's workspace cwd only when producing a Changeset, because today's clients apply returned changesets relative to the caller cwd.
GoSdkDaggerQueryHelpers 🔗
Internal helpers for building source IDs and running checked-in queries.
GoSdkNestedDaggerQuery 🔗
A checked-in GraphQL query run by a nested Dagger client. This is a workaround for Dagger API calls that currently fail when made directly from Dang.
responseString() 🔗
Return a string from the GraphQL response at the given object path.
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| path | [String ! ] ! | - | No description provided |
Example
Function GoSdkNestedDaggerQuery.responseString is not accessible from the go-sdk moduleFunction GoSdkNestedDaggerQuery.responseString is not accessible from the go-sdk moduleFunction GoSdkNestedDaggerQuery.responseString is not accessible from the go-sdk moduleFunction GoSdkNestedDaggerQuery.responseString is not accessible from the go-sdk moduleresponse() 🔗
Return the full GraphQL response as JSON.
Return Type
String ! Example
Function GoSdkNestedDaggerQuery.response is not accessible from the go-sdk moduleFunction GoSdkNestedDaggerQuery.response is not accessible from the go-sdk moduleFunction GoSdkNestedDaggerQuery.response is not accessible from the go-sdk moduleFunction GoSdkNestedDaggerQuery.response is not accessible from the go-sdk moduleoutputDir() 🔗
Return a directory from the helper container after the query runs.
Use this to retrieve files written by the query, such as exported changesets.
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| path | String | - | No description provided |
| include | [String ! ] | - | No description provided |
| exclude | [String ! ] | - | No description provided |
Example
Function GoSdkNestedDaggerQuery.outputDir is not accessible from the go-sdk moduleFunction GoSdkNestedDaggerQuery.outputDir is not accessible from the go-sdk moduleFunction GoSdkNestedDaggerQuery.outputDir is not accessible from the go-sdk moduleFunction GoSdkNestedDaggerQuery.outputDir is not accessible from the go-sdk moduleinputContainer() 🔗
Return the helper container before the query runs.
Return Type
Container ! Example
Function GoSdkNestedDaggerQuery.inputContainer is not accessible from the go-sdk moduleFunction GoSdkNestedDaggerQuery.inputContainer is not accessible from the go-sdk moduleFunction GoSdkNestedDaggerQuery.inputContainer is not accessible from the go-sdk moduleFunction GoSdkNestedDaggerQuery.inputContainer is not accessible from the go-sdk moduleoutputContainer() 🔗
Return the helper container after the query runs.
Return Type
Container ! Example
Function GoSdkNestedDaggerQuery.outputContainer is not accessible from the go-sdk moduleFunction GoSdkNestedDaggerQuery.outputContainer is not accessible from the go-sdk moduleFunction GoSdkNestedDaggerQuery.outputContainer is not accessible from the go-sdk moduleFunction GoSdkNestedDaggerQuery.outputContainer is not accessible from the go-sdk moduleGoSdkTemplate 🔗
An init template tracked by this module.
name() 🔗
Template name passed to init.
Return Type
String ! Example
Function GoSdkTemplate.name is not accessible from the go-sdk moduleFunction GoSdkTemplate.name is not accessible from the go-sdk moduleFunction GoSdkTemplate.name is not accessible from the go-sdk moduleFunction GoSdkTemplate.name is not accessible from the go-sdk modulesource() 🔗
Template source files materialized into the new module before generation.
Return Type
Directory ! Example
Function GoSdkTemplate.source is not accessible from the go-sdk moduleFunction GoSdkTemplate.source is not accessible from the go-sdk moduleFunction GoSdkTemplate.source is not accessible from the go-sdk moduleFunction GoSdkTemplate.source is not accessible from the go-sdk module