bass-sdk
Bass is a Dagger SDK for the Bass scripting language (https://bass-lang.org).
Installation
dagger install github.com/shykes/vito-daggerverse/bass@7350e27037cdac07cf1ca4572b6a44d0a337a195Entrypoint
Return Type
BassSdk ! Example
dagger -m github.com/shykes/vito-daggerverse/bass@7350e27037cdac07cf1ca4572b6a44d0a337a195 call \
func (m *MyModule) Example() *dagger.BassSdk  {
	return dag.
			BassSdk()
}@function
def example() -> dagger.BassSdk:
	return (
		dag.bass_sdk()
	)@func()
example(): BassSdk {
	return dag
		.bassSdk()
}Types
BassSdk 🔗
requiredPaths() 🔗
Return Type
[String ! ] ! Example
dagger -m github.com/shykes/vito-daggerverse/bass@7350e27037cdac07cf1ca4572b6a44d0a337a195 call \
 required-pathsfunc (m *MyModule) Example(ctx context.Context) []string  {
	return dag.
			BassSdk().
			RequiredPaths(ctx)
}@function
async def example() -> List[str]:
	return await (
		dag.bass_sdk()
		.required_paths()
	)@func()
async example(): Promise<string[]> {
	return dag
		.bassSdk()
		.requiredPaths()
}moduleRuntime() 🔗
ModuleRuntime returns a container with the node entrypoint ready to be called.
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 *dagger.ModuleSource, introspectionJson string) *dagger.Container  {
	return dag.
			BassSdk().
			ModuleRuntime(modSource, introspectionJson)
}@function
def example(mod_source: dagger.ModuleSource, introspection_json: str) -> dagger.Container:
	return (
		dag.bass_sdk()
		.module_runtime(mod_source, introspection_json)
	)@func()
example(modSource: ModuleSource, introspectionJson: string): Container {
	return dag
		.bassSdk()
		.moduleRuntime(modSource, introspectionJson)
}codegen() 🔗
Codegen returns the generated API client based on user’s module
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 *dagger.ModuleSource, introspectionJson string) *dagger.GeneratedCode  {
	return dag.
			BassSdk().
			Codegen(modSource, introspectionJson)
}@function
def example(mod_source: dagger.ModuleSource, introspection_json: str) -> dagger.GeneratedCode:
	return (
		dag.bass_sdk()
		.codegen(mod_source, introspection_json)
	)@func()
example(modSource: ModuleSource, introspectionJson: string): GeneratedCode {
	return dag
		.bassSdk()
		.codegen(modSource, introspectionJson)
}codegenBase() 🔗
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 *dagger.ModuleSource, introspectionJson string) *dagger.Container  {
	return dag.
			BassSdk().
			CodegenBase(modSource, introspectionJson)
}@function
def example(mod_source: dagger.ModuleSource, introspection_json: str) -> dagger.Container:
	return (
		dag.bass_sdk()
		.codegen_base(mod_source, introspection_json)
	)@func()
example(modSource: ModuleSource, introspectionJson: string): Container {
	return dag
		.bassSdk()
		.codegenBase(modSource, introspectionJson)
}base() 🔗
Return Type
Container ! Example
dagger -m github.com/shykes/vito-daggerverse/bass@7350e27037cdac07cf1ca4572b6a44d0a337a195 call \
 basefunc (m *MyModule) Example() *dagger.Container  {
	return dag.
			BassSdk().
			Base()
}@function
def example() -> dagger.Container:
	return (
		dag.bass_sdk()
		.base()
	)@func()
example(): Container {
	return dag
		.bassSdk()
		.base()
}entrypoint() 🔗
Return Type
File ! Example
dagger -m github.com/shykes/vito-daggerverse/bass@7350e27037cdac07cf1ca4572b6a44d0a337a195 call \
 entrypointfunc (m *MyModule) Example() *dagger.File  {
	return dag.
			BassSdk().
			Entrypoint()
}@function
def example() -> dagger.File:
	return (
		dag.bass_sdk()
		.entrypoint()
	)@func()
example(): File {
	return dag
		.bassSdk()
		.entrypoint()
}repl() 🔗
Return Type
Container ! Example
dagger -m github.com/shykes/vito-daggerverse/bass@7350e27037cdac07cf1ca4572b6a44d0a337a195 call \
 replfunc (m *MyModule) Example() *dagger.Container  {
	return dag.
			BassSdk().
			Repl()
}@function
def example() -> dagger.Container:
	return (
		dag.bass_sdk()
		.repl()
	)@func()
example(): Container {
	return dag
		.bassSdk()
		.repl()
}test() 🔗
Return Type
Void ! Example
dagger -m github.com/shykes/vito-daggerverse/bass@7350e27037cdac07cf1ca4572b6a44d0a337a195 call \
 testfunc (m *MyModule) Example(ctx context.Context)   {
	return dag.
			BassSdk().
			Test(ctx)
}@function
async def example() -> None:
	return await (
		dag.bass_sdk()
		.test()
	)@func()
async example(): Promise<void> {
	return dag
		.bassSdk()
		.test()
}