deno-sdk
No long description provided.
Installation
dagger install github.com/fluentci-io/daggerverse/deno-sdk@10757f0e64dc3e46b2675571a477c96df6874caa
Entrypoint
Return Type
DenoSdk !
Arguments
Name | Type | Description |
---|---|---|
sdkSourceDir | Directory | No description provided |
Example
dagger -m github.com/fluentci-io/daggerverse/deno-sdk@10757f0e64dc3e46b2675571a477c96df6874caa call \
func (m *myModule) example() *DenoSdk {
return dag.
DenoSdk()
}
@function
def example() -> dag.DenoSdk:
return (
dag.deno_sdk()
)
@func()
example(): DenoSdk {
return dag
.denoSdk()
}
Types
DenoSdk 🔗
sdksourceDir() 🔗
Return Type
Directory !
Example
dagger -m github.com/fluentci-io/daggerverse/deno-sdk@10757f0e64dc3e46b2675571a477c96df6874caa call \
sdksource-dir
func (m *myModule) example() *Directory {
return dag.
DenoSdk().
SdksourceDir()
}
@function
def example() -> dagger.Directory:
return (
dag.deno_sdk()
.sdksource_dir()
)
@func()
example(): Directory {
return dag
.denoSdk()
.sdksourceDir()
}
requiredPaths() 🔗
Return Type
[String ! ] !
Example
dagger -m github.com/fluentci-io/daggerverse/deno-sdk@10757f0e64dc3e46b2675571a477c96df6874caa call \
required-paths
func (m *myModule) example(ctx context.Context) []string {
return dag.
DenoSdk().
RequiredPaths(ctx)
}
@function
async def example() -> List[str]:
return await (
dag.deno_sdk()
.required_paths()
)
@func()
async example(): Promise<string[]> {
return dag
.denoSdk()
.requiredPaths()
}
moduleRuntime() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
modSource | ModuleSource ! | - | No description provided |
introspectionJson | String ! | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'
func (m *myModule) example(modSource *ModuleSource, introspectionJson string) *Container {
return dag.
DenoSdk().
ModuleRuntime(modSource, introspectionJson)
}
@function
def example(mod_source: dag.ModuleSource, introspection_json: str) -> dagger.Container:
return (
dag.deno_sdk()
.module_runtime(mod_source, introspection_json)
)
@func()
example(modSource: ModuleSource, introspectionJson: string): Container {
return dag
.denoSdk()
.moduleRuntime(modSource, introspectionJson)
}
codegen() 🔗
Return Type
GeneratedCode !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
modSource | ModuleSource ! | - | No description provided |
introspectionJson | String ! | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'
func (m *myModule) example(modSource *ModuleSource, introspectionJson string) *GeneratedCode {
return dag.
DenoSdk().
Codegen(modSource, introspectionJson)
}
@function
def example(mod_source: dag.ModuleSource, introspection_json: str) -> dag.GeneratedCode:
return (
dag.deno_sdk()
.codegen(mod_source, introspection_json)
)
@func()
example(modSource: ModuleSource, introspectionJson: string): GeneratedCode {
return dag
.denoSdk()
.codegen(modSource, introspectionJson)
}
codegenBin() 🔗
Return Type
File !
Example
dagger -m github.com/fluentci-io/daggerverse/deno-sdk@10757f0e64dc3e46b2675571a477c96df6874caa call \
codegen-bin
func (m *myModule) example() *File {
return dag.
DenoSdk().
CodegenBin()
}
@function
def example() -> dagger.File:
return (
dag.deno_sdk()
.codegen_bin()
)
@func()
example(): File {
return dag
.denoSdk()
.codegenBin()
}
base() 🔗
Return Type
Container !
Example
dagger -m github.com/fluentci-io/daggerverse/deno-sdk@10757f0e64dc3e46b2675571a477c96df6874caa call \
base
func (m *myModule) example() *Container {
return dag.
DenoSdk().
Base()
}
@function
def example() -> dagger.Container:
return (
dag.deno_sdk()
.base()
)
@func()
example(): Container {
return dag
.denoSdk()
.base()
}