fwaas_v2

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateGroup added in v0.14.0

func CreateGroup(t *testing.T, client *gophercloud.ServiceClient) (*groups.Group, error)

CreateGroup will create a Firewall Group. An error will be returned if the firewall group could not be created.

func CreateRule

func CreateRule(t *testing.T, client *gophercloud.ServiceClient) (*rules.Rule, error)

CreateRule will create a Firewall Rule with a random source address and source port, destination address and port. An error will be returned if the rule could not be created.

func DeleteGroup added in v0.14.0

func DeleteGroup(t *testing.T, client *gophercloud.ServiceClient, groupId string)

DeleteGroup will delete a group with a specified ID. A fatal error will occur if the delete was not successful. This works best when used as a deferred function.

func DeleteRule

func DeleteRule(t *testing.T, client *gophercloud.ServiceClient, ruleID string)

DeleteRule will delete a rule with a specified ID. A fatal error will occur if the delete was not successful. This works best when used as a deferred function.

Types

This section is empty.

Jump to

Keyboard shortcuts

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