jumppad
No long description provided.
Installation
dagger install github.com/jumppad-labs/daggerverse/jumppad@v0.0.1Entrypoint
Return Type
Jumppad Example
dagger -m github.com/jumppad-labs/daggerverse/jumppad@d30698214457371a45a181638024b0234cf51fe0 call \
func (m *MyModule) Example() *dagger.Jumppad {
return dag.
Jumppad()
}@function
def example() -> dagger.Jumppad:
return (
dag.jumppad()
)@func()
example(): Jumppad {
return dag
.jumppad()
}Types
Jumppad 🔗
withVersion() 🔗
WithVersion installs a specific version of jumppad from GitHub releases
Return Type
Jumppad !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | StringKind ! | - | No description provided |
| architecture | StringKind ! | - | No description provided |
Example
dagger -m github.com/jumppad-labs/daggerverse/jumppad@d30698214457371a45a181638024b0234cf51fe0 call \
with-versionfunc (m *MyModule) Example(version , architecture ) {
return dag.
Jumppad().
WithVersion(version, architecture)
}@function
def example(version: , architecture: ) -> :
return (
dag.jumppad()
.with_version(version, architecture)
)@func()
example(version: , architecture: ): {
return dag
.jumppad()
.withVersion(version, architecture)
}withFile() 🔗
WithFile installs a specific version of jumppad from the provided file
Return Type
Jumppad !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| file | File ! | - | No description provided |
Example
dagger -m github.com/jumppad-labs/daggerverse/jumppad@d30698214457371a45a181638024b0234cf51fe0 call \
with-filefunc (m *MyModule) Example(file ) {
return dag.
Jumppad().
WithFile(file)
}@function
def example(file: ) -> :
return (
dag.jumppad()
.with_file(file)
)@func()
example(file: ): {
return dag
.jumppad()
.withFile(file)
}testBlueprint() 🔗
TestBlueprint tests a blueprint using either docker or podman, this method is designed to be used with the Dagger API not the CLI
Return Type
VoidKind !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory ! | - | No description provided |
| architecture | StringKind | - | No description provided |
| runtime | StringKind | - | No description provided |
Example
dagger -m github.com/jumppad-labs/daggerverse/jumppad@d30698214457371a45a181638024b0234cf51fe0 call \
test-blueprintfunc (m *MyModule) Example(src ) {
return dag.
Jumppad().
TestBlueprint(src)
}@function
def example(src: ) -> :
return (
dag.jumppad()
.test_blueprint(src)
)@func()
example(src: ): {
return dag
.jumppad()
.testBlueprint(src)
}testBlueprintWithVersion() 🔗
TestBlueprintWithVersion tests a blueprint with a specific version of jumppad installed from GitHub releases
example usage: “dagger call test –src ./examples/multiple_k3s_clusters –version v0.5.59”
Return Type
VoidKind !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory ! | - | No description provided |
| version | StringKind ! | - | No description provided |
| architecture | StringKind | - | No description provided |
| runtime | StringKind | - | No description provided |
Example
dagger -m github.com/jumppad-labs/daggerverse/jumppad@d30698214457371a45a181638024b0234cf51fe0 call \
test-blueprint-with-versionfunc (m *MyModule) Example(src , version ) {
return dag.
Jumppad().
TestBlueprintWithVersion(src, version)
}@function
def example(src: , version: ) -> :
return (
dag.jumppad()
.test_blueprint_with_version(src, version)
)@func()
example(src: , version: ): {
return dag
.jumppad()
.testBlueprintWithVersion(src, version)
}testBlueprintWithBinary() 🔗
Return Type
VoidKind !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory ! | - | No description provided |
| binary | File ! | - | No description provided |
| architecture | StringKind | - | No description provided |
| runtime | StringKind | - | No description provided |
Example
dagger -m github.com/jumppad-labs/daggerverse/jumppad@d30698214457371a45a181638024b0234cf51fe0 call \
test-blueprint-with-binaryfunc (m *MyModule) Example(src , binary ) {
return dag.
Jumppad().
TestBlueprintWithBinary(src, binary)
}@function
def example(src: , binary: ) -> :
return (
dag.jumppad()
.test_blueprint_with_binary(src, binary)
)@func()
example(src: , binary: ): {
return dag
.jumppad()
.testBlueprintWithBinary(src, binary)
}