Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { K8SConfPath string EtcdEndpoint []string EtcdTimeout int EtcdCaFile string EtcdCertFile string EtcdKeyFile string ListenPorts ListenPorts //This number should be, at maximum, the number of CPU cores on your system. WorkerProcesses int WorkerRlimitNofile int ErrorLog string ErrorLogLevel string WorkerConnections int //essential for linux, optmized to serve many clients with each thread EnableEpool bool EnableMultiAccept bool KeepaliveTimeout int KeepaliveRequests int NginxUser string ResyncPeriod time.Duration // health check HealthPath string HealthCheckTimeout time.Duration EnableMetrics bool NodeName string HostIP string IgnoreInterface []string SyncRateLimit float32 }
Config contains all configuration
Click to show internal directories.
Click to hide internal directories.