Dagger
Search

dagger

No long description provided.

Installation

dagger install github.com/quartz-technology/daggerverse/dagger@891e322be8dd277ffe118372873edbb5b442bc99

Entrypoint

Return Type
Dagger
Example
func (m *myModule) example() *Dagger  {
	return dag.
			Dagger()
}
@function
def example() -> dag.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
NameTypeDefault ValueDescription
containerContainer !-No description provided
versionStringKind !-No description provided
Example
Function Dagger.install is not accessible from the dagger module
func (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
NameTypeDefault ValueDescription
versionStringKind !-No description provided
Example
Function Dagger.cli is not accessible from the dagger module
func (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 module
Function DaggerCli.Ctr is not accessible from the dagger module
Function DaggerCli.Ctr is not accessible from the dagger module
Function DaggerCli.Ctr is not accessible from the dagger module

container() 🔗

Container returns the CLI’s Container.

Return Type
Container !
Example
Function DaggerCli.container is not accessible from the dagger module
Function DaggerCli.container is not accessible from the dagger module
Function DaggerCli.container is not accessible from the dagger module
Function DaggerCli.container is not accessible from the dagger module

publish() 🔗

Publish execute the publish command in the current workdir.

Use this command to publish a module to dagger-verse

Return Type
StringKind !
Arguments
NameTypeDefault ValueDescription
pathStringKind -No description provided
Example
Function DaggerCli.publish is not accessible from the dagger module
Function DaggerCli.publish is not accessible from the dagger module
Function DaggerCli.publish is not accessible from the dagger module
Function DaggerCli.publish is not accessible from the dagger module

call() 🔗

Call returns the result of the call command.

Return Type
StringKind !
Arguments
NameTypeDefault ValueDescription
command[StringKind ! ] !-No description provided
args[StringKind ! ] !-No description provided
Example
Function DaggerCli.call is not accessible from the dagger module
Function DaggerCli.call is not accessible from the dagger module
Function DaggerCli.call is not accessible from the dagger module
Function DaggerCli.call is not accessible from the dagger module

run() 🔗

Run returns the result of the run command.

Return Type
StringKind !
Arguments
NameTypeDefault ValueDescription
args[StringKind ! ] !-No description provided
Example
Function DaggerCli.run is not accessible from the dagger module
Function DaggerCli.run is not accessible from the dagger module
Function DaggerCli.run is not accessible from the dagger module
Function DaggerCli.run is not accessible from the dagger module

query() 🔗

Query returns the result of a graphQL query processed by dagger.

Return Type
StringKind !
Arguments
NameTypeDefault ValueDescription
queryStringKind !-No description provided
Example
Function DaggerCli.query is not accessible from the dagger module
Function DaggerCli.query is not accessible from the dagger module
Function DaggerCli.query is not accessible from the dagger module
Function DaggerCli.query is not accessible from the dagger module