ttlsh
No long description provided.
Installation
dagger install github.com/felipepimentel/daggerverse/essentials/ttlsh@v0.0.0Entrypoint
Return Type
Ttlsh Example
dagger -m github.com/felipepimentel/daggerverse/essentials/ttlsh@36e606fe6b7d1c9561dc60db82ab31614b838754 call \
func (m *MyModule) Example() *dagger.Ttlsh {
return dag.
Ttlsh()
}@function
def example() -> dagger.Ttlsh:
return (
dag.ttlsh()
)@func()
example(): Ttlsh {
return dag
.ttlsh()
}Types
Ttlsh 🔗
A Dagger module to publish containers to ttl.sh, a throaway public registry
publish() 🔗
Publish a container to ttl.sh
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| ctr | Container ! | - | the container to publish |
| repo | String | - | the repo to publish to, defaults to a random name |
| tag | String | "10m" | the tag to publish to, defaults to 10m |
Example
dagger -m github.com/felipepimentel/daggerverse/essentials/ttlsh@36e606fe6b7d1c9561dc60db82ab31614b838754 call \
publish --ctr IMAGE:TAGfunc (m *MyModule) Example(ctx context.Context, ctr *dagger.Container) string {
return dag.
Ttlsh().
Publish(ctx, ctr)
}@function
async def example(ctr: dagger.Container) -> str:
return await (
dag.ttlsh()
.publish(ctr)
)@func()
async example(ctr: Container): Promise<string> {
return dag
.ttlsh()
.publish(ctr)
}