firewall

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Save

func Save(c *client.Client,
	firewallMode string,
	container string,
	namespace string) (*os.File, error)

Save will save the current state of firewall

Args:

client struct
firewallMode - iptables or ipvs
container name
namespace

Returns:

file object
filesystem which triggered this method

Types

This section is empty.

Jump to

Keyboard shortcuts

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