Dagger
Search

ttlsh

No long description provided.

Installation

dagger install github.com/shykes/daggerverse/ttlsh@v0.3.0

Entrypoint

Return Type
Ttlsh
Example
dagger -m github.com/shykes/daggerverse/ttlsh@135020d00909200d4ff3be9a338e7a7e7639a133 call \
func (m *myModule) example() *Ttlsh  {
	return dag.
			Ttlsh()
}
@function
def example() -> dag.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
NameTypeDefault ValueDescription
ctrContainer !-the container to publish
repoString -the repo to publish to, defaults to a random name
tagString "10m"the tag to publish to, defaults to 10m
Example
dagger -m github.com/shykes/daggerverse/ttlsh@135020d00909200d4ff3be9a338e7a7e7639a133 call \
 publish --ctr IMAGE:TAG
func (m *myModule) example(ctx context.Context, ctr *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)
}