daggerverse-cockpit
No long description provided.
Installation
dagger install github.com/quartz-technology/daggerverse/daggerverse-cockpit@v0.0.1
Entrypoint
Return Type
DaggerverseCockpit
Example
dagger -m github.com/quartz-technology/daggerverse/daggerverse-cockpit@3b177a82780bf2dfe0f148e90608007cb1312e3c call \
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
Name | Type | Default Value | Description |
---|---|---|---|
repository | Directory ! | - | 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. |
dryRun | Boolean | - | 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)
}