bass
The Bass scripting language (https://bass-lang.org).
Installation
dagger install github.com/vito/bass@ed01a0d7ba6034d4d6b0bc97bb6a987530ba710e
Entrypoint
Return Type
Bass !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
Example
dagger -m github.com/vito/bass@ed01a0d7ba6034d4d6b0bc97bb6a987530ba710e call \
func (m *myModule) example() *Bass {
return dag.
Bass()
}
@function
def example() -> dag.Bass:
return (
dag.bass()
)
@func()
example(): Bass {
return dag
.bass()
}
Types
Bass 🔗
src() 🔗
Return Type
Directory !
Example
dagger -m github.com/vito/bass@ed01a0d7ba6034d4d6b0bc97bb6a987530ba710e call \
src
func (m *myModule) example() *Directory {
return dag.
Bass().
Src()
}
@function
def example() -> dagger.Directory:
return (
dag.bass()
.src()
)
@func()
example(): Directory {
return dag
.bass()
.src()
}
build() 🔗
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
version | String | "dev" | No description provided |
Example
dagger -m github.com/vito/bass@ed01a0d7ba6034d4d6b0bc97bb6a987530ba710e call \
build
func (m *myModule) example() *Directory {
return dag.
Bass().
Build()
}
@function
def example() -> dagger.Directory:
return (
dag.bass()
.build()
)
@func()
example(): Directory {
return dag
.bass()
.build()
}
repl() 🔗
Return Type
Container !
Example
dagger -m github.com/vito/bass@ed01a0d7ba6034d4d6b0bc97bb6a987530ba710e call \
repl
func (m *myModule) example() *Container {
return dag.
Bass().
Repl()
}
@function
def example() -> dagger.Container:
return (
dag.bass()
.repl()
)
@func()
example(): Container {
return dag
.bass()
.repl()
}
unit() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
packages | [String ! ] | ["./..."] | No description provided |
goTestFlags | [String ! ] | - | No description provided |
Example
dagger -m github.com/vito/bass@ed01a0d7ba6034d4d6b0bc97bb6a987530ba710e call \
unit
func (m *myModule) example() *Container {
return dag.
Bass().
Unit()
}
@function
def example() -> dagger.Container:
return (
dag.bass()
.unit()
)
@func()
example(): Container {
return dag
.bass()
.unit()
}
integration() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
runtime | String | - | No description provided |
goTestFlags | [String ! ] | - | No description provided |
Example
dagger -m github.com/vito/bass@ed01a0d7ba6034d4d6b0bc97bb6a987530ba710e call \
integration
func (m *myModule) example() *Container {
return dag.
Bass().
Integration()
}
@function
def example() -> dagger.Container:
return (
dag.bass()
.integration()
)
@func()
example(): Container {
return dag
.bass()
.integration()
}
runUnit() 🔗
Return Type
String !
Example
dagger -m github.com/vito/bass@ed01a0d7ba6034d4d6b0bc97bb6a987530ba710e call \
run-unit
func (m *myModule) example(ctx context.Context) string {
return dag.
Bass().
RunUnit(ctx)
}
@function
async def example() -> str:
return await (
dag.bass()
.run_unit()
)
@func()
async example(): Promise<string> {
return dag
.bass()
.runUnit()
}
buildkitd() 🔗
Return Type
Service !
Example
dagger -m github.com/vito/bass@ed01a0d7ba6034d4d6b0bc97bb6a987530ba710e call \
buildkitd
func (m *myModule) example() *Service {
return dag.
Bass().
Buildkitd()
}
@function
def example() -> dagger.Service:
return (
dag.bass()
.buildkitd()
)
@func()
example(): Service {
return dag
.bass()
.buildkitd()
}
devContainer() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
home | Interface ! | - | No description provided |
Example
dagger -m github.com/vito/bass@ed01a0d7ba6034d4d6b0bc97bb6a987530ba710e call \
dev-container
func (m *myModule) example(home ) *Container {
return dag.
Bass().
DevContainer(home)
}
@function
def example(home: ) -> dagger.Container:
return (
dag.bass()
.dev_container(home)
)
@func()
example(home: ): Container {
return dag
.bass()
.devContainer(home)
}
dev() 🔗
Return Type
Container !
Example
dagger -m github.com/vito/bass@ed01a0d7ba6034d4d6b0bc97bb6a987530ba710e call \
dev
func (m *myModule) example() *Container {
return dag.
Bass().
Dev()
}
@function
def example() -> dagger.Container:
return (
dag.bass()
.dev()
)
@func()
example(): Container {
return dag
.bass()
.dev()
}
generate() 🔗
Return Type
Directory !
Example
dagger -m github.com/vito/bass@ed01a0d7ba6034d4d6b0bc97bb6a987530ba710e call \
generate
func (m *myModule) example() *Directory {
return dag.
Bass().
Generate()
}
@function
def example() -> dagger.Directory:
return (
dag.bass()
.generate()
)
@func()
example(): Directory {
return dag
.bass()
.generate()
}
code() 🔗
Return Type
Directory !
Example
dagger -m github.com/vito/bass@ed01a0d7ba6034d4d6b0bc97bb6a987530ba710e call \
code
func (m *myModule) example() *Directory {
return dag.
Bass().
Code()
}
@function
def example() -> dagger.Directory:
return (
dag.bass()
.code()
)
@func()
example(): Directory {
return dag
.bass()
.code()
}
base() 🔗
Return Type
Container !
Example
dagger -m github.com/vito/bass@ed01a0d7ba6034d4d6b0bc97bb6a987530ba710e call \
base
func (m *myModule) example() *Container {
return dag.
Bass().
Base()
}
@function
def example() -> dagger.Container:
return (
dag.bass()
.base()
)
@func()
example(): Container {
return dag
.bass()
.base()
}