Documentation ¶
Index ¶
- func AddToGraph(graph *charts.Graph, nodes []opts.GraphNode, links []opts.GraphLink, ...)
- func Init(parser *flags.Parser)
- func NetworkManager(ctx context.Context, p *NM) ([]opts.TreeData, error)
- func NewGraph() *charts.Graph
- func NewPage() *components.Page
- func NewTree(title string) *charts.Tree
- type ConfigTags
- type ConfigVpc
- type NM
- type Node
- type Peering
- type PeeringConfiguration
- type PeeringConnection
- type PeeringResult
- type TGroutes
- type TreeDataIp
- type VPCResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddToGraph ¶
func NewPage ¶
func NewPage() *components.Page
Types ¶
type ConfigTags ¶
type NM ¶ added in v0.12.0
type NM struct { Profile string `short:"p" long:"profile" env:"AWS_PROFILE" default:"default" description:"What profile to use"` // Hardcoded to us-west-2 because network manager is only available there for now Region string `hidden:"true" short:"r" long:"region" env:"AWS_REGION" default:"us-east-1" description:"What region to use"` }
type Peering ¶ added in v0.12.0
type Peering struct { Profile string `short:"p" long:"profile" env:"AWS_PROFILE" default:"default" description:"What profile to use"` Account string `short:"a" long:"account" default:"" description:"Filter results to this account"` Region string `short:"r" long:"region" env:"AWS_REGION" default:"us-east-1" description:"What region to use"` }
type PeeringConfiguration ¶ added in v0.15.0
type PeeringConnection ¶
type PeeringResult ¶ added in v0.15.0
type PeeringResult struct { Configuration PeeringConfiguration `json:"configuration"` Tags []ConfigTags `json:"tags"` }
type TGroutes ¶ added in v0.12.0
type TreeDataIp ¶
type VPCResult ¶ added in v0.15.0
type VPCResult struct { VpcId string `json:"resourceId"` Tags []ConfigTags `json:"tags"` OwnerId string `json:"configuration.ownerId"` }
Click to show internal directories.
Click to hide internal directories.