firewaller

package
v0.0.0-...-f19ae85 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2015 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFirewaller

func NewFirewaller(st *apifirewaller.State) (_ worker.Worker, err error)

NewFirewaller returns a new Firewaller or a new FirewallerV0, depending on what the API supports.

Types

type Firewaller

type Firewaller struct {
	// contains filtered or unexported fields
}

Firewaller watches the state for port ranges opened or closed on machines and reflects those changes onto the backing environment. Uses Firewaller API V1.

func (*Firewaller) Err

func (fw *Firewaller) Err() (reason error)

Err returns the reason why the firewaller has stopped or tomb.ErrStillAlive when it is still alive.

func (*Firewaller) Kill

func (fw *Firewaller) Kill()

Kill implements worker.Worker.Kill.

func (*Firewaller) Wait

func (fw *Firewaller) Wait() error

Wait implements worker.Worker.Wait.

Jump to

Keyboard shortcuts

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