jumppad
No long description provided.
Installation
dagger install github.com/jumppad-labs/daggerverse/jumppad@v0.0.2Entrypoint
Return Type
Jumppad Example
dagger -m github.com/jumppad-labs/daggerverse/jumppad@dfb10f17e1821f7ded833206dc752fdabefe9aad 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 | String ! | - | No description provided |
| architecture | String ! | - | No description provided |
Example
dagger -m github.com/jumppad-labs/daggerverse/jumppad@dfb10f17e1821f7ded833206dc752fdabefe9aad call \
with-version --version string --architecture stringfunc (m *MyModule) Example(version string, architecture string) *dagger.Jumppad {
return dag.
Jumppad().
WithVersion(version, architecture)
}@function
def example(version: str, architecture: str) -> dagger.Jumppad:
return (
dag.jumppad()
.with_version(version, architecture)
)@func()
example(version: string, architecture: string): Jumppad {
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@dfb10f17e1821f7ded833206dc752fdabefe9aad call \
with-file --file file:pathfunc (m *MyModule) Example(file *dagger.File) *dagger.Jumppad {
return dag.
Jumppad().
WithFile(file)
}@function
def example(file: dagger.File) -> dagger.Jumppad:
return (
dag.jumppad()
.with_file(file)
)@func()
example(file: File): Jumppad {
return dag
.jumppad()
.withFile(file)
}withCache() 🔗
WithCache uses a specifica cache volume for docker or podman server
Return Type
Jumppad !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| cache | CacheVolume ! | - | No description provided |
Example
dagger -m github.com/jumppad-labs/daggerverse/jumppad@dfb10f17e1821f7ded833206dc752fdabefe9aad call \
with-cache --cache VOLUME_NAMEfunc (m *MyModule) Example(cache *dagger.CacheVolume) *dagger.Jumppad {
return dag.
Jumppad().
WithCache(cache)
}@function
def example(cache: dagger.CacheVolume) -> dagger.Jumppad:
return (
dag.jumppad()
.with_cache(cache)
)@func()
example(cache: CacheVolume): Jumppad {
return dag
.jumppad()
.withCache(cache)
}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
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory ! | - | No description provided |
| architecture | String | - | No description provided |
| runtime | String | - | No description provided |
Example
dagger -m github.com/jumppad-labs/daggerverse/jumppad@dfb10f17e1821f7ded833206dc752fdabefe9aad call \
test-blueprint --src DIR_PATHfunc (m *MyModule) Example(ctx context.Context, src *dagger.Directory) {
return dag.
Jumppad().
TestBlueprint(ctx, src)
}@function
async def example(src: dagger.Directory) -> None:
return await (
dag.jumppad()
.test_blueprint(src)
)@func()
async example(src: Directory): Promise<void> {
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
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory ! | - | No description provided |
| version | String ! | - | No description provided |
| architecture | String | - | No description provided |
| runtime | String | - | No description provided |
Example
dagger -m github.com/jumppad-labs/daggerverse/jumppad@dfb10f17e1821f7ded833206dc752fdabefe9aad call \
test-blueprint-with-version --src DIR_PATH --version stringfunc (m *MyModule) Example(ctx context.Context, src *dagger.Directory, version string) {
return dag.
Jumppad().
TestBlueprintWithVersion(ctx, src, version)
}@function
async def example(src: dagger.Directory, version: str) -> None:
return await (
dag.jumppad()
.test_blueprint_with_version(src, version)
)@func()
async example(src: Directory, version: string): Promise<void> {
return dag
.jumppad()
.testBlueprintWithVersion(src, version)
}testBlueprintWithBinary() 🔗
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory ! | - | No description provided |
| binary | File ! | - | No description provided |
| architecture | String | - | No description provided |
| runtime | String | - | No description provided |
Example
dagger -m github.com/jumppad-labs/daggerverse/jumppad@dfb10f17e1821f7ded833206dc752fdabefe9aad call \
test-blueprint-with-binary --src DIR_PATH --binary file:pathfunc (m *MyModule) Example(ctx context.Context, src *dagger.Directory, binary *dagger.File) {
return dag.
Jumppad().
TestBlueprintWithBinary(ctx, src, binary)
}@function
async def example(src: dagger.Directory, binary: dagger.File) -> None:
return await (
dag.jumppad()
.test_blueprint_with_binary(src, binary)
)@func()
async example(src: Directory, binary: File): Promise<void> {
return dag
.jumppad()
.testBlueprintWithBinary(src, binary)
}