dragonfly
This module provides a simple way to use DragonflyDB as a part of your CI/CD pipeline.Installation
dagger install github.com/levlaz/daggerverse/dragonfly@v0.1.4
Entrypoint
Return Type
Dragonfly !
Example
dagger -m github.com/levlaz/daggerverse/dragonfly@4f3fc82e81fdb1a2a01ff867bd11b5d8b9cac0ce 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@4f3fc82e81fdb1a2a01ff867bd11b5d8b9cac0ce 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@4f3fc82e81fdb1a2a01ff867bd11b5d8b9cac0ce 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()
}