Dagger
Search

e2e

No long description provided.

Installation

dagger install github.com/dagger/go-sdk/.dagger/modules/e2e@ab0b55445a7d93621a2780a9ea94d6d1434a43a7

Entrypoint

Return Type
E2E !
Example
dagger -m github.com/dagger/go-sdk/.dagger/modules/e2e@ab0b55445a7d93621a2780a9ea94d6d1434a43a7 call \
func (m *MyModule) Example() *dagger.E2E  {
	return dag.
			E2e()
}
@function
def example() -> dagger.E2E:
	return (
		dag.e2e()
	)
@func()
example(): E2E {
	return dag
		.e2e()
}

Types

E2E 🔗

End-to-end checks for the Go SDK helper module.

skipGenerateFilenameCheck() 🔗

The helper should expose the generate skip marker used by callers.

Return Type
Void !
Example
dagger -m github.com/dagger/go-sdk/.dagger/modules/e2e@ab0b55445a7d93621a2780a9ea94d6d1434a43a7 call \
 skip-generate-filename-check
func (m *MyModule) Example(ctx context.Context)   {
	return dag.
			E2e().
			Skipgeneratefilenamecheck(ctx)
}
@function
async def example() -> None:
	return await (
		dag.e2e()
		.skipgeneratefilenamecheck()
	)
@func()
async example(): Promise<void> {
	return dag
		.e2e()
		.skipGenerateFilenameCheck()
}

moduleLookupCheck() 🔗

Mod lookup should find the owning Go SDK module when called from a nested path.

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
wsWorkspace -No description provided
Example
echo 'Custom types are not supported in shell examples'
func (m *MyModule) Example(ctx context.Context)   {
	return dag.
			E2e().
			Modulelookupcheck(ctx)
}
@function
async def example() -> None:
	return await (
		dag.e2e()
		.modulelookupcheck()
	)
@func()
async example(): Promise<void> {
	return dag
		.e2e()
		.moduleLookupCheck()
}

targetRuntimeCheck() 🔗

The SDK should report the builtin runtime it targets.

Return Type
Void !
Example
dagger -m github.com/dagger/go-sdk/.dagger/modules/e2e@ab0b55445a7d93621a2780a9ea94d6d1434a43a7 call \
 target-runtime-check
func (m *MyModule) Example(ctx context.Context)   {
	return dag.
			E2e().
			Targetruntimecheck(ctx)
}
@function
async def example() -> None:
	return await (
		dag.e2e()
		.targetruntimecheck()
	)
@func()
async example(): Promise<void> {
	return dag
		.e2e()
		.targetRuntimeCheck()
}

initCheck() 🔗

initModule should produce only the SDK-owned seed files. The engine owns the module’s dagger.json, so it must not appear in the changeset.

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
wsWorkspace -No description provided
Example
echo 'Custom types are not supported in shell examples'
func (m *MyModule) Example(ctx context.Context)   {
	return dag.
			E2e().
			Initcheck(ctx)
}
@function
async def example() -> None:
	return await (
		dag.e2e()
		.initcheck()
	)
@func()
async example(): Promise<void> {
	return dag
		.e2e()
		.initCheck()
}

initClientCheck() 🔗

initClient should not materialize files itself. The engine records the client and owns the generated context changeset.

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
wsWorkspace -No description provided
Example
echo 'Custom types are not supported in shell examples'
func (m *MyModule) Example(ctx context.Context)   {
	return dag.
			E2e().
			Initclientcheck(ctx)
}
@function
async def example() -> None:
	return await (
		dag.e2e()
		.initclientcheck()
	)
@func()
async example(): Promise<void> {
	return dag
		.e2e()
		.initClientCheck()
}

generateCheck() 🔗

Generating an existing module should produce generated files rooted at that module without touching unrelated paths.

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
wsWorkspace -No description provided
Example
echo 'Custom types are not supported in shell examples'
func (m *MyModule) Example(ctx context.Context)   {
	return dag.
			E2e().
			Generatecheck(ctx)
}
@function
async def example() -> None:
	return await (
		dag.e2e()
		.generatecheck()
	)
@func()
async example(): Promise<void> {
	return dag
		.e2e()
		.generateCheck()
}

generateAllCheck() 🔗

Generating all modules should discover Go SDK modules and ignore skipped ones.

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
wsWorkspace -No description provided
Example
echo 'Custom types are not supported in shell examples'
func (m *MyModule) Example(ctx context.Context)   {
	return dag.
			E2e().
			Generateallcheck(ctx)
}
@function
async def example() -> None:
	return await (
		dag.e2e()
		.generateallcheck()
	)
@func()
async example(): Promise<void> {
	return dag
		.e2e()
		.generateAllCheck()
}

skipGenerateCheck() 🔗

A skip marker above a module should make generate return an empty changeset.

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
wsWorkspace -No description provided
Example
echo 'Custom types are not supported in shell examples'
func (m *MyModule) Example(ctx context.Context)   {
	return dag.
			E2e().
			Skipgeneratecheck(ctx)
}
@function
async def example() -> None:
	return await (
		dag.e2e()
		.skipgeneratecheck()
	)
@func()
async example(): Promise<void> {
	return dag
		.e2e()
		.skipGenerateCheck()
}