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 ListenPorts ListenPorts //This number should be, at maximum, the number of CPU cores on your system. WorkerProcesses int WorkerRlimitNofile int ErrorLog string WorkerConnections int //essential for linux, optmized to serve many clients with each thread EnableEpool bool EnableMultiAccept bool KeepaliveTimeout int KeepaliveRequests int NginxUser string IP string ResyncPeriod time.Duration // health check HealthPath string HealthCheckTimeout time.Duration EnableMetrics bool EnableRbdEndpoints bool RbdEndpointsKey string // key of Rainbond endpoints in ETCD EnableKApiServer bool KApiServerIP string EnableLangGrMe bool LangGrMeIP string EnableMVNGrMe bool MVNGrMeIP string EnableGrMe bool GrMeIP string EnableRepoGrMe bool RepoGrMeIP string NodeName string HostIP string EnableInterface []string }
Config contains all configuration
Click to show internal directories.
Click to hide internal directories.