Documentation ¶
Index ¶
Constants ¶
View Source
const ( ServiceMapEnabled = "enabled" ServiceMapDisabled = "disabled" UnresolvedNodeName = "unresolved" )
Variables ¶
This section is empty.
Functions ¶
func GetDefaultServiceMapInstance ¶
func GetDefaultServiceMapInstance() *defaultServiceMap
func NewDefaultServiceMapGenerator ¶
func NewDefaultServiceMapGenerator() *defaultServiceMap
Types ¶
type ServiceMap ¶
type ServiceMap interface { Enable() Disable() IsEnabled() bool GetStatus() ServiceMapStatus GetNodes() []ServiceMapNode GetEdges() []ServiceMapEdge GetEntriesProcessedCount() int GetNodesCount() int GetEdgesCount() int Reset() }
type ServiceMapEdge ¶
type ServiceMapEdge struct { Source ServiceMapNode `json:"source"` Destination ServiceMapNode `json:"destination"` Count int `json:"count"` Protocol *baseApi.Protocol `json:"protocol"` }
type ServiceMapNode ¶
type ServiceMapResponse ¶
type ServiceMapResponse struct { Status ServiceMapStatus `json:"status"` Nodes []ServiceMapNode `json:"nodes"` Edges []ServiceMapEdge `json:"edges"` }
type ServiceMapSink ¶
Click to show internal directories.
Click to hide internal directories.