Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EdgeWrapper ¶
type EdgeWrapper struct {
Data *EdgeData `json:"data"`
}
type Elements ¶
type Elements struct { Nodes []*NodeWrapper `json:"nodes"` Edges []*EdgeWrapper `json:"edges"` }
type NodeData ¶
type NodeData struct { // Cytoscape Fields ID string `json:"id"` // unique internal node ID (n0, n1...) Parent string `json:"parent,omitempty"` // Compound Node parent ID // Required Fields (not required by Cytoscape) Cluster string `json:"cluster"` InfraName string `json:"infraName"` InfraType string `json:"infraType"` Namespace string `json:"namespace"` NodeType string `json:"nodeType"` // Other Fields HasInfra bool `json:"-"` // for local when generating boxes HealthData interface{} `json:"healthData"` // data to calculate health status from configurations InfraData interface{} `json:"infraData,omitempty"` // infraType-dependent data IsAmbient bool `json:"isAmbient,omitempty"` // true if configured for ambient IsBox string `json:"isBox,omitempty"` // set for NodeTypeBox, current values: [ 'cluster', 'dataplanes', 'namespace' ] IsInaccessible bool `json:"isInaccessible,omitempty"` // true if the node exists in an inaccessible namespace IsMTLS bool `json:"isMTLS,omitempty"` // true if mesh-wide mTLS is enabled IsOutOfMesh bool `json:"isOutOfMesh,omitempty"` // true (has missing sidecar) | false }
type NodeWrapper ¶
type NodeWrapper struct {
Data *NodeData `json:"data"`
}
Click to show internal directories.
Click to hide internal directories.