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 ConfigConfiguration
- type ConfigResult
- type ConfigTags
- type ConfigVpc
- type NM
- type Peering
- type PeeringConnection
- type TGroutes
- type TreeDataIp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddToGraph ¶
func NewPage ¶
func NewPage() *components.Page
Types ¶
type ConfigConfiguration ¶
type ConfigResult ¶
type ConfigResult struct { Configuration ConfigConfiguration `json:"configuration"` Tags []ConfigTags `json:"tags"` }
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 PeeringConnection ¶
type TGroutes ¶ added in v0.12.0
type TreeDataIp ¶
Click to show internal directories.
Click to hide internal directories.