routerinsertion

package
v0.5.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2022 License: Apache-2.0 Imports: 1 Imported by: 1

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 {
	firewall_groups.CreateOptsBuilder
	PortIDs []string `json:"ports"`
}

CreateOptsExt adds a PortIDs option to the base CreateOpts.

func (CreateOptsExt) ToFirewallGroupCreateMap

func (opts CreateOptsExt) ToFirewallGroupCreateMap() (map[string]interface{}, error)

ToFirewallGroupCreateMap adds ports to the base firewall creation options.

type FirewallGroupExt

type FirewallGroupExt struct {
	// PortIDs are the ports that the firewall group is attached to.
	PortIDs []string `json:"ports"`
}

FirewallGroupExt is an extension to the base Firewall group object

type UpdateOptsExt

type UpdateOptsExt struct {
	firewall_groups.UpdateOptsBuilder
	PortIDs []string `json:"ports"`
}

UpdateOptsExt updates a PortIDs option to the base UpdateOpts.

func (UpdateOptsExt) ToFirewallGroupUpdateMap

func (opts UpdateOptsExt) ToFirewallGroupUpdateMap() (map[string]interface{}, error)

ToFirewallGroupUpdateMap adds ports to the base firewall update options.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL