bass-sdk
Bass is a Dagger SDK for the Bass scripting language (https://bass-lang.org).
Installation
dagger install github.com/vito/daggerverse/bass@ee868bafa78af93795f62fc912ae007cf8b803a8Entrypoint
Return Type
BassSdk !Example
dagger -m github.com/vito/daggerverse/bass@ee868bafa78af93795f62fc912ae007cf8b803a8 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/vito/daggerverse/bass@ee868bafa78af93795f62fc912ae007cf8b803a8 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/vito/daggerverse/bass@ee868bafa78af93795f62fc912ae007cf8b803a8 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/vito/daggerverse/bass@ee868bafa78af93795f62fc912ae007cf8b803a8 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()
}