inspect

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 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"`
	Iteration   uint32 `json:"iteration"`
	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      uint64   `json:"dialAttempts"`
	ConnectedCount    uint64   `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"`
	CtrlsNotified     bool     `json:"ctrlsNotified"`
	EstablishedLinkId string   `json:"establishedLinkId"`
}

type LinksInspectResult

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

type RouterInfo added in v0.33.0

type RouterInfo struct {
	Id   string `json:"id"`
	Name string `json:"name"`
}

type RouterMessagingState added in v0.33.0

type RouterMessagingState struct {
	RouterUpdates         []*RouterUpdates         `json:"routerUpdates"`
	TerminatorValidations []*TerminatorValidations `json:"terminatorValidations"`
}

type RouterUpdates added in v0.33.0

type RouterUpdates struct {
	Router         RouterInfo   `json:"router"`
	Version        uint32       `json:"version"`
	ChangedRouters []RouterInfo `json:"changedRouters"`
	SendInProgress bool         `json:"sendInProgress"`
}

type SdkTerminatorInspectDetail added in v0.33.0

type SdkTerminatorInspectDetail struct {
	Key             string `json:"key"`
	Id              string `json:"id"`
	State           string `json:"state"`
	Token           string `json:"token"`
	ListenerId      string `json:"listenerId"`
	Instance        string `json:"instance"`
	Cost            uint16 `json:"cost"`
	Precedence      string `json:"precedence"`
	AssignIds       bool   `json:"assignIds"`
	V2              bool   `json:"v2"`
	SupportsInspect bool   `json:"supportsInspect"`
	OperationActive bool   `json:"establishActive"`
	CreateTime      string `json:"createTime"`
	LastAttempt     string `json:"lastAttempt"`
}

type SdkTerminatorInspectResult added in v0.33.0

type SdkTerminatorInspectResult struct {
	Entries []*SdkTerminatorInspectDetail `json:"entries"`
	Errors  []string                      `json:"errors"`
}

type TerminatorValidations added in v0.33.0

type TerminatorValidations struct {
	Router          RouterInfo `json:"router"`
	Terminators     []string   `json:"terminators"`
	CheckInProgress bool       `json:"checkInProgress"`
	LastSend        string     `json:"lastSend"`
}

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