Dagger
Search

magicsdk

No long description provided.

Installation

dagger install github.com/quartz-technology/daggerverse/magicsdk@ef640fe6c3c1119e31c3e1275393125e3c793d50

Entrypoint

Return Type
Magicsdk !
Arguments
NameTypeDefault ValueDescription
appDirectory -No description provided
Example
dagger -m github.com/quartz-technology/daggerverse/magicsdk@ef640fe6c3c1119e31c3e1275393125e3c793d50 call \
func (m *myModule) example() *Magicsdk  {
	return dag.
			Magicsdk()
}
@function
def example() -> dag.Magicsdk:
	return (
		dag.magicsdk()
	)
@func()
example(): Magicsdk {
	return dag
		.magicsdk()
}

Types

Magicsdk 🔗

app() 🔗

Return Type
Directory !
Example
dagger -m github.com/quartz-technology/daggerverse/magicsdk@ef640fe6c3c1119e31c3e1275393125e3c793d50 call \
 app
func (m *myModule) example() *Directory  {
	return dag.
			Magicsdk().
			App()
}
@function
def example() -> dagger.Directory:
	return (
		dag.magicsdk()
		.app()
	)
@func()
example(): Directory {
	return dag
		.magicsdk()
		.app()
}

requiredPaths() 🔗

Return Type
[String ! ] !
Example
dagger -m github.com/quartz-technology/daggerverse/magicsdk@ef640fe6c3c1119e31c3e1275393125e3c793d50 call \
 required-paths
func (m *myModule) example(ctx context.Context) []string  {
	return dag.
			Magicsdk().
			RequiredPaths(ctx)
}
@function
async def example() -> List[str]:
	return await (
		dag.magicsdk()
		.required_paths()
	)
@func()
async example(): Promise<string[]> {
	return dag
		.magicsdk()
		.requiredPaths()
}

moduleRuntime() 🔗

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

codegen() 🔗

MagicSDK doesn’t have any codegen logic

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