dragonfly
This module provides a simple way to use DragonflyDB as a part of yourCI/CD pipeline.
Installation
dagger install github.com/levlaz/daggerverse/dragonfly@v0.2.0
Entrypoint
Return Type
Dragonfly !
Example
dagger -m github.com/levlaz/daggerverse/dragonfly@5e790e0142abe18ac414bcc0fc59a8d7abd5eac6 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 🔗
Dragonfly DB Module
serve() 🔗
Return DragonflyDB as service. example usage: dagger serve up –ports 6379:6379
Return Type
Service !
Example
dagger -m github.com/levlaz/daggerverse/dragonfly@5e790e0142abe18ac414bcc0fc59a8d7abd5eac6 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@5e790e0142abe18ac414bcc0fc59a8d7abd5eac6 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()
}