Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultHeartbeatIntervalSeconds = 60 MinHeartbeatIntervalSeconds = 10 MaxHeartbeatIntervalSeconds = 60 DefaultSessionValidateChunkSize = 1000 DefaultSessionValidateMinInterval = "250ms" DefaultSessionValidateMaxInterval = "1500ms" FlagsCfgMapKey = "@flags" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { FilePath string Enabled bool ApiProxy ApiProxy EdgeListeners []*edge_ctrl_pb.Listener Csr Csr HeartbeatIntervalSeconds int SessionValidateChunkSize uint32 SessionValidateMinInterval time.Duration SessionValidateMaxInterval time.Duration Tcfg transport.Configuration ForceExtendEnrollment bool RouterConfig *router.Config EnrollmentIdentityConfig *identity.Config Db string DbSaveInterval time.Duration }
func (*Config) LoadConfig ¶
func (*Config) LoadConfigFromMap ¶
func (*Config) LoadConfigFromMapForEnrollment ¶
func (config *Config) LoadConfigFromMapForEnrollment(cfgmap map[interface{}]interface{}) interface{}
LoadConfigFromMapForEnrollment loads a minimal subset of the router configuration to allow for enrollment. This process should be used to load edge enabled routers as well as non-edge routers.
Click to show internal directories.
Click to hide internal directories.