Dagger
Search

cool-sdk

No long description provided.

Installation

dagger install github.com/dagger/dagger-test-modules/cool-sdk@323d56c9ece3492d13f58b8b603d31a7c511cd41

Entrypoint

Return Type
CoolSdk
Example
dagger -m github.com/dagger/dagger-test-modules/cool-sdk@323d56c9ece3492d13f58b8b603d31a7c511cd41 call \
func (m *myModule) example() *CoolSdk  {
	return dag.
			CoolSdk()
}
@function
def example() -> dag.CoolSdk:
	return (
		dag.cool_sdk()
	)
@func()
example(): CoolSdk {
	return dag
		.coolSdk()
}

Types

CoolSdk 🔗

moduleRuntime() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
modSourceModuleSource !-No description provided
introspectionJsonString !-No description provided
Example
echo 'Custom types are not supported in shell examples'
func (m *myModule) example(modSource *ModuleSource, introspectionJson string) *Container  {
	return dag.
			CoolSdk().
			ModuleRuntime(modSource, introspectionJson)
}
@function
def example(mod_source: dag.ModuleSource, introspection_json: str) -> dagger.Container:
	return (
		dag.cool_sdk()
		.module_runtime(mod_source, introspection_json)
	)
@func()
example(modSource: ModuleSource, introspectionJson: string): Container {
	return dag
		.coolSdk()
		.moduleRuntime(modSource, introspectionJson)
}

codegen() 🔗

Return Type
GeneratedCode !
Arguments
NameTypeDefault ValueDescription
modSourceModuleSource !-No description provided
introspectionJsonString !-No description provided
Example
echo 'Custom types are not supported in shell examples'
func (m *myModule) example(modSource *ModuleSource, introspectionJson string) *GeneratedCode  {
	return dag.
			CoolSdk().
			Codegen(modSource, introspectionJson)
}
@function
def example(mod_source: dag.ModuleSource, introspection_json: str) -> dag.GeneratedCode:
	return (
		dag.cool_sdk()
		.codegen(mod_source, introspection_json)
	)
@func()
example(modSource: ModuleSource, introspectionJson: string): GeneratedCode {
	return dag
		.coolSdk()
		.codegen(modSource, introspectionJson)
}

requiredPaths() 🔗

Return Type
[String ! ] !
Example
dagger -m github.com/dagger/dagger-test-modules/cool-sdk@323d56c9ece3492d13f58b8b603d31a7c511cd41 call \
 required-paths
func (m *myModule) example(ctx context.Context) []string  {
	return dag.
			CoolSdk().
			RequiredPaths(ctx)
}
@function
async def example() -> List[str]:
	return await (
		dag.cool_sdk()
		.required_paths()
	)
@func()
async example(): Promise<string[]> {
	return dag
		.coolSdk()
		.requiredPaths()
}