xgress_edge

package
v0.20.37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2021 License: Apache-2.0 Imports: 38 Imported by: 1

Documentation

Index

Constants

This section is empty.

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 Accepter

type Accepter struct {
	// contains filtered or unexported fields
}

func NewAccepter

func NewAccepter(listener *listener, uListener channel2.UnderlayListener, options *channel2.Options) *Accepter

func (*Accepter) Run

func (accepter *Accepter) Run()

type BoundedMsgQueue added in v0.17.25

type BoundedMsgQueue interface {
	MsgQueue
	TryPopMax(size int) *channel2.Message
}

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, ctrl channel2.Channel, closeNotify chan struct{}) *CertExpirationChecker

func (*CertExpirationChecker) CertsUpdated added in v0.19.81

func (self *CertExpirationChecker) CertsUpdated()

func (*CertExpirationChecker) Run added in v0.19.81

func (self *CertExpirationChecker) Run()

type Factory

type Factory struct {
	// contains filtered or unexported fields
}

func NewFactory

func NewFactory(routerConfig *router.Config, versionProvider common.VersionProvider, stateManager fabric.StateManager, metricsRegistry metrics.Registry) *Factory

NewFactory constructs a new Edge Xgress Factory instance

func (*Factory) BindChannel

func (factory *Factory) BindChannel(ch channel2.Channel) error

func (*Factory) Channel

func (factory *Factory) Channel() channel2.Channel

func (*Factory) CreateDialer

func (factory *Factory) CreateDialer(optionsData xgress.OptionsData) (xgress.Dialer, error)

CreateDialer creates a new Edge Xgress dialer

func (*Factory) CreateListener

func (factory *Factory) CreateListener(optionsData xgress.OptionsData) (xgress.Listener, error)

CreateListener creates a new Edge Xgress listener

func (*Factory) DefaultRequestTimeout added in v0.19.0

func (factory *Factory) DefaultRequestTimeout() time.Duration

func (*Factory) Enabled

func (factory *Factory) Enabled() bool

func (*Factory) GetTraceDecoders added in v0.19.0

func (factory *Factory) GetTraceDecoders() []channel2.TraceMessageDecoder

func (*Factory) LoadConfig

func (factory *Factory) LoadConfig(configMap map[interface{}]interface{}) error

func (*Factory) NotifyOfReconnect added in v0.19.0

func (factory *Factory) NotifyOfReconnect()

func (*Factory) Run

func (factory *Factory) Run(ctrl channel2.Channel, _ boltz.Db, closeNotify chan struct{}) error

type MsgQueue added in v0.17.25

type MsgQueue interface {
	Push(msg *channel2.Message) error
	Pop() *channel2.Message
	Close()
}

type Options

type Options struct {
	xgress.Options
	// contains filtered or unexported fields
}

func (*Options) ToLoggableString added in v0.17.48

func (options *Options) ToLoggableString() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL