Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBInfo ¶
type DBInfo struct {
Status string `csv:"Status"`
DatabaseId string `csv:"Database ID"`
DatabaseName string `csv:"Database name"`
SubscriptionId string `csv:"Subscription ID"`
SubscriptionName string `csv:"Subscription name"`
PublicEndpoint string `csv:"Public endpoint"`
PrivateEndpoint string `csv:"Private endpoint"`
MemoryLimit float32 `csv:"Memory limit (MB)"`
MemoryUsed float32 `csv:"Memory used (MB)"`
Throughput string `csv:"Throughput (Ops/sec)"` // Contains commas in values
Modules string `csv:"Modules"`
Options string `csv:"Options"`
ShardType string `csv:"Shard type"`
ShardCount int `csv:"Shard count"`
ShardPrice float32 `csv:"Shard price ($/hr)"`
DataPriceHour float32 `csv:"Database price ($/hr)"`
}
DBInfo represents a single line from the database export from Redis Cloud, representing information about a single database.
func (*DBInfo) GetModules ¶
func (*DBInfo) GetOptions ¶
func (*DBInfo) Persistence ¶
func (*DBInfo) Replication ¶
type LogEvent ¶
type LogEvent struct {
Id int64 `csv:"id"`
User string `csv:"user name"`
Email string `csv:"email"`
Activity string `csv:"activity"`
TimeStamp time.Time `csv:"date"`
Database string `csv:"database name"`
Change string `csv:"description"`
}
LogEvent represents a single line from the system log downloaded from redis Cloud
Click to show internal directories.
Click to hide internal directories.