Dagger
Search

bass

No long description provided.

Installation

dagger install github.com/vito/bass@d32b936ceed8a32b5ef455ec70263d293ff6f1bf

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
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
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
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

Entrypoint

Return Type
Bass !
Arguments
NameTypeDefault ValueDescription
srcDirectory -No description provided
Example
dagger -m github.com/vito/bass@d32b936ceed8a32b5ef455ec70263d293ff6f1bf call \
func (m *MyModule) Example() *dagger.Bass  {
	return dag.
			Bass()
}
@function
def example() -> dagger.Bass:
	return (
		dag.bass()
	)
@func()
example(): Bass {
	return dag
		.bass()
}

Types

UnitTested 🔗

output() 🔗

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

Dist 🔗

linuxAmd64() 🔗

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

Pipeline 🔗

build() 🔗

Build for all platforms.

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

integration() 🔗

Run integration tests.

Return Type
IntegrationTested !
Example
dagger -m github.com/vito/bass@d32b936ceed8a32b5ef455ec70263d293ff6f1bf 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)
}

IntegrationTested 🔗

output() 🔗

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

Bass 🔗

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

src() 🔗

Return Type
Directory !
Example
dagger -m github.com/vito/bass@d32b936ceed8a32b5ef455ec70263d293ff6f1bf call \
 src
func (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@d32b936ceed8a32b5ef455ec70263d293ff6f1bf 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()
}

dev() 🔗

Start a dev shell.

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

pipeline() 🔗

Get the build pipeline.

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

repl() 🔗

Start a REPL.

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

testDagger() 🔗

Test Dagger runtime.

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

testBuildkit() 🔗

Test Buildkit runtime.

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

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@d32b936ceed8a32b5ef455ec70263d293ff6f1bf 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()
}

devContainer() 🔗

Start a dev container.

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