bass
No long description provided.
Installation
dagger install github.com/vito/bass@64e676d32cc09a3f8306c6baf23421cb72d7ae9eEntrypoint
Return Type
Dist !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| linuxAmd64 | File ! | - | No description provided |
| linuxArm64 | File ! | - | No description provided |
| darwinArm64 | File ! | - | No description provided |
| windowsAmd64 | File ! | - | No description provided |
Example
Function Dist.Constructor is not accessible from the bass moduleFunction Dist.Constructor is not accessible from the bass moduleFunction Dist.Constructor is not accessible from the bass moduleFunction Dist.Constructor is not accessible from the bass moduleEntrypoint
Return Type
IntegrationTested !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| output | String ! | - | No description provided |
Example
Function IntegrationTested.Constructor is not accessible from the bass moduleFunction IntegrationTested.Constructor is not accessible from the bass moduleFunction IntegrationTested.Constructor is not accessible from the bass moduleFunction IntegrationTested.Constructor is not accessible from the bass moduleEntrypoint
Return Type
Pipeline !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| bass | Bass ! | - | No description provided |
Example
Function Pipeline.Constructor is not accessible from the bass moduleFunction Pipeline.Constructor is not accessible from the bass moduleFunction Pipeline.Constructor is not accessible from the bass moduleFunction Pipeline.Constructor is not accessible from the bass moduleEntrypoint
Return Type
Bass !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory | - | No description provided |
Example
dagger -m github.com/vito/bass@64e676d32cc09a3f8306c6baf23421cb72d7ae9e call \
func (m *MyModule) Example() *dagger.Bass {
return dag.
Bass()
}@function
def example() -> dagger.Bass:
return (
dag.bass()
)@func()
example(): Bass {
return dag
.bass()
}Entrypoint
Return Type
UnitTested !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| output | String ! | - | No description provided |
Example
Function UnitTested.Constructor is not accessible from the bass moduleFunction UnitTested.Constructor is not accessible from the bass moduleFunction UnitTested.Constructor is not accessible from the bass moduleFunction UnitTested.Constructor is not accessible from the bass moduleTypes
Dist 🔗
linuxAmd64() 🔗
Return Type
File ! Example
dagger -m github.com/vito/bass@64e676d32cc09a3f8306c6baf23421cb72d7ae9e call \
pipeline \
build \
linux-amd-6-4func (m *MyModule) Example() *dagger.File {
return dag.
Bass().
Pipeline().
Build().
LinuxAmd64()
}@function
def example() -> dagger.File:
return (
dag.bass()
.pipeline()
.build()
.linux_amd64()
)@func()
example(): File {
return dag
.bass()
.pipeline()
.build()
.linuxAmd64()
}linuxArm64() 🔗
Return Type
File ! Example
dagger -m github.com/vito/bass@64e676d32cc09a3f8306c6baf23421cb72d7ae9e call \
pipeline \
build \
linux-arm-6-4func (m *MyModule) Example() *dagger.File {
return dag.
Bass().
Pipeline().
Build().
LinuxArm64()
}@function
def example() -> dagger.File:
return (
dag.bass()
.pipeline()
.build()
.linux_arm64()
)@func()
example(): File {
return dag
.bass()
.pipeline()
.build()
.linuxArm64()
}darwinArm64() 🔗
Return Type
File ! Example
dagger -m github.com/vito/bass@64e676d32cc09a3f8306c6baf23421cb72d7ae9e call \
pipeline \
build \
darwin-arm-6-4func (m *MyModule) Example() *dagger.File {
return dag.
Bass().
Pipeline().
Build().
DarwinArm64()
}@function
def example() -> dagger.File:
return (
dag.bass()
.pipeline()
.build()
.darwin_arm64()
)@func()
example(): File {
return dag
.bass()
.pipeline()
.build()
.darwinArm64()
}windowsAmd64() 🔗
Return Type
File ! Example
dagger -m github.com/vito/bass@64e676d32cc09a3f8306c6baf23421cb72d7ae9e call \
pipeline \
build \
windows-amd-6-4func (m *MyModule) Example() *dagger.File {
return dag.
Bass().
Pipeline().
Build().
WindowsAmd64()
}@function
def example() -> dagger.File:
return (
dag.bass()
.pipeline()
.build()
.windows_amd64()
)@func()
example(): File {
return dag
.bass()
.pipeline()
.build()
.windowsAmd64()
}IntegrationTested 🔗
output() 🔗
Return Type
String ! Example
dagger -m github.com/vito/bass@64e676d32cc09a3f8306c6baf23421cb72d7ae9e call \
pipeline \
integration \
outputfunc (m *MyModule) Example(ctx context.Context) string {
return dag.
Bass().
Pipeline().
Integration().
Output(ctx)
}@function
async def example() -> str:
return await (
dag.bass()
.pipeline()
.integration()
.output()
)@func()
async example(): Promise<string> {
return dag
.bass()
.pipeline()
.integration()
.output()
}Pipeline 🔗
integration() 🔗
Run integration tests.
Return Type
IntegrationTested ! Example
dagger -m github.com/vito/bass@64e676d32cc09a3f8306c6baf23421cb72d7ae9e call \
pipeline \
integrationfunc (m *MyModule) Example() *dagger.BassIntegrationTested {
return dag.
Bass().
Pipeline().
Integration()
}@function
def example() -> dagger.BassIntegrationTested:
return (
dag.bass()
.pipeline()
.integration()
)@func()
example(): BassIntegrationTested {
return dag
.bass()
.pipeline()
.integration()
}ship() 🔗
Ship a release.
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| dist | Dist ! | - | No description provided |
| unit | UnitTested ! | - | No description provided |
| integ | IntegrationTested ! | - | No description provided |
| githubToken | Secret ! | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(ctx context.Context, dist *dagger.BassDist, unit *dagger.BassUnitTested, integ *dagger.BassIntegrationTested, githubToken *dagger.Secret) {
return dag.
Bass().
Pipeline().
Ship(ctx, dist, unit, integ, githubToken)
}@function
async def example(dist: dagger.BassDist, unit: dagger.BassUnitTested, integ: dagger.BassIntegrationTested, github_token: dagger.Secret) -> None:
return await (
dag.bass()
.pipeline()
.ship(dist, unit, integ, github_token)
)@func()
async example(dist: BassDist, unit: BassUnitTested, integ: BassIntegrationTested, githubToken: Secret): Promise<void> {
return dag
.bass()
.pipeline()
.ship(dist, unit, integ, githubToken)
}build() 🔗
Build for all platforms.
Return Type
Dist ! Example
dagger -m github.com/vito/bass@64e676d32cc09a3f8306c6baf23421cb72d7ae9e call \
pipeline \
buildfunc (m *MyModule) Example() *dagger.BassDist {
return dag.
Bass().
Pipeline().
Build()
}@function
def example() -> dagger.BassDist:
return (
dag.bass()
.pipeline()
.build()
)@func()
example(): BassDist {
return dag
.bass()
.pipeline()
.build()
}unit() 🔗
Run unit tests.
Return Type
UnitTested ! Example
dagger -m github.com/vito/bass@64e676d32cc09a3f8306c6baf23421cb72d7ae9e call \
pipeline \
unitfunc (m *MyModule) Example() *dagger.BassUnitTested {
return dag.
Bass().
Pipeline().
Unit()
}@function
def example() -> dagger.BassUnitTested:
return (
dag.bass()
.pipeline()
.unit()
)@func()
example(): BassUnitTested {
return dag
.bass()
.pipeline()
.unit()
}Bass 🔗
The Bass scripting language (https://bass-lang.org).
src() 🔗
Return Type
Directory ! Example
dagger -m github.com/vito/bass@64e676d32cc09a3f8306c6baf23421cb72d7ae9e call \
srcfunc (m *MyModule) Example() *dagger.Directory {
return dag.
Bass().
Src()
}@function
def example() -> dagger.Directory:
return (
dag.bass()
.src()
)@func()
example(): Directory {
return dag
.bass()
.src()
}runUnit() 🔗
Run unit tests (returns stdout).
Return Type
String ! Example
dagger -m github.com/vito/bass@64e676d32cc09a3f8306c6baf23421cb72d7ae9e call \
run-unitfunc (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()
}dev() 🔗
Start a dev shell.
Return Type
Container ! Example
dagger -m github.com/vito/bass@64e676d32cc09a3f8306c6baf23421cb72d7ae9e call \
devfunc (m *MyModule) Example() *dagger.Container {
return dag.
Bass().
Dev()
}@function
def example() -> dagger.Container:
return (
dag.bass()
.dev()
)@func()
example(): Container {
return dag
.bass()
.dev()
}pipeline() 🔗
Get the build pipeline.
Return Type
Pipeline ! Example
dagger -m github.com/vito/bass@64e676d32cc09a3f8306c6baf23421cb72d7ae9e call \
pipelinefunc (m *MyModule) Example() *dagger.BassPipeline {
return dag.
Bass().
Pipeline()
}@function
def example() -> dagger.BassPipeline:
return (
dag.bass()
.pipeline()
)@func()
example(): BassPipeline {
return dag
.bass()
.pipeline()
}build() 🔗
Build Bass binaries.
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | String | - | No description provided |
| goos | String | - | No description provided |
| goarch | String | - | No description provided |
Example
dagger -m github.com/vito/bass@64e676d32cc09a3f8306c6baf23421cb72d7ae9e call \
buildfunc (m *MyModule) Example() *dagger.Directory {
return dag.
Bass().
Build()
}@function
def example() -> dagger.Directory:
return (
dag.bass()
.build()
)@func()
example(): Directory {
return dag
.bass()
.build()
}testDagger() 🔗
Test Dagger runtime.
Return Type
Void ! Example
dagger -m github.com/vito/bass@64e676d32cc09a3f8306c6baf23421cb72d7ae9e call \
test-daggerfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Bass().
TestDagger(ctx)
}@function
async def example() -> None:
return await (
dag.bass()
.test_dagger()
)@func()
async example(): Promise<void> {
return dag
.bass()
.testDagger()
}devContainer() 🔗
Start a dev container.
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| home | Interface | - | No description provided |
Example
dagger -m github.com/vito/bass@64e676d32cc09a3f8306c6baf23421cb72d7ae9e call \
dev-containerfunc (m *MyModule) Example() *dagger.Container {
return dag.
Bass().
DevContainer()
}@function
def example() -> dagger.Container:
return (
dag.bass()
.dev_container()
)@func()
example(): Container {
return dag
.bass()
.devContainer()
}repl() 🔗
Start a REPL.
Return Type
Container ! Example
dagger -m github.com/vito/bass@64e676d32cc09a3f8306c6baf23421cb72d7ae9e call \
replfunc (m *MyModule) Example() *dagger.Container {
return dag.
Bass().
Repl()
}@function
def example() -> dagger.Container:
return (
dag.bass()
.repl()
)@func()
example(): Container {
return dag
.bass()
.repl()
}unit() 🔗
Run unit tests.
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| packages | [String ! ] | - | No description provided |
| goTestFlags | [String ! ] | - | No description provided |
Example
dagger -m github.com/vito/bass@64e676d32cc09a3f8306c6baf23421cb72d7ae9e call \
unitfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Bass().
Unit(ctx)
}@function
async def example() -> None:
return await (
dag.bass()
.unit()
)@func()
async example(): Promise<void> {
return dag
.bass()
.unit()
}testBuildkit() 🔗
Test Buildkit runtime.
Return Type
Void ! Example
dagger -m github.com/vito/bass@64e676d32cc09a3f8306c6baf23421cb72d7ae9e call \
test-buildkitfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Bass().
TestBuildkit(ctx)
}@function
async def example() -> None:
return await (
dag.bass()
.test_buildkit()
)@func()
async example(): Promise<void> {
return dag
.bass()
.testBuildkit()
}integration() 🔗
Run integration tests.
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@64e676d32cc09a3f8306c6baf23421cb72d7ae9e call \
integrationfunc (m *MyModule) Example() *dagger.Container {
return dag.
Bass().
Integration()
}@function
def example() -> dagger.Container:
return (
dag.bass()
.integration()
)@func()
example(): Container {
return dag
.bass()
.integration()
}UnitTested 🔗
output() 🔗
Return Type
String ! Example
dagger -m github.com/vito/bass@64e676d32cc09a3f8306c6baf23421cb72d7ae9e call \
pipeline \
unit \
outputfunc (m *MyModule) Example(ctx context.Context) string {
return dag.
Bass().
Pipeline().
Unit().
Output(ctx)
}@function
async def example() -> str:
return await (
dag.bass()
.pipeline()
.unit()
.output()
)@func()
async example(): Promise<string> {
return dag
.bass()
.pipeline()
.unit()
.output()
}