Documentation
¶
Index ¶
- Constants
- type DirectGate
- func (g *DirectGate) ApplyProbeResult(result protocol.DirectProbeResult)
- func (g *DirectGate) BindProbeTarget(target protocol.DirectProbeTarget)
- func (g *DirectGate) Decision(targetAgentID, addressFingerprint string) string
- func (g *DirectGate) EntryCount() int
- func (g *DirectGate) MarkChecking(targetAgentID, addressFingerprint string)
- type DirectGateOptions
- type Notifier
- type Observer
- type ObserverOptions
- type Reporter
- type ReporterOptions
- type TelemetryDropCounter
Constants ¶
View Source
const ( DirectGateUnreachable = agentproxy.CodeDirectConnect DirectGateIdentity = agentproxy.CodeDirectIdentityMismatch )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirectGate ¶
type DirectGate struct {
// contains filtered or unexported fields
}
func NewDirectGate ¶
func NewDirectGate(opts DirectGateOptions) *DirectGate
func (*DirectGate) ApplyProbeResult ¶
func (g *DirectGate) ApplyProbeResult(result protocol.DirectProbeResult)
func (*DirectGate) BindProbeTarget ¶
func (g *DirectGate) BindProbeTarget(target protocol.DirectProbeTarget)
func (*DirectGate) Decision ¶
func (g *DirectGate) Decision(targetAgentID, addressFingerprint string) string
func (*DirectGate) EntryCount ¶
func (g *DirectGate) EntryCount() int
func (*DirectGate) MarkChecking ¶
func (g *DirectGate) MarkChecking(targetAgentID, addressFingerprint string)
type DirectGateOptions ¶
type Observer ¶
type Observer struct {
// contains filtered or unexported fields
}
func NewObserver ¶
func NewObserver(opts ObserverOptions) (*Observer, error)
func (*Observer) Digest ¶
func (o *Observer) Digest() protocol.RouteEdgeDigest
func (*Observer) Events ¶
func (o *Observer) Events() <-chan protocol.RouteEvent
func (*Observer) Generation ¶
func (*Observer) Record ¶
func (o *Observer) Record(event protocol.RouteEvent)
type ObserverOptions ¶
type Reporter ¶
type Reporter struct {
// contains filtered or unexported fields
}
func NewReporter ¶
func NewReporter(observer *Observer, opts ReporterOptions) *Reporter
func (*Reporter) SendFailures ¶
type ReporterOptions ¶
type TelemetryDropCounter ¶
type TelemetryDropCounter interface {
IncRouteTelemetryDropped()
}
Click to show internal directories.
Click to hide internal directories.