Documentation ¶
Index ¶
- Variables
- func CreateRomanaGW() error
- func CreateRouteToBlocks(blocks []api.IPAMBlockResponse, hosts IpamHosts, romanaRouteTableId int, ...)
- func GetDefaultLink() (netlink.Link, error)
- func GetIPs(link netlink.Link) ([]string, error)
- func MetricStart(port int) error
- func SetRomanaGwIP(romanaIp string) error
- func StartRomanaVIPSync(ctx context.Context, store *client.Store, defaultLink netlink.Link) error
- type IpamHosts
- type RouteAdjacencyError
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NumManagedRoutes = prometheus.NewGauge( prometheus.GaugeOpts{ Name: "romana_managed_routes", Help: "Number of routes managed by Romana agent on the host.", }, ) )
Functions ¶
func CreateRomanaGW ¶
func CreateRomanaGW() error
func CreateRouteToBlocks ¶
func CreateRouteToBlocks(blocks []api.IPAMBlockResponse, hosts IpamHosts, romanaRouteTableId int, hostname string, multihop bool, nlHandle nlHandleRoute)
CreateRouteToBlocks loops over list of blocks and creates routes when needed.
func GetDefaultLink ¶
func MetricStart ¶
func SetRomanaGwIP ¶
Types ¶
type RouteAdjacencyError ¶
type RouteAdjacencyError struct{}
func (RouteAdjacencyError) Error ¶
func (RouteAdjacencyError) Error() string
Directories ¶
Path | Synopsis |
---|---|
Policy enforcer package translates romana policies into iptables rules.
|
Policy enforcer package translates romana policies into iptables rules. |
Package provides wrapper around os.exec for purpose of testing
|
Package provides wrapper around os.exec for purpose of testing |
IPTsave is a library that provides IPtables type that can read iptables-save output and create a tokenized representation of it.
|
IPTsave is a library that provides IPtables type that can read iptables-save output and create a tokenized representation of it. |
Click to show internal directories.
Click to hide internal directories.