Dagger
Search

ttlsh

No long description provided.

Installation

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

Entrypoint

Return Type
Ttlsh
Example
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 !-No description provided
repoString -No description provided
tagString "10m"No description provided
Example
dagger -m github.com/shykes/daggerverse/ttlsh@5557ef46a3ddcbce0a10bceda23b22838993d4c1 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)
}