rainbond: github.com/goodrain/rainbond/eventlog/conf Index | Files

package conf

import "github.com/goodrain/rainbond/eventlog/conf"

Index

Package Files

conf.go

type ClusterConf Uses

type ClusterConf struct {
    PubSub   PubSubConf
    Discover DiscoverConf
}

type Conf Uses

type Conf struct {
    Entry       EntryConf
    EventStore  EventStoreConf
    Log         LogConf
    WebSocket   WebSocketConf
    WebHook     WebHookConf
    ClusterMode bool
    Cluster     ClusterConf
    Kubernetes  KubernetsConf
}

type DBConf Uses

type DBConf struct {
    Type        string
    URL         string
    PoolSize    int
    PoolMaxSize int
    HomePath    string
}

type DiscoverConf Uses

type DiscoverConf struct {
    Type          string
    EtcdAddr      []string
    EtcdUser      string
    EtcdPass      string
    ClusterMode   bool
    InstanceIP    string
    HomePath      string
    DockerLogPort int
    WebPort       int
    NodeIDFile    string
}

type DockerLogServerConf Uses

type DockerLogServerConf struct {
    BindIP           string
    BindPort         int
    CacheMessageSize int
    Mode             string
}

type EntryConf Uses

type EntryConf struct {
    EventLogServer              EventLogServerConf
    DockerLogServer             DockerLogServerConf
    MonitorMessageServer        MonitorMessageServerConf
    NewMonitorMessageServerConf NewMonitorMessageServerConf
}

type EventLogServerConf Uses

type EventLogServerConf struct {
    BindIP           string
    BindPort         int
    CacheMessageSize int
}

type EventStoreConf Uses

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 KubernetsConf Uses

type KubernetsConf struct {
    Master string
}

type LogConf Uses

type LogConf struct {
    LogLevel   string
    LogOutType string
    LogPath    string
}

type MonitorMessageServerConf Uses

type MonitorMessageServerConf struct {
    SubAddress       []string
    SubSubscribe     string
    CacheMessageSize int
}

type NewMonitorMessageServerConf Uses

type NewMonitorMessageServerConf struct {
    ListenerHost string
    ListenerPort int
}

type PubSubConf Uses

type PubSubConf struct {
    PubBindIP   string
    PubBindPort int
    ClusterMode bool
}

type WebHookConf Uses

type WebHookConf struct {
    ConsoleURL   string
    ConsoleToken string
}

type WebSocketConf Uses

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 10 packages. Updated 2018-04-24. Refresh now. Tools for package owners.