mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
This is a temporary fix which works around the bug introduced in the query service. That bug requires a databaseID at all times. This commit lets a user configure fbsql with a databaseID.
26 lines
586 B
Go
26 lines
586 B
Go
package cli
|
|
|
|
// Config represents the configuration for the command.
|
|
type Config struct {
|
|
Host string `json:"host"`
|
|
Port string `json:"port"`
|
|
|
|
OrganizationID string `json:"org-id"`
|
|
Database string `json:"db"`
|
|
DatabaseID string `json:"db-id"`
|
|
|
|
// CloudAuth
|
|
CloudAuth CloudAuthConfig `json:"cloud-auth"`
|
|
|
|
// Kafka
|
|
KafkaConfig string `json:"kafka-config"`
|
|
|
|
HistoryPath string `json:"history-path"`
|
|
}
|
|
|
|
type CloudAuthConfig struct {
|
|
ClientID string `json:"client-id"`
|
|
Region string `json:"region"`
|
|
Email string `json:"email"`
|
|
Password string `json:"password"`
|
|
}
|