Documentation ¶
Index ¶
- type Destination
- type Faulter
- type Forwarder
- func (forwarder *Forwarder) Debug() string
- func (forwarder *Forwarder) EndCircuit(circuitId string)
- func (forwarder *Forwarder) ForwardAcknowledgement(srcAddr xgress.Address, acknowledgement *xgress.Acknowledgement) error
- func (forwarder *Forwarder) ForwardControl(srcAddr xgress.Address, control *xgress.Control) error
- func (forwarder *Forwarder) ForwardPayload(srcAddr xgress.Address, payload *xgress.Payload) error
- func (forwarder *Forwarder) HasDestination(address xgress.Address) bool
- func (forwarder *Forwarder) MetricsRegistry() metrics.UsageRegistry
- func (forwarder *Forwarder) RegisterDestination(circuitId string, address xgress.Address, destination Destination)
- func (forwarder *Forwarder) RegisterLink(link xlink.Xlink) error
- func (forwarder *Forwarder) ReportForwardingFault(circuitId string)
- func (forwarder *Forwarder) Route(route *ctrl_pb.Route)
- func (forwarder *Forwarder) TraceController() trace.Controller
- func (forwarder *Forwarder) UnregisterDestinations(circuitId string)
- func (forwarder *Forwarder) UnregisterLink(link xlink.Xlink)
- func (forwarder *Forwarder) Unroute(circuitId string, now bool)
- type Options
- type Scanner
- type WorkerPoolOptions
- type XgressDestination
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Destination ¶
type Faulter ¶ added in v0.15.24
type Faulter struct {
// contains filtered or unexported fields
}
func NewFaulter ¶ added in v0.15.24
type Forwarder ¶
type Forwarder struct { Options *Options CloseNotify <-chan struct{} // contains filtered or unexported fields }
func NewForwarder ¶
func (*Forwarder) EndCircuit ¶ added in v0.16.92
func (*Forwarder) ForwardAcknowledgement ¶
func (*Forwarder) ForwardControl ¶ added in v0.16.114
func (*Forwarder) ForwardPayload ¶
func (*Forwarder) HasDestination ¶
func (*Forwarder) MetricsRegistry ¶
func (forwarder *Forwarder) MetricsRegistry() metrics.UsageRegistry
func (*Forwarder) RegisterDestination ¶
func (forwarder *Forwarder) RegisterDestination(circuitId string, address xgress.Address, destination Destination)
func (*Forwarder) ReportForwardingFault ¶ added in v0.15.24
func (*Forwarder) TraceController ¶
func (forwarder *Forwarder) TraceController() trace.Controller
func (*Forwarder) UnregisterDestinations ¶
func (*Forwarder) UnregisterLink ¶
type Options ¶
type Options struct { LatencyProbeInterval time.Duration LatencyProbeTimeout time.Duration XgressCloseCheckInterval time.Duration XgressDialDwellTime time.Duration FaultTxInterval time.Duration IdleTxInterval time.Duration IdleCircuitTimeout time.Duration XgressDial WorkerPoolOptions LinkDial WorkerPoolOptions }
func DefaultOptions ¶
func DefaultOptions() *Options
func LoadOptions ¶
type Scanner ¶ added in v0.16.26
type Scanner struct {
// contains filtered or unexported fields
}
func NewScanner ¶ added in v0.16.26
type WorkerPoolOptions ¶ added in v0.11.59
type XgressDestination ¶
type XgressDestination interface { Destination Unrouted() Start() IsTerminator() bool Label() string GetTimeOfLastRxFromLink() int64 }
Click to show internal directories.
Click to hide internal directories.