Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSgMiss = errors.New("sg cache miss")
Functions ¶
This section is empty.
Types ¶
type Network ¶
type Network struct { Net net.IPNet Name NetworkName }
Network is IP network
func Proto2ModelNetwork ¶
Proto2ModelNetwork converts Network (proto --> model)
type SGCollector ¶
type SGCollector interface { Run(ctx context.Context) (err error) GetSGByIP(ip net.IP) (SgNet, error) Close() error }
func NewSgCollector ¶
type SecGroup ¶
type SecGroup struct { // name of security group Name string // related to security gpoup network(s) Networks []string }
SecGroup: represents a security group
type SgNameCache ¶
type SgNameCache = map[NetworkName]SGName
type SyncStatus ¶
SyncStatus succeeded sync-op status
Click to show internal directories.
Click to hide internal directories.