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 {
Enabled bool
ApiProxy ApiProxy
EdgeListeners []*edge_ctrl_pb.Listener
Csr Csr
HeartbeatIntervalSeconds int
SessionValidateChunkSize uint32
SessionValidateMinInterval time.Duration
SessionValidateMaxInterval time.Duration
Tcfg transport.Configuration
ExtendEnrollment bool
RouterConfig *router.Config
EnrollmentIdentityConfig *identity.Config
}
func (*Config) LoadConfig ¶ added in v0.20.101
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.