import "github.com/goodrain/rainbond/eventlog/conf"
type ClusterConf struct { PubSub PubSubConf Discover DiscoverConf }
type Conf struct { Entry EntryConf EventStore EventStoreConf Log LogConf WebSocket WebSocketConf WebHook WebHookConf ClusterMode bool Cluster ClusterConf Kubernetes KubernetsConf }
type DiscoverConf struct { Type string EtcdAddr []string EtcdUser string EtcdPass string ClusterMode bool InstanceIP string HomePath string DockerLogPort int WebPort int NodeIDFile string }
type EntryConf struct { EventLogServer EventLogServerConf DockerLogServer DockerLogServerConf MonitorMessageServer MonitorMessageServerConf NewMonitorMessageServerConf NewMonitorMessageServerConf }
type EventStoreConf struct { EventLogPersistenceLength int64 MessageType string GarbageMessageSaveType string GarbageMessageFile string PeerEventMaxLogNumber int64 //每个event最多日志条数。 PeerEventMaxCacheLogNumber int PeerDockerMaxCacheLogNumber int64 ClusterMode bool HandleMessageCoreNumber int HandleSubMessageCoreNumber int HandleDockerLogCoreNumber int DB DBConf }
type MonitorMessageServerConf struct { SubAddress []string SubSubscribe string CacheMessageSize int }
type WebSocketConf struct { BindIP string BindPort int SSLBindPort int EnableCompression bool ReadBufferSize int WriteBufferSize int MaxRestartCount int TimeOut string SSL bool CertFile string KeyFile string PrometheusMetricPath string }
Package conf is imported by 9 packages. Updated 2018-04-24. Refresh now. Tools for package owners.