Documentation ¶
Index ¶
- Constants
- func NewMsgQueue(queueDepth int) *baseMsgQ
- func NewSizeLimitedMsgQueue(size int32) *sizeLimitedMsgQ
- type Acceptor
- type BoundedMsgQueue
- type CertExpirationChecker
- func (self *CertExpirationChecker) AnyCtrlChannelWithTimeout(timeout time.Duration) (channel.Channel, bool)
- func (self *CertExpirationChecker) CertsUpdated()
- func (self *CertExpirationChecker) ExtendEnrollment() error
- func (self *CertExpirationChecker) IsRequesting() bool
- func (self *CertExpirationChecker) IsRequestingCompareAndSwap(expected bool, value bool) bool
- func (self *CertExpirationChecker) Run() error
- func (self *CertExpirationChecker) SetIsRequesting(value bool)
- type CertExtender
- type Factory
- func (factory *Factory) BindChannel(binding channel.Binding) error
- func (factory *Factory) CreateDialer(optionsData xgress.OptionsData) (xgress.Dialer, error)
- func (factory *Factory) CreateListener(optionsData xgress.OptionsData) (xgress.Listener, error)
- func (factory *Factory) Enabled() bool
- func (factory *Factory) GetNetworkControllers() env.NetworkControllers
- func (factory *Factory) GetTraceDecoders() []channel.TraceMessageDecoder
- func (factory *Factory) LoadConfig(configMap map[interface{}]interface{}) error
- func (factory *Factory) NotifyOfReconnect(ch channel.Channel)
- func (factory *Factory) Run(env env.RouterEnv) error
- type MsgQueue
- type Options
Constants ¶
View Source
const DefaultTimeoutDuration = 35 * time.Second
View Source
const (
WsType = "ws"
)
Variables ¶
This section is empty.
Functions ¶
func NewMsgQueue ¶ added in v0.17.25
func NewMsgQueue(queueDepth int) *baseMsgQ
func NewSizeLimitedMsgQueue ¶ added in v0.17.25
func NewSizeLimitedMsgQueue(size int32) *sizeLimitedMsgQ
Types ¶
type Acceptor ¶ added in v0.21.70
type Acceptor struct {
// contains filtered or unexported fields
}
func NewAcceptor ¶ added in v0.21.70
func NewAcceptor(listener *listener, uListener channel.UnderlayListener, options *channel.Options) *Acceptor
func (*Acceptor) BindChannel ¶ added in v0.21.70
type BoundedMsgQueue ¶ added in v0.17.25
type CertExpirationChecker ¶ added in v0.19.81
type CertExpirationChecker struct {
// contains filtered or unexported fields
}
func NewCertExpirationChecker ¶ added in v0.19.81
func NewCertExpirationChecker(id *identity.TokenId, edgeConfig *edgerouter.Config, ctrls routerEnv.NetworkControllers, closeNotify <-chan struct{}) *CertExpirationChecker
func (*CertExpirationChecker) AnyCtrlChannelWithTimeout ¶ added in v0.24.412
func (self *CertExpirationChecker) AnyCtrlChannelWithTimeout(timeout time.Duration) (channel.Channel, bool)
func (*CertExpirationChecker) CertsUpdated ¶ added in v0.19.81
func (self *CertExpirationChecker) CertsUpdated()
func (*CertExpirationChecker) ExtendEnrollment ¶ added in v0.20.101
func (self *CertExpirationChecker) ExtendEnrollment() error
func (*CertExpirationChecker) IsRequesting ¶ added in v0.21.20
func (self *CertExpirationChecker) IsRequesting() bool
func (*CertExpirationChecker) IsRequestingCompareAndSwap ¶ added in v0.21.20
func (self *CertExpirationChecker) IsRequestingCompareAndSwap(expected bool, value bool) bool
func (*CertExpirationChecker) Run ¶ added in v0.19.81
func (self *CertExpirationChecker) Run() error
func (*CertExpirationChecker) SetIsRequesting ¶ added in v0.21.20
func (self *CertExpirationChecker) SetIsRequesting(value bool)
type CertExtender ¶ added in v0.21.20
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func NewFactory ¶
func NewFactory(routerConfig *router.Config, versionProvider versions.VersionProvider, stateManager fabric.StateManager, metricsRegistry metrics.Registry) *Factory
NewFactory constructs a new Edge Xgress Factory instance
func (*Factory) BindChannel ¶
func (*Factory) CreateDialer ¶
CreateDialer creates a new Edge Xgress dialer
func (*Factory) CreateListener ¶
CreateListener creates a new Edge Xgress listener
func (*Factory) GetNetworkControllers ¶ added in v0.24.0
func (factory *Factory) GetNetworkControllers() env.NetworkControllers
func (*Factory) GetTraceDecoders ¶ added in v0.19.0
func (factory *Factory) GetTraceDecoders() []channel.TraceMessageDecoder
func (*Factory) LoadConfig ¶
func (*Factory) NotifyOfReconnect ¶ added in v0.19.0
func (factory *Factory) NotifyOfReconnect(ch channel.Channel)
Click to show internal directories.
Click to hide internal directories.