Dagger
Search

bass

No long description provided.

Installation

dagger install github.com/vito/bass@0c53834c898111ec2c07e7e4523055a2a2ffbafa

Entrypoint

Return Type
UnitTested !
Arguments
NameTypeDefault ValueDescription
outputString !-No description provided
Example
Function UnitTested.Constructor is not accessible from the bass module
Function UnitTested.Constructor is not accessible from the bass module
Function UnitTested.Constructor is not accessible from the bass module
Function UnitTested.Constructor is not accessible from the bass module

Entrypoint

Return Type
Pipeline !
Arguments
NameTypeDefault ValueDescription
bassBass !-No description provided
Example
Function Pipeline.Constructor is not accessible from the bass module
Function Pipeline.Constructor is not accessible from the bass module
Function Pipeline.Constructor is not accessible from the bass module
Function Pipeline.Constructor is not accessible from the bass module

Entrypoint

Return Type
Dist !
Arguments
NameTypeDefault ValueDescription
linuxAmd64File !-No description provided
linuxArm64File !-No description provided
darwinArm64File !-No description provided
windowsAmd64File !-No description provided
Example
Function Dist.Constructor is not accessible from the bass module
Function Dist.Constructor is not accessible from the bass module
Function Dist.Constructor is not accessible from the bass module
Function Dist.Constructor is not accessible from the bass module

Entrypoint

Return Type
Bass !
Arguments
NameTypeDefault ValueDescription
codeDirectory -No description provided
Example
dagger -m github.com/vito/bass@0c53834c898111ec2c07e7e4523055a2a2ffbafa 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
IntegrationTested !
Arguments
NameTypeDefault ValueDescription
outputString !-No description provided
Example
Function IntegrationTested.Constructor is not accessible from the bass module
Function IntegrationTested.Constructor is not accessible from the bass module
Function IntegrationTested.Constructor is not accessible from the bass module
Function IntegrationTested.Constructor is not accessible from the bass module

Types

UnitTested 🔗

output() 🔗

Return Type
String !
Example
dagger -m github.com/vito/bass@0c53834c898111ec2c07e7e4523055a2a2ffbafa call \
 pipeline \
 unit \
 output
func (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()
}

Pipeline 🔗

integration() 🔗

Run integration tests.

Return Type
IntegrationTested !
Example
dagger -m github.com/vito/bass@0c53834c898111ec2c07e7e4523055a2a2ffbafa call \
 pipeline \
 integration
func (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
NameTypeDefault ValueDescription
distDist !-No description provided
unitUnitTested !-No description provided
integIntegrationTested !-No description provided
githubTokenSecret !-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@0c53834c898111ec2c07e7e4523055a2a2ffbafa call \
 pipeline \
 build
func (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@0c53834c898111ec2c07e7e4523055a2a2ffbafa call \
 pipeline \
 unit
func (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()
}

Dist 🔗

linuxAmd64() 🔗

Return Type
File !
Example
dagger -m github.com/vito/bass@0c53834c898111ec2c07e7e4523055a2a2ffbafa call \
 pipeline \
 build \
 linux-amd-6-4
func (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@0c53834c898111ec2c07e7e4523055a2a2ffbafa call \
 pipeline \
 build \
 linux-arm-6-4
func (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@0c53834c898111ec2c07e7e4523055a2a2ffbafa call \
 pipeline \
 build \
 darwin-arm-6-4
func (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@0c53834c898111ec2c07e7e4523055a2a2ffbafa call \
 pipeline \
 build \
 windows-amd-6-4
func (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()
}

Bass 🔗

The Bass scripting language (https://bass-lang.org).

code() 🔗

Return Type
Directory !
Example
dagger -m github.com/vito/bass@0c53834c898111ec2c07e7e4523055a2a2ffbafa call \
 code
func (m *MyModule) Example() *dagger.Directory  {
	return dag.
			Bass().
			Code()
}
@function
def example() -> dagger.Directory:
	return (
		dag.bass()
		.code()
	)
@func()
example(): Directory {
	return dag
		.bass()
		.code()
}

repl() 🔗

Start a REPL.

Return Type
Container !
Example
dagger -m github.com/vito/bass@0c53834c898111ec2c07e7e4523055a2a2ffbafa call \
 repl
func (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()
}

testBuildkit() 🔗

Test Buildkit runtime.

Return Type
Void !
Example
dagger -m github.com/vito/bass@0c53834c898111ec2c07e7e4523055a2a2ffbafa call \
 test-buildkit
func (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()
}

runUnit() 🔗

Run unit tests (returns stdout).

Return Type
String !
Example
dagger -m github.com/vito/bass@0c53834c898111ec2c07e7e4523055a2a2ffbafa 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()
}

devContainer() 🔗

Start a dev container.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
homeInterface -No description provided
Example
dagger -m github.com/vito/bass@0c53834c898111ec2c07e7e4523055a2a2ffbafa call \
 dev-container
func (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()
}

dev() 🔗

Start a dev shell.

Return Type
Container !
Example
dagger -m github.com/vito/bass@0c53834c898111ec2c07e7e4523055a2a2ffbafa call \
 dev
func (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()
}

unit() 🔗

Run unit tests.

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
packages[String ! ] -No description provided
goTestFlags[String ! ] -No description provided
Example
dagger -m github.com/vito/bass@0c53834c898111ec2c07e7e4523055a2a2ffbafa call \
 unit
func (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()
}

integration() 🔗

Run integration tests.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
runtimeString -No description provided
goTestFlags[String ! ] -No description provided
Example
dagger -m github.com/vito/bass@0c53834c898111ec2c07e7e4523055a2a2ffbafa call \
 integration
func (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()
}

pipeline() 🔗

Get the build pipeline.

Return Type
Pipeline !
Example
dagger -m github.com/vito/bass@0c53834c898111ec2c07e7e4523055a2a2ffbafa call \
 pipeline
func (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
NameTypeDefault ValueDescription
versionString -No description provided
goosString -No description provided
goarchString -No description provided
Example
dagger -m github.com/vito/bass@0c53834c898111ec2c07e7e4523055a2a2ffbafa call \
 build
func (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()
}

IntegrationTested 🔗

output() 🔗

Return Type
String !
Example
dagger -m github.com/vito/bass@0c53834c898111ec2c07e7e4523055a2a2ffbafa call \
 pipeline \
 integration \
 output
func (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()
}