mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-17 04:30:03 +02:00
cmd/tools/flags.go: adding Redis User and Password flags.
This commit is contained in:
parent
31c7ba6a4b
commit
9f61bbd316
1 changed files with 10 additions and 0 deletions
|
|
@ -15,6 +15,16 @@ var redisUrlFlag = &cli.StringFlag{
|
|||
Usage: "host:port to the redis server",
|
||||
}
|
||||
|
||||
var redisUserFlag = &cli.StringFlag{
|
||||
Name: "redis-user",
|
||||
Usage: "User to use when authenticating to the server",
|
||||
}
|
||||
|
||||
var redisPasswordFlag = &cli.StringFlag{
|
||||
Name: "redis-pw",
|
||||
Usage: "Password to use when authenticating to the server",
|
||||
}
|
||||
|
||||
var redisDbFlag = &cli.IntFlag{
|
||||
Name: "redis-db",
|
||||
Value: 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue