mycelium-build
No long description provided.
Installation
dagger install github.com/Fristi/project-mycelium-v2@bca573add0b82f907fbf7854a0530d0f97b789b9
Entrypoint
Return Type
MyceliumBuild !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory | - | No description provided |
Example
dagger -m github.com/Fristi/project-mycelium-v2@bca573add0b82f907fbf7854a0530d0f97b789b9 call \
func (m *MyModule) Example() *dagger.MyceliumBuild {
return dag.
MyceliumBuild()
}
@function
def example() -> dagger.MyceliumBuild:
return (
dag.mycelium_build()
)
@func()
example(): MyceliumBuild {
return dag
.myceliumBuild()
}
Types
MyceliumBuild 🔗
publishBackend() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
password | Secret ! | - | No description provided |
tag | String | - | No description provided |
Example
dagger -m github.com/Fristi/project-mycelium-v2@bca573add0b82f907fbf7854a0530d0f97b789b9 call \
publish-backend --password env:MYSECRET
func (m *MyModule) Example(ctx context.Context, password *dagger.Secret) string {
return dag.
MyceliumBuild().
PublishBackend(ctx, password)
}
@function
async def example(password: dagger.Secret) -> str:
return await (
dag.mycelium_build()
.publish_backend(password)
)
@func()
async example(password: Secret): Promise<string> {
return dag
.myceliumBuild()
.publishBackend(password)
}
buildBackend() 🔗
Build the Scala backend
Return Type
String !
Example
dagger -m github.com/Fristi/project-mycelium-v2@bca573add0b82f907fbf7854a0530d0f97b789b9 call \
build-backend
func (m *MyModule) Example(ctx context.Context) string {
return dag.
MyceliumBuild().
BuildBackend(ctx)
}
@function
async def example() -> str:
return await (
dag.mycelium_build()
.build_backend()
)
@func()
async example(): Promise<string> {
return dag
.myceliumBuild()
.buildBackend()
}
createClient() 🔗
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
generator | String ! | - | No description provided |
name | String ! | - | No description provided |
Example
dagger -m github.com/Fristi/project-mycelium-v2@bca573add0b82f907fbf7854a0530d0f97b789b9 call \
create-client --generator string --name string
func (m *MyModule) Example(generator string, name string) *dagger.Directory {
return dag.
MyceliumBuild().
CreateClient(generator, name)
}
@function
def example(generator: str, name: str) -> dagger.Directory:
return (
dag.mycelium_build()
.create_client(generator, name)
)
@func()
example(generator: string, name: string): Directory {
return dag
.myceliumBuild()
.createClient(generator, name)
}
testBackend() 🔗
Test the Scala backend
Return Type
String !
Example
dagger -m github.com/Fristi/project-mycelium-v2@bca573add0b82f907fbf7854a0530d0f97b789b9 call \
test-backend
func (m *MyModule) Example(ctx context.Context) string {
return dag.
MyceliumBuild().
TestBackend(ctx)
}
@function
async def example() -> str:
return await (
dag.mycelium_build()
.test_backend()
)
@func()
async example(): Promise<string> {
return dag
.myceliumBuild()
.testBackend()
}
buildApp() 🔗
Build the Tauri app for a specific platform
Return Type
String !
Example
dagger -m github.com/Fristi/project-mycelium-v2@bca573add0b82f907fbf7854a0530d0f97b789b9 call \
build-app
func (m *MyModule) Example(ctx context.Context) string {
return dag.
MyceliumBuild().
BuildApp(ctx)
}
@function
async def example() -> str:
return await (
dag.mycelium_build()
.build_app()
)
@func()
async example(): Promise<string> {
return dag
.myceliumBuild()
.buildApp()
}
buildCentral() 🔗
Build the central component
Return Type
Container !
Example
dagger -m github.com/Fristi/project-mycelium-v2@bca573add0b82f907fbf7854a0530d0f97b789b9 call \
build-central
func (m *MyModule) Example() *dagger.Container {
return dag.
MyceliumBuild().
BuildCentral()
}
@function
def example() -> dagger.Container:
return (
dag.mycelium_build()
.build_central()
)
@func()
example(): Container {
return dag
.myceliumBuild()
.buildCentral()
}
testCentral() 🔗
Test the central component
Return Type
String !
Example
dagger -m github.com/Fristi/project-mycelium-v2@bca573add0b82f907fbf7854a0530d0f97b789b9 call \
test-central
func (m *MyModule) Example(ctx context.Context) string {
return dag.
MyceliumBuild().
TestCentral(ctx)
}
@function
async def example() -> str:
return await (
dag.mycelium_build()
.test_central()
)
@func()
async example(): Promise<string> {
return dag
.myceliumBuild()
.testCentral()
}
buildPeripheral() 🔗
Build the peripheral component for ESP32
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
arch | String ! | "linux/arm64" | No description provided |
Example
dagger -m github.com/Fristi/project-mycelium-v2@bca573add0b82f907fbf7854a0530d0f97b789b9 call \
build-peripheral --arch string
func (m *MyModule) Example(ctx context.Context, arch string) string {
return dag.
MyceliumBuild().
BuildPeripheral(ctx, arch)
}
@function
async def example(arch: str) -> str:
return await (
dag.mycelium_build()
.build_peripheral(arch)
)
@func()
async example(arch: string): Promise<string> {
return dag
.myceliumBuild()
.buildPeripheral(arch)
}
ci() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
arch | String ! | "linux/amd64" | No description provided |
Example
dagger -m github.com/Fristi/project-mycelium-v2@bca573add0b82f907fbf7854a0530d0f97b789b9 call \
ci --arch string
func (m *MyModule) Example(ctx context.Context, arch string) string {
return dag.
MyceliumBuild().
Ci(ctx, arch)
}
@function
async def example(arch: str) -> str:
return await (
dag.mycelium_build()
.ci(arch)
)
@func()
async example(arch: string): Promise<string> {
return dag
.myceliumBuild()
.ci(arch)
}