Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BaseConnectionMetadata ¶ added in v0.24.0
type BaseConnectionMetadata struct {
MechanismType string
MechanismParameters map[string]string
Labels map[string]string
}
BaseConnectionMetadata holds common connection attributes easyjson:json gendecoder
type BaseNSMMetadata ¶ added in v0.24.0
type BaseNSMMetadata struct {
NetworkService string
Payload string
Source LocalConnectionMetadata
Destination LocalConnectionMetadata
}
BaseNSMMetadata holds common attributes for NSM object easyjson:json gendecoder
type EdgeMetadata ¶ added in v0.24.0
type EdgeMetadata struct {
BaseNSMMetadata
LocalNSMMetadata
RemoteNSMMetadata
}
EdgeMetadata describes an NSM edge metadata easyjson:json gendecoder
type LocalConnectionMetadata ¶ added in v0.24.0
type LocalConnectionMetadata struct {
BaseConnectionMetadata
IP string
}
LocalConnectionMetadata holds local connection attributes easyjson:json gendecoder
type LocalNSMMetadata ¶ added in v0.24.0
type LocalNSMMetadata struct {
CrossConnectID string
}
LocalNSMMetadata holds attributes for a local NSM object easyjson:json gendecoder
type Probe ¶
type Probe struct {
common.RWMutex
graph.DefaultGraphListener
// contains filtered or unexported fields
}
Probe represents the NSM probe
func (*Probe) OnNodeAdded ¶
OnNodeAdded tell this probe a node in the graph has been added
type RemoteConnectionMetadata ¶ added in v0.24.0
type RemoteConnectionMetadata struct {
BaseConnectionMetadata
SourceNSM string
DestinationNSM string
NetworkServiceEndpoint string
}
RemoteConnectionMetadata holds remote connection attributes easyjson:json gendecoder
type RemoteNSMMetadata ¶ added in v0.24.0
type RemoteNSMMetadata struct {
SourceCrossConnectID string
DestinationCrossConnectID string
Via RemoteConnectionMetadata
}
RemoteNSMMetadata holds attributes for a remote NSM object easyjson:json gendecoder
Source Files
¶
- connection.go
- metadata.go
- nsm.go