dagger
No long description provided.
Installation
dagger install github.com/quartz-technology/daggerverse/dagger@891e322be8dd277ffe118372873edbb5b442bc99Entrypoint
Return Type
Dagger Example
dagger -m github.com/quartz-technology/daggerverse/dagger@891e322be8dd277ffe118372873edbb5b442bc99 call \
func (m *MyModule) Example() *dagger.Dagger {
return dag.
Dagger()
}@function
def example() -> dagger.Dagger:
return (
dag.dagger()
)@func()
example(): Dagger {
return dag
.dagger()
}Types
Dagger 🔗
install() 🔗
Install returns the same Container with the Dagger CLI installed in it.
This container must have curl installed to fetch the CLI.
This can be used to provide a container with source code already installed in it.
Return Type
Cli !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| container | Container ! | - | No description provided |
| version | StringKind ! | - | No description provided |
Example
dagger -m github.com/quartz-technology/daggerverse/dagger@891e322be8dd277ffe118372873edbb5b442bc99 call \
installfunc (m *MyModule) Example(container , version ) {
return dag.
Dagger().
Install(container, version)
}@function
def example(container: , version: ) -> :
return (
dag.dagger()
.install(container, version)
)@func()
example(container: , version: ): {
return dag
.dagger()
.install(container, version)
}cli() 🔗
CLI returns a ready to use Dagger container with CLI installed.
Return Type
Cli !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | StringKind ! | - | No description provided |
Example
dagger -m github.com/quartz-technology/daggerverse/dagger@891e322be8dd277ffe118372873edbb5b442bc99 call \
clifunc (m *MyModule) Example(version ) {
return dag.
Dagger().
Cli(version)
}@function
def example(version: ) -> :
return (
dag.dagger()
.cli(version)
)@func()
example(version: ): {
return dag
.dagger()
.cli(version)
}Cli 🔗
ctr() 🔗
Return Type
Container ! Example
Function DaggerCli.Ctr is not accessible from the dagger moduleFunction DaggerCli.Ctr is not accessible from the dagger moduleFunction DaggerCli.Ctr is not accessible from the dagger moduleFunction DaggerCli.Ctr is not accessible from the dagger modulecontainer() 🔗
Container returns the CLI’s Container.
Return Type
Container ! Example
Function DaggerCli.container is not accessible from the dagger moduleFunction DaggerCli.container is not accessible from the dagger moduleFunction DaggerCli.container is not accessible from the dagger moduleFunction DaggerCli.container is not accessible from the dagger modulepublish() 🔗
Publish execute the publish command in the current workdir.
Use this command to publish a module to dagger-verse
Return Type
StringKind !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| path | StringKind | - | No description provided |
Example
Function DaggerCli.publish is not accessible from the dagger moduleFunction DaggerCli.publish is not accessible from the dagger moduleFunction DaggerCli.publish is not accessible from the dagger moduleFunction DaggerCli.publish is not accessible from the dagger modulecall() 🔗
Call returns the result of the call command.
Return Type
StringKind !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| command | [StringKind ! ] ! | - | No description provided |
| args | [StringKind ! ] ! | - | No description provided |
Example
Function DaggerCli.call is not accessible from the dagger moduleFunction DaggerCli.call is not accessible from the dagger moduleFunction DaggerCli.call is not accessible from the dagger moduleFunction DaggerCli.call is not accessible from the dagger modulerun() 🔗
Run returns the result of the run command.
Return Type
StringKind !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| args | [StringKind ! ] ! | - | No description provided |
Example
Function DaggerCli.run is not accessible from the dagger moduleFunction DaggerCli.run is not accessible from the dagger moduleFunction DaggerCli.run is not accessible from the dagger moduleFunction DaggerCli.run is not accessible from the dagger modulequery() 🔗
Query returns the result of a graphQL query processed by dagger.
Return Type
StringKind !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| query | StringKind ! | - | No description provided |
Example
Function DaggerCli.query is not accessible from the dagger moduleFunction DaggerCli.query is not accessible from the dagger moduleFunction DaggerCli.query is not accessible from the dagger moduleFunction DaggerCli.query is not accessible from the dagger module