MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / DBRedisCli

Method DBRedisCli

tools/mage/dev.go:270–276  ·  view source on GitHub ↗

DBRedisCli starts a Redis-CLI shell.

()

Source from the content-addressed store, hash-verified

268
269// DBRedisCli starts a Redis-CLI shell.
270func (Dev) DBRedisCli() error {
271 mg.Deps(Dev.DBStart)
272 if mg.Verbose() {
273 fmt.Println("Starting Redis-CLI shell")
274 }
275 return execDockerCompose("exec", "redis", "redis-cli")
276}
277
278// InitDeviceRepo initializes the device repository.
279func (Dev) InitDeviceRepo() error {

Callers

nothing calls this directly

Calls 2

execDockerComposeFunction · 0.85
DepsMethod · 0.45

Tested by

no test coverage detected