Dagger
Search

cool-sdk

No long description provided.

Installation

dagger install github.com/grouville/dagger-test-modules/cool-sdk@8723e276a45b2e620ba3185cb07dc35e2be5bc86

Entrypoint

Return Type
CoolSdk
Example
dagger -m github.com/grouville/dagger-test-modules/cool-sdk@8723e276a45b2e620ba3185cb07dc35e2be5bc86 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/grouville/dagger-test-modules/cool-sdk@8723e276a45b2e620ba3185cb07dc35e2be5bc86 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()
}