package iptables
import "github.com/docker/docker/iptables"
Index ¶
- Variables
- func Exists(args ...string) bool
- func Raw(args ...string) ([]byte, error)
- func RemoveExistingChain(name string) error
- type Action
- type Chain
- func NewChain(name, bridge string) (*Chain, error)
- func (c *Chain) Forward(action Action, ip net.IP, port int, proto, dest_addr string, dest_port int) error
- func (c *Chain) Output(action Action, args ...string) error
- func (c *Chain) Prerouting(action Action, args ...string) error
- func (c *Chain) Remove() error
Variables ¶
Functions ¶
func Exists ¶
Check if an existing rule exists
func Raw ¶
func RemoveExistingChain ¶
Types ¶
type Action ¶
type Action string
type Chain ¶
func NewChain ¶
func (*Chain) Forward ¶
func (c *Chain) Forward(action Action, ip net.IP, port int, proto, dest_addr string, dest_port int) error
func (*Chain) Output ¶
func (*Chain) Prerouting ¶
func (*Chain) Remove ¶
Source Files ¶
- Version
- v0.7.3
- Published
- Jan 3, 2014
- Platform
- js/wasm
- Imports
- 7 packages
- Last checked
- 4 minutes ago –
Tools for package owners.