Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func GenerateIPs ¶
Types ¶
type BoundedWaitGroup ¶
type BoundedWaitGroup struct {
// contains filtered or unexported fields
}
func NewBoundedWaitGroup ¶
func NewBoundedWaitGroup(cap int) BoundedWaitGroup
Bounded (with limit) wait group, to split target slice to fixed size slices.
func (*BoundedWaitGroup) Add ¶
func (bwg *BoundedWaitGroup) Add(delta int)
func (*BoundedWaitGroup) Done ¶
func (bwg *BoundedWaitGroup) Done()
func (*BoundedWaitGroup) Wait ¶
func (bwg *BoundedWaitGroup) Wait()
type Config ¶
type Config struct { Netbox struct { Netboxhost string `yaml:"netboxhost"` Netboxapitoken string `yaml:"netboxapitoken"` } `yaml:"netbox"` Targets []struct { Vrf string `yaml:"vrf"` Subnets []string `yaml:"subnets"` } `yaml:"targets"` ScanThreads int `yaml:"scanthreads"` }
Configuration file structure
Click to show internal directories.
Click to hide internal directories.