Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerConfig ¶
type ServerConfig struct { InsecurePort int Port int CertFilePath string KeyFilePath string AgentVersion string AgentRepository string DB *coredb.DB Models *model.Models InformerFactory informer.Factory ServiceFactory *service.Factory ReleaseVersion string }
func NewServerConfig ¶
func NewServerConfig(op *ServerOptions) (*ServerConfig, error)
type ServerOptions ¶
type ServerOptions struct { InsecurePort int Port int RedisAddress string RedisDB int RedisPassword string CertFilePath string KeyFilePath string MysqlHost string MysqlUser string MysqlPassword string MysqlDbName string ListWatcherResyncSec int AgentVersion string AgentRepository string ReleaseVersion string }
Click to show internal directories.
Click to hide internal directories.