dagger-publisher
No long description provided.
Installation
dagger install github.com/quartz-technology/daggerverse/dagger-publisher@v0.0.2
Entrypoint
Return Type
DaggerPublisher !
Arguments
Name | Type | Description |
---|---|---|
version | String | No description provided |
Example
dagger -m github.com/quartz-technology/daggerverse/dagger-publisher@00f5931a9537bfaca73669e71fbde640aef22a0e call \
func (m *myModule) example() *DaggerPublisher {
return dag.
DaggerPublisher()
}
@function
def example() -> dag.DaggerPublisher:
return (
dag.dagger_publisher()
)
@func()
example(): DaggerPublisher {
return dag
.daggerPublisher()
}
Types
DaggerPublisher 🔗
container() 🔗
Return Type
Container !
Example
dagger -m github.com/quartz-technology/daggerverse/dagger-publisher@00f5931a9537bfaca73669e71fbde640aef22a0e call \
container
func (m *myModule) example() *Container {
return dag.
DaggerPublisher().
Container()
}
@function
def example() -> dagger.Container:
return (
dag.dagger_publisher()
.container()
)
@func()
example(): Container {
return dag
.daggerPublisher()
.container()
}
publish() 🔗
Publish executes the publish command to upload the module to the Daggerverse.
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
repository | Directory ! | - | The repository to use the Dagger CLI on |
path | String | - | The path to the module to publish |
Example
dagger -m github.com/quartz-technology/daggerverse/dagger-publisher@00f5931a9537bfaca73669e71fbde640aef22a0e call \
publish --repository DIR_PATH
func (m *myModule) example(ctx context.Context, repository *Directory) string {
return dag.
DaggerPublisher().
Publish(ctx, repository)
}
@function
async def example(repository: dagger.Directory) -> str:
return await (
dag.dagger_publisher()
.publish(repository)
)
@func()
async example(repository: Directory): Promise<string> {
return dag
.daggerPublisher()
.publish(repository)
}