inspect

package
v0.24.23 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CircuitInspectDetail

type CircuitInspectDetail struct {
	CircuitId     string                        `json:"circuitId"`
	Forwards      map[string]string             `json:"forwards"`
	XgressDetails map[string]*XgressDetail      `json:"xgressDetails"`
	LinkDetails   map[string]*LinkInspectDetail `json:"linkDetails"`
	// contains filtered or unexported fields
}

func (*CircuitInspectDetail) IncludeGoroutines

func (self *CircuitInspectDetail) IncludeGoroutines() bool

func (*CircuitInspectDetail) SetIncludeGoroutines

func (self *CircuitInspectDetail) SetIncludeGoroutines(includeGoroutines bool)

type LinkDest

type LinkDest struct {
	Id             string       `json:"id"`
	Version        string       `json:"version"`
	Healthy        bool         `json:"healthy"`
	UnhealthySince *time.Time   `json:"unhealthySince,omitempty"`
	LinkStates     []*LinkState `json:"linkStates"`
}

type LinkInspectDetail

type LinkInspectDetail struct {
	Id          string `json:"id"`
	Key         string `json:"key"`
	Split       bool   `json:"split"`
	Protocol    string `json:"protocol"`
	DialAddress string `json:"dialAddress"`
	Dest        string `json:"dest"`
	DestVersion string `json:"destVersion"`
	Dialed      bool   `json:"dialed"`
}

type LinkState

type LinkState struct {
	Id             string   `json:"id"`
	Key            string   `json:"key"`
	Status         string   `json:"status"`
	DialAttempts   uint     `json:"dialAttempts"`
	ConnectedCount uint     `json:"connectedCount"`
	RetryDelay     string   `json:"retryDelay"`
	NextDial       string   `json:"nextDial"`
	TargetAddress  string   `json:"targetAddress"`
	TargetGroups   []string `json:"targetGroups"`
	TargetBinding  string   `json:"targetBinding"`
	DialerGroups   []string `json:"dialerGroups"`
	DialerBinding  string   `json:"dialerBinding"`
}

type LinksInspectResult

type LinksInspectResult struct {
	Links        []*LinkInspectDetail `json:"links"`
	Destinations []*LinkDest          `json:"destinations"`
	Errors       []string             `json:"errors"`
}

type XgressDetail

type XgressDetail struct {
	Address               string                  `json:"address"`
	Originator            string                  `json:"originator"`
	TimeSinceLastLinkRx   string                  `json:"timeSinceLastLinkRx"`
	SendBufferDetail      *XgressSendBufferDetail `json:"sendBufferDetail"`
	RecvBufferDetail      *XgressRecvBufferDetail `json:"recvBufferDetail"`
	XgressPointer         string                  `json:"xgressPointer"`
	LinkSendBufferPointer string                  `json:"linkSendBufferPointer"`
	Goroutines            []string                `json:"goroutines"`
	Sequence              int32                   `json:"sequence"`
	Flags                 string                  `json:"flags"`
}

type XgressRecvBufferDetail

type XgressRecvBufferDetail struct {
	Size           uint32 `json:"size"`
	PayloadCount   uint32 `json:"payloadCount"`
	LastSizeSent   uint32 `json:"lastSizeSent"`
	Sequence       int32  `json:"sequence"`
	MaxSequence    int32  `json:"maxSequence"`
	NextPayload    string `json:"nextPayload"`
	AcquiredSafely bool   `json:"acquiredSafely"`
}

type XgressSendBufferDetail

type XgressSendBufferDetail struct {
	WindowSize            uint32  `json:"windowSize"`
	LinkSendBufferSize    uint32  `json:"linkSendBufferSize"`
	LinkRecvBufferSize    uint32  `json:"linkRecvBufferSize"`
	Accumulator           uint32  `json:"accumulator"`
	SuccessfulAcks        uint32  `json:"successfulAcks"`
	DuplicateAcks         uint32  `json:"duplicateAcks"`
	Retransmits           uint32  `json:"retransmits"`
	Closed                bool    `json:"closed"`
	BlockedByLocalWindow  bool    `json:"blockedByLocalWindow"`
	BlockedByRemoteWindow bool    `json:"blockedByRemoteWindow"`
	RetxScale             float64 `json:"retxScale"`
	RetxThreshold         uint32  `json:"retxThreshold"`
	TimeSinceLastRetx     string  `json:"timeSinceLastRetx"`
	CloseWhenEmpty        bool    `json:"closeWhenEmpty"`
	AcquiredSafely        bool    `json:"acquiredSafely"`
}

Jump to

Keyboard shortcuts

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