Dagger
Search

dragonfly

This module provides a simpele way to use DragonflyDB as a part of your CI/CD pipeline.

Installation

dagger install github.com/levlaz/daggerverse/dragonfly@v0.1.1

Entrypoint

Return Type
Dragonfly !
Example
dagger -m github.com/levlaz/daggerverse/dragonfly@36bd4f103d1ce334ca95f567a5f1b348f44c12d4 call \
func (m *myModule) example() *Dragonfly  {
	return dag.
			Dragonfly()
}
@function
def example() -> dag.Dragonfly:
	return (
		dag.dragonfly()
	)
@func()
example(): Dragonfly {
	return dag
		.dragonfly()
}

Types

Dragonfly 🔗

serve() 🔗

Return DragonflyDB as service.

example usage: dagger serve up –ports 6379:6379

Return Type
Service !
Example
dagger -m github.com/levlaz/daggerverse/dragonfly@36bd4f103d1ce334ca95f567a5f1b348f44c12d4 call \
 serve
func (m *myModule) example() *Service  {
	return dag.
			Dragonfly().
			Serve()
}
@function
def example() -> dagger.Service:
	return (
		dag.dragonfly()
		.serve()
	)
@func()
example(): Service {
	return dag
		.dragonfly()
		.serve()
}

debug() 🔗

Return DragonflyDB container.

example usage: dagger call debug terminal

Return Type
Container !
Example
dagger -m github.com/levlaz/daggerverse/dragonfly@36bd4f103d1ce334ca95f567a5f1b348f44c12d4 call \
 debug
func (m *myModule) example() *Container  {
	return dag.
			Dragonfly().
			Debug()
}
@function
def example() -> dagger.Container:
	return (
		dag.dragonfly()
		.debug()
	)
@func()
example(): Container {
	return dag
		.dragonfly()
		.debug()
}