Dagger
Search

daggerverse-cockpit

No long description provided.

Installation

dagger install github.com/quartz-technology/daggerverse/daggerverse-cockpit@v0.0.1

Entrypoint

Return Type
DaggerverseCockpit
Example
func (m *myModule) example() *DaggerverseCockpit  {
	return dag.
			DaggerverseCockpit()
}
@function
def example() -> dag.DaggerverseCockpit:
	return (
		dag.daggerverse_cockpit()
	)
@func()
example(): DaggerverseCockpit {
	return dag
		.daggerverseCockpit()
}

Types

DaggerverseCockpit 🔗

publish() 🔗

Publish loop through all your directory that contains a dagger.json and publish them to the daggerverse.

Return Type
[String ! ] !
Arguments
NameTypeDefault ValueDescription
repositoryDirectory !-The repository that contains your dagger modules
exclude[String ! ] -Excluse some directories from publishing It's useful if you use this module from Dagger CLI.
dryRunBoolean -Only returns the path of the modules that shall be published
Example
dagger -m github.com/quartz-technology/daggerverse/daggerverse-cockpit@3b177a82780bf2dfe0f148e90608007cb1312e3c call \
 publish --repository DIR_PATH
func (m *myModule) example(ctx context.Context, repository *Directory) []string  {
	return dag.
			DaggerverseCockpit().
			Publish(ctx, repository)
}
@function
async def example(repository: dagger.Directory) -> List[str]:
	return await (
		dag.daggerverse_cockpit()
		.publish(repository)
	)
@func()
async example(repository: Directory): Promise<string[]> {
	return dag
		.daggerverseCockpit()
		.publish(repository)
}