Documentation ¶
Overview ¶
Package routerinsertion implements the fwaasrouterinsertion FWaaS extension.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOptsExt ¶
type CreateOptsExt struct { firewalls.CreateOptsBuilder RouterIDs []string `json:"router_ids"` }
CreateOptsExt adds a RouterIDs option to the base CreateOpts.
func (CreateOptsExt) ToFirewallCreateMap ¶
func (opts CreateOptsExt) ToFirewallCreateMap() (map[string]interface{}, error)
ToFirewallCreateMap adds router_ids to the base firewall creation options.
type FirewallExt ¶
type FirewallExt struct { // RouterIDs are the routers that the firewall is attached to. RouterIDs []string `json:"router_ids"` }
FirewallExt is an extension to the base Firewall object
type UpdateOptsExt ¶
type UpdateOptsExt struct { firewalls.UpdateOptsBuilder RouterIDs []string `json:"router_ids"` }
UpdateOptsExt updates a RouterIDs option to the base UpdateOpts.
func (UpdateOptsExt) ToFirewallUpdateMap ¶
func (opts UpdateOptsExt) ToFirewallUpdateMap() (map[string]interface{}, error)
ToFirewallUpdateMap adds router_ids to the base firewall update options.
Click to show internal directories.
Click to hide internal directories.