Documentation ¶
Index ¶
- Constants
- func CreateDrawioConnectivityMap(network SquareTreeNodeInterface, subnetMode bool, format FileFormat, ...) (string, error)
- type CloudTreeNode
- func (tn *CloudTreeNode) DebugPoints() []debugPoint
- func (tn *CloudTreeNode) DecoreID() uint
- func (tn *CloudTreeNode) IconTreeNodes() []IconTreeNodeInterface
- func (tn *CloudTreeNode) IsGroupSubnetsSquare() bool
- func (tn *CloudTreeNode) IsGroupingSquare() bool
- func (tn *CloudTreeNode) IsSquare() bool
- func (tn *CloudTreeNode) IsSubnet() bool
- func (tn *CloudTreeNode) TagID() uint
- type ConnectivityTreeNode
- func (tn *ConnectivityTreeNode) DrawioParent() TreeNodeInterface
- func (tn *ConnectivityTreeNode) Dst() TreeNodeInterface
- func (tn *ConnectivityTreeNode) DstID() uint
- func (tn *ConnectivityTreeNode) IsLine() bool
- func (tn *ConnectivityTreeNode) Points() []point
- func (tn *ConnectivityTreeNode) Router() IconTreeNodeInterface
- func (tn *ConnectivityTreeNode) SetRouter(router IconTreeNodeInterface)
- func (tn *ConnectivityTreeNode) Src() TreeNodeInterface
- func (tn *ConnectivityTreeNode) SrcConnectionPoint() lineConnectionPoint
- func (tn *ConnectivityTreeNode) SrcID() uint
- type ExplanationEntry
- type FileFormat
- type GatewayTreeNode
- func (tn *GatewayTreeNode) Fip() string
- func (tn *GatewayTreeNode) FipID() uint
- func (tn *GatewayTreeNode) HasFip() bool
- func (tn *GatewayTreeNode) HasTooltip() bool
- func (tn *GatewayTreeNode) Height() int
- func (tn *GatewayTreeNode) IconSize() int
- func (tn *GatewayTreeNode) IsGateway() bool
- func (tn *GatewayTreeNode) IsGroupingPoint() bool
- func (tn *GatewayTreeNode) IsIcon() bool
- func (tn *GatewayTreeNode) IsVSI() bool
- func (tn *GatewayTreeNode) MiniIconID() uint
- func (tn *GatewayTreeNode) SGs() common.GenericSet[*SGTreeNode]
- func (tn *GatewayTreeNode) SetFIP(fip string)
- func (tn *GatewayTreeNode) SetTooltip(tooltip []string)
- func (tn *GatewayTreeNode) Tooltip() string
- func (tn *GatewayTreeNode) Width() int
- type GroupPointTreeNode
- func (tn *GroupPointTreeNode) DrawioParent() TreeNodeInterface
- func (tn *GroupPointTreeNode) Fip() string
- func (tn *GroupPointTreeNode) FipID() uint
- func (tn *GroupPointTreeNode) HasFip() bool
- func (tn *GroupPointTreeNode) HasTooltip() bool
- func (tn *GroupPointTreeNode) Height() int
- func (tn *GroupPointTreeNode) IconSize() int
- func (tn *GroupPointTreeNode) IsGateway() bool
- func (tn *GroupPointTreeNode) IsGroupingPoint() bool
- func (tn *GroupPointTreeNode) IsIcon() bool
- func (tn *GroupPointTreeNode) IsVSI() bool
- func (tn *GroupPointTreeNode) MiniIconID() uint
- func (tn *GroupPointTreeNode) SGs() common.GenericSet[*SGTreeNode]
- func (tn *GroupPointTreeNode) SetFIP(fip string)
- func (tn *GroupPointTreeNode) SetTooltip(tooltip []string)
- func (tn *GroupPointTreeNode) Tooltip() string
- func (tn *GroupPointTreeNode) Width() int
- type GroupSquareTreeNode
- func (tn *GroupSquareTreeNode) DebugPoints() []debugPoint
- func (tn *GroupSquareTreeNode) DecoreID() uint
- func (tn *GroupSquareTreeNode) IconTreeNodes() []IconTreeNodeInterface
- func (tn *GroupSquareTreeNode) IsGroupSubnetsSquare() bool
- func (tn *GroupSquareTreeNode) IsGroupingSquare() bool
- func (tn *GroupSquareTreeNode) IsSquare() bool
- func (tn *GroupSquareTreeNode) IsSubnet() bool
- func (tn *GroupSquareTreeNode) NotShownInDrawio() bool
- func (tn *GroupSquareTreeNode) TagID() uint
- type GroupSubnetsSquareTreeNode
- func (tn *GroupSubnetsSquareTreeNode) DebugPoints() []debugPoint
- func (tn *GroupSubnetsSquareTreeNode) DecoreID() uint
- func (tn *GroupSubnetsSquareTreeNode) IconTreeNodes() []IconTreeNodeInterface
- func (tn *GroupSubnetsSquareTreeNode) IsGroupSubnetsSquare() bool
- func (tn *GroupSubnetsSquareTreeNode) IsGroupingSquare() bool
- func (tn *GroupSubnetsSquareTreeNode) IsSquare() bool
- func (tn *GroupSubnetsSquareTreeNode) IsSubnet() bool
- func (tn *GroupSubnetsSquareTreeNode) TagID() uint
- type IconTreeNodeInterface
- type InternetServiceTreeNode
- func (tn *InternetServiceTreeNode) Fip() string
- func (tn *InternetServiceTreeNode) FipID() uint
- func (tn *InternetServiceTreeNode) HasFip() bool
- func (tn *InternetServiceTreeNode) HasTooltip() bool
- func (tn *InternetServiceTreeNode) Height() int
- func (tn *InternetServiceTreeNode) IconSize() int
- func (tn *InternetServiceTreeNode) IsGateway() bool
- func (tn *InternetServiceTreeNode) IsGroupingPoint() bool
- func (tn *InternetServiceTreeNode) IsIcon() bool
- func (tn *InternetServiceTreeNode) IsVSI() bool
- func (tn *InternetServiceTreeNode) MiniIconID() uint
- func (tn *InternetServiceTreeNode) SGs() common.GenericSet[*SGTreeNode]
- func (tn *InternetServiceTreeNode) SetFIP(fip string)
- func (tn *InternetServiceTreeNode) SetTooltip(tooltip []string)
- func (tn *InternetServiceTreeNode) Tooltip() string
- func (tn *InternetServiceTreeNode) Width() int
- type InternetTreeNode
- func (tn *InternetTreeNode) Fip() string
- func (tn *InternetTreeNode) FipID() uint
- func (tn *InternetTreeNode) HasFip() bool
- func (tn *InternetTreeNode) HasTooltip() bool
- func (tn *InternetTreeNode) Height() int
- func (tn *InternetTreeNode) IconSize() int
- func (tn *InternetTreeNode) IsGateway() bool
- func (tn *InternetTreeNode) IsGroupingPoint() bool
- func (tn *InternetTreeNode) IsIcon() bool
- func (tn *InternetTreeNode) IsVSI() bool
- func (tn *InternetTreeNode) MiniIconID() uint
- func (tn *InternetTreeNode) SGs() common.GenericSet[*SGTreeNode]
- func (tn *InternetTreeNode) SetFIP(fip string)
- func (tn *InternetTreeNode) SetTooltip(tooltip []string)
- func (tn *InternetTreeNode) Tooltip() string
- func (tn *InternetTreeNode) Width() int
- type LineTreeNodeInterface
- type LoadBalancerTreeNode
- func (tn *LoadBalancerTreeNode) Fip() string
- func (tn *LoadBalancerTreeNode) FipID() uint
- func (tn *LoadBalancerTreeNode) HasFip() bool
- func (tn *LoadBalancerTreeNode) HasTooltip() bool
- func (tn *LoadBalancerTreeNode) Height() int
- func (tn *LoadBalancerTreeNode) IconSize() int
- func (tn *LoadBalancerTreeNode) IsGateway() bool
- func (tn *LoadBalancerTreeNode) IsGroupingPoint() bool
- func (tn *LoadBalancerTreeNode) IsIcon() bool
- func (tn *LoadBalancerTreeNode) IsVSI() bool
- func (tn *LoadBalancerTreeNode) MiniIconID() uint
- func (tn *LoadBalancerTreeNode) SGs() common.GenericSet[*SGTreeNode]
- func (tn *LoadBalancerTreeNode) SetFIP(fip string)
- func (tn *LoadBalancerTreeNode) SetTooltip(tooltip []string)
- func (tn *LoadBalancerTreeNode) Tooltip() string
- func (tn *LoadBalancerTreeNode) Width() int
- type Location
- type LogicalLineTreeNode
- func (tn *LogicalLineTreeNode) DrawioParent() TreeNodeInterface
- func (tn *LogicalLineTreeNode) Dst() TreeNodeInterface
- func (tn *LogicalLineTreeNode) DstID() uint
- func (tn *LogicalLineTreeNode) IsLine() bool
- func (tn *LogicalLineTreeNode) Points() []point
- func (tn *LogicalLineTreeNode) Router() IconTreeNodeInterface
- func (tn *LogicalLineTreeNode) SetRouter(router IconTreeNodeInterface)
- func (tn *LogicalLineTreeNode) Src() TreeNodeInterface
- func (tn *LogicalLineTreeNode) SrcConnectionPoint() lineConnectionPoint
- func (tn *LogicalLineTreeNode) SrcID() uint
- type NITreeNode
- func (tn *NITreeNode) Fip() string
- func (tn *NITreeNode) FipID() uint
- func (tn *NITreeNode) HasFip() bool
- func (tn *NITreeNode) HasTooltip() bool
- func (tn *NITreeNode) Height() int
- func (tn *NITreeNode) IconSize() int
- func (tn *NITreeNode) IsGateway() bool
- func (tn *NITreeNode) IsGroupingPoint() bool
- func (tn *NITreeNode) IsIcon() bool
- func (tn *NITreeNode) IsVSI() bool
- func (tn *NITreeNode) MiniIconID() uint
- func (tn *NITreeNode) RouterID() uint
- func (tn *NITreeNode) SGs() common.GenericSet[*SGTreeNode]
- func (tn *NITreeNode) SetFIP(fip string)
- func (tn *NITreeNode) SetTooltip(tooltip []string)
- func (tn *NITreeNode) Tooltip() string
- func (tn *NITreeNode) Width() int
- type NetworkTreeNode
- func (tn *NetworkTreeNode) DebugPoints() []debugPoint
- func (tn *NetworkTreeNode) DecoreID() uint
- func (tn *NetworkTreeNode) IconTreeNodes() []IconTreeNodeInterface
- func (tn *NetworkTreeNode) IsGroupSubnetsSquare() bool
- func (tn *NetworkTreeNode) IsGroupingSquare() bool
- func (tn *NetworkTreeNode) IsSquare() bool
- func (tn *NetworkTreeNode) IsSubnet() bool
- func (tn *NetworkTreeNode) NotShownInDrawio() bool
- func (tn *NetworkTreeNode) TagID() uint
- type PartialSGTreeNode
- func (tn *PartialSGTreeNode) DebugPoints() []debugPoint
- func (tn *PartialSGTreeNode) DecoreID() uint
- func (tn *PartialSGTreeNode) IconTreeNodes() []IconTreeNodeInterface
- func (tn *PartialSGTreeNode) IsGroupSubnetsSquare() bool
- func (tn *PartialSGTreeNode) IsGroupingSquare() bool
- func (tn *PartialSGTreeNode) IsSquare() bool
- func (tn *PartialSGTreeNode) IsSubnet() bool
- func (tn *PartialSGTreeNode) Kind() string
- func (tn *PartialSGTreeNode) TagID() uint
- type PrivateIPTreeNode
- func (tn *PrivateIPTreeNode) Fip() string
- func (tn *PrivateIPTreeNode) FipID() uint
- func (tn *PrivateIPTreeNode) HasFip() bool
- func (tn *PrivateIPTreeNode) HasTooltip() bool
- func (tn *PrivateIPTreeNode) Height() int
- func (tn *PrivateIPTreeNode) IconSize() int
- func (tn *PrivateIPTreeNode) IsGateway() bool
- func (tn *PrivateIPTreeNode) IsGroupingPoint() bool
- func (tn *PrivateIPTreeNode) IsIcon() bool
- func (tn *PrivateIPTreeNode) IsVSI() bool
- func (tn *PrivateIPTreeNode) MiniIconID() uint
- func (tn *PrivateIPTreeNode) Original() bool
- func (tn *PrivateIPTreeNode) RouterID() uint
- func (tn *PrivateIPTreeNode) SGs() common.GenericSet[*SGTreeNode]
- func (tn *PrivateIPTreeNode) SetFIP(fip string)
- func (tn *PrivateIPTreeNode) SetTooltip(tooltip []string)
- func (tn *PrivateIPTreeNode) Tooltip() string
- func (tn *PrivateIPTreeNode) Width() int
- type PublicNetworkTreeNode
- func (tn *PublicNetworkTreeNode) DebugPoints() []debugPoint
- func (tn *PublicNetworkTreeNode) DecoreID() uint
- func (tn *PublicNetworkTreeNode) IconTreeNodes() []IconTreeNodeInterface
- func (tn *PublicNetworkTreeNode) IsGroupSubnetsSquare() bool
- func (tn *PublicNetworkTreeNode) IsGroupingSquare() bool
- func (tn *PublicNetworkTreeNode) IsSquare() bool
- func (tn *PublicNetworkTreeNode) IsSubnet() bool
- func (tn *PublicNetworkTreeNode) NotShownInDrawio() bool
- func (tn *PublicNetworkTreeNode) TagID() uint
- type RegionTreeNode
- func (tn *RegionTreeNode) DebugPoints() []debugPoint
- func (tn *RegionTreeNode) DecoreID() uint
- func (tn *RegionTreeNode) IconTreeNodes() []IconTreeNodeInterface
- func (tn *RegionTreeNode) IsGroupSubnetsSquare() bool
- func (tn *RegionTreeNode) IsGroupingSquare() bool
- func (tn *RegionTreeNode) IsSquare() bool
- func (tn *RegionTreeNode) IsSubnet() bool
- func (tn *RegionTreeNode) TagID() uint
- type ResIPTreeNode
- func (tn *ResIPTreeNode) Fip() string
- func (tn *ResIPTreeNode) FipID() uint
- func (tn *ResIPTreeNode) HasFip() bool
- func (tn *ResIPTreeNode) HasTooltip() bool
- func (tn *ResIPTreeNode) Height() int
- func (tn *ResIPTreeNode) IconSize() int
- func (tn *ResIPTreeNode) IsGateway() bool
- func (tn *ResIPTreeNode) IsGroupingPoint() bool
- func (tn *ResIPTreeNode) IsIcon() bool
- func (tn *ResIPTreeNode) IsVSI() bool
- func (tn *ResIPTreeNode) MiniIconID() uint
- func (tn *ResIPTreeNode) SGs() common.GenericSet[*SGTreeNode]
- func (tn *ResIPTreeNode) SetFIP(fip string)
- func (tn *ResIPTreeNode) SetTooltip(tooltip []string)
- func (tn *ResIPTreeNode) Tooltip() string
- func (tn *ResIPTreeNode) Width() int
- type SGTreeNode
- func (tn *SGTreeNode) AddIcon(icon IconTreeNodeInterface)
- func (tn *SGTreeNode) DebugPoints() []debugPoint
- func (tn *SGTreeNode) DecoreID() uint
- func (tn *SGTreeNode) IconTreeNodes() []IconTreeNodeInterface
- func (tn *SGTreeNode) IsGroupSubnetsSquare() bool
- func (tn *SGTreeNode) IsGroupingSquare() bool
- func (tn *SGTreeNode) IsSquare() bool
- func (tn *SGTreeNode) IsSubnet() bool
- func (tn *SGTreeNode) NotShownInDrawio() bool
- func (tn *SGTreeNode) TagID() uint
- type SquareTreeNodeInterface
- type SubnetTreeNode
- func (tn *SubnetTreeNode) DebugPoints() []debugPoint
- func (tn *SubnetTreeNode) DecoreID() uint
- func (tn *SubnetTreeNode) IconTreeNodes() []IconTreeNodeInterface
- func (tn *SubnetTreeNode) IsGroupSubnetsSquare() bool
- func (tn *SubnetTreeNode) IsGroupingSquare() bool
- func (tn *SubnetTreeNode) IsSquare() bool
- func (tn *SubnetTreeNode) IsSubnet() bool
- func (tn *SubnetTreeNode) SetACL(acl string)
- func (tn *SubnetTreeNode) TagID() uint
- type TransitGatewayTreeNode
- func (tn *TransitGatewayTreeNode) Fip() string
- func (tn *TransitGatewayTreeNode) FipID() uint
- func (tn *TransitGatewayTreeNode) HasFip() bool
- func (tn *TransitGatewayTreeNode) HasTooltip() bool
- func (tn *TransitGatewayTreeNode) Height() int
- func (tn *TransitGatewayTreeNode) IconSize() int
- func (tn *TransitGatewayTreeNode) IsGateway() bool
- func (tn *TransitGatewayTreeNode) IsGroupingPoint() bool
- func (tn *TransitGatewayTreeNode) IsIcon() bool
- func (tn *TransitGatewayTreeNode) IsVSI() bool
- func (tn *TransitGatewayTreeNode) MiniIconID() uint
- func (tn *TransitGatewayTreeNode) SGs() common.GenericSet[*SGTreeNode]
- func (tn *TransitGatewayTreeNode) SetFIP(fip string)
- func (tn *TransitGatewayTreeNode) SetTooltip(tooltip []string)
- func (tn *TransitGatewayTreeNode) Tooltip() string
- func (tn *TransitGatewayTreeNode) Width() int
- type TreeNodeInterface
- type UserTreeNode
- func (tn *UserTreeNode) Fip() string
- func (tn *UserTreeNode) FipID() uint
- func (tn *UserTreeNode) HasFip() bool
- func (tn *UserTreeNode) HasTooltip() bool
- func (tn *UserTreeNode) Height() int
- func (tn *UserTreeNode) IconSize() int
- func (tn *UserTreeNode) IsGateway() bool
- func (tn *UserTreeNode) IsGroupingPoint() bool
- func (tn *UserTreeNode) IsIcon() bool
- func (tn *UserTreeNode) IsVSI() bool
- func (tn *UserTreeNode) MiniIconID() uint
- func (tn *UserTreeNode) SGs() common.GenericSet[*SGTreeNode]
- func (tn *UserTreeNode) SetFIP(fip string)
- func (tn *UserTreeNode) SetTooltip(tooltip []string)
- func (tn *UserTreeNode) Tooltip() string
- func (tn *UserTreeNode) Width() int
- type VpcTreeNode
- func (tn *VpcTreeNode) DebugPoints() []debugPoint
- func (tn *VpcTreeNode) DecoreID() uint
- func (tn *VpcTreeNode) IconTreeNodes() []IconTreeNodeInterface
- func (tn *VpcTreeNode) IsGroupSubnetsSquare() bool
- func (tn *VpcTreeNode) IsGroupingSquare() bool
- func (tn *VpcTreeNode) IsSquare() bool
- func (tn *VpcTreeNode) IsSubnet() bool
- func (tn *VpcTreeNode) TagID() uint
- type VpeTreeNode
- func (tn *VpeTreeNode) Fip() string
- func (tn *VpeTreeNode) FipID() uint
- func (tn *VpeTreeNode) HasFip() bool
- func (tn *VpeTreeNode) HasTooltip() bool
- func (tn *VpeTreeNode) Height() int
- func (tn *VpeTreeNode) IconSize() int
- func (tn *VpeTreeNode) IsGateway() bool
- func (tn *VpeTreeNode) IsGroupingPoint() bool
- func (tn *VpeTreeNode) IsIcon() bool
- func (tn *VpeTreeNode) IsVSI() bool
- func (tn *VpeTreeNode) MiniIconID() uint
- func (tn *VpeTreeNode) SGs() common.GenericSet[*SGTreeNode]
- func (tn *VpeTreeNode) SetFIP(fip string)
- func (tn *VpeTreeNode) SetTooltip(tooltip []string)
- func (tn *VpeTreeNode) Tooltip() string
- func (tn *VpeTreeNode) Width() int
- type VsiTreeNode
- func (tn *VsiTreeNode) DrawioParent() TreeNodeInterface
- func (tn *VsiTreeNode) Fip() string
- func (tn *VsiTreeNode) FipID() uint
- func (tn *VsiTreeNode) GetVsiNIsSubnets() map[TreeNodeInterface]bool
- func (tn *VsiTreeNode) HasFip() bool
- func (tn *VsiTreeNode) HasTooltip() bool
- func (tn *VsiTreeNode) Height() int
- func (tn *VsiTreeNode) IconSize() int
- func (tn *VsiTreeNode) IsGateway() bool
- func (tn *VsiTreeNode) IsGroupingPoint() bool
- func (tn *VsiTreeNode) IsIcon() bool
- func (tn *VsiTreeNode) IsVSI() bool
- func (tn *VsiTreeNode) MiniIconID() uint
- func (tn *VsiTreeNode) SGs() common.GenericSet[*SGTreeNode]
- func (tn *VsiTreeNode) SetFIP(fip string)
- func (tn *VsiTreeNode) SetTooltip(tooltip []string)
- func (tn *VsiTreeNode) Tooltip() string
- func (tn *VsiTreeNode) Width() int
- type ZoneTreeNode
- func (tn *ZoneTreeNode) DebugPoints() []debugPoint
- func (tn *ZoneTreeNode) DecoreID() uint
- func (tn *ZoneTreeNode) IconTreeNodes() []IconTreeNodeInterface
- func (tn *ZoneTreeNode) IsGroupSubnetsSquare() bool
- func (tn *ZoneTreeNode) IsGroupingSquare() bool
- func (tn *ZoneTreeNode) IsSquare() bool
- func (tn *ZoneTreeNode) IsSubnet() bool
- func (tn *ZoneTreeNode) TagID() uint
Constants ¶
const (
SvgTableSep = "<br/>"
)
Variables ¶
This section is empty.
Functions ¶
func CreateDrawioConnectivityMap ¶ added in v0.4.0
func CreateDrawioConnectivityMap( network SquareTreeNodeInterface, subnetMode bool, format FileFormat, explanations []ExplanationEntry) (string, error)
Types ¶
type CloudTreeNode ¶
type CloudTreeNode struct {
// contains filtered or unexported fields
}
////////////////////////////////////////////////////////////////
func NewCloudTreeNode ¶
func NewCloudTreeNode(parent *NetworkTreeNode, name string) *CloudTreeNode
func (*CloudTreeNode) DebugPoints ¶ added in v0.3.0
func (tn *CloudTreeNode) DebugPoints() []debugPoint
func (*CloudTreeNode) IconTreeNodes ¶
func (tn *CloudTreeNode) IconTreeNodes() []IconTreeNodeInterface
func (*CloudTreeNode) IsGroupSubnetsSquare ¶ added in v0.3.0
func (tn *CloudTreeNode) IsGroupSubnetsSquare() bool
func (*CloudTreeNode) IsGroupingSquare ¶ added in v0.2.0
func (tn *CloudTreeNode) IsGroupingSquare() bool
type ConnectivityTreeNode ¶
type ConnectivityTreeNode struct {
// contains filtered or unexported fields
}
////////////////////////////////////////////////////////////////
func NewConnectivityLineTreeNode ¶
func NewConnectivityLineTreeNode(network SquareTreeNodeInterface, src, dst TreeNodeInterface, directed bool, name string) *ConnectivityTreeNode
func (*ConnectivityTreeNode) DrawioParent ¶
func (tn *ConnectivityTreeNode) DrawioParent() TreeNodeInterface
func (*ConnectivityTreeNode) Dst ¶
func (tn *ConnectivityTreeNode) Dst() TreeNodeInterface
func (*ConnectivityTreeNode) Router ¶
func (tn *ConnectivityTreeNode) Router() IconTreeNodeInterface
func (*ConnectivityTreeNode) SetRouter ¶
func (tn *ConnectivityTreeNode) SetRouter(router IconTreeNodeInterface)
func (*ConnectivityTreeNode) Src ¶
func (tn *ConnectivityTreeNode) Src() TreeNodeInterface
func (*ConnectivityTreeNode) SrcConnectionPoint ¶ added in v0.3.0
func (tn *ConnectivityTreeNode) SrcConnectionPoint() lineConnectionPoint
type ExplanationEntry ¶ added in v0.4.0
type ExplanationEntry struct {
Src, Dst TreeNodeInterface
Text string
}
type FileFormat ¶ added in v0.4.0
type FileFormat int64
const ( FileDRAWIO FileFormat = iota FileSVG FileHTML )
type GatewayTreeNode ¶
type GatewayTreeNode struct {
// contains filtered or unexported fields
}
///////////////////////////////////////////
func NewGatewayTreeNode ¶
func NewGatewayTreeNode(parent SquareTreeNodeInterface, name string) *GatewayTreeNode
func (*GatewayTreeNode) HasTooltip ¶
func (tn *GatewayTreeNode) HasTooltip() bool
func (*GatewayTreeNode) IsGateway ¶
func (tn *GatewayTreeNode) IsGateway() bool
func (*GatewayTreeNode) IsGroupingPoint ¶ added in v0.2.0
func (tn *GatewayTreeNode) IsGroupingPoint() bool
func (*GatewayTreeNode) MiniIconID ¶ added in v0.2.0
func (tn *GatewayTreeNode) MiniIconID() uint
func (*GatewayTreeNode) SGs ¶ added in v0.5.0
func (tn *GatewayTreeNode) SGs() common.GenericSet[*SGTreeNode]
func (*GatewayTreeNode) SetTooltip ¶
func (tn *GatewayTreeNode) SetTooltip(tooltip []string)
type GroupPointTreeNode ¶ added in v0.2.0
type GroupPointTreeNode struct {
// contains filtered or unexported fields
}
/////////////////////////////////////////// GroupPointTreeNode is an icon for grouping, see GroupSquareTreeNode for details the connection to the group will be to the group point a GroupPoint is holding: 1. the colleague - the other icon that it is connected to 2. the groupedIconsConns - the connections between the groupPoint and the the groupedIcons
func NewGroupPointTreeNode ¶ added in v0.2.0
func NewGroupPointTreeNode(parent SquareTreeNodeInterface, directed bool, isSrc bool, connName string) *GroupPointTreeNode
func (*GroupPointTreeNode) DrawioParent ¶ added in v0.2.0
func (tn *GroupPointTreeNode) DrawioParent() TreeNodeInterface
func (*GroupPointTreeNode) HasTooltip ¶ added in v0.2.0
func (tn *GroupPointTreeNode) HasTooltip() bool
func (*GroupPointTreeNode) Height ¶ added in v0.4.0
func (tn *GroupPointTreeNode) Height() int
func (*GroupPointTreeNode) IconSize ¶ added in v0.2.0
func (tn *GroupPointTreeNode) IconSize() int
func (*GroupPointTreeNode) IsGateway ¶ added in v0.2.0
func (tn *GroupPointTreeNode) IsGateway() bool
func (*GroupPointTreeNode) IsGroupingPoint ¶ added in v0.2.0
func (tn *GroupPointTreeNode) IsGroupingPoint() bool
func (*GroupPointTreeNode) MiniIconID ¶ added in v0.2.0
func (tn *GroupPointTreeNode) MiniIconID() uint
func (*GroupPointTreeNode) SGs ¶ added in v0.5.0
func (tn *GroupPointTreeNode) SGs() common.GenericSet[*SGTreeNode]
func (*GroupPointTreeNode) SetFIP ¶ added in v0.4.0
func (tn *GroupPointTreeNode) SetFIP(fip string)
func (*GroupPointTreeNode) SetTooltip ¶ added in v0.2.0
func (tn *GroupPointTreeNode) SetTooltip(tooltip []string)
func (*GroupPointTreeNode) Width ¶ added in v0.4.0
func (tn *GroupPointTreeNode) Width() int
type GroupSquareTreeNode ¶ added in v0.2.0
type GroupSquareTreeNode struct {
// contains filtered or unexported fields
}
func NewGroupSquareTreeNode ¶ added in v0.2.0
func NewGroupSquareTreeNode(parent *SubnetTreeNode, groupedIcons []IconTreeNodeInterface, name string) *GroupSquareTreeNode
func (*GroupSquareTreeNode) DebugPoints ¶ added in v0.3.0
func (tn *GroupSquareTreeNode) DebugPoints() []debugPoint
func (*GroupSquareTreeNode) DecoreID ¶ added in v0.2.0
func (tn *GroupSquareTreeNode) DecoreID() uint
func (*GroupSquareTreeNode) IconTreeNodes ¶ added in v0.2.0
func (tn *GroupSquareTreeNode) IconTreeNodes() []IconTreeNodeInterface
func (*GroupSquareTreeNode) IsGroupSubnetsSquare ¶ added in v0.3.0
func (tn *GroupSquareTreeNode) IsGroupSubnetsSquare() bool
func (*GroupSquareTreeNode) IsGroupingSquare ¶ added in v0.2.0
func (tn *GroupSquareTreeNode) IsGroupingSquare() bool
func (*GroupSquareTreeNode) IsSquare ¶ added in v0.2.0
func (tn *GroupSquareTreeNode) IsSquare() bool
func (*GroupSquareTreeNode) IsSubnet ¶ added in v0.3.0
func (tn *GroupSquareTreeNode) IsSubnet() bool
func (*GroupSquareTreeNode) NotShownInDrawio ¶ added in v0.2.0
func (tn *GroupSquareTreeNode) NotShownInDrawio() bool
type GroupSubnetsSquareTreeNode ¶ added in v0.3.0
type GroupSubnetsSquareTreeNode struct {
// contains filtered or unexported fields
}
////////////////////////////////////////////////////////////////////////////
func (*GroupSubnetsSquareTreeNode) DebugPoints ¶ added in v0.3.0
func (tn *GroupSubnetsSquareTreeNode) DebugPoints() []debugPoint
func (*GroupSubnetsSquareTreeNode) DecoreID ¶ added in v0.3.0
func (tn *GroupSubnetsSquareTreeNode) DecoreID() uint
func (*GroupSubnetsSquareTreeNode) IconTreeNodes ¶ added in v0.3.0
func (tn *GroupSubnetsSquareTreeNode) IconTreeNodes() []IconTreeNodeInterface
func (*GroupSubnetsSquareTreeNode) IsGroupSubnetsSquare ¶ added in v0.3.0
func (tn *GroupSubnetsSquareTreeNode) IsGroupSubnetsSquare() bool
func (*GroupSubnetsSquareTreeNode) IsGroupingSquare ¶ added in v0.3.0
func (tn *GroupSubnetsSquareTreeNode) IsGroupingSquare() bool
func (*GroupSubnetsSquareTreeNode) IsSquare ¶ added in v0.3.0
func (tn *GroupSubnetsSquareTreeNode) IsSquare() bool
type IconTreeNodeInterface ¶
type IconTreeNodeInterface interface { TreeNodeInterface RouterID() uint SGs() common.GenericSet[*SGTreeNode] IsVSI() bool IsGroupingPoint() bool SetTooltip(tooltip []string) HasTooltip() bool Tooltip() string IsGateway() bool IconSize() int HasFip() bool SetFIP(fip string) Fip() string FipID() uint // contains filtered or unexported methods }
type InternetServiceTreeNode ¶
type InternetServiceTreeNode struct {
// contains filtered or unexported fields
}
////////////////////////////////////////////////////////////////
func NewInternetServiceTreeNode ¶
func NewInternetServiceTreeNode(parent SquareTreeNodeInterface, name string) *InternetServiceTreeNode
func (*InternetServiceTreeNode) Fip ¶ added in v0.4.0
func (tn *InternetServiceTreeNode) Fip() string
func (*InternetServiceTreeNode) FipID ¶ added in v0.4.0
func (tn *InternetServiceTreeNode) FipID() uint
func (*InternetServiceTreeNode) HasFip ¶ added in v0.4.0
func (tn *InternetServiceTreeNode) HasFip() bool
func (*InternetServiceTreeNode) HasTooltip ¶
func (tn *InternetServiceTreeNode) HasTooltip() bool
func (*InternetServiceTreeNode) Height ¶ added in v0.4.0
func (tn *InternetServiceTreeNode) Height() int
func (*InternetServiceTreeNode) IconSize ¶ added in v0.2.0
func (tn *InternetServiceTreeNode) IconSize() int
func (*InternetServiceTreeNode) IsGroupingPoint ¶ added in v0.2.0
func (tn *InternetServiceTreeNode) IsGroupingPoint() bool
func (*InternetServiceTreeNode) MiniIconID ¶ added in v0.2.0
func (tn *InternetServiceTreeNode) MiniIconID() uint
func (*InternetServiceTreeNode) SGs ¶ added in v0.5.0
func (tn *InternetServiceTreeNode) SGs() common.GenericSet[*SGTreeNode]
func (*InternetServiceTreeNode) SetFIP ¶ added in v0.4.0
func (tn *InternetServiceTreeNode) SetFIP(fip string)
func (*InternetServiceTreeNode) SetTooltip ¶
func (tn *InternetServiceTreeNode) SetTooltip(tooltip []string)
type InternetTreeNode ¶
type InternetTreeNode struct {
// contains filtered or unexported fields
}
///////////////////////////////////////////
func NewInternetTreeNode ¶
func NewInternetTreeNode(parent SquareTreeNodeInterface, name string) *InternetTreeNode
func (*InternetTreeNode) HasTooltip ¶
func (tn *InternetTreeNode) HasTooltip() bool
func (*InternetTreeNode) IsGroupingPoint ¶ added in v0.2.0
func (tn *InternetTreeNode) IsGroupingPoint() bool
func (*InternetTreeNode) MiniIconID ¶ added in v0.2.0
func (tn *InternetTreeNode) MiniIconID() uint
func (*InternetTreeNode) SGs ¶ added in v0.5.0
func (tn *InternetTreeNode) SGs() common.GenericSet[*SGTreeNode]
func (*InternetTreeNode) SetTooltip ¶
func (tn *InternetTreeNode) SetTooltip(tooltip []string)
type LineTreeNodeInterface ¶
type LineTreeNodeInterface interface { TreeNodeInterface Src() TreeNodeInterface Dst() TreeNodeInterface SrcID() uint DstID() uint Points() []point SetRouter(router IconTreeNodeInterface) Router() IconTreeNodeInterface SrcConnectionPoint() lineConnectionPoint // contains filtered or unexported methods }
//////////////////////////////////////////////////////////////////////////////
type LoadBalancerTreeNode ¶ added in v0.4.0
type LoadBalancerTreeNode struct { PrivateIPs []TreeNodeInterface // contains filtered or unexported fields }
///////////////////////////////////////////
func GroupPrivateIPsWithLoadBalancer ¶ added in v0.4.0
func GroupPrivateIPsWithLoadBalancer(parent SquareTreeNodeInterface, name string, privateIPs []TreeNodeInterface) *LoadBalancerTreeNode
func (*LoadBalancerTreeNode) HasTooltip ¶ added in v0.4.0
func (tn *LoadBalancerTreeNode) HasTooltip() bool
func (*LoadBalancerTreeNode) IconSize ¶ added in v0.4.0
func (tn *LoadBalancerTreeNode) IconSize() int
func (*LoadBalancerTreeNode) IsGateway ¶ added in v0.4.0
func (tn *LoadBalancerTreeNode) IsGateway() bool
func (*LoadBalancerTreeNode) IsGroupingPoint ¶ added in v0.4.0
func (tn *LoadBalancerTreeNode) IsGroupingPoint() bool
func (*LoadBalancerTreeNode) MiniIconID ¶ added in v0.4.0
func (tn *LoadBalancerTreeNode) MiniIconID() uint
func (*LoadBalancerTreeNode) SGs ¶ added in v0.5.0
func (tn *LoadBalancerTreeNode) SGs() common.GenericSet[*SGTreeNode]
func (*LoadBalancerTreeNode) SetFIP ¶ added in v0.4.0
func (tn *LoadBalancerTreeNode) SetFIP(fip string)
func (*LoadBalancerTreeNode) SetTooltip ¶ added in v0.4.0
func (tn *LoadBalancerTreeNode) SetTooltip(tooltip []string)
type LogicalLineTreeNode ¶ added in v0.2.0
type LogicalLineTreeNode struct {
// contains filtered or unexported fields
}
////////////////////////////////////////////////////////////////
func (*LogicalLineTreeNode) DrawioParent ¶ added in v0.2.0
func (tn *LogicalLineTreeNode) DrawioParent() TreeNodeInterface
func (*LogicalLineTreeNode) Dst ¶ added in v0.2.0
func (tn *LogicalLineTreeNode) Dst() TreeNodeInterface
func (*LogicalLineTreeNode) Points ¶ added in v0.2.0
func (tn *LogicalLineTreeNode) Points() []point
func (*LogicalLineTreeNode) Router ¶ added in v0.2.0
func (tn *LogicalLineTreeNode) Router() IconTreeNodeInterface
func (*LogicalLineTreeNode) SetRouter ¶ added in v0.2.0
func (tn *LogicalLineTreeNode) SetRouter(router IconTreeNodeInterface)
func (*LogicalLineTreeNode) Src ¶ added in v0.2.0
func (tn *LogicalLineTreeNode) Src() TreeNodeInterface
func (*LogicalLineTreeNode) SrcConnectionPoint ¶ added in v0.3.0
func (tn *LogicalLineTreeNode) SrcConnectionPoint() lineConnectionPoint
type NITreeNode ¶
type NITreeNode struct {
// contains filtered or unexported fields
}
///////////////////////////////////////////
func NewNITreeNode ¶
func NewNITreeNode(parent SquareTreeNodeInterface, name string) *NITreeNode
func (*NITreeNode) HasTooltip ¶
func (tn *NITreeNode) HasTooltip() bool
func (*NITreeNode) IsGroupingPoint ¶ added in v0.2.0
func (tn *NITreeNode) IsGroupingPoint() bool
func (*NITreeNode) MiniIconID ¶ added in v0.2.0
func (tn *NITreeNode) MiniIconID() uint
func (*NITreeNode) RouterID ¶
func (tn *NITreeNode) RouterID() uint
func (*NITreeNode) SGs ¶ added in v0.5.0
func (tn *NITreeNode) SGs() common.GenericSet[*SGTreeNode]
func (*NITreeNode) SetTooltip ¶
func (tn *NITreeNode) SetTooltip(tooltip []string)
type NetworkTreeNode ¶
type NetworkTreeNode struct {
// contains filtered or unexported fields
}
///////////////////////////////////////////////////////////// NetworkTreeNode is the top of the tree. we have only one instance of it, with constant id
func NewNetworkTreeNode ¶
func NewNetworkTreeNode() *NetworkTreeNode
func (*NetworkTreeNode) DebugPoints ¶ added in v0.3.0
func (tn *NetworkTreeNode) DebugPoints() []debugPoint
func (*NetworkTreeNode) IconTreeNodes ¶
func (tn *NetworkTreeNode) IconTreeNodes() []IconTreeNodeInterface
func (*NetworkTreeNode) IsGroupSubnetsSquare ¶ added in v0.3.0
func (tn *NetworkTreeNode) IsGroupSubnetsSquare() bool
func (*NetworkTreeNode) IsGroupingSquare ¶ added in v0.2.0
func (tn *NetworkTreeNode) IsGroupingSquare() bool
func (*NetworkTreeNode) NotShownInDrawio ¶
func (tn *NetworkTreeNode) NotShownInDrawio() bool
type PartialSGTreeNode ¶
type PartialSGTreeNode struct {
// contains filtered or unexported fields
}
///////////////////////////////////////////////////////////////////// PartialSGTreeNode is the actual square of security group on the canvas PartialSGTreeNode represent one or more security groups for layout reasons, a security group can be represented by more than one PartialSGTreeNode
func (*PartialSGTreeNode) DebugPoints ¶ added in v0.3.0
func (tn *PartialSGTreeNode) DebugPoints() []debugPoint
func (*PartialSGTreeNode) IconTreeNodes ¶
func (tn *PartialSGTreeNode) IconTreeNodes() []IconTreeNodeInterface
func (*PartialSGTreeNode) IsGroupSubnetsSquare ¶ added in v0.3.0
func (tn *PartialSGTreeNode) IsGroupSubnetsSquare() bool
func (*PartialSGTreeNode) IsGroupingSquare ¶ added in v0.2.0
func (tn *PartialSGTreeNode) IsGroupingSquare() bool
func (*PartialSGTreeNode) Kind ¶ added in v0.4.0
func (tn *PartialSGTreeNode) Kind() string
type PrivateIPTreeNode ¶ added in v0.4.0
type PrivateIPTreeNode struct {
// contains filtered or unexported fields
}
func NewPrivateIPTreeNode ¶ added in v0.4.0
func NewPrivateIPTreeNode(parent SquareTreeNodeInterface, name string, original bool) *PrivateIPTreeNode
func (*PrivateIPTreeNode) HasTooltip ¶ added in v0.4.0
func (tn *PrivateIPTreeNode) HasTooltip() bool
func (*PrivateIPTreeNode) IsGroupingPoint ¶ added in v0.4.0
func (tn *PrivateIPTreeNode) IsGroupingPoint() bool
func (*PrivateIPTreeNode) MiniIconID ¶ added in v0.4.0
func (tn *PrivateIPTreeNode) MiniIconID() uint
func (*PrivateIPTreeNode) Original ¶ added in v0.5.0
func (tn *PrivateIPTreeNode) Original() bool
func (*PrivateIPTreeNode) RouterID ¶ added in v0.4.0
func (tn *PrivateIPTreeNode) RouterID() uint
func (*PrivateIPTreeNode) SGs ¶ added in v0.5.0
func (tn *PrivateIPTreeNode) SGs() common.GenericSet[*SGTreeNode]
func (*PrivateIPTreeNode) SetTooltip ¶ added in v0.4.0
func (tn *PrivateIPTreeNode) SetTooltip(tooltip []string)
type PublicNetworkTreeNode ¶
type PublicNetworkTreeNode struct {
// contains filtered or unexported fields
}
////////////////////////////////////////////////////////////////
func NewPublicNetworkTreeNode ¶
func NewPublicNetworkTreeNode(parent *NetworkTreeNode) *PublicNetworkTreeNode
func (*PublicNetworkTreeNode) DebugPoints ¶ added in v0.3.0
func (tn *PublicNetworkTreeNode) DebugPoints() []debugPoint
func (*PublicNetworkTreeNode) IconTreeNodes ¶
func (tn *PublicNetworkTreeNode) IconTreeNodes() []IconTreeNodeInterface
func (*PublicNetworkTreeNode) IsGroupSubnetsSquare ¶ added in v0.3.0
func (tn *PublicNetworkTreeNode) IsGroupSubnetsSquare() bool
func (*PublicNetworkTreeNode) IsGroupingSquare ¶ added in v0.2.0
func (tn *PublicNetworkTreeNode) IsGroupingSquare() bool
func (*PublicNetworkTreeNode) IsSubnet ¶ added in v0.3.0
func (tn *PublicNetworkTreeNode) IsSubnet() bool
func (*PublicNetworkTreeNode) NotShownInDrawio ¶
func (tn *PublicNetworkTreeNode) NotShownInDrawio() bool
type RegionTreeNode ¶ added in v0.4.0
type RegionTreeNode struct {
// contains filtered or unexported fields
}
////////////////////////////////////////////////////////////////
func NewRegionTreeNode ¶ added in v0.4.0
func NewRegionTreeNode(parent *CloudTreeNode, name string) *RegionTreeNode
func (*RegionTreeNode) DebugPoints ¶ added in v0.4.0
func (tn *RegionTreeNode) DebugPoints() []debugPoint
func (*RegionTreeNode) IconTreeNodes ¶ added in v0.4.0
func (tn *RegionTreeNode) IconTreeNodes() []IconTreeNodeInterface
func (*RegionTreeNode) IsGroupSubnetsSquare ¶ added in v0.4.0
func (tn *RegionTreeNode) IsGroupSubnetsSquare() bool
func (*RegionTreeNode) IsGroupingSquare ¶ added in v0.4.0
func (tn *RegionTreeNode) IsGroupingSquare() bool
type ResIPTreeNode ¶ added in v0.2.0
type ResIPTreeNode struct {
// contains filtered or unexported fields
}
///////////////////////////////////////////
func NewResIPTreeNode ¶ added in v0.2.0
func NewResIPTreeNode(parent SquareTreeNodeInterface, name string) *ResIPTreeNode
func (*ResIPTreeNode) HasTooltip ¶ added in v0.2.0
func (tn *ResIPTreeNode) HasTooltip() bool
func (*ResIPTreeNode) IsGroupingPoint ¶ added in v0.2.0
func (tn *ResIPTreeNode) IsGroupingPoint() bool
func (*ResIPTreeNode) MiniIconID ¶ added in v0.2.0
func (tn *ResIPTreeNode) MiniIconID() uint
func (*ResIPTreeNode) SGs ¶ added in v0.5.0
func (tn *ResIPTreeNode) SGs() common.GenericSet[*SGTreeNode]
func (*ResIPTreeNode) SetTooltip ¶ added in v0.2.0
func (tn *ResIPTreeNode) SetTooltip(tooltip []string)
type SGTreeNode ¶
type SGTreeNode struct {
// contains filtered or unexported fields
}
///////////////////////////////////////////////////////////////////// SGTreeNode is not shown in the drawio file. since NIs sharing the same SG will not always be next to each other, one SG will be split to more than one squares. there squares are represented by PartialSGTreeNode. their parent in the tree is the SGTreeNode, but the parent in the drawio is the zone.
func NewSGTreeNode ¶
func NewSGTreeNode(parent *VpcTreeNode, name string) *SGTreeNode
func (*SGTreeNode) AddIcon ¶ added in v0.2.0
func (tn *SGTreeNode) AddIcon(icon IconTreeNodeInterface)
func (*SGTreeNode) DebugPoints ¶ added in v0.3.0
func (tn *SGTreeNode) DebugPoints() []debugPoint
func (*SGTreeNode) IconTreeNodes ¶
func (tn *SGTreeNode) IconTreeNodes() []IconTreeNodeInterface
func (*SGTreeNode) IsGroupSubnetsSquare ¶ added in v0.3.0
func (tn *SGTreeNode) IsGroupSubnetsSquare() bool
func (*SGTreeNode) IsGroupingSquare ¶ added in v0.2.0
func (tn *SGTreeNode) IsGroupingSquare() bool
func (*SGTreeNode) NotShownInDrawio ¶
func (tn *SGTreeNode) NotShownInDrawio() bool
type SquareTreeNodeInterface ¶
type SquareTreeNodeInterface interface { TreeNodeInterface IconTreeNodes() []IconTreeNodeInterface TagID() uint DecoreID() uint IsSubnet() bool IsGroupingSquare() bool IsGroupSubnetsSquare() bool DebugPoints() []debugPoint // contains filtered or unexported methods }
/////////////////////////////////////////////////////////////////////
func GroupedSubnetsSquare ¶ added in v0.3.0
func GroupedSubnetsSquare(parent *VpcTreeNode, groupedSubnets []SquareTreeNodeInterface) SquareTreeNodeInterface
type SubnetTreeNode ¶
type SubnetTreeNode struct {
// contains filtered or unexported fields
}
func NewSubnetTreeNode ¶
func NewSubnetTreeNode(parent *ZoneTreeNode, name, cidr, acl string) *SubnetTreeNode
func (*SubnetTreeNode) DebugPoints ¶ added in v0.3.0
func (tn *SubnetTreeNode) DebugPoints() []debugPoint
func (*SubnetTreeNode) IconTreeNodes ¶
func (tn *SubnetTreeNode) IconTreeNodes() []IconTreeNodeInterface
func (*SubnetTreeNode) IsGroupSubnetsSquare ¶ added in v0.3.0
func (tn *SubnetTreeNode) IsGroupSubnetsSquare() bool
func (*SubnetTreeNode) IsGroupingSquare ¶ added in v0.2.0
func (tn *SubnetTreeNode) IsGroupingSquare() bool
func (*SubnetTreeNode) IsSubnet ¶ added in v0.3.0
func (tn *SubnetTreeNode) IsSubnet() bool
func (*SubnetTreeNode) SetACL ¶
func (tn *SubnetTreeNode) SetACL(acl string)
type TransitGatewayTreeNode ¶ added in v0.3.0
type TransitGatewayTreeNode struct {
// contains filtered or unexported fields
}
///////////////////////////////////////////
func NewTransitGatewayTreeNode ¶ added in v0.3.0
func NewTransitGatewayTreeNode(parent SquareTreeNodeInterface, name string) *TransitGatewayTreeNode
func (*TransitGatewayTreeNode) FipID ¶ added in v0.4.0
func (tn *TransitGatewayTreeNode) FipID() uint
func (*TransitGatewayTreeNode) HasFip ¶ added in v0.4.0
func (tn *TransitGatewayTreeNode) HasFip() bool
func (*TransitGatewayTreeNode) HasTooltip ¶ added in v0.3.0
func (tn *TransitGatewayTreeNode) HasTooltip() bool
func (*TransitGatewayTreeNode) Height ¶ added in v0.4.0
func (tn *TransitGatewayTreeNode) Height() int
func (*TransitGatewayTreeNode) IconSize ¶ added in v0.3.0
func (tn *TransitGatewayTreeNode) IconSize() int
func (*TransitGatewayTreeNode) IsGateway ¶ added in v0.3.0
func (tn *TransitGatewayTreeNode) IsGateway() bool
func (*TransitGatewayTreeNode) IsGroupingPoint ¶ added in v0.3.0
func (tn *TransitGatewayTreeNode) IsGroupingPoint() bool
func (*TransitGatewayTreeNode) IsIcon ¶ added in v0.3.0
func (tn *TransitGatewayTreeNode) IsIcon() bool
func (*TransitGatewayTreeNode) IsVSI ¶ added in v0.3.0
func (tn *TransitGatewayTreeNode) IsVSI() bool
func (*TransitGatewayTreeNode) MiniIconID ¶ added in v0.3.0
func (tn *TransitGatewayTreeNode) MiniIconID() uint
func (*TransitGatewayTreeNode) SGs ¶ added in v0.5.0
func (tn *TransitGatewayTreeNode) SGs() common.GenericSet[*SGTreeNode]
func (*TransitGatewayTreeNode) SetFIP ¶ added in v0.4.0
func (tn *TransitGatewayTreeNode) SetFIP(fip string)
func (*TransitGatewayTreeNode) SetTooltip ¶ added in v0.3.0
func (tn *TransitGatewayTreeNode) SetTooltip(tooltip []string)
type TreeNodeInterface ¶
type TreeNodeInterface interface { ID() uint TextID() uint RouterID() uint X() int Y() int Height() int Width() int Kind() string SetKind(string) DrawioParent() TreeNodeInterface Parent() TreeNodeInterface Location() *Location NotShownInDrawio() bool SetNotShownInDrawio() ///////////////////////////// IsLine() bool IsIcon() bool IsSquare() bool // contains filtered or unexported methods }
func GroupNIsWithVSI ¶
func GroupNIsWithVSI(parent SquareTreeNodeInterface, name string, nis []TreeNodeInterface) TreeNodeInterface
func GroupResIPsWithVpe ¶ added in v0.2.0
func GroupResIPsWithVpe(parent SquareTreeNodeInterface, name string, resIPs []TreeNodeInterface) TreeNodeInterface
type UserTreeNode ¶
type UserTreeNode struct {
// contains filtered or unexported fields
}
///////////////////////////////////////////
func NewUserTreeNode ¶
func NewUserTreeNode(parent SquareTreeNodeInterface, name string) *UserTreeNode
func (*UserTreeNode) HasTooltip ¶
func (tn *UserTreeNode) HasTooltip() bool
func (*UserTreeNode) IsGroupingPoint ¶ added in v0.2.0
func (tn *UserTreeNode) IsGroupingPoint() bool
func (*UserTreeNode) MiniIconID ¶ added in v0.2.0
func (tn *UserTreeNode) MiniIconID() uint
func (*UserTreeNode) SGs ¶ added in v0.5.0
func (tn *UserTreeNode) SGs() common.GenericSet[*SGTreeNode]
func (*UserTreeNode) SetTooltip ¶
func (tn *UserTreeNode) SetTooltip(tooltip []string)
type VpcTreeNode ¶
type VpcTreeNode struct {
// contains filtered or unexported fields
}
////////////////////////////////////////////////////////////////////////////////////////
func NewVpcTreeNode ¶
func NewVpcTreeNode(parent *RegionTreeNode, name string) *VpcTreeNode
func (*VpcTreeNode) DebugPoints ¶ added in v0.3.0
func (tn *VpcTreeNode) DebugPoints() []debugPoint
func (*VpcTreeNode) IconTreeNodes ¶
func (tn *VpcTreeNode) IconTreeNodes() []IconTreeNodeInterface
func (*VpcTreeNode) IsGroupSubnetsSquare ¶ added in v0.3.0
func (tn *VpcTreeNode) IsGroupSubnetsSquare() bool
func (*VpcTreeNode) IsGroupingSquare ¶ added in v0.2.0
func (tn *VpcTreeNode) IsGroupingSquare() bool
type VpeTreeNode ¶ added in v0.2.0
type VpeTreeNode struct {
// contains filtered or unexported fields
}
///////////////////////////////////////////
func (*VpeTreeNode) HasTooltip ¶ added in v0.2.0
func (tn *VpeTreeNode) HasTooltip() bool
func (*VpeTreeNode) IsGroupingPoint ¶ added in v0.2.0
func (tn *VpeTreeNode) IsGroupingPoint() bool
func (*VpeTreeNode) MiniIconID ¶ added in v0.2.0
func (tn *VpeTreeNode) MiniIconID() uint
func (*VpeTreeNode) SGs ¶ added in v0.5.0
func (tn *VpeTreeNode) SGs() common.GenericSet[*SGTreeNode]
func (*VpeTreeNode) SetTooltip ¶ added in v0.2.0
func (tn *VpeTreeNode) SetTooltip(tooltip []string)
type VsiTreeNode ¶
type VsiTreeNode struct {
// contains filtered or unexported fields
}
///////////////////////////////////////////
func (*VsiTreeNode) DrawioParent ¶
func (tn *VsiTreeNode) DrawioParent() TreeNodeInterface
func (*VsiTreeNode) GetVsiNIsSubnets ¶
func (tn *VsiTreeNode) GetVsiNIsSubnets() map[TreeNodeInterface]bool
func (*VsiTreeNode) HasTooltip ¶
func (tn *VsiTreeNode) HasTooltip() bool
func (*VsiTreeNode) IsGroupingPoint ¶ added in v0.2.0
func (tn *VsiTreeNode) IsGroupingPoint() bool
func (*VsiTreeNode) IsVSI ¶
func (tn *VsiTreeNode) IsVSI() bool
func (*VsiTreeNode) MiniIconID ¶ added in v0.2.0
func (tn *VsiTreeNode) MiniIconID() uint
func (*VsiTreeNode) SGs ¶ added in v0.5.0
func (tn *VsiTreeNode) SGs() common.GenericSet[*SGTreeNode]
func (*VsiTreeNode) SetTooltip ¶
func (tn *VsiTreeNode) SetTooltip(tooltip []string)
type ZoneTreeNode ¶
type ZoneTreeNode struct {
// contains filtered or unexported fields
}
func NewZoneTreeNode ¶
func NewZoneTreeNode(parent *VpcTreeNode, name string) *ZoneTreeNode
func (*ZoneTreeNode) DebugPoints ¶ added in v0.3.0
func (tn *ZoneTreeNode) DebugPoints() []debugPoint
func (*ZoneTreeNode) IconTreeNodes ¶
func (tn *ZoneTreeNode) IconTreeNodes() []IconTreeNodeInterface
func (*ZoneTreeNode) IsGroupSubnetsSquare ¶ added in v0.3.0
func (tn *ZoneTreeNode) IsGroupSubnetsSquare() bool
func (*ZoneTreeNode) IsGroupingSquare ¶ added in v0.2.0
func (tn *ZoneTreeNode) IsGroupingSquare() bool