Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertConfig ¶
CertConfig is configuration of Cert
type StorageOptions ¶
type StorageOptions struct { conf.FileConfig conf.ServiceConfig conf.MetricConfig conf.ZkConfig conf.ServerOnlyCertConfig conf.LicenseServerConfig conf.LogConfig conf.ProcessConfig ServerCert *CertConfig Etcd registry.CMDOptions `json:"etcdRegistry"` DBConfig string `json:"database_config_file" value:"storage-database.conf" usage:"Config file for database."` QueueConfig string `json:"queue_config_file" value:"queue.conf" usage:"Config file for database."` EventMaxTime int64 `json:"event_max_day" value:"15" usage:"Max day for holding events data."` EventMaxCap int64 `json:"event_max_cap" value:"10000" usage:"Max num for holding events data of each cluster."` AlarmMaxTime int64 `json:"alarm_max_day" value:"15" usage:"Max day for holding alarms data."` AlarmMaxCap int64 `json:"alarm_max_cap" value:"10000" usage:"Max num for holding alarms data of each cluster."` QueryMaxNum int64 `json:"query_max_num" value:"100" usage:"Max num query to same url one time."` WatchTimeSep int64 `json:"watch_time_sep" value:"10" usage:"Request watch time sep."` PrintBody bool `json:"print_body" value:"false" usage:"Print body every request."` PrintManager bool `json:"print_manager" value:"false" usage:"Print manager."` DebugMode bool `json:"debug_mode" value:"false" usage:"Debug mode, use pprof."` }
StorageOptions is options in flags
func NewStorageOptions ¶
func NewStorageOptions() *StorageOptions
NewStorageOptions create StorageOptions object
Click to show internal directories.
Click to hide internal directories.